judge-dashboard: backfill cost + runtime on Chanel tiles#34
Merged
Conversation
- Fetched cost + duration_ms from Runflow's /v1/runs/{id} for the 17 newly-
generated Chanel tiles (5 picks + 12 re-rolls). Cost ranges $0.023-$0.048,
runtime 32-68s.
- Lightbox caption now hides the cost / runtime segments when the value is
null instead of rendering "$0.000 · 0.0s". The 8 kept tiles (no run_id
available retroactively) just show Hero / Angle / Format.
- Total cost stat at the top of Results now sums the 17 backfilled tiles
(~$0.50 across the preset). Avg runtime stat ditto.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Total cost + avg runtime were stuck at
—because preset PRESETS.runs entries hadcost: nullandduration_ms: null(build-presets.py output was working but the new chanel tiles were baked from skill logs that don't carry cost/duration). Re-queried Runflow per run_id, backfilled the 17 newly-generated tiles. The 8 kept tiles can't be backfilled retroactively (no run_ids in our possession); lightbox caption now hides empty cost/runtime segments instead of showing$0.000 · 0.0s.