Skip to content
Open
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
61 changes: 61 additions & 0 deletions .github/workflows/algernon-arg02.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Algernon ARG-02 recurrent Qwen evaluation
on:
push:
paths:
- 'research/algernon/algebraic_reasoning_gym/**'
- '.github/workflows/algernon-arg02.yml'
pull_request:
paths:
- 'research/algernon/algebraic_reasoning_gym/**'
- '.github/workflows/algernon-arg02.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
protocol-and-grading:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: MoralityLabAI/EvalMath
ref: 88bb6cf8d2fe172e37d25964dfb2c285d9033841
path: .arg02_evalmath
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install numpy==2.5.3
- name: ARG-01 receipt still verifies
run: PYTHONPATH=.:.arg02_evalmath/src python -m research.algernon.algebraic_reasoning_gym.gym --check
- name: Splits, public-only prompts, grading, statistics, probes
run: PYTHONPATH=.:.arg02_evalmath/src python -m unittest research.algernon.algebraic_reasoning_gym.arg02.test_arg02 -v
- name: Committed answer tape regrades to the committed receipt
run: |
for R in research/algernon/algebraic_reasoning_gym/arg02/results research/algernon/algebraic_reasoning_gym/arg02/results_nanbeige; do
if [ -f $R/arg02_receipt.json ]; then
PYTHONPATH=.:.arg02_evalmath/src python -m research.algernon.algebraic_reasoning_gym.arg02.analyze replay \
--tape $R/arg02_answer_tape.jsonl.gz --check $R/arg02_receipt.json
else
echo "no receipt in $R"
fi
done
cpu-recurrence-smoke:
runs-on: ubuntu-latest
timeout-minutes: 25
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: MoralityLabAI/EvalMath
ref: 88bb6cf8d2fe172e37d25964dfb2c285d9033841
path: .arg02_evalmath
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install torch==2.11.0 --index-url https://download.pytorch.org/whl/cpu
- run: pip install transformers==5.17.0 numpy==2.5.3
- name: Block-loop identities, HF parity, leakage guard, end-to-end smoke (tiny random Qwen3.5)
run: PYTHONPATH=.:.arg02_evalmath/src python -m unittest research.algernon.algebraic_reasoning_gym.arg02.test_arg02_torch -v
2 changes: 2 additions & 0 deletions research/algernon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

**ARG-01 CPU algebraic reasoning gym:** [Frozen RRC-19 recurrent proposer with independent, pinned EvalMath verification](algebraic_reasoning_gym/README.md), [results](algebraic_reasoning_gym/REPORT.md), and [Qwen/looped-model workorder](algebraic_reasoning_gym/QWEN_WORKORDER.md). The CPU baseline is executed; a Qwen latent graft remains unrun.

**ARG-02 recurrent Qwen evaluation:** [Qwen3.5-0.8B with an explicit block-loop recurrence, open-loop, donor-shuffle, repeated-forward, 2B feedforward and external-controller controls](algebraic_reasoning_gym/arg02/README.md), [registered protocol](algebraic_reasoning_gym/arg02/PROTOCOL.md), [report](algebraic_reasoning_gym/arg02/REPORT.md). Executed 2026-11-11: negative. The untrained loop at the selected depth 16 recovers 67/168 vs 68 for one pass; Qwen3.5-2B one pass 79; complete certified class search 159. [Nanbeige4.2-3B follow-up](algebraic_reasoning_gym/arg02/REPORT_NANBEIGE.md) (natively looped, 2026-11-13): loop 8 recovers 71/168 vs 44 for one loop and beats an equal-compute ensemble and a shuffled-state control, but not the open-loop control, so the mechanism claim is not met.


**Algernon-02 executable experiment:** [Circuit Mirror](circuit_mirror/README.md) combines a typed pointer-machine transition, an exact BN254 R1CS-style checker, generated Circom source, a tiny trained recurrent readout, and retained CPU-only experiment receipts. [Experimental falsification criteria](circuit_mirror/EXPERIMENT.md).

Expand Down
4 changes: 4 additions & 0 deletions research/algernon/algebraic_reasoning_gym/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ PYTHONPATH=.:../EvalMath/src python -m research.algernon.algebraic_reasoning_gym
--score-proposals /tmp/qwen_arg01.jsonl --out /tmp/qwen_arg01_scored.json
```

## ARG-02

[`arg02/`](arg02/README.md) evaluates Qwen3.5-0.8B-Base on this roster with explicit recurrent depth and matched-compute controls, through the same public-only export and EvalMath grading. Protocol: [`arg02/PROTOCOL.md`](arg02/PROTOCOL.md); result: [`arg02/REPORT.md`](arg02/REPORT.md).

## Research interpretation

The primary signal is executable-program *future* accuracy per full measured computation, including class compilation, predictor inference and exact candidate verification. Aggregate correctness should be split by known/novel source family; source-family holdouts in RRC-19 itself are public, so ARG-01 is another deterministic research evaluation rather than an independently blind study. An RRC-19 GRU forward pass processes the thirteen coefficient steps of its input **once**; additional candidate-verifier calls are external computation, not new GRU refinement steps. A true recurrence-depth comparison requires the external checkpoint and actual latent forward traces.
Expand Down
Loading
Loading