bench-locomo
Skill9 starsChanged 6 months agoMITView on GitHub
Run the LoCoMo external benchmark (Pre-reg Study S1) end-to-end. Use when executing or re-running the AFT vs naive_rag comparison on LoCoMo10. Enforces dry-run-first, env-var check, background execution, and post-run evidence update.
- Reads credentials
In this repository6 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- bench-studySkill
- evidence-updateSkill
- paper-bundleSkill
- prereg-guardSkill
- release-gateSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 36
Start the full run as a background task.
- Distinctive: line 43
After the run completes:
- Distinctive: line 47
Check Δ and whether bootstrap CI excludes 0
- Very specific: line 51
Run /evidence-update locomo to update docs/research/09_current_evidence.md.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
LoCoMo Benchmark — Study S1
Pre-registration: benchmarks/preregistration.md §Study S1.
Canonical execution: make bench-locomo (exports .env, sets PYTHONUNBUFFERED=1).
CRITICAL: benchmarks/preregistration.md is frozen. Never edit it.
Steps
1. Validate LLM config
make llm-config-strictFail fast if EMOTIONAL_MEMORY_LLM_API_KEY is missing or config is unsupported.
2. Smoke test (2 conversations, 5 QA, no judge — <$0.01, ~2 min)
make bench-locomo-dryConfirm exit code 0 and non-empty benchmarks/locomo/results.md before
committing to the full run.
3. Full run (~3h, ~$5–8 with gpt-5-mini + reasoning_effort=minimal)
Start the full run as a background task. Stream stdout monitor. Flag and stop on:
- HTTP 400/401/429 errors → check API key / rate limits
predictionfields consistently empty → retrieval issue in adapter- Python exception tracebacks → fix before restarting
4. Verify outputs
After the run completes:
benchmarks/locomo/results.json— non-empty, n_conversations=10, n_qa_total=1986benchmarks/locomo/results.md— Aggregate Scores table populated with F1, BLEU-1, Judge Acc- Report H1 (AFT F1 > naive_rag F1?) and H2 (AFT judge_acc > naive_rag judge_acc?)
- Check Δ and whether bootstrap CI excludes 0
5. Update evidence matrix
Run /evidence-update locomo to update docs/research/09_current_evidence.md.
Framing: this run is CONFIRMATORY (pre-reg S1 was committed before any LoCoMo
data — verify with git log --oneline benchmarks/preregistration.md | head -1).
gpt-5-mini operational notes
temperature=0is rejected by gpt-5-mini;call_llmstrips it automatically on the first HTTP 400 and retries — no manual intervention needed.- Set
EMOTIONAL_MEMORY_LLM_REASONING_EFFORT=minimalin.envto reduce per-call latency from ~4.7 s → ~1.4 s (validated in local testing). - Both answer-generation and LLM-judge steps use the same configured model.
Cost and time estimate
| Mode | Cost | Wall-clock |
| Dry run (2 conv, 5 QA, no judge) | <$0.01 | ~2 min |
| Full run (10 conv, 1986 QA, with judge) | ~$5–8 | ~3 h |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

