Spaces:
Paused
Paused
Add capture readiness quality gate
Browse files- run_checks.ps1 +1 -1
run_checks.ps1
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
$ErrorActionPreference = "Stop"
|
| 2 |
|
| 3 |
-
python -m py_compile sitecustomize.py app.py simam3d_core.py da3_compat.py validate_manifest.py summarize_runs.py demo_pipeline.py benchmark_pipeline.py hosted_smoke_test.py evaluate_depth.py evaluate_depth_dataset.py evaluate_pointcloud.py evaluate_pointcloud_dataset.py validate_capture_manifest.py import_colmap.py inspect_gaussian_ply.py make_synthetic_capture.py run_synthetic_evaluation.py run_regression_tests.py
|
| 4 |
if ($LASTEXITCODE -ne 0) { throw "Python compilation failed" }
|
| 5 |
python -c "import ast, pathlib; tree=ast.parse(pathlib.Path('app.py').read_text(encoding='utf-8')); names={node.targets[0].id for node in ast.walk(tree) if isinstance(node, ast.Assign) and len(node.targets)==1 and isinstance(node.targets[0], ast.Name)}; assert 'MIN_FUSION_SUPPORT_VIEWS' in names; print('app configuration contract passed')"
|
| 6 |
if ($LASTEXITCODE -ne 0) { throw "App configuration contract failed" }
|
|
|
|
| 1 |
$ErrorActionPreference = "Stop"
|
| 2 |
|
| 3 |
+
python -m py_compile sitecustomize.py app.py simam3d_core.py da3_compat.py validate_manifest.py summarize_runs.py demo_pipeline.py benchmark_pipeline.py hosted_smoke_test.py evaluate_depth.py evaluate_depth_dataset.py evaluate_pointcloud.py evaluate_pointcloud_dataset.py validate_capture_manifest.py import_colmap.py inspect_gaussian_ply.py make_synthetic_capture.py run_synthetic_evaluation.py assess_capture.py run_regression_tests.py
|
| 4 |
if ($LASTEXITCODE -ne 0) { throw "Python compilation failed" }
|
| 5 |
python -c "import ast, pathlib; tree=ast.parse(pathlib.Path('app.py').read_text(encoding='utf-8')); names={node.targets[0].id for node in ast.walk(tree) if isinstance(node, ast.Assign) and len(node.targets)==1 and isinstance(node.targets[0], ast.Name)}; assert 'MIN_FUSION_SUPPORT_VIEWS' in names; print('app configuration contract passed')"
|
| 6 |
if ($LASTEXITCODE -ne 0) { throw "App configuration contract failed" }
|