This file is for protocol users testing tasks on the new framework.
- Task runtime now uses a structured event object internally (
BehaviorEvent) with wall-clock timestamps. - Log output format is still
events.jsonlwithtimestamp,event_type, andpayload. - User/project config should live under
users/<your_namespace>/.
- Update your checkout.
- Work on your own branch.
- Use your namespace files under
users/<your_namespace>/. - Run your task through
run_task.pyor your wrapper. - Check outputs in
.task_runs/<run_id>/. - Report bugs with run artifacts attached (
run_metadata.json,events.jsonl,result.json,quality_report.json).
cd /Users/lukesjulson/codex/RPi4_refactor/targets/RPi4_behavior_tasksgit checkout maingit pull origin maingit checkout -b <your_name>/task-test-YYYYMMDD- Edit
users/<your_namespace>/mouse_info/<mouse>.json. - Edit
users/<your_namespace>/session_templates/<template>.json. - Run task.
- Validate output and behavior.
cd /Users/lukesjulson/codex/RPi4_refactor/targets/RPi4_behavior_tasks
git checkout main
git pull origin main
git checkout -b julia_duy/test-gonogo-20260222
python users/julia_duy/wrappers/run_gonogo_julia_duy.py \
--yes \
--output-dir .task_runs \
--set trial_count=20 \
--set seed=123After the run:
- Find the run id printed in terminal output.
- Inspect
.task_runs/<run_id>/events.jsonl. - Confirm event records have wall-clock timestamps and expected event sequence.
- If needed, run:
python tools/verify_run_artifacts.py .task_runs/<run_id>.
cd /Users/lukesjulson/codex/RPi4_refactor/targets/RPi4_behavior_tasks
python users/matt_context/wrappers/run_context_matt.py \
--yes \
--output-dir .task_runs \
--set trial_count=30 \
--set seed=456- Experimental protocols are blocked unless you pass
--allow-experimental. - Production mode is stricter: use
--run-mode production. - Optional stricter lock for production:
--require-release-tag. - Do not commit per-session outputs from
.task_runs/.