Repository navigation
Conversation
lfengad
previously approved these changes
Dec 5, 2026
lfengad
left a comment
Collaborator
There was a problem hiding this comment.
I checked that score aggregation still uses the existing metric functions and that the notebook documents how to recompute a legacy cache. The new input validator accepted all 1,170 rows in the shipped prompt file. The 10 CPU tests passed locally, using the SDK test double for the gateway check.
yaoxu-crypto
self-requested a review
December 5, 2026 17:07
…t and breakdown Binds cached score files to a validated run manifest (prompt and image SHA-256 digests, credential-free judge identity, and scorer/rubric digests), rejects empty testpoint rows consistently at input resolution and cache reuse, and validates every cached breakdown entry, success_count, and recomputed totals/accuracy before reuse. Signed-off-by: Kane <153349620+kane-vln@users.noreply.github.com>
kane-vln
force-pushed
the
fix/unigenbench-scorer-run-manifest
branch
from
December 6, 2026 07:53
5867a89 to
4b41772
Compare
This branch has not been deployed
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.
Summary
NVIDIA/cosmos#363): check--benchmark_prompt_json,--image_folder, judge settings, duplicate sample output keys, and output path aliasing (refusing to overwrite prompt files, image folders/images, or scorer files even with--overwrite) before inspecting--output_score_jsonor constructingGatewayVLM.run_manifestto exact scored bytes: parse the prompt file once from its hashed bytes (supporting both{"benchmark": [...]}and[...]schemas), hash resolved expected images, and re-verify per-sample image SHA-256 on every batch read and retry so mid-run mutations abort cleanly while closingGatewayVLMinfinallyafter construction.AsyncOpenAI(..., default_query=...)inGatewayVLMso query-bearing gateway URLs build valid/chat/completions?...request URLs, preserve meaningful path differences (/v1/vs/v1//) in the canonical endpoint identity, require an explicit non-secret--judge_deployment(wired viaUNIGENBENCH_JUDGE_DEPLOYMENTinrun_with_cosmos_framework.ipynb) when--gateway_urlcarries query parameters, and hashugb_scorer.py,utils.py, rubric constants, andmax_retry; strictly validate JSON andstatspayloads on cache hits and add--overwritefor intentional recomputation.unittest/pytestregressions across every identity field, duplicate-row/output-alias guards, and realGatewayVLM+AsyncOpenAImock HTTP transport verification.Closes NVIDIA/cosmos#363
Verification
python3 -m unittest discover -s .agents/skills/evaluation/cosmos3/generator/unigenbench/tests -p '*_test.py' -vpython3 -m pytest --noconftest -c /dev/null -v .agents/skills/evaluation/cosmos3/generator/unigenbench/tests/ugb_scorer_test.pyvalidate-cookbooks.yml