Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
280b6a4
Freeze Experiment 013 static Q468 protocol
Labeeb2339 Aug 2, 2026
73ec814
Clarify Experiment 013 identity contracts
Labeeb2339 Aug 2, 2026
4826857
Separate RULER category and sequence identity
Labeeb2339 Aug 2, 2026
ea98410
Implement static Q468 and exact-byte Q48 codecs
Labeeb2339 Aug 2, 2026
0d879d0
Bind PG19 capture to active parquet manifest
Labeeb2339 Aug 2, 2026
3e47252
Authenticate the static codec source module
Labeeb2339 Aug 2, 2026
242c2a3
Implement static Q468 runtime and calibration chain
Labeeb2339 Aug 2, 2026
406b33a
Harden Experiment 013 identity promotion
Labeeb2339 Aug 2, 2026
8f2fec9
Authenticate RULER receipt generation
Labeeb2339 Aug 2, 2026
9754a9d
Freeze corrected Experiment 013 protocol
Labeeb2339 Aug 2, 2026
d48c978
Merge remote-tracking branch 'origin/main' into codex/experiment-013-…
Labeeb2339 Aug 2, 2026
71cd7da
Seal Experiment 013 calibration evidence chain
Aug 2, 2026
ceab2ce
Fix Experiment 013 cross-platform CI closure
Aug 2, 2026
4bf5e26
Freeze Experiment 013 Stage A protocol
Aug 14, 2026
ff3f86e
Stabilize CI and package metadata
Aug 14, 2026
19ef835
Track the frozen CI environment
Aug 14, 2026
447295e
Repair Experiment 013 RULER phase boundary
Aug 14, 2026
de4b8d8
research: freeze Experiment 013 calibration identity v5
Aug 14, 2026
85625a5
Repair Experiment 013 identity authorization contract
Aug 14, 2026
84edf42
Record Experiment 013 replacement calibration identity
Aug 14, 2026
0f3ea5e
Repair Experiment 013 runtime context contract
Aug 14, 2026
dae5587
Record Experiment 013 runner-v4 calibration identity
Aug 14, 2026
475659a
Repair Experiment 013 model staging preflight
Aug 14, 2026
fd67384
Record Experiment 013 runner-v5 calibration identity
Aug 14, 2026
3abaa50
Repair Experiment 013 RULER receipt preflight
Aug 14, 2026
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
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,24 @@ jobs:
python-version: "3.11"
version: "0.11.31"
- name: Install
run: uv pip install --system -e ".[dev,eval]"
run: uv sync --frozen --all-extras
- name: Verify frozen MBPP confirmation
run: |
recurquant verify-confirmation \
uv run --frozen recurquant verify-confirmation \
evidence/mbpp-v02-confirmation.json \
evidence/mbpp-v02-confirmation-manifest.json \
--expect-artifact-sha256 70394c419298fc872cdd08e8aec12d17d5a56aa20f7d3c9f09fe8fdbf26c6ba9 \
--expect-artifact-evidence-sha256 2a652df92f99fa81f785244d966829e909d31f200e5a1520b76e6b46fb45d3e0
- name: Verify frozen StateLease Stage-A record
run: >-
recurquant verify-statelease-stage-a
uv run --frozen recurquant verify-statelease-stage-a
evidence/experiment012-statelease-stage-a-666.json
- name: Lint
run: ruff check .
run: uv run --frozen ruff check .
- name: Test
run: pytest
run: uv run --frozen pytest
- name: Check generated README assets
run: python scripts/generate_readme_assets.py --check
run: uv run --frozen python scripts/generate_readme_assets.py --check

package:
name: Build wheel and sdist
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ __pycache__/
.pytest-of-*/
.pytest/
.ruff_cache/
.cache/
.coverage
htmlcov/
dist/
Expand Down
8 changes: 8 additions & 0 deletions .gitleaks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ regexes = [
'''"[A-Za-z0-9_./-]+\.md"\s*:\s*"[0-9a-f]{64}"''',
]

[[allowlists]]
description = "Pinned public RULER Git blob object IDs"
targetRules = ["generic-api-key"]
regexTarget = "line"
regexes = [
'''"scripts/[A-Za-z0-9_./-]+"\s*:\s*\(?"[0-9a-f]{40}"''',
]

[[allowlists]]
description = "Dtype assertions on recurrent-state buffers"
targetRules = ["generic-api-key"]
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions evidence/experiment013-calibration-identity-v5.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["hatchling>=1.27"]
requires = ["hatchling==1.31.0"]
build-backend = "hatchling.build"

