(MOT-4168) harness: prompt eval runner for live-rig conduct benching#563
(MOT-4168) harness: prompt eval runner for live-rig conduct benching#563rohitg00 wants to merge 2 commits into
Conversation
|
Warning Review limit reached
Next review available in: 58 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
skill-check — worker0 verified, 47 skipped (no docs/).
Four for four. Nicely done. |
What
A committed, zero-dependency prompt eval runner at
harness/evals/prompts:run.mjs+scenarios.json+ README. It benches system-prompt variants against a live rig and grades agent conduct, not exact text.currentsends no override (whatever the router serves the rig, token count fetched live viarouter::system_prompt::get),candidatesendsharness/prompts/default.txtfrom the checkout withsystem_prompt_strategy: override. Any prompt file can be benched by pointing an arm at it.result_matches,calls_include,calls_exclude,call_order(first match ofbeforeprecedes first match ofafter), arm-scoped, with anoptionalflag for observed-but-not-gating checks.fp::pipeinstead of flooding the context (a 1 MB fetch read inline costs roughly 270k tokens), no installs on a read-only registry question.out/(gitignored) as markdown + JSON with per-arm prompt tokens, per-session call sequences, turns, and generations. Exit 1 on any non-optional failure.Why
harness/evals/integrationis the deterministic conformance gate: isolated stack, scriptedrouter::*, exact invariants. A scripted router cannot measure prompt-driven behavior, which is exactly what changes when a prompt changes. This runner is the live-model complement, and the working seed of the HarnessBench tech spec (matrix runs comparing prompt and config variants). The methodology is the one that validated #558/#560: 13 sessions of ad hoc scripts, now committed and repeatable.Proof run (live rig, engine 0.21.6, claude-sonnet-5)
Both arms piped the 1 MB payload (
web::fetch -> fp::get -> fp::sizeinside onefp::pipe) with zero body tokens in the model context. On this branchcandidateis the current 8,799-token default.txt; once #558 lands the same run shows the drop to 1,676.Notes
iiiCLI; not wired into CI on purpose (live model, nondeterministic text, deliberate cost).pbench-<runid>-<arm>-<scenario>and stay inspectable in the console.Linear
Closes MOT-4168. Part of MOT-4157.