Skip to content

feat: the fuzzy lesson recurrence (0.26.3) - #114

Merged
log0u7 merged 4 commits into
mainfrom
feat/0263-fuzzy-lesson-recurrence
Nov 30, 2026
Merged

log0u7 merged 4 commits into
mainfrom
feat/0263-fuzzy-lesson-recurrence

Conversation

@log0u7

@log0u7 log0u7 commented Nov 30, 2026

Copy link
Copy Markdown
Owner

A paraphrased lesson re-record merges into the live lesson (the heat survives): before the exact-title lookup, findSimilarLesson (FTS candidates, Jaccard 0.5 / 0.3 with a shared anchored path, negations never merge) substitutes the stored title - the exact-title branch does everything (UPDATE, heat+1, endorsements), no new merge path. distinct=true keeps a new lesson apart. The save text reports the merge and drops the similar-entries suggestion. Calibration fixture from the real store: 45 SAME merge, 25 NEAR-MISS stay apart (distribution n=45 min=0.50 p50=1.00). Bonus fix: the INSERT expires_at bound undefined (the node:sqlite strict bind) = ?? null. The [MEMORY:fts-recurrence] lane.

…merges into the live lesson (Jaccard 0.5, 0.3 with a shared path, negations never merge, distinct=true keeps apart); the save text reports the merge; the INSERT expires_at binds null (the node:sqlite strict). Calibration: 45 SAME merge / 25 NEAR-MISS stay apart. RED: the paraphrase, the path bar and the accents tests failed on main
…t; the node:sqlite strict bind caught the missing ?? null)
…spec is never multi-line; the STOPWORDS data string "from" triggered a multi-line false match)
@log0u7
log0u7 merged commit b99da9f into main Nov 30, 2026
3 checks passed
@log0u7
log0u7 deleted the feat/0263-fuzzy-lesson-recurrence branch November 30, 2026 15:36
log0u7 added a commit that referenced this pull request Nov 30, 2026
* feat: the fuzzy lesson recurrence (0.26.3) - a paraphrased re-record merges into the live lesson (Jaccard 0.5, 0.3 with a shared path, negations never merge, distinct=true keeps apart); the save text reports the merge; the INSERT expires_at binds null (the node:sqlite strict). Calibration: 45 SAME merge / 25 NEAR-MISS stay apart. RED: the paraphrase, the path bar and the accents tests failed on main

* style: the fixture JSON = the biome canonical form

* fix: the test saves carry expires_at: null (the EntryInput requires it; the node:sqlite strict bind caught the missing ?? null)

* fix: the smoke-dist static-import regex stays single-line (an import spec is never multi-line; the STOPWORDS data string "from" triggered a multi-line false match)

* chore(release): the package.json = 0.26.3 (the bump rode the closed PR #113, the merge #114 shipped without it)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant