Community reruns
Community reruns and leaderboard
This is a design for accepting independent reruns without treating an upload
as proof. Nothing in this document is deployed. The static preview does not
collect data, and the proposed handler contains no credentials or provider
configuration.
Submission contract
The canonical format is
data/community-submission.schema.json.
It requires:
- the tool name, pinned version, 40-character source commit, and 64-character
artifact SHA-256;
- the complete Test this yourself prompt, verbatim;
- OS name/version/architecture, CPU model and logical-core count, RAM in bytes,
and zero or more GPUs with memory in bytes;
- UTC start and end timestamps, runtime in seconds, and the agent/model used;
- one result for every task, including outcome, attempt count, machine-readable
metrics, a raw-log excerpt, the excerpt SHA-256, and the full-log SHA-256; and
- optional SHA-256 records for retained screen dumps, screenshots, logs, and
metric files (the files themselves remain separate until privacy review); and
- one public submitter handle. It does not ask for a real name, email address,
hostname, network address, or local filesystem path.
The schema is strict: unknown fields are rejected. The validation script also
checks timestamp/runtime agreement, unique task IDs, exact excerpt hashes,
likely secrets, private network addresses, hostnames, and home-directory paths.
One-POST endpoint design
scripts/community_submit_handler.py
is a provider-neutral POST handler. A serverless adapter can pass it an event
containing httpMethod and body. The handler:
- rejects non-POST methods and bodies over 1 MiB;
- parses JSON and calls
scripts/validate_community_submission.py;
- rejects malformed, internally inconsistent, or privacy-unsafe submissions
with a 422 response;
- compares the accepted submission with a reference-run JSON file and records
outlier flags for target mismatches, missing tasks, outcome differences,
attempt-count differences, runtime ratios, and numeric metric differences;
- returns a deterministic submission ID with state
unverifiedand pending
points.
The function deliberately has no database, queue, object-store, email, or
deployment code. A future adapter would persist the returned record and impose
rate limits. Intake can never set verified; that transition requires a
separate checker or human review against Rocky's retained run.
Run the validator locally:
```sh
python3 scripts/validate_community_submission.py submission.json
python3 scripts/validate_community_submission.py submission.json \
--reference reference-run.json
```
Exit code 0 means the structure and internal checks passed. Outlier flags are
review prompts, not automatic rejection and not proof of misconduct.
Verification states
| State | Meaning | Public/points effect |
|---|---|---|
| unverified | Schema and internal checks passed; comparison is pending. | Not public; no points. |
| checked | Raw hashes and derived figures were checked against the submitted logs. | May be shown as pending; no points. |
| verified | The rerun checked out against Rocky's run, or a documented hardware-specific difference was independently accepted. | Public and eligible for points. |
| disputed | Evidence could not support the submitted result; a reason is retained. | Not counted; no penalty. |
| rejected | Malformed, unsafe, spam, or unverifiable payload. | Not public; no points. |
Every accepted POST starts as unverified, even when it matches perfectly.
A community result never edits a verdict automatically. A verdict can change
only through a published retest.
Outlier checks
The comparison script flags, without silently rewriting:
- version, commit, or artifact-hash differences;
- task IDs absent from either run;
- success/failure changes;
- different attempt counts;
- runtime below one quarter or above four times the reference runtime; and
- shared numeric metrics that differ by more than the configured relative
tolerance (25% by default, with a small absolute floor near zero).
Hardware differences remain visible in the submitted system block. A result
from a different CPU, GPU, memory size, driver, or operating system may be
valid; a verifier reviews that context separately from the automated outlier
flags.
Points and leaderboard model
Points are immutable events attached only after verification:
```json
{
"event_id": "sha256-derived-id",
"submission_id": "submission-id",
"handle": "@example",
"kind": "verified_rerun",
"points": 10,
"awarded_at": "2026-10-23T18:00:00Z",
"reason": "Independent rerun verified"
}
```
Allowed event kinds are:
verified_rerun: 10 points;new_hardware_class: 15 bonus points for the first verified result in a
normalized hardware class; and
correction_found: 25 bonus points when a verified rerun finds and helps fix
an error in Rocky's published numbers.
There are no negative points for an honest mismatch. The leaderboard is a
derived view, not an editable total:
```json
{
"handle": "@example",
"points": 25,
"verified_reruns": 1,
"hardware_classes": ["linux-arm64-cpu"],
"last_verified_at": "2026-10-23T18:00:00Z"
}
```
Only the handle, total, verified-rerun count, normalized hardware classes, and
last verification time are public. Raw logs stay linked to their submission
record and are published only after privacy review.
