proxy_recovery_harness
Run a reduced executable QDagger recovery experiment with generated-skill invocations, training traces, and mechanism checks.
SKILL.mdbasicagent-skill/skill_library/paperbench/ftrl/skill/reincarnating_rl/proxy_recovery_harness/SKILL.md
GitHubProxy Recovery Harness
When To Use
Use this skill when full Atari-scale reincarnating RL is blocked by runtime, checkpoint, or data availability, and soft-mode reduced recovery is permitted. The harness validates QDagger's mechanism with a deterministic tabular proxy. Do not present its metric as a full Atari result.
Inputs
- Attempt directory containing
module_plan.jsonandenvironment/runtime_handoff.json. - Generated skills root containing
qdagger_lossandweaning_schedule. - Optional output directory for recovery artifacts.
Outputs
generated_data_item.json: proxy replay and teacher-policy data.training_trace.json: loss, parameter, schedule, and optimizer-step evidence.recovery_result.json: proxy metric and mechanism checks.generated_skill_invocations.json: evidence that generated module skills were imported/called.
Workflow
- Load the generated QDagger loss and weaning schedule helpers by path.
- Construct a tiny teacher replay and student replay batch.
- Compute pre-update loss with positive teacher coefficient.
- Estimate finite-difference gradients over tabular Q-values and apply one optimizer step.
- Recompute post-update loss and a later decayed coefficient.
- Write validator-compatible recovery artifacts.
Validation
Run:
python scripts/run_proxy_recovery.py --self-test
python tests/test_proxy_recovery_harness.py
Limitations
The harness is a reduced mechanism-faithful proxy. It proves executable QDagger mechanics but not paper-scale ALE performance.