SummerProject2026/.vscode/tasks.json
2026-07-15 17:55:53 -06:00

114 lines
3.9 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "Utah Vehicle Health: create private VIN HMAC key",
"type": "shell",
"command": ".venv/bin/python scripts/create_vin_hash_key.py",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "Countydata: test read-only connection",
"type": "shell",
"command": "set -a; source .env; set +a; .venv/bin/python scripts/check_connection.py",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "Utah Vehicle Health: run Python tests",
"type": "shell",
"command": "PYTHONWARNINGS=error .venv/bin/python -m unittest discover -s tests -v",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "Utah Vehicle Health: run aggregate feasibility check",
"type": "shell",
"command": "set -a; source .env; set +a; .venv/bin/python scripts/run_feasibility_check.py",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "Utah Vehicle Health: audit source outcome mappings",
"type": "shell",
"command": "set -a; source .env; set +a; .venv/bin/python scripts/run_outcome_mapping_audit.py",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "Utah Vehicle Health: export 10k development histories",
"type": "shell",
"command": "set -a; source .env; set +a; .venv/bin/python scripts/export_history_sample.py --vehicles 10000 --sample-percent 0.5 --overwrite",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "Utah Vehicle Health: build private feature mart",
"type": "shell",
"command": ".venv/bin/python scripts/build_feature_mart.py --input data/private/development/history_sample_10000.csv.gz --memory-limit 4GB --threads 4 --overwrite",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "Utah Vehicle Health: train baselines (2025 locked)",
"type": "shell",
"command": ".venv/bin/python scripts/train_baselines.py --mart data/private/marts/inspection_feature_mart.parquet --overwrite",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "Utah Vehicle Health: train nonlinear model (2025 locked)",
"type": "shell",
"command": ".venv/bin/python scripts/train_tree_model.py --mart data/private/marts/inspection_feature_mart.parquet --overwrite",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "Utah Vehicle Health: export sanitized dashboard preview",
"type": "shell",
"command": ".venv/bin/python scripts/export_dashboard_data.py --mart data/private/marts/inspection_feature_mart.parquet --model-manifest artifacts/private/baselines/baseline_v1/manifest.json --model-metrics artifacts/private/baselines/baseline_v1/metrics.json --model-manifest artifacts/private/tree/hist_gradient_boosting_v1/manifest.json --model-metrics artifacts/private/tree/hist_gradient_boosting_v1/metrics.json --development-preview --overwrite",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "Utah Vehicle Health: run dashboard contract tests",
"type": "shell",
"command": "node --test dashboard/tests/contract.test.mjs",
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "Utah Vehicle Health: run all tests",
"dependsOrder": "sequence",
"dependsOn": [
"Utah Vehicle Health: run Python tests",
"Utah Vehicle Health: run dashboard contract tests"
],
"problemMatcher": []
}
]
}