Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 1.51 KB

File metadata and controls

59 lines (41 loc) · 1.51 KB

Start Here — Quick entry

  1. 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.

  2. Run the Acme demo

    PYTHONPATH=. python examples/acme_demo.py
  3. Run tests

    python -m pip install -e ".[dev]"
    pytest -q
  4. Run smoke benchmark

    PYTHONPATH=. python tests/run_smoke_tests.py
  5. 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).

  6. Read methodology

    See docs/methodology.md for details on task design, scoring, and benchmark boundaries.

  7. 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.

  8. Inspect audit package

    See RELEASE_CHECKLIST.md, AUDIT_NOTES.md, and FULL_MANIFEST.md for packaging and verification details.