Sync'd todo lines + handwritten todo seems to fail to sync #87
Loading…
Reference in a new issue
No description provided.
Delete branch "fix-82-mixed-todo-sync"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What changed
A page with synced todo lines plus a handwritten todo now syncs: a row of ours may go without an OCR line only when his ink there is a lone mark (1–2 strokes, under half a pitch wide together), so his notes beside our tasks still pair or hold the page; red-then-green C1, F1 and F3 fixed, precommit C21.
Red, then green
bash -c 'eval "$(mise activate bash --shims)"; MIX_ENV=test mix test test/rm_analyzer/remarkable/lines/rows_test.exs'60213ac): exit 1e903d24): exit 0Checks
bash -c 'eval "$(mise activate bash --shims)"; mix precommit 2>&1 | tail -3', exit 0bash -o pipefail -c 'eval "$(mise activate bash --shims)"; mix precommit 2>&1 | tail -3', exit 0bash -o pipefail -c 'export PATH=$HOME/.local/bin:$PATH; eval "$(mise activate bash --shims)"; MIX_ENV=test mix test test/rm_analyzer/remarkable/lines/rows_test.exs 2>&1 | tail -3', exit 0fcb9ef6. (Upper Wolfjaw):bash -o pipefail -c 'export PATH=$HOME/.local/bin:$PATH; eval "$(mise activate bash --shims)"; mix precommit 2>&1 | tail -3', exit 0fcb9ef6; reran the rows tests, Nye's probe82 (F1/F3 cases now pass) and the full suite (1365 pass). The row-wide mark check (≤2 strokes, <half pitch) closes the per-stroke hole, and real notes beside our task still hold or pair. Untested: real tablet pages; a very short 1–2 stroke cursive note beside our task would count as a mark (named risk). (Prover):bash -o pipefail -c 'export PATH=$HOME/.local/bin:$PATH; eval "$(mise activate bash --shims)"; MIX_ENV=test mix test test/rm_analyzer/remarkable/lines/rows_test.exs 2>&1 | tail -3', exit 0Found and fixed
Risks
Mark threshold (1–2 strokes, half a pitch) is a heuristic tuned on synthetic strokes, not on real tablet pages; a cursive note of 1–2 short strokes beside our task would be treated as a mark. Branch is local only (fix-82-mixed-todo-sync @
fcb9ef6in ~/work/rm-analyzer-1-6-1/rm-analyzer).Prover
Passed (Sonnet): Read the Rows.texts/mark? diff at
fcb9ef6; reran the rows tests, Nye's probe82 (F1/F3 cases now pass) and the full suite (1365 pass). The row-wide mark check (≤2 strokes, <half pitch) closes the per-stroke hole, and real notes beside our task still hold or pair. Untested: real tablet pages; a very short 1–2 stroke cursive note beside our task would count as a mark (named risk).Every command above was run by Fortysix's Basecamp itself, on the branch named.