Expand description
2026-09-26: --pull-request-gate-check: does this commit have a passing record for every
required gate? Reads .benchmarks/, the kernel tree and git diff; no endpoint, no GPU.
Owner: bench gate. Invariants:
exit_codedepends only on the verdicts it is given.- A gate is
GateStatus::Passonly when a readable record (for a group, a complete shard partition) stands at the commit and passes every check; otherwise it isGateStatus::MissingorGateStatus::Fail.
Re-exports§
pub use super::scoring::Comparison;pub use super::scoring::check_record;pub use super::scoring::compare;
Enums§
- Gate
Status - 2026-09-26: One required gate’s standing in the committed tree.
- Standing
- 2026-09-26: A record’s standing at a head, from its own commit.
Functions§
- check_
gates - 2026-09-26: The verdict for
shaof every gate inREQUIRED_GATES, keyed by gate id. - exit_
code - 2026-09-26: The exit code: 0 when every verdict is
Pass, else 1. - record_
covers - 2026-09-26: Whether a record measured at
record_shastill stands forheadon the path boundary alone: true whengit diffbetween the two commits touches no path that invalidatesgate, false when it does or git cannot diff them. Ancestry is not required, and the closure hash is not consulted (seerecord_standing). - record_
standing - 2026-09-26: Where a record measured at its own commit stands relative to
sha. The gate verdict (record_still_stands) and record agreement (agreement::standing_at) both read this, so they cannot disagree about a record. - records_
newest_ first - 2026-09-26: The
.jsonrecord files in one benchmark’s directory, newest first by each record’s ownrecorded_at;BASELINE.jsonis not a record.