feat: add failure-aware preflight and Qwen review
This commit is contained in:
@@ -85,6 +85,13 @@ def build_parser() -> argparse.ArgumentParser:
|
||||
default=0,
|
||||
help="Maximum tasks to submit in one run (0 means unlimited)",
|
||||
)
|
||||
parser.add_argument("--disable-candidate-preflight", action="store_true", help=argparse.SUPPRESS)
|
||||
parser.add_argument("--llm-classifier-endpoint", default=os.getenv("MODELHUB_LLM_CLASSIFIER_ENDPOINT"), help=argparse.SUPPRESS)
|
||||
parser.add_argument("--llm-classifier-model", default=os.getenv("MODELHUB_LLM_CLASSIFIER_MODEL"), help=argparse.SUPPRESS)
|
||||
parser.add_argument("--llm-classifier-api-key", default=os.getenv("MODELHUB_LLM_CLASSIFIER_API_KEY"), help=argparse.SUPPRESS)
|
||||
parser.add_argument("--llm-classifier-timeout-seconds", type=int, default=int(os.getenv("MODELHUB_LLM_CLASSIFIER_TIMEOUT_SECONDS", "20")), help=argparse.SUPPRESS)
|
||||
parser.add_argument("--llm-classifier-min-deny-confidence", type=float, default=float(os.getenv("MODELHUB_LLM_CLASSIFIER_MIN_DENY_CONFIDENCE", "0.85")), help=argparse.SUPPRESS)
|
||||
parser.add_argument("--llm-classifier-cache-path", default=os.getenv("MODELHUB_LLM_CLASSIFIER_CACHE_PATH", ".modelhub_state/llm_classifications.json"), help=argparse.SUPPRESS)
|
||||
parser.add_argument("--skip-outcome-sync", action="store_true", help="Skip outcome sync from ModelHub before scanning")
|
||||
parser.add_argument("--skip-history-archive", action="store_true", help="Skip historical task archive download for this run")
|
||||
parser.add_argument("--dry-run", action="store_true", help="Plan the day without creating tasks")
|
||||
@@ -233,6 +240,17 @@ def make_wave_namespace(base_args: argparse.Namespace, wave: WaveSpec) -> argpar
|
||||
capacity_probe_interval_cycles=getattr(base_args, "capacity_probe_interval_cycles", 3),
|
||||
submit_concurrency=getattr(base_args, "submit_concurrency", 1),
|
||||
max_submits_per_run=getattr(base_args, "max_submits_per_run", 0),
|
||||
disable_candidate_preflight=getattr(base_args, "disable_candidate_preflight", False),
|
||||
llm_classifier_endpoint=getattr(base_args, "llm_classifier_endpoint", None),
|
||||
llm_classifier_model=getattr(base_args, "llm_classifier_model", None),
|
||||
llm_classifier_api_key=getattr(base_args, "llm_classifier_api_key", None),
|
||||
llm_classifier_timeout_seconds=getattr(base_args, "llm_classifier_timeout_seconds", 20),
|
||||
llm_classifier_min_deny_confidence=getattr(base_args, "llm_classifier_min_deny_confidence", 0.85),
|
||||
llm_classifier_cache_path=getattr(
|
||||
base_args,
|
||||
"llm_classifier_cache_path",
|
||||
".modelhub_state/llm_classifications.json",
|
||||
),
|
||||
runs_dir=base_args.runs_dir,
|
||||
ledger_path=base_args.ledger_path,
|
||||
outcomes_path=getattr(base_args, "outcomes_path", "outcomes/submissions.jsonl"),
|
||||
|
||||
Reference in New Issue
Block a user