| English | 中文 |
This workflow combines frozen data, reviewed skills and an agent prompt to compare a specified reference calculation with a candidate. Methods define the scientific comparison. Paper-specific source mappings, settings and experiments belong in projects; computation belongs in skills. The recipe is documentation, with no direct YAML execution.
| Mode | Operational status |
|---|---|
compare_existing |
Reviewed direct Python helper compares already frozen local result snapshots using explicit task configuration; preflight is the default. |
reproduce_and_compare |
The agent first creates/freezes a candidate from paper, data and reviewed skills, then audits the original implementation and compares. Generation has an explicit agent plan; the comparison stage uses the implemented JSON task. No general automatic reproduction engine exists. |
| Source collection | Agent-guided review and use of an already authorized route, including bounded SSH read/import where authorized. The comparison helper does not collect remote sources or run arbitrary code. |
The helper is a direct script, not a registered run-tool or MCP adapter. It does not inherit runner isolation or authorization checks. The existing ml_regression_workflow entry uses generic training/validation selection; a paper’s CV, tuning or split procedure requires explicit implementation and review. Extracted CV primitives alone do not make every study executable.
compare_existing, check the existing snapshot’s identity and completeness. In reproduce_and_compare, use a reviewed skill within the agreed budget, verify its artifacts, then freeze its code/configuration, input and result identities. Preserve prior candidates.From the repository root with Python 3.10+, adapt the synthetic configuration example using the task schema. Pass an explicit JSON file; personal settings are not implicitly loaded.
python skills/model/shared/model_reproduction/scripts/compare_existing.py --task-config <explicit-config.json> --batch-id <fresh-batch-id>
python skills/model/shared/model_reproduction/scripts/compare_existing.py --task-config <explicit-config.json> --batch-id <fresh-batch-id> --execute
The angle-bracket arguments are placeholders. Review preflight before executing. Inputs must already be frozen local snapshots; source acquisition and candidate fitting are separate reviewed steps. Choose a fresh comparison batch within the configured external results/<project_id>/ scope. Original and candidate artifacts remain immutable, and an existing batch must not be overwritten. The task and supported helper contract determine artifact names and layout; this workflow imposes no internal directory hierarchy.
Retain task/configuration identity, input and result hashes, source-audit findings, environment/code versions, comparable-view mappings, key-coverage diagnostics, metric/tolerance results and a report with the review state. These are artifact roles, not mandatory folder names. Controlled-probe records additionally identify the changed factor, fixed factors, budget and limitations. Actual private mappings and complete local evidence stay outside Git under the storage contract; shared reports contain sanitized summaries.