Add dry run gate for long telemetry pilot

This commit is contained in:
2026-07-14 17:25:45 +08:00
parent 52a9dc13dd
commit 2afc6eeb8d
2 changed files with 120 additions and 5 deletions

View File

@@ -97,6 +97,26 @@ def main() -> None:
controller = load_controller_module()
assert math.isclose(controller.remaining_projection(6, 0), 7.7)
assert math.isclose(controller.remaining_projection(6, 5), 1.45)
parsed = controller.parser().parse_args(
[
"--manifest",
"/tmp/manifest.json",
"--run-root",
"/tmp/run",
"--aituner-root",
"/tmp/aituner",
"--vllm-source",
"/tmp/vllm",
"--venv",
"/tmp/venv",
"--model",
"/tmp/model",
"--client",
"/tmp/client.py",
"--dry-run",
]
)
assert parsed.dry_run is True
pilot_analysis = load_pilot_analysis_module()
stable = pilot_analysis.stable_adjacent_features(
[