Experiments¶
Experiment notebooks compare reward and safety behavior across baseline and shielded agents.
Standard Flags¶
Experiment notebooks commonly use these run switches:
run_ipporun_ippo_lagrun_icporun_ippo_shieldedrun_ippo_true_shieldedjust_vis
Shield-specific debugging often uses:
shield_debug_modeshield_trace_limitshield_missing_coverage_log_limitshield_patience
Use command-line kebab case when running scripts:
uv run python notebooks/matrix/chicken/experiments_mo.py \
--run-ippo=true \
--run-ippo-shielded=true \
--shield-debug-mode=minimal
Baseline Runs¶
Baseline IPPO, IPPO Lagrangian, and ICPO runs only need the environment. They do not need world-model or opponent-model artifacts.
This is useful when checking that an environment and training loop work before running the full shielded pipeline.
Shielded Runs¶
Learned shielded runs need:
True-shielded runs need the cached exact true-shield graph under the environment's true_shield/ export directory.
Results¶
Experiment outputs usually include:
- history files,
- cumulative reward and safety plots,
- episodic reward and safety plots,
- shield telemetry summaries,
- timing entries in the shared timing sidecar.
The exact file set depends on the environment and selected run flags.