Pipelinen parannuksia building blockeilla
This commit is contained in:
131
zipit/template_runs/tmpl_inventory/report.json
Normal file
131
zipit/template_runs/tmpl_inventory/report.json
Normal file
@@ -0,0 +1,131 @@
|
||||
{
|
||||
"run_id": "tmpl_inventory",
|
||||
"model": "qwen2.5-coder:7b-instruct-q4_K_M",
|
||||
"description": "Varastonhallinta: tuotteet, varastot, siirrot varastojen välillä",
|
||||
"spec": {
|
||||
"project_name": "warehouse_management",
|
||||
"description": "A system for managing warehouse operations including products, storage locations, and transfers between locations.",
|
||||
"entities": [
|
||||
{
|
||||
"name": "Product",
|
||||
"table_name": "products",
|
||||
"fields": [
|
||||
{
|
||||
"name": "product_id",
|
||||
"sa_type": "Integer",
|
||||
"py_type": "int",
|
||||
"nullable": false,
|
||||
"default": null
|
||||
},
|
||||
{
|
||||
"name": "name",
|
||||
"sa_type": "String(255)",
|
||||
"py_type": "str",
|
||||
"nullable": false,
|
||||
"default": null
|
||||
},
|
||||
{
|
||||
"name": "description",
|
||||
"sa_type": "Text",
|
||||
"py_type": "str | None",
|
||||
"nullable": true,
|
||||
"default": null
|
||||
},
|
||||
{
|
||||
"name": "category",
|
||||
"sa_type": "String(50)",
|
||||
"py_type": "str",
|
||||
"nullable": false,
|
||||
"default": null
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "StorageLocation",
|
||||
"table_name": "storage_locations",
|
||||
"fields": [
|
||||
{
|
||||
"name": "location_id",
|
||||
"sa_type": "Integer",
|
||||
"py_type": "int",
|
||||
"nullable": false,
|
||||
"default": null
|
||||
},
|
||||
{
|
||||
"name": "name",
|
||||
"sa_type": "String(255)",
|
||||
"py_type": "str",
|
||||
"nullable": false,
|
||||
"default": null
|
||||
},
|
||||
{
|
||||
"name": "capacity",
|
||||
"sa_type": "Integer",
|
||||
"py_type": "int",
|
||||
"nullable": false,
|
||||
"default": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Transfer",
|
||||
"table_name": "transfers",
|
||||
"fields": [
|
||||
{
|
||||
"name": "transfer_id",
|
||||
"sa_type": "Integer",
|
||||
"py_type": "int",
|
||||
"nullable": false,
|
||||
"default": null
|
||||
},
|
||||
{
|
||||
"name": "product_id",
|
||||
"sa_type": "Integer",
|
||||
"py_type": "int",
|
||||
"nullable": false,
|
||||
"default": null
|
||||
},
|
||||
{
|
||||
"name": "from_location_id",
|
||||
"sa_type": "Integer",
|
||||
"py_type": "int",
|
||||
"nullable": false,
|
||||
"default": null
|
||||
},
|
||||
{
|
||||
"name": "to_location_id",
|
||||
"sa_type": "Integer",
|
||||
"py_type": "int",
|
||||
"nullable": false,
|
||||
"default": null
|
||||
},
|
||||
{
|
||||
"name": "quantity",
|
||||
"sa_type": "Integer",
|
||||
"py_type": "int",
|
||||
"nullable": false,
|
||||
"default": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"extra_imports": [
|
||||
"from datetime import date"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"models.py": 1370,
|
||||
"schemas.py": 743,
|
||||
"main.py": 5146,
|
||||
"test_main.py": 5898,
|
||||
"pyproject.toml": 189,
|
||||
"Dockerfile": 339
|
||||
},
|
||||
"valid": true,
|
||||
"docker": {
|
||||
"build": true,
|
||||
"pytest": true,
|
||||
"api": true,
|
||||
"errors": []
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user