Repository navigation
Conversation
Speech-to-text writes a full stop where the speaker paused, and
capitalises letters spelled out and words it mishears. Deep's check
(SelfRepair, in Swift and Rust) took both as the speaker's own, so it
turned down right answers to real transcripts. Now:
- Two things set off with a full stop are a list, as after a colon, and
so are two after a comma when the lead counts them ("two things, …").
The Deep training validator no longer asks for a colon.
- A cue after a full stop may correct the phrase the sentence before
ends with ("…in the garage. Actually, the lobby."), but not a whole
sentence, a new clause, or a bare number in place of "two chairs".
Corrected words said again may end their sentence ("not Sunday.
Thursday.").
- Letters spelled out may be joined ("p r" → "PR"), and a capitalised
word may be respelled where the capital says nothing: written without
one, or where a list item starts ("First, Madge the PR" → "1. Merge
the PR"). A capital still guards a name everywhere else. Two words are
never merged across a sentence end ("plan A. I think").
Guard fixtures: 64 new cases. Three earlier verdicts change, each to
accepting the right answer: "Paint the door red. Actually, blue." and
two multi-correction cases that had hit the limit of two corrections
that go back. The Swift CleanupTests and lt-cleanup's 195 tests pass;
clippy and rustfmt are clean.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 2, 2026
Member
Author
|
Superseded by #58, which merged this work into main with the other changes behind candidate E. It shipped in 1.2.0. |
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.
Summary
Speech-to-text writes a full stop where the speaker paused, and capitalises letters spelled out and words it mishears. Deep's check (
SelfRepair, in Swift and Rust) took both as the speaker's own, so it turned down right answers to real transcripts, and blocked many measured training pairs. Now it reads them as guesses:docs/cleanup.md,design-notes.mdandlimitations.mddescribe the new behaviour and its limits.Guard fixtures
Fixtures/cleanup/guard.jsonlhas 64 new cases. Most lines change because each said word now recordsstartsSentence.Test plan
CleanupTestspass (xcodebuild test).cargo test -p lt-cleanup: 195 pass, including the guard fixture replay.cargo clippy -p lt-cleanup --all-targets -- -D warningsandcargo fmt --all -- --checkare clean.Not in this PR
🤖 Generated with Claude Code