[project]
Expand Down Expand Up @@ -63,7 +63,7 @@ recurquant = "recurquant.cli:main"
packages = ["src/recurquant"]

[tool.pytest.ini_options]
addopts = "-q --basetemp ./.pytest-ci"
addopts = "-q --basetemp ../.pytest-recurquant"
testpaths = ["tests"]

[tool.ruff]
Expand Down
42 changes: 42 additions & 0 deletions requirements/experiment013-calibration.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Exact Windows/Python 3.11 calibration environment accepted on 2026-08-02.
# The official CUDA wheel is URL- and SHA-256-pinned because PyPI's Windows
# wheel is not the required CUDA 13.0 build. The sealed runtime manifest binds
# every installed file at point of use; this file freezes the resolved versions.
annotated-doc==0.0.5
anyio==4.14.2
certifi==2026.7.22
charset-normalizer==3.4.9
click==8.4.2
colorama==0.4.6
filelock==3.32.2
fsspec==2026.7.0
h11==0.16.0
hf-xet==1.5.2
httpcore==1.0.9
httpx==0.28.1
huggingface-hub==1.26.0
idna==3.18
Jinja2==3.1.6
markdown-it-py==4.2.0
MarkupSafe==3.0.3
mdurl==0.1.2
mpmath==1.3.0
networkx==3.6.1
numpy==2.4.6
packaging==26.2
pyarrow==25.0.0
Pygments==2.20.0
PyYAML==6.0.3
regex==2026.7.19
requests==2.34.2
rich==15.0.0
safetensors==0.8.0
shellingham==1.5.4
sympy==1.14.0
tokenizers==0.22.2
torch @ https://download-r2.pytorch.org/whl/cu130/torch-2.13.0%2Bcu130-cp311-cp311-win_amd64.whl#sha256=45e97bd9bc0416f4f4190b5098c55119a389fa5a7c8bbf2639f08f1d04e0a0dc
tqdm==4.70.0
transformers==5.14.1
typer==0.27.0
typing-extensions==4.16.0
urllib3==2.7.0
40 changes: 40 additions & 0 deletions requirements/experiment013-ruler.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Complete tokenizer-only environment used to generate the frozen Experiment
# 013 RULER receipts. PyTorch is intentionally absent: this environment must
# not load model weights.
annotated-doc==0.0.5
anyio==4.14.2
beautifulsoup4==4.15.0
certifi==2026.7.22
click==8.4.2
colorama==0.4.6
defusedxml==0.7.1
filelock==3.32.2
fsspec==2026.7.0
h11==0.16.0
hf-xet==1.5.2
html2text==2025.4.15
httpcore==1.0.9
httpx==0.28.1
huggingface-hub==1.26.0
idna==3.18
joblib==1.5.3
markdown-it-py==4.2.0
mdurl==0.1.2
nltk==3.8.1
numpy==2.4.6
packaging==26.2
pygments==2.20.0
PyYAML==6.0.3
regex==2026.7.19
rich==15.0.0
safetensors==0.8.0
scipy==1.17.1
shellingham==1.5.4
soupsieve==2.9.1
tenacity==9.1.4
tokenizers==0.22.2
tqdm==4.70.0
transformers==5.14.1
typer==0.27.0
typing-extensions==4.16.0
wonderwords==3.0.1
1,545 changes: 1,545 additions & 0 deletions research/EXPERIMENT_013_STATIC_RHT_Q468_PROTOCOL.md

Large diffs are not rendered by default.

