- Adjust config:
config.yaml - Run simulation:
cargo run(orcargo run --release) - Generate plots:
python plot.py - View plots:
runs/latest/plots/index.html
To run in interactive mode:
COMMAND=1 cargo runredis-servercd command; python app.py- Visit
http://localhost:8000/
To implement a new policy option:
- Add it to the
Policyenum insrc/model/policy.rs - Implement its effect in
src/model/policy.rs#Simulation.apply_policy - Add its spec to
command/static/command.js#POLICY_SPEC
Search for ENH comments for possible enhancements.
Run tests with cargo test -- --nocapture
