Branch feat/odb-ext/sequitur_grammar_compression_ratio_logret_sign โ terrylica/mql5 PR #145 (base = iter-02 branch; loop never merges). Arena-based faithful port of the probe linked-node Sequitur grammar; parity 5/5 ยท robustness 4/4 ยท rust:check 0 ยท check:all-gates 0 ยท pre-push โ.
| Substrate | Tier/TOL | Parity batch / stream (max-abs-dev, SPLIT) | non-vacuity | pinned witness | C&H |
|---|---|---|---|---|---|
| signs (RG8 gap-nulled, never-reset ring) | EXACT (integer sum / L) | 0.0 / 0.0 (11,200/11,200 bit-identical; FIRST full run) | compared == 11,200 == oracle-finite; 4/4 cells; H3 golden 12,000; H1 (MANDATORY) bit-identical ร11,200 | EURUSD@5+0 โ 0.5454545454545454 (RG8 gap window, bit-exact) | A 8/8 ยท D 10/10 ยท 0 conceded |
H2: 108-EXCL-S fork cross-language exact โ 60/60 breaches, max-abs = 1/L band (0.00504, 0.00506). H4 disjoint range [0.49, 0.6] bit-exact; sliding [0.47, 0.625] recorded. Oracle sha 47daa46fโฆ (re-run byte-identical); golden sha e2310587โฆ. Textbook pins: abab โ (4,2); aaa overlap-skip โ (3,1).
Feeds the up/down bar-direction string into a deterministic grammar-building compressor (Sequitur) and reports how small the resulting grammar is relative to the original string. A low ratio means repetitive, hierarchical direction patterns; a ratio near 1 means random, incompressible alternation.
sequitur_grammar_compression_ratio_logret_sign.rs (arena grammar) + rolling state + mod.rsBarOrthogonalExtV1 field ยท BarBuilder read-before-push wiring ยท writer.rs BarRow (last field)schema.sql DDL AFTER etc_effort_to_compress_logret_sign ยท feature_metadata.yaml ยท regenerated docs/feature-catalog.htmloracle_sequitur_grammar_compression_ratio_logret_sign.py + oracle/golden jsonl + .sha256 sidecars (dual-dir)Next: iter 04 (#98 sign_markov_inout_strength_asymmetry_flux) stacks on this branch.