104 changes: 104 additions & 0 deletions research/experiment013-parquet-materializations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"datasets": {
"humaneval_plus": {
"conversion_revision": "1cf4467306a94e0828b355ff1f32e9222d2d588a",
"dataset_id": "evalplus/humanevalplus",
"failed": [],
"files": [
{
"config": "default",
"git_blob_oid": "9877db06683d4245bc39aed18ee7cbad013ba5fa",
"immutable_path": "default/test/0000.parquet",
"lfs_sha256": "4436f5c03d77c17e0cbc57543b90665b5c1266f55a43992a5ed7922cd34a7558",
"lfs_size_bytes": 2902210,
"logical_split": "test",
"size_bytes": 2902210
}
],
"partial": false,
"pending": [],
"selected_splits": [
"test"
],
"source_revision": "d32357cf319e50e9c8d8dab5ea876c72b0fd321b"
},
"pg19": {
"conversion_revision": "b3624dc44b60cb01e74876e8869234d2660812cf",
"dataset_id": "emozilla/pg19",
"failed": [],
"files": [
{
"config": "default",
"git_blob_oid": "00245b214ff9806a04f32debff0fd2e7b0737997",
"immutable_path": "default/partial-train/0000.parquet",
"lfs_sha256": "ea701af2e8a11bb8601150a47affff658452d687494dbed52a82d3b1fcf48811",
"lfs_size_bytes": 603127902,
"logical_split": "train",
"size_bytes": 603127902
},
{
"config": "default",
"git_blob_oid": "1169b6deb8c1cd46a46f0ae752b68806c9b5cca9",
"immutable_path": "default/partial-train/0001.parquet",
"lfs_sha256": "5c1c025f46b4a6b52b56167efeb89a2b9378f9ea8a50cdf5ddcbca8c4e17db1f",
"lfs_size_bytes": 526793959,
"logical_split": "train",
"size_bytes": 526793959
},
{
"config": "default",
"git_blob_oid": "b9413777553240574488fa36b74f4bd286c06719",
"immutable_path": "default/partial-train/0002.parquet",
"lfs_sha256": "80cc198a2ef5239bf22a496eb10e6afd6fba075c4f6dd3d26dae7ed82c3bb1ad",
"lfs_size_bytes": 576668259,
"logical_split": "train",
"size_bytes": 576668259
},
{
"config": "default",
"git_blob_oid": "08f92b1ad15eb9f90268fa7cf9823523f1fb056a",
"immutable_path": "default/partial-train/0003.parquet",
"lfs_sha256": "326718129b7d13a9f45ae8e6e68ae90d95c15bf40fa457a053716832e4d07c1c",
"lfs_size_bytes": 583939098,
"logical_split": "train",
"size_bytes": 583939098
},
{
"config": "default",
"git_blob_oid": "9cb48d05cf6568879582eb5bd894a7d1b34aee7b",
"immutable_path": "default/partial-train/0004.parquet",
"lfs_sha256": "c4dff8b2cd993d1bb6bded41eb0eef56dff5449753ea13c79e730b7a9e1f6907",
"lfs_size_bytes": 588756614,
"logical_split": "train",
"size_bytes": 588756614
},
{
"config": "default",
"git_blob_oid": "6a1b9b38d31ca025cbf06192a3dfd66067eb7571",
"immutable_path": "default/partial-train/0005.parquet",
"lfs_sha256": "9ab4d07d379720a9b18e7e3a060a948e2338b7aa338e9534a12d52fbc4fd8e2e",
"lfs_size_bytes": 321273724,
"logical_split": "train",
"size_bytes": 321273724
},
{
"config": "default",
"git_blob_oid": "3e86263f595fae38387a938ec882417649c2bbd4",
"immutable_path": "default/partial-validation/0000.parquet",
"lfs_sha256": "81680529564d4ead1c0e3859509a62d86c7126c32afc95dce6bd98e729e491ef",
"lfs_size_bytes": 10803864,
"logical_split": "validation",
"size_bytes": 10803864
}
],
"partial": true,
"pending": [],
"selected_splits": [
"train",
"validation"
],
"source_revision": "c021754c8e01c5b1cc83a1f549c1f97fbbb756b8"
}
},
"schema": "recurquant.experiment013.parquet-materializations.v1"
}
8 changes: 8 additions & 0 deletions scripts/capture_statelease_stage0.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@
"src/recurquant/confirmation.py",
"src/recurquant/evaluation.py",
"src/recurquant/evidence.py",
"src/recurquant/experiment013_calibration_api.py",
"src/recurquant/experiment013_parquet.py",
"src/recurquant/experiment013_qwen35_adapter.py",
"src/recurquant/experiment013_source.py",
"src/recurquant/experiment013_stage_a.py",
"src/recurquant/finite_difference.py",
"src/recurquant/fisher_sensitivity.py",
"src/recurquant/horizon.py",
Expand All @@ -132,6 +137,9 @@
"src/recurquant/rht.py",
"src/recurquant/row_policy.py",
"src/recurquant/signals.py",
"src/recurquant/static_q468.py",
"src/recurquant/static_q468_cache.py",
"src/recurquant/static_q468_calibration.py",
"src/recurquant/statelease.py",
"src/recurquant/statelease_artifact.py",
"src/recurquant/statelease_baselines.py",
Expand Down
Loading