Repository navigation
v1.91.100.0 fix: a gbrain LongMemEval call plan prices in full (gpt-4o, Voyage rerankers, dated Claude snapshots) - #3172
Merged
Conversation
…o, Voyage rerankers, dated Claude snapshots) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
|
😎 This pull request was merged. |
Contributor
E2E Evals: ✅ PASS121 executed, 0 reused rule/judge records | 0 manual accepted (unscored; no score-cache credit) | $92.76 rule/judge cost | reconcile exit: 0 Profile: pr / mode Derived dependents (scripts/pr-dependencies.ts):
Rule and judge shards
Fail-closed reconciliationSliced lane: planner → duration-packed executors → fail-closed report. Behavior cases run a pre-registered 3-trial panel (PASS at 2/3 with no contract violation); a PASS 2/3 is shown with its failed trial, never as a clean pass. Reused results retain their original provenance and expiry. |
levi85
pushed a commit
to levi85/gstack
that referenced
this pull request
Oct 14, 2026
…o, Voyage rerankers, dated Claude snapshots) (garrytan#3172) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
gbrain's
eval longmemeval --call-plan(garrytan/gbrain#6638) writes aGSTACK_EVAL_CALLSv1 file covering every lane of the run. On the gbrain fixture plan (--mode tokenmax --judge),gstack-eval-plan price-gate --plan-filepassed the binding checks. It then stopped atEVAL_PRICE_MISSINGwithtotal=unknown, for three reasons:openai:gpt-4o;voyage:rerank-2.5;anthropic:claude-haiku-4-5-20251001, didn't match theclaude-haiku-4-5row.Changes (
lib/pricing.ts)pricingRowfolds Anthropic's-YYYYMMDDsnapshot suffix onclaude-*ids to the alias row. Dated OpenAI snapshots are deliberately not folded, becausegpt-4o-2024-05-13has its own price.gpt-4o. $2.50 in, $10 out, $1.25 cached per million tokens, from the OpenAI model page (fetched 2026-10-13).rerank-2.5andrerank-2.5-lite. $0.05 and $0.02 per million processed tokens, from Voyage's pricing page (fetched 2026-10-13). Voyage bills query tokens × documents plus document tokens, which matches how gbrain's plan boundsrerankin_tokens(each chunk sent with the query).Verification
test/pricing-eval-plan.test.tschecks every model a gbrain call plan names. It also checks thatgpt-4o-2024-05-13and a malformed date stay unpriced. It failed before the change; the file now passes 25/25.GATE_PRICE: total=0.447332 calls=72andCHECK: reservation-fits-cap ok. Before this change it ended atEVAL_PRICE_MISSINGwithtotal=unknown.bunx tsc --noEmitis clean. Two restamp-queue tests hit their 5 s timeout on this machine; they fail the same way on an untouchedmainworktree here, and this PR doesn't touch them.