Repository navigation
Replies: 1 comment
|
Thanks @gal-a, this is useful, and two of the six overlap with what I found in my own qikly run (the .rstrip() and the bracket-counting survivors). Answers: Yes, an Attempt that doesn’t say defaults to not ambiguous. Please send the tests as a tests-only PR. Two requests: don’t pin the passed_validation or validation_error defaults on ambiguous attempts, since 0.6.0 may change what populates them (see Discussion #34), and keep the PR to tests, with no changes to src/booth/. I’ll add full-prompt golden tests myself. |
Uh oh!
There was an error while loading. Please reload this page.
Hi @Vedantgitbot, following up on #42 and #43. I ran qikly again on current
main(f5a117a): booth's tests now catch 53 of 60 planted faults, up from 49 before those PRs. The 7 it still misses come down to 6 questions about intended behaviour, where the tests pass either way, so the answer is yours to decide.A one-word reply per question is plenty, and "skip" is fine for any that don't matter. I'll turn your answers into tests, written from your answers alone without looking at the code, and send them as a PR.
Attemptis created without saying whether it is ambiguous (say, a reply that failed to parse), should it count as not ambiguous by default?_build_prompt, if the user's prompt ends with spaces or blank lines, e.g."What is 2+2?\n\n", should booth trim them before appending its JSON instructions, so that"What is 2+2?"and"What is 2+2?\n\n"send the model exactly the same prompt?_exceeds_json_nesting_limit, with the default limit of 1024: should a reply nested exactly 1,024 levels deep be parsed or rejected?{"answer": "4", "confidence": 0.9}have: 0 or 1?{"answer": "he said \"{{{{\" ok", "confidence": 0.9}, should the braces inside the string be ignored for depth, including after an escaped quote\"?{and[add a level of depth, so that[[[[...]]]]nested past the limit is rejected just like{{{{...}}}}?To reproduce the run:
qikly --score src/booth/core.py --score-tests tests/ --score-seed 0 --score-mutants 60(qikly 0.6.4). Questions found with qikly and written up with AI help.All reactions