sbi_recovery_diagnostics
Validate reduced or full SBI recovery artifacts, source boundaries, mechanism checks, and metric reporting.
SKILL.mdbasicagent-skill/skill_library/paperbench/all-in-one/skill/sbi_toolkit/sbi_recovery_diagnostics/SKILL.md
GitHubSBI Recovery Diagnostics
Use this skill when a Paper2Skills recovery for the sbi toolkit needs to declare whether it is full or reduced, prove that the original repository was not used, and validate that the simulator-training-posterior mechanism was actually exercised.
Do not use this skill as a replacement for running the recovery experiment. It checks artifacts produced by executable recovery commands.
Inputs
- Runtime handoff with full-runtime readiness and blockers.
- Recovery result with metrics, target metadata, and mechanism checks.
- Training trace and generated-data item for reduced recovery.
- Source manifest and generated-skill invocation logs.
Outputs
- Diagnostic JSON with
ok,errors, andwarnings. - A concise interpretation of whether the recovery scope is valid for soft or hard mode.
Workflow
- Check that full-runtime claims match the runtime handoff.
- For reduced recovery, require data-item provenance, before/after loss, and parameter or optimizer-state changes.
- Confirm that posterior API checks and generated skill invocations were recorded.
- Scan the source manifest for forbidden original-repository paths.
- Confirm that the recovery metric is numeric and tied to the declared target.
Validation
Run:
python /share/project/yuyang/workspace/Paper2Skills/Distiller/skills/module-to-skill/scripts/validate_skill_tree.py /share/project/yuyang/workspace/Paperbench/record/case15/extracted_skills_attempt_001/sbi_toolkit/sbi_recovery_diagnostics --run-tests
For standalone validation of an attempt:
python scripts/recovery_diagnostics.py --attempt-dir /path/to/attempt
Limitations
The diagnostic script checks artifact consistency. It cannot prove that a full sbi package result is scientifically accurate without the underlying executable recovery logs and metrics.