Quest 01 / 03 · Quick build
Gate synthetic protocol answers with abstention tests
- prompt evaluation
- Python
Why now OpenAI proposes tying safeguards to successive capability thresholds. Turn that idea into a test suite for synthetic protocol questions, with separate checks for answerable and unanswerable cases.
Build it Make a Promptfoo suite around a local deterministic responder, then report whether it answers supported questions and abstains when the supplied benchmark labels a question unanswerable.
From the news
- OpenAI calls for model limits tied to capability 2026-12-01 · source
Tools
- Promptfoo
Promptfoo's open-source code is MIT licensed. Its Community plan is free with stated probe allowances; commercial Enterprise and on-premise offerings add features under separate service terms. Model-provider charges and additional enterprise probes can be separate costs.
Data
- Meridian Clinical RAG Bench Kaggle
Synthetic clinical-protocol questions with answerable and unanswerable cases for testing an abstention gate.
Steps
- Download the dataset and inspect its fields; identify its answerability signal and reference material before selecting cases.
- Choose a small slice that includes answerable and unanswerable questions, then convert each row into a Promptfoo case using the confirmed fields.
- Write a local deterministic responder that returns a fixed answer for answerable cases and an abstention for unanswerable cases; add Promptfoo assertions for both outcomes.
- Run the suite and print case counts by answerability group plus the pass rate.
Done when
- Promptfoo exits successfully on the selected cases, with both answerability groups represented.
- The report shows the number of cases in each group and the suite pass rate.
