Repository navigation
deepnsm-v2: position vs frequency for homographs; rule quorum; restored grammar heuristics + WordNet register; German grammar probes (D-LXC-13…23) #1321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
288b97f
deepnsm-v2: position decides noun/verb homographs, not the lemma tag …
claude d129744
deepnsm-v2: adverb tag, measured typology, and the position rules sco…
claude 31c6736
deepnsm-v2: KJV silver labels from Luther 1545, clause rule as a swit…
claude ea7c077
deepnsm-v2: learned position table, German case kept, Animal Farm ref…
claude 835c53e
deepnsm-v2: German TEKAMOLO cues by verb position; adverbial adjectiv…
claude 9e8a552
deepnsm-v2: the question test as the Pearl 2³ mask; blast radius of d…
claude ec65f27
deepnsm-v2: literal rules, priorities and a quorum for word-class hom…
claude 90c3750
deepnsm-v2: the Frageprobe through the Satzklammer; question mask is …
claude 488243e
deepnsm-v2: a floating quantifier keeps the verb slot open (Bugbot, #…
claude e717e3d
deepnsm(-v2): restore the deleted grammar heuristics; WordNet identit…
claude 558e802
coresearch: German grammar as position + morphology evidence — explor…
claude 35383c9
coresearch map: re-file ranks 18 and 19 per the second premise gate
claude 873699b
deepnsm-v2: grammar reads by ReadParams, not thinking styles; WordNet…
claude 45d341d
board: WordNet gives the address, COCA + tokens give the torque (D-LX…
claude 098d49d
knowledge: Bible lanes are not independent witnesses (Aramaic-derived…
claude eb5aed7
knowledge: why the TEKAMOLO reader is right-corner, even for German
claude e3ec0f6
deepnsm-v2: first probes from the German grammar map (D-LXC-23)
claude 439b63a
Merge remote-tracking branch 'origin/main' into claude/peaceful-gauss…
claude 915ed7e
deepnsm-v2 ud_case_eval: time vs place reading of Wechsel preposition…
claude 88dbee9
deepnsm-v2: prepositional object vs adverbial; abstract-noun class (D…
claude 04baf7c
deepnsm-v2: TIME / PLACE / FIG lane quorum for Wechsel phrases (D-LXC…
claude 1349006
deepnsm-v2 lane quorum: confirmation round on fresh labels (D-LXC-25)
claude 80760f9
board: restore the D-LXC-25 confirmation-round section cut by the pre…
claude a584ff3
Merge remote-tracking branch 'origin/main' into claude/peaceful-gauss…
claude 60c2ed1
deepnsm-v2 lane quorum: adverbs of time, including adjectives used as…
claude a737988
deepnsm-v2 ud_case_eval: gender + number decide the article's case (R…
claude f2ae2d9
deepnsm-v2 data: record the DeReWo / DeReKo-2014 German frequency lis…
claude 0fa066d
deepnsm-v2: gender of unseen German nouns via compound head, lemma an…
claude af6a4cd
deepnsm-v2: hydrate joins each marker to its own node; toc_hydrate pa…
claude b0598a6
deepnsm-v2: DeReKo profile and TEKAMOLO order across genres (D-LXC-28)
claude efb0fe3
deepnsm-v2 toc_hydrate: measure 6 vs 8 rails per 16-byte tenant on KJ…
claude e4c4783
board D-LXC-29: group nodes are explicit (AD-like) membership, not st…
claude 0374c45
board D-LXC-29: 16-byte register as 16 x u8 / 32 x u4 tags; clause-le…
claude 9062218
board D-LXC-29: 128-bit classid-free tenants via hot-plug ReadMode / …
claude d8edb74
deepnsm: CodeRabbit round on #1321
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
.claude/board/entries/2026-10-04-coresearch-german-grammar-evidence.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| # 2026-10-04 — /coresearch: German grammar as position + morphology evidence (exploration map) | ||
|
|
||
| **Status:** OPEN — an exploration map. Nothing is adopted; the operator chooses. | ||
| Map: `.claude/knowledge/german-grammar-rule-inventory.md`. | ||
|
|
||
| **Council:** | ||
| - Brief and premise gate: PREMISE-SPLIT into Q1 word class, Q2 case, Q3 anaphora, Q4 TEKAMOLO, Q5 plausibility. | ||
| - 5 scouts: code, internal prior art, literature, linguistic resources, grammar concepts. | ||
| - A 23-row crosswalk. | ||
| - 3 co-architects: bridge, firewall, falsifier. | ||
|
|
||
| ## Key results | ||
|
|
||
| **Already have.** | ||
| - Satzklammer adj/adv rules: 88.5 % / 90.0 %. | ||
| - German adj/adv quorum: 85.1 %. | ||
| - The TEKAMOLO order law is killed as a decider; the cue-by-verb-position rule scores 88.5 %. | ||
|
|
||
| **Inventories without consumers.** | ||
| - Five mined TSVs have no Rust reader: `article_decidability`, `valency`, `wechsel`, `relative_pronoun`, `reflexive`. | ||
| - They become one Q2 case-constraint evaluator (`ud_case_eval`), not five voters. | ||
| - Shared precondition: `next_form` in `Tok`, plus the tables re-mined on the fit split. | ||
|
|
||
| **Data facts that change the design.** | ||
| - UD German has `iobj` = 0: a dative object is obj/obl + Case=Dat. | ||
| - ADP carries no Case. | ||
| - GSD Case gold is about 10 % noisy, so Case kills must hold on HDT. | ||
|
|
||
| **Cheapest probes first.** | ||
| - Fixed-case prepositions. | ||
| - der/die/das DET vs PRON. | ||
| - Relative-pronoun case. | ||
| - Paradigm-exact monoflexion (read on HDT). | ||
| - Expletive es. | ||
| - Separable particles. | ||
| - Auxiliary selection. | ||
|
|
||
| **Operator additions (2026-10-04).** | ||
| - **Belief transitions:** re-filed by the second premise gate. Revision history is a planner belief-arena record (magnitudes ordered across books), not 24×i4 loci; only a peer pointer within ±8 may be a locus. Probe: the history must predict later contradiction beyond the final TruthValue. | ||
| - **WordNet → ndarray CLAM/CHAODA:** outside the letter of `48405aa2`, inside its spirit. Clean only offline, under a recorded DECISION (draft wording in the map, §6). Second premise gate: a path distance is symmetric, so S↔O swaps are invisible; points must be role-indexed `(verb, role, synset)`, or the items restricted to verb swaps. | ||
| - **hydrate = node creation:** ALREADY-HAVE (restored, green on the KJV). | ||
|
|
||
| ## Not searched | ||
|
|
||
| - adverbial vs predicative ADJD accuracy; | ||
| - a computational Wechselpräposition accuracy; | ||
| - German Winograd beyond Wino-X; | ||
| - adverbial-order corpus studies; | ||
| - left-corner parsing for German. |
53 changes: 53 additions & 0 deletions
53
.claude/board/entries/2026-10-04-deepnsm-deleted-grammar-restored.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| # 2026-10-04 — deleted grammar heuristics restored; WordNet identity register (D-LXC-21) | ||
|
|
||
| **Status:** VERIFIED-IN-CODE and MEASURED (`cargo test --release` deepnsm-v2: 194 lib tests; deepnsm: 222; `toc_hydrate` and `persona_chain_replay` run on real data, debug-0). | ||
|
|
||
| Operator (2026-10-04): restore the deleted grammar heuristics, repurpose or merge the superseded ones, drop none, and write down which commit had what. Ledger: `.claude/knowledge/deleted-grammar-heuristics-ledger.md`. | ||
|
|
||
| ## Restored | ||
|
|
||
| **From `68955ecb`, into deepnsm-v2:** | ||
| - `toc.rs`, `hydrate.rs` and `promote.rs`: the KJV TOC as an HHTL tree, triples addressed to verse nodes, and basins promoted at TOC keys. | ||
| - `lexicon.rs`. | ||
| - `loci.rs`. | ||
| - `tekamolo.rs`: the German right-corner lanes. | ||
| - the `toc_hydrate` example. | ||
|
|
||
| **Into deepnsm:** | ||
| - `ontology_vocab.rs`, from `48405aa2`. | ||
| - the `persona_chain_replay` example, from `8c03aaa9`. | ||
|
|
||
| ## Repurposed | ||
|
|
||
| **`ontology_vocab.rs` now holds a WordNet identity register:** | ||
| - `WordNetRail` reads every sense and every hypernym edge. | ||
| - `ConceptMask` covers a sense when the sense or any ancestor is a mask root, so a mask can cut across the taxonomy (e.g. water animals). | ||
| - There are no distances, so A1 holds. | ||
| - Its OBO half answers empty, because `98de36eb` retracted the 0x03 rows; a test pins that. | ||
| - Disable runs: | ||
| - is_a without the ancestor walk → 3 of 5 tests red; | ||
| - every sense collapsed to number 1 → 2 red. | ||
|
|
||
| ## Measured | ||
|
|
||
| **`toc_hydrate` on the KJV:** | ||
| - 32,357 nodes (66 books, 31,102 verses); | ||
| - 70,393 triples, 0 unaddressed; | ||
| - 38.8 % cross-verse links; | ||
| - 1,227 basins at TOC keys; | ||
| - loci: Recency binds 35,025 of 35,613 pronoun subjects, SelectionalFit binds 27,788. | ||
|
|
||
| **`persona_chain_replay`:** the ContextChain margin gate is 335× too coarse for the rank metric (spread 0.0003 vs threshold 0.1), so every replay escalates. | ||
|
|
||
| ## OPEN | ||
|
|
||
| - `tekamolo.rs` still carries `V2StyleProvider`. §3o refused thinking styles in deepnsm-v2; the operator decides whether to keep it here or move it to the planner. | ||
| - `loci.rs` is agreement-blind. The shipped agreement resolver scores 0.727 against 0.273 for the agreement-blind rule. Merge queue in the ledger. | ||
|
|
||
| > **⊘ Updated 2026-10-04 (PR #1321 review, same day).** | ||
| > - `toc_hydrate` now parses with every reading (`parse_readings(...).certain`, the same stream as `bible_wave`). | ||
| > - The FSM no longer treats an object carried into the subject slot as a subject head. | ||
| > - Current KJV numbers: **57,325 triples** (= `bible_wave`'s `certain` pin), 0 unaddressed, 1,187 basins. | ||
| > - `persona_chain_replay` candidates are now nouns only (the resolver's own lexicon): 2 replays run, both escalate, and the margin gate is **617×** too coarse (spread 0.000162 vs 0.1). | ||
| > - deepnsm-v2 lib tests: 196. | ||
| > - The figures above are the first run's. | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.