Meta-eval: (7/7) Estimate meta-eval tokens and OpenRouter reference cost - #107
Open
ErlisLushtaku wants to merge 5 commits into
Open
Meta-eval: (7/7) Estimate meta-eval tokens and OpenRouter reference cost#107ErlisLushtaku wants to merge 5 commits into
ErlisLushtaku wants to merge 5 commits into
Conversation
Each judge pass records chars/4 token counts and, when a local openrouter_pricing.json is present, an estimated USD cost. Nothing is fetched at runtime. swap_mode=both bills both passes because each orientation is its own annotation row.
The report dump drops None values, so a run without local OpenRouter pricing silently lost both cost keys from results.json instead of reporting them as null. They now carry NaN, which the artifact writer maps to JSON null the way it already does for a degenerate run's kappa.
# Conflicts: # README.md # judgearena/benchmarks/meta_eval/annotate.py
ErlisLushtaku
marked this pull request as ready for review
August 17, 2026 09:21
Member
I think we should implement a class for tracking this so it gets updated for each of the pipeline and not just meta-evaluation: because we would like to also know the cost for other pairwise/elo/mt-bench pipelines. |
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.
Description
Note
Packaged meta-eval split from closed PR #76. Meta-eval does not use the unified
do_inferencecache, and the cache stack (#94-#100) does not wire it up either: caching will be added to meta-eval once those PRs are merged.Each judge pass records chars/4 token counts and, when a local
openrouter_pricing.jsonis present, an estimated USD cost. Nothing is fetched at runtime. Missing pricing leaves cost null.swap_mode=bothbills both passes because each orientation is its own annotation row.This is stacked on #106.