Skip to content

feat: referee stack r15 and r16 on develop - #131

Open
HaoZeke wants to merge 82 commits into
developfrom
land/referee-r15-r16
Open

HaoZeke wants to merge 82 commits into
developfrom
land/referee-r15-r16

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Supersedes #127. This is the #127 stack replayed linearly onto develop 9bf43d21, plus the referee-r16 commit on top: 64 commits, no merges.

  • 62 commits are patch-identical to Referee round six: records, units and paper checks #127 (git range-diff =).
  • a69d92b4 became c12f21bd. benchmarks/workflow/test_weak_scale.py keeps the rename and develop's four TimeWeakThreads assertions.
  • Dropped: the merge of main into feat/referee-r6, the github-actions Cachegrind refresh 06749a35, and 9d2d6509, which develop already has as 0ed66bdd.
  • referee-r16 regenerates clause_coverage-0.24.0-referee-r1.json in place, so the stored Rust test count matches a live scan (1058).

Every commit has Rohit Goswami as author and committer, with the committer date equal to the author date.


Note

Low Risk
Mostly frozen paper artifacts and documentation; the only runtime-impacting change is optional PyO3 packaging configuration, which is lower risk if maturin ≥ 1.9.4 is used for wheels.

Overview
This PR lands the referee r15/r16 stack on develop: refreshed CPC supplementary measurement and cross-check records (corpus31 results, corpus crosscheck, format H2H, Fortran standard check, mutant differential, drift probes) under paper/cpc/data/referee/, plus submission docs (CPC-FORM, REPRO-ARCHIVE, make_packet) that phrase the measured tree as a commit that is not a release tag and bump headline corpus counts (e.g. 168 conformance files in the abstract/packet).

Build/tooling: pyo3 no longer enables the extension-module Cargo feature globally—comments document relying on maturin ≥ 1.9.4 and PYO3_BUILD_EXTENSION_MODULE for wheels so tests can still link libpython. pixi.toml pins that maturin floor; cpc-corpus31 and docs point corpus31 output at data/referee/r19/corpus31-results.json.

Smaller deltas: weak-scaling benchmark test rename, e1_restart / e5_prefactor evidence tweaks, regenerated clause coverage macros (134/179 clauses covered), and .gitignore for referee crosscheck CSV.

Reviewed by Cursor Bugbot for commit 3013f36. Bugbot is set up for automated code reviews on this repo. Configure here.

The corrected counts are this record: 165 files, readcon 125
matches, 23 disagreements, 17 not followed. Referee records
keep the library version that produced them.
Pin reader arms to explicit thread counts and carry workload and
API identity through generated comparisons. Rows whose arms do
not perform comparable work are rejected.
Name the measured build from its commit, base, and distance.
The cross-format campaign is commit e17abe9, whose VERSION
file says 0.23.3. There is no tag v0.23.3, and tag v0.23.2
is a different commit.
The natural time unit and Boltzmann constant come from ASE
CODATA 2018. eOn's rounded unit follows the CODATA 2010
constants rather than a hard-coded femtosecond value.
Store the extended XYZ and CON drift tables from the OVITO
3.17.2 replay. The peer list in both JSON records names
that release.
Prefactor ratios record that they are untimed. Case macros
and the restart plot read the stored drift and restart
records rather than a partial input.
Generated packet text calls an untagged build a commit that is
not a release tag. The form's abstract and Program Summary word
counts are the counts of the manuscript.
The atomic-mass uncertainty is the CODATA 2018 standard
uncertainty. ASE supplies the mass value.
An untagged specification is named by the origin commit that
holds its blob, not by a cargo version origin has not tagged.
A local measurement names its own commit.
A stored commit names the specification only when that commit
holds the blob. A commit that does not is not a name.
The cross-check table names the recorded build by its origin
commit. The clause count is the count in the r1h record.
The differing count is the stored count.
Reader samples take a seeded shuffle of the arms, so no arm
keeps one place in the repeat.
A velocity row names a convention and that the file declares
none. The words no unit convention are not a convention.
Accepted and rejected counts follow the manifest verdicts
stored on each file. They are not the reader totals.
Printed cross-check counts must match the r1h record. A
disagreement is a count to print, not a failed check.
Store the forty-seven earlier-campaign comparator names.
The supplement print checks wait on the prose lane.
The mutant record is the r1t differential. Its three groups
are the cases no clause decides, and none are unexplained.
The corpus31 record of this series is the r1t results.
Its summary is a full match, and the counts follow it.
Six clauses are named by reader-duty tests, so their reasons
are gone. The coverage record supersedes the capi recount.
e17abe9 is the reachable replay with the same patch-id as
the measured e938ccf. The digest and the tree describe the
measured snapshot. The conbin arm is readcon.read_conbin_columns.
An org link in the release history becomes a LaTeX href.
A release name that holds braces still parses.
The module is Fortran 2008. The check compares the stored
digest with the source and needs no compiler.
The six reader-duty clauses are absent from the uncovered
list. The record supersedes the capi recount.
The version map names the r1h cross-check, the r1t corpus
and mutant records, the OVITO drift and the format commit.
Name the line of the parse error. The referee coverage record counts
the regression test.
The error-line test starts an interpreter. Link that library only
when the tests are compiled, so the cdylib stays free of it.
The lints job reformatted six files and then failed. This
commit keeps that wrapping.
Windows CPython leaves sysconfig LDLIBRARY empty, so the wheel
build aborts. Link pythonXY there. Unix still uses LDLIBRARY.
Query ABIFLAGS, then sys.abiflags, then Py_GIL_DISABLED.
Run PYO3_PYTHON, or python on a Windows host, or python3.
Link a macOS framework and warn when LDLIBRARY is empty.
Take the interpreter config from pyo3-build-config, including
cross settings, debug suffixes, and LIBDIR. Link that library
only into test and bench binaries.
When two pyo3-ffi stdout files exist, the newer mtime wins.
Equal mtimes break ties by path.
mpi_library looked under the manifest target directory.
Its candidates now use the same target base as the other
binding libraries.
Cargo joins a relative CARGO_TARGET_DIR to the invoking
directory. Both target-base helpers did that against the
manifest directory.
Cargo resolves a relative CARGO_TARGET_DIR against the invoking
directory, then runs tests with the package directory as cwd.
Joining that relative value to the cwd misses the artifacts.
Read the artifact root from the test binary path instead.
Keep an absolute CARGO_TARGET_DIR, and keep an unset value at
<manifest>/target.
Ubuntu gcc links with --as-needed, so a fixture that never
references libpython drops -lpython3.12 and NEEDED is empty.
Pass -Wl,--no-as-needed before that library. Honor CC, and
skip the oracle when that compiler is missing.
A relative CARGO_TARGET_DIR is the artifact root of the test
binary. The binding comment no longer says that value is joined
to the package root.
Cargo 1.100 runs a lib test from
<profile>/build/<package>/<hash>/out, not from deps.
Drive the check through artifact_root_from_exe so deps,
a target triple, and the out layout all pass.
cwd.join of a relative CARGO_TARGET_DIR is the real artifact
root when cargo is started in the package directory.
Drop the asserts that require those paths to differ.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 79dc603. Configure here.

cross = json.loads(
(ROOT / "data" / "referee" / "r1h" / "corpus_crosscheck.json").read_text()
)
bad.extend(crosscheck_print_problems(cross, values))

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Success text claims no disagreements

Medium Severity

check_conformance now treats cross-check disagreements as counts to print, but the success string still says the cross-check names no disagreement. A passing run can hide the 23 disagreements and 17 not-followed cases in the r1h record.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 79dc603. Configure here.

return []
return [
"the velocity row does not state both its convention and lack of an in-file declaration"
]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Velocity row check never runs

Low Severity

velocity_row_problems is added to require that a velocity row names both its unit convention and the lack of an in-file declaration, but nothing calls it. The wording check cannot fail, so a manuscript row that omits either claim will still pass check_manuscript.py.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 79dc603. Configure here.

The packet count test left a one-line velocity_case.tex. The
trace check then rejected that fragment. Rebuild it with
velocity_case.py --tables, and the e5 ratio with its own writer.
pdfTeX listings passes each byte to inputenc, and the angstrom in
survey_frame.con is two UTF-8 bytes. The literate map is the one the
specification listings already use, and only pdfTeX installs it.
check_conformance and the synthetic fixture both use
corpus31_results.RECORD_REL. The fixture had kept writing the r1t file.
A declared time on major 3 stays the natural unit, and major 4 returns
the declared unit rather than fs. A major-4 frame with no velocities
needs no time unit, and a legacy velocity block does.
The planted value was the old corpusFiles count, 165.
A ps velocities frame reads ps from the reader. Forces with
velocities and no time are rejected. Major 4 sets no override.
The non-explicit count is the live 47, and corpusFiles is 168.
clause_coverage-0.24.0-referee-r2.json supersedes referee-r1
and stores rust_tests 1059. Earlier records and the TeX stay.
The readme and the pixi task named the old results path.
The legal test reads corpus31_results.RECORD_REL.
srcReplaceFile still named the ranges from before the decimal fix.
ci_paper runs pytest before regen. corpus31_macros.tex is
gitignored, so the counts come from the committed manifest.
cfafae6 is on no origin branch, so the caption names
the library digest. The sentence must match that derivation.
The one-line plant is not what corpus_crosscheck.py writes.
The trace check then reports that fragment as stale.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant