-
What CAC is
Context Admission Control (CAC) is a context-control strategy and synthetic benchmark (DecisionRiskBench v1.4) for evaluating evidence admission policies under token budgets. It focuses on admitting compact, sufficient evidence rather than retrieving raw chunks.
-
Run the Acme demo
PYTHONPATH=. python examples/acme_demo.py
-
Run tests
python -m pip install -e ".[dev]" pytest -q -
Run smoke benchmark
PYTHONPATH=. python tests/run_smoke_tests.py
-
Inspect headline results
See
outputs/decision_risk_v1_4_n20/for packaged CSVs and SVGs (or release assets if outputs are excluded from the repo). -
Read methodology
See
docs/methodology.mdfor details on task design, scoring, and benchmark boundaries. -
Run the real-model LLM eval (CAC vs RAG with a local LLM)
# Install LLM extras first (downloads ~7 GB for phi-3-mini on first run) pip install "context-admission-control[llm]" # Run full pipeline: export prompts → call model → score → report python -m benchmarks.llm_runner.run \ --n 5 \ --budget 160 \ --distractors 25 \ --model microsoft/phi-3-mini-4k-instruct \ --output-dir outputs/llm_eval_real
Results appear in
outputs/llm_eval_real/llm_eval_report.md. -
Inspect audit package
See
RELEASE_CHECKLIST.md,AUDIT_NOTES.md, andFULL_MANIFEST.mdfor packaging and verification details.