Repository navigation
Find examples for everything: one search for every gap and slipped mistake - #25
Merged
Merged
Conversation
…stake
Health gets a card that searches for examples for every untried case and
every planted mistake that slipped through at once (search::find_all).
Each example found is run against the targets still open and covers every
one it also reaches, and later searches start from the examples found, so a
few examples cover many. The results list each example as a sentence with
what it covers, to untick or add together; the rest say why they weren't
found. POST /api/projects/{id}/spec/find-examples.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Step 1 of the plan to 0.1.0.
What
Health gets a new card, Find examples for everything. One button searches for examples for every case no example tries and every planted mistake that slipped through, all at once. Before this, each one needed its own click.
downis set to 1; 2 clock cycles pass;countmust be 14", which triesdown && !upand catchescount - 1ascount + 1(line 14). Untick any you don't want, then Add. They open in Examples unsaved.How
search::find_allsearches the targets in turn using the existingfind. After each search it checks the new example against the targets still open: a gap counts as covered if the branch is taken, a mistake if it fails with the mistake planted. Later searches start from the examples found so far.POST /api/projects/{id}/spec/find-examplesaccepts 1–60 targets.Checks
finds_examples_for_everything_at_once, on the up/down counter starter with one example:🤖 Generated with Claude Code