feat(math): small-N degenerate parity — run the real math on tiny matrices in clojure-legacy mode#2653
Draft
jucor wants to merge 1 commit into
Draft
feat(math): small-N degenerate parity — run the real math on tiny matrices in clojure-legacy mode#2653jucor wants to merge 1 commit into
jucor wants to merge 1 commit into
Conversation
…rices in clojure-legacy mode Clojure has NO small-dim guards: a 1x1 single-vote conversation computes center = the vote, a rank-capped zero component, a repness entry (the best-agree guarantee holds for one comment; rest-stats over zero other groups fall back to the (0+1)/(0+2) prior) and a consensus selection — pinned exactly by the vw every-vote step-0 recording (journal 2026-07-22 'every-vote step-0 diagnosis COMPLETE'). Python short-circuited to zeros/ empties below 2x2, which made the every-vote battery entry diverge from step 0 (4650/4683 steps). Legacy-gated changes (improved keeps every historical guard): - _compute_pca + pca_project_dataframe: <2 guards only fire on truly EMPTY dims in legacy; the powerit path runs at any size (comps already rank-capped; zero-variance yields Clojure's zero vector). Projections zero-pad to 2-D (Clojure's [pc1 pc2] destructure zero-fills a missing second component), as does the emitted comment-projection. - conv_repness: the shape<2 early return yields to the real computation. TDD: single-vote fixtures with exact Clojure-derived values (center -1.0, p-success 2/3, repness 4/3, best-agree), RED observed; improved-mode guards pinned unchanged. commit-id:00d8bc52
This was referenced Jul 22, 2026
docs(delphi): R1-parity goal docs, journal (2026-07-18 → 07-22 s3), quirks + divergence ledger
#2626
Draft
Draft
Draft
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Clojure has NO small-dim guards: a 1x1 single-vote conversation computes
center = the vote, a rank-capped zero component, a repness entry (the
best-agree guarantee holds for one comment; rest-stats over zero other
groups fall back to the (0+1)/(0+2) prior) and a consensus selection —
pinned exactly by the vw every-vote step-0 recording (journal 2026-07-22
'every-vote step-0 diagnosis COMPLETE'). Python short-circuited to zeros/
empties below 2x2, which made the every-vote battery entry diverge from
step 0 (4650/4683 steps).
Legacy-gated changes (improved keeps every historical guard):
EMPTY dims in legacy; the powerit path runs at any size (comps already
rank-capped; zero-variance yields Clojure's zero vector). Projections
zero-pad to 2-D (Clojure's [pc1 pc2] destructure zero-fills a missing
second component), as does the emitted comment-projection.
TDD: single-vote fixtures with exact Clojure-derived values (center -1.0,
p-success 2/3, repness 4/3, best-agree), RED observed; improved-mode
guards pinned unchanged.
commit-id:00d8bc52
Stack: