Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions .github/workflows/d2-remainder-fulldepth-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: D2 remainder full-depth nonauthor review checks

'on':
pull_request:
paths:
- 'reviews/d2_remainder_full_depth_claude_20260930/**'
- '.github/workflows/d2-remainder-fulldepth-review.yml'
workflow_dispatch:

permissions:
contents: read

jobs:
exact-and-probe:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
persist-credentials: false
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
with:
python-version: '3.11.16'
- name: Verify record tree, reviewed source identities, replay both modes, reject mutants
env:
PYTHONDONTWRITEBYTECODE: '1'
run: |
set -euo pipefail
python -B -S - <<'PY'
import hashlib, json, pathlib, subprocess, sys
root = pathlib.Path('reviews/d2_remainder_full_depth_claude_20260930').resolve()
manifest = json.loads((root / 'SOURCE_FILES.json').read_text())
present = sorted(p.name for p in root.iterdir())
expected_names = sorted([e['path'] for e in manifest['files']] + ['SOURCE_FILES.json'])
if present != expected_names:
raise ValueError('record tree differs from manifest: ' + repr(present))
for entry in manifest['files']:
path = root / entry['path']
if pathlib.PurePosixPath(entry['path']).name != entry['path'] or path.is_symlink():
raise ValueError('flat regular file required: ' + entry['path'])
data = path.read_bytes()
if len(data) != entry['bytes'] or hashlib.sha256(data).hexdigest() != entry['sha256']:
raise ValueError('record file identity mismatch: ' + entry['path'])
for entry in manifest['reviewed_sources']:
data = pathlib.Path(entry['path']).read_bytes()
framed = b'blob ' + str(len(data)).encode() + b'\0' + data
if len(data) != entry['bytes'] or hashlib.sha256(data).hexdigest() != entry['sha256'] or hashlib.sha1(framed).hexdigest() != entry['blob']:
raise ValueError('reviewed source drifted: ' + entry['path'])
script = str(root / 'remainder_review_check.py')
expected = (root / 'RESULTS.json').read_bytes()
for flags in (['-B', '-S'], ['-B', '-O', '-S']):
out = subprocess.run([sys.executable, *flags, script], check=True, capture_output=True, timeout=300).stdout
if out != expected:
raise RuntimeError('output differs from RESULTS.json under ' + ' '.join(flags))
for m in manifest['mutants']:
rc = subprocess.run([sys.executable, *flags, script, '--mutant', m], capture_output=True, timeout=300).returncode
if rc != 1:
raise RuntimeError('mutant ' + m + ' not rejected')
rc = subprocess.run([sys.executable, *flags, script, '--mutant', 'M9'], capture_output=True, timeout=300).returncode
if rc != 2:
raise RuntimeError('unknown mutant label not rejected with exit 2')
print(json.dumps({'scientific_effect': 'NONE', 'mathematical_acceptance': False}))
PY
git diff --exit-code
36 changes: 36 additions & 0 deletions .github/workflows/fixed-r-inverse-lifetime.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Fixed-r inverse-lifetime checks

'on':
pull_request:
paths:
- 'frontiers/fixed_r_inverse_lifetime_20260930/**'
- '.github/workflows/fixed-r-inverse-lifetime.yml'
workflow_dispatch:

permissions:
contents: read

jobs:
exact-and-source:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
with:
python-version: '3.11.16'
- name: Fetch exact public parent model
run: |
set -euo pipefail
git fetch --no-tags origin 7a1cb09a9d58d179393e6d29146252f714b9c9bf
- name: Verify source, packet and both Python modes
env:
PYTHONDONTWRITEBYTECODE: '1'
GIT_NO_REPLACE_OBJECTS: '1'
run: |
set -euo pipefail
python -B -S frontiers/fixed_r_inverse_lifetime_20260930/verify.py
git diff --exit-code
67 changes: 67 additions & 0 deletions frontiers/fixed_r_inverse_lifetime_20260930/MANIFEST.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"schema": 1,
"scientific_effect": "NONE",
"review_status": "NONAUTHOR_REVIEW_OPEN",
"files": [
{
"path": "PROOF.md",
"bytes": 17213,
"sha256": "5adef725c1c696adae9bc73a525efe0bfe09d5c07e95ee3f067db9e877283630",
"git_blob": "0d4018777d13672c1de1696525512e80b23b7c3c"
},
{
"path": "README.md",
"bytes": 3763,
"sha256": "cd167a13b3f7250b09635a61aec9b47f48da044c87bafeb86ce7486cb8d63d8b",
"git_blob": "dc87d46d95a7a5d6dcdd7debf1da7422a7d1d80c"
},
{
"path": "RECONNAISSANCE.md",
"bytes": 2222,
"sha256": "38ca0b266398fcfcec2565f2bdd1b53b15494995fcd433f442090887e0a66158",
"git_blob": "47b0f54a2189efcfa9adbaae3ec4e8bb5fa744df"
},
{
"path": "RESULTS.json",
"bytes": 516,
"sha256": "46ccc0f5e2d8cba11040ca1bc617e9e99e54ca7b19ac85ff4091e2601104efeb",
"git_blob": "ef9ff136e85198dad73d664d1250775baf3e1d7e"
},
{
"path": "SOURCES.json",
"bytes": 651,
"sha256": "9ca481cd235a0e16ee8175538be0eea2477fbd8340833bc84d6ba995f20cf6e0",
"git_blob": "a7a4ebdd902a11f5daf87e0ea8fd93576aa403fa"
},
{
"path": "VALIDATION.md",
"bytes": 2500,
"sha256": "b1528945a1d7610b2d3b27fbc907cf6538d887262f634d02b4fe0fc64fc0693c",
"git_blob": "7dc4ffe63a94db6e21164309f089b8ba0b8f1b85"
},
{
"path": "inverse.py",
"bytes": 6501,
"sha256": "69c8e91e227bde716e237945358b0244d8a414eda9de9d4ce5e4fccb93ee7862",
"git_blob": "62698d649ff1eba92656fb555bf57d603f2bbc37"
},
{
"path": "test_inverse.py",
"bytes": 6312,
"sha256": "0bcd93e078ee4800647f8af5aaf77894c63912d63dca9d74c49f732432bc5e6f",
"git_blob": "9695c472e7b0f4acc7946c310765d6ec204dc742"
},
{
"path": "test_verify.py",
"bytes": 4083,
"sha256": "ee6aa8e6b589acb2eb32b482b4e9965d614d7c8416737624cd6df16eaa0b2960",
"git_blob": "1fccbe702825118906bfea6e266973a51225ca78"
},
{
"path": "verify.py",
"bytes": 5190,
"sha256": "df2f54f44a95f1dc62022145feed2e22dca242bd37266e1eed82b12e519f6355",
"git_blob": "22db229cfc2be9d3486d7759c82c50bea83b14e0"
}
]
}
Loading
Loading