44 lines
2.8 KiB
Markdown
44 lines
2.8 KiB
Markdown
# README: Option #4 (Hybrid Numogrammatic Curve) Migration & Atomic Reconstruction Assets
|
||
|
||
The Option #4 (Hybrid Numogrammatic Curve) migration is documented with cryptographic SHA-256 digests, exact pre/post text hunks, and an atomic rollback/forward CLI script so every modified file (and its compiled PDF) can be atomically reconstructed in either direction.
|
||
|
||
## Deliverables & Assets
|
||
|
||
### 1. Machine-Readable Atomic State Manifest (JSON)
|
||
- **Path:** `/workspace/option-4-curve-migration-manifest.json`
|
||
- **Contents:** Stores `pre_sha256`, `pre_bytes`, `post_sha256`, `post_bytes`, and exact `pre`/`post` replacement hunks for all 14 modified Markdown files (`00-index-and-methodology.md`, `30`–`35` in both `/workspace/ingglish-aq-archive/` and `/workspace/`, and `curve-grading-options-evaluation.md`), plus the exact `skill_patches` payload for `bidirectional-aq-evaluation/references/evaluation-rubric.md`.
|
||
|
||
### 2. Atomic Rollback & Forward Reconstructor Script (Python CLI)
|
||
- **Path:** `/workspace/reconstruct_option4_curve.py`
|
||
- **Guarantees:**
|
||
- Verifies in-memory SHA-256 digests across all 14 files before touching disk (aborts with zero writes if any hash mismatches).
|
||
- Writes via sibling `.tmp_atomic` files and swaps via POSIX `os.replace()` so no partial state can occur.
|
||
- Automatically re-renders all 7 standalone PDFs (`30`–`35` + `curve-grading-options-evaluation.pdf`) to match whichever state is active.
|
||
- **Commands:**
|
||
- Check status:
|
||
```bash
|
||
python3 /workspace/reconstruct_option4_curve.py --status
|
||
```
|
||
- Dry-run rollback check:
|
||
```bash
|
||
python3 /workspace/reconstruct_option4_curve.py --to-pre-curve --dry-run
|
||
```
|
||
- Reconstruct pre-curve state (`96–98 Class S`):
|
||
```bash
|
||
python3 /workspace/reconstruct_option4_curve.py --to-pre-curve
|
||
```
|
||
- Re-apply Option #4 curve state (`73–96 S/A/B`):
|
||
```bash
|
||
python3 /workspace/reconstruct_option4_curve.py --to-option-4
|
||
```
|
||
|
||
### 3. Human-Readable Migration & Rollback Ledger (Markdown + 15-Page PDF)
|
||
- **Markdown:** `/workspace/option-4-curve-migration-ledger.md`
|
||
- **PDF (15 pages):** `/workspace/option-4-curve-migration-ledger.pdf`
|
||
- **Contents:** Full SHA-256 state table, itemized score/dimension deltas (`D1–D5`) for Dossiers `20`–`25`, and side-by-side `pre` vs. `post` hunks for every artifact.
|
||
|
||
### 4. Curve-Grading Options Evaluation & De-Inflation Audit (Markdown + 4-Page PDF)
|
||
- **Markdown:** `/workspace/curve-grading-options-evaluation.md`
|
||
- **PDF (4 pages):** `/workspace/curve-grading-options-evaluation.pdf`
|
||
- **Contents:** Root-cause diagnosis of top-heavy compression, corpus-wide empirical metrics across all 183 equations (`Iso Word %`, `Prime Word %`, `Mean |Δ|`, `seekrat/hidan` padding rate, CMUdict purity), side-by-side comparison of Options 1–4, and itemized Option #4 breakdowns.
|