Repository navigation
Conversation
lfengad
previously approved these changes
Dec 5, 2026
lfengad
left a comment
Collaborator
There was a problem hiding this comment.
The runner still uses the same AMT-S scoring call. The notebook sets the required Python startup isolation, and the README explains how to migrate old shards. All 13 CPU regression tests passed in my review.
yaoxu-crypto
self-requested a review
December 5, 2026 17:05
…nce in PAIBench-G motion runner Rejects non-finite (NaN/±Inf) and boolean motion smoothness scores, binds resumed shards and merged outputs to a verified evaluator/config/checkpoint/environment manifest with isolated bytecode caching and user-site startup isolation, and includes ordered Python import search-path and per-path distribution precedence in the evaluator fingerprint so reversed import paths reject stale shard reuse. Signed-off-by: Kane <153349620+kane-vln@users.noreply.github.com>
kane-vln
force-pushed
the
fix/paibench-g-motion-smoothness-integrity
branch
from
December 6, 2026 07:53
d5a4cd8 to
b4d24c2
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#362): validate worker scores, resumed shard checkpoints, and merged means withparse_finite_score(rejectingbool,NaN, and±Inf), parse saved JSON viastrict_json_loads(parse_constantrejectingNaN/Infinity/-Infinity), and serialize atomic outputs withallow_nan=Falsebefore creating temporary files.NVIDIA/cosmos#361): upgrademanifest.json(runner_version=3) to a sharedScoringIdentitySpec+ Python 3.10-compatible streaming SHA-256 fingerprint covering the effectiveevaluator_rootsource tree (including symlink target bytes and any sourceless bytecode), externalAMT-S.yamlconfig andamt-s.pthcheckpoint digests, patch files,pyproject.toml/uv.lock/scorer_environment.freeze.txt, exclusion-filtered Git status, and a startup-isolated (-s/PYTHONNOUSERSITE=1) Python environment; redirect per-worker bytecode lookup/writes into a fresh temporarysys.pycache_prefixso pre-existing__pycache__/*.pycfiles with matching size/mtime cannot serve stale code.evaluator_digeston every worker checkpoint record, reject--result-file/--output-dirlayouts that overlap or aliasmanifest.json,worker_*.json, input videos, configs, checkpoints, or scorer scripts, and enforce manifest-authoritative paths and live identity verification duringwrite_merged_result(with an explicitverify_live=Falsepath for offline archival inspection).-s/PYTHONNOUSERSITE=1and pre-v3 shard cleanup inREADME.mdandrun_with_cosmos_framework.ipynb, and add pure-CPUspawn+unittest/pytestregressions covering Python 3.10 and Python 3.12.Closes NVIDIA/cosmos#361
Closes NVIDIA/cosmos#362
Verification
python3.10 -s -m unittest discover -s .agents/skills/evaluation/cosmos3/generator/paibench_g/tests -p '*_test.py' -vpython3 -s -m unittest discover -s .agents/skills/evaluation/cosmos3/generator/paibench_g/tests -p '*_test.py' -vPYTHONNOUSERSITE=1 python3 -s -m pytest --noconftest -c /dev/null -v .agents/skills/evaluation/cosmos3/generator/paibench_g/tests/run_motion_smoothness_sharded_test.pyvalidate-cookbooks.yml