fix: raise eval push payload limit to 100 MiB (match prime#818) - #2222
Open
hubert-marek wants to merge 1 commit into
Open
fix: raise eval push payload limit to 100 MiB (match prime#818)#2222hubert-marek wants to merge 1 commit into
hubert-marek wants to merge 1 commit into
Conversation
hubert-marek
marked this pull request as ready for review
August 2, 2026 07:44
ApprovabilityVerdict: Approved 066420a Single-line configuration change increasing a payload size limit constant from 25 MiB to 100 MiB. The change is minimal, self-contained, and has clear intent with no complex runtime implications. You can customize Macroscope's approvability policy. Learn more. |
Mirror of PrimeIntellect-ai/prime#818. Computer-use envs (cua_world, osworld_v2) embed a full screenshot per step, so one rollout's sample exceeds the 25 MiB push ceiling and is skipped ("sample 0 is too large to upload"): cua_world ~51 MiB, osworld_v2 ~75 MiB at 50 steps, higher for longer rollouts. Match the Prime Evals client ceiling raised in prime#818. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
hubert-marek
force-pushed
the
fix/raise-eval-push-payload-limit-75mib
branch
from
August 2, 2026 07:48
3af1f66 to
066420a
Compare
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.
Companion to PrimeIntellect-ai/prime#818.
_MAX_SAMPLES_PAYLOAD_BYTESis the per-sample ceilingpush_traces(verifiers/v1/utils/platform.py) enforces before POSTing eval samples to/evaluations/{id}/samples; its comment notes it mirrors the Prime Evals client's request ceiling. prime#818 raises that client ceiling 25 → 100 MiB, so this mirror is raised to match.Why: computer-use environments (
cua_world_v1,osworld_v2_v1) embed a full 1920×1080 screenshot per step (~1.5–3.5 MiB each), so a single rollout's sample exceeds 25 MiB and this check raises, skipping the upload —uv run eval --pushlogs:sample 0 is too large to upload (53564890 > 26214400 bytes)— cua_world (~51 MiB)sample 0 is too large to upload (78391638 > 26214400 bytes)— osworld_v2 (~75 MiB @ 50 steps)so those runs get no hosted rollout link. 100 MiB (with prime#818) gives real headroom for screenshot-heavy rollouts without compressing traces.
🤖 Generated with Claude Code
Note
Low Risk
Single constant change with no logic edits; slightly larger HTTP bodies on upload, bounded by the same checks as before.
Overview
Raises
_MAX_SAMPLES_PAYLOAD_BYTESinplatform.pyfrom 25 MiB to 100 MiB so the verifiers--pushpath stays aligned with the Prime Evals client request ceiling (prime#818).push_tracesstill uses this constant for per-sample rejection and batch splitting before POSTing to/evaluations/{id}/samples; only the ceiling changes, so screenshot-heavy computer-use rollouts that were skipped as “too large” can upload instead of failing the check locally.Reviewed by Cursor Bugbot for commit 066420a. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Raise eval push payload limit to 100 MiB in
_MAX_SAMPLES_PAYLOAD_BYTESIncreases
_MAX_SAMPLES_PAYLOAD_BYTESin platform.py from 25 MiB to 100 MiB to match the limit set in prime#818. Any payload size enforcement using this constant now allows up to 100 MiB.Macroscope summarized 066420a.