Skip to content

feat: differential fuzzer -- C trainer == GF-T model over random topologies - #1879

Merged
gHashTag merged 1 commit into
masterfrom
feat/trainer-diff-fuzzer
Aug 7, 2026
Merged

feat: differential fuzzer -- C trainer == GF-T model over random topologies#1879
gHashTag merged 1 commit into
masterfrom
feat/trainer-diff-fuzzer

Conversation

@gHashTag

@gHashTag gHashTag commented Aug 7, 2026

Copy link
Copy Markdown
Owner

The whole-trainer cross-target proof checked a few chosen nets on a fixed sequence. fuzz_trainer.py widens it to a randomized space: random topology (1-3 inputs, 1-3 hidden layers of width 1-5, 1-3 outputs) × random training inputs with edge values injected (offset-saturation-large 1e5, tiny 1e-9, exact 0/±1/±2/±0.5), cross-checking the C trainer against the Python GF-T model per step.

Local deep run: 250 random topologies × 16 steps = 4000 step-comparisons, edge values injected — no divergence. CI runs a 40-topology fuzz (~24s); a mismatch prints a reproducible counterexample. Refactored verify_trainer_c into reusable run_model/run_c (one shared C emission). Verified the fuzzer catches a corrupted relu' modf. Refs #1764

…logies

The whole-trainer cross-target proof (verify_trainer_c) checked a few chosen nets
on a fixed 80-step sequence. fuzz_trainer.py widens it to a randomized space: random
topology (1-3 inputs, 1-3 hidden layers width 1-5, 1-3 outputs) x random training
inputs with edge values injected (offset-saturation-large 1e5, tiny 1e-9, exact
0/+-1/+-2/+-0.5), cross-checking the C trainer against the Python GF-T model per
step. Local deep run: 250 random topologies x 16 steps = 4000 step-comparisons, no
divergence; CI runs a 40-topology fuzz (~24s). A mismatch prints a reproducible
counterexample.

Refactored verify_trainer_c into reusable run_model / run_c (one shared C emission,
no drift between the gate and the fuzzer). Verified the fuzzer catches a real
divergence (corrupted relu' modf).

Refs #1764

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-08-07 14:49:05 UTC

Summary

Status Count
Total Open PRs 13
PRs with Failing Checks 1
PRs with All Checks Green 12
READY 5
FAILING 1
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=4c1aaad5309a != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@gHashTag
gHashTag merged commit 39dfe4d into master Aug 7, 2026
18 checks passed
@gHashTag
gHashTag deleted the feat/trainer-diff-fuzzer branch August 7, 2026 14:56
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