Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions tests/integration/test_parser_recalibration_engine.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
from __future__ import annotations

from openamp_foundry.cli.main import build_parser


def test_recalibration_engine_parser_defaults_are_stable():
parser = build_parser()
args = parser.parse_args([
"recalibration-engine",
"--intake-report",
"intake.json",
"--gate-verdict",
"gate.json",
"--current-weights",
"{}",
])

assert args.command == "recalibration-engine"
assert args.intake_report == "intake.json"
assert args.gate_verdict == "gate.json"
assert args.current_weights == "{}"
assert args.l1_budget == 0.10
assert args.out_json is None
assert args.out_md is None
assert args.dry_run is False
Loading