Write a part's solution by command - #78
Merged
Merged
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #78 +/- ##
==========================================
+ Coverage 96.61% 96.68% +0.06%
==========================================
Files 24 24
Lines 2069 2109 +40
==========================================
+ Hits 1999 2039 +40
Misses 70 70
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
A draft has
question solution q1 --text RANGEand nothing that writesq1.p2.solution; only a spec with a layout that pairs parts with solutions writes a part's solution. The commands cannot reproduce PartPartSolSol or PartSolPartSol, and the agent's fix loop cannot answerq1.p2 has no solutionwhere the solution is on the sheet under the part.Add
in2lambda draft part solution PART --text RANGE | --literal TEXT [--by NAME], where PART isq1.p2, writingq1.p2.solutionat layer 3 or 4 asquestion solutiondoes, refusing a PART that is not a part of the draft. Log and replay it like every other command; the report's no-solution check already readsqN.pM.solution. Add it to the command table in docs/source/drafts.md and the CLI reference, and to the agent-facing command list in in2lambda's README if there is one. A test in tests/test_draft.py writes a part solution by range and replays. Done when a draft built by commands alone can hold the PartPartSolSol example's four solutions.Workbench ticket t53.