submit - Submit Results¶
Package a benchmark result bundle for contribution to the hosted results platform.
Creates a local output directory containing the canonical bundle, a submission
manifest, and contribution instructions - ready for opening a PR against
results-data/.
Basic Syntax¶
benchbox submit [RESULT_FILE] [OPTIONS]
Options¶
Option |
Type |
Default |
Description |
|---|---|---|---|
|
path |
- |
Path to result JSON file (optional) |
|
flag |
- |
Use most recent result file |
|
str |
- |
Filter by benchmark name (with |
|
str |
- |
Filter by platform name (with |
|
path |
|
Output directory for submission package |
|
flag |
- |
Preview what would be packaged without writing files |
What Gets Created¶
Running benchbox submit creates the following layout inside --output:
submission/
├── bundle/
│ ├── <result>.json # verbatim copy of the canonical result file
│ ├── <result>.plans.json # companion file - only if present
│ └── <result>.tuning.json # companion file - only if present
├── submission-manifest.json # metadata for the PR reviewer
└── CONTRIBUTING.md # step-by-step instructions for opening the PR
submission-manifest.json fields¶
Field |
Description |
|---|---|
|
|
|
ISO-8601 UTC timestamp |
|
Filename of the result JSON |
|
SHA-256 hex digest of the result file |
|
Benchmark name (e.g. |
|
Platform name (e.g. |
|
Scale factor used |
|
Submission phase ( |
|
|
Phase 2 vs Phase 3¶
benchbox submit is a Phase 2 command.
Phase |
Workflow |
Auth required |
|---|---|---|
2 (current) |
Package locally → open PR manually |
No |
3 (planned) |
|
Yes ( |
The local bundle produced in Phase 2 is designed to be compatible with Phase 3’s upload payload, so the output directory is not throwaway.
submit vs publish¶
These commands serve different purposes:
|
|
|
|---|---|---|
Purpose |
Copy artifacts to local dir or cloud storage |
Package for community PR contribution |
Network |
Configured destinations (may be remote) |
None (Phase 2) |
Auth |
Per-destination |
None (Phase 2) |
Workflow |
Internal sharing / archival |
Community contribution via PR |
Examples¶
# Package a specific result file
benchbox submit results/tpch_sf1_duckdb.json
# Package the most recent result
benchbox submit --last
# Package the most recent TPC-H result
benchbox submit --last --benchmark tpch
# Preview what would be packaged (no files written)
benchbox submit --last --dry-run
# Use a custom output directory
benchbox submit --last --output ./my-submission