Skip to content

Commit 87f9904

Browse files
author
fer
committed
feat: comprehensive TNFR canonicalization and documentation unification
Documentation: - Unified structural tetrad (Φ_s, |∇φ|, K_φ, ξ_C) documentation with single canonical sources - STRUCTURAL_FIELDS_TETRAD.md as canonical definitions, U6_STRUCTURAL_FIELD_TETRAD.md for grammar - AGENTS.md trimmed to reference canonical docs instead of duplicating formulas - src/tnfr/physics/README.md enhanced as unified physics hub - EXTENDED_FIELDS_INTEGRATION_SUMMARY.md now integration-status only - Added OZ→IL precision walk telemetry references to physics module docs Operators: - Refactored operator implementations for cleaner architecture - Enhanced grammar validation and memoization - Updated operator registry with improved consistency - Streamlined operator definitions removing redundant code Fields & Physics: - Optimized structural fields computation (fields.py ~1480 lines reduced) - Enhanced canonical field implementations - Improved precision mode handling Tests & Benchmarks: - Added precision walk dashboard artifact test - Enhanced bifurcation landscape detection - Updated critical exponent analysis tools - Added tetrad telemetry benchmarks Infrastructure: - Updated Makefile with new smoke tests - Enhanced CONTRIBUTING.md with language policy - Expanded DOCUMENTATION_INDEX.md with precision walk references - Added regression smoke test workflow
1 parent f9b46ed commit 87f9904

File tree

116 files changed

+21727
-4283
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+21727
-4283
lines changed
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: Regression Smoke (Bifurcation Tetrad)
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
smoke:
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 15
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Python
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: '3.10'
22+
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install -e ".[dev-minimal]"
27+
28+
- name: Run bifurcation smoke sweep (with optional baseline compare)
29+
run: |
30+
set -e
31+
mkdir -p results
32+
BASELINE="presets/regression/bifurcation_smoke.baseline.jsonl"
33+
if [ -f "$BASELINE" ]; then
34+
echo "Using baseline: $BASELINE"
35+
python tools/run_tetrad_regression.py \
36+
--output results/bifurcation_smoke.jsonl \
37+
--baseline "$BASELINE" \
38+
--tolerance 5e-3 \
39+
--nodes 150 \
40+
--seeds 1 \
41+
--topologies ring,ws \
42+
--oz-intensity-grid 1.2 \
43+
--vf-grid 1.0 \
44+
--mutation-thresholds 1.3 | tee results/regression_summary.txt
45+
else
46+
echo "No baseline found; running smoke only"
47+
python tools/run_tetrad_regression.py \
48+
--output results/bifurcation_smoke.jsonl \
49+
--nodes 150 \
50+
--seeds 1 \
51+
--topologies ring,ws \
52+
--oz-intensity-grid 1.2 \
53+
--vf-grid 1.0 \
54+
--mutation-thresholds 1.3 | tee results/regression_summary.txt
55+
fi
56+
57+
- name: Upload artifact (JSONL + summary)
58+
uses: actions/upload-artifact@v4
59+
with:
60+
name: bifurcation-smoke-results
61+
path: |
62+
results/bifurcation_smoke.jsonl
63+
results/regression_summary.txt

0 commit comments

Comments
 (0)