Skip to content

100x is a skill by a former Cursor engineer that turns prompts into formally verified, production-ready code

Show the transition check failing for a dropped Open line

Dead Internetba9be3e783a6
diff --git a/verify/red/msg-transition.txt b/verify/red/msg-transition.txt
index d7b5580..e4e72f9 100644
--- a/verify/red/msg-transition.txt
+++ b/verify/red/msg-transition.txt
@@ -1,25 +1,26 @@
-Model the final message, every mix of optional data. 6149 states, 93710 transitions, deepest path 9.
+Model the final message, every mix of optional data. 6151 states, 93716 transitions, deepest path 9.
Exhaustive. Every reachable state was visited, so a pass is a proof for this model and these bounds.
- assumes one run at a time, the values listed for each field and the data below stand for every run (3 verdicts, 3 judges, review or none, 4 round outcomes, 0, 1, 3 or 4 reasons, 0 to 2 checks, 4 screen size outcomes, asks, work, 0, 2, 3 or 4 next asks, 1 or 3 steps, a url or none, plain text or text with a line break in it)
+ assumes one run at a time, the values listed for each field and the data below stand for every run (3 verdicts, 3 judges, review or none, 4 round outcomes, 0, 1, 3 or 4 reasons, 0 to 2 checks, 4 screen size outcomes, asks, work, 0, 2, 3 or 4 next asks, 1 or 3 steps, a url or none, plain text, text with a line break in it or text with control codes in it, and a blank step beside the real ones or none)
assumes the verdict and the judge are each tried with every other piece at its start value, because only line 1 reads the verdict and only one line reads the judge
- assumes the text of each value is one fixed sentence, written plain or with a line break in the middle of it. A longer title, reason or step is not tried here, because finish refuses them above a length before the message is built
+ assumes the text of each value is one fixed sentence, written plain, with a line break in the middle of it or with control codes in the middle of it. A longer title, reason or step is not tried here, because finish refuses them above a length before the message is built
assumes only the layout of the message is checked here. The words of each line are the words the report and the tests already pin
-pass inv:every-mix-builds-a-message. 6149 states checked, exhaustive
-pass inv:verdict-alone-on-line-one. 6149 states checked, exhaustive
-pass inv:the-pitch-is-left-to-the-report. 6149 states checked, exhaustive
-pass inv:every-label-once-when-its-data-exists. 6149 states checked, exhaustive
-pass inv:steps-one-per-line. 6149 states checked, exhaustive
-pass inv:reasons-one-per-line. 6149 states checked, exhaustive
-pass inv:blocks-in-order-with-one-blank-line-between. 6149 states checked, exhaustive
-FAIL inv:every-fact-is-kept. the message lost ["Run: npm start, then open http://localhost:5173"] (and 3076 more).
-pass inv:clean-lines. 6149 states checked, exhaustive
-pass inv:a-line-break-in-a-value-adds-no-line. 6149 states checked, exhaustive
-pass inv:the-run-is-left-as-it-was. 6149 states checked, exhaustive
-pass inv:key-order-does-not-matter. 6149 states checked, exhaustive
-pass inv:no-memory-between-calls. 6149 states checked, exhaustive
-pass inv:lists-stop-at-three. 6149 states checked, exhaustive
-pass inv:same-run-same-message. 6149 states checked, exhaustive
-pass guard:set. 227513 enabled and refused cases agree with the implementation, exhaustive
+pass inv:every-mix-builds-a-message. 6151 states checked, exhaustive
+pass inv:verdict-alone-on-line-one. 6151 states checked, exhaustive
+pass inv:the-pitch-is-left-to-the-report. 6151 states checked, exhaustive
+FAIL inv:every-label-once-when-its-data-exists. Open appears 0 times, and the data says 1 (and 3078 more).
+pass inv:steps-one-per-line. 6151 states checked, exhaustive
+pass inv:reasons-one-per-line. 6151 states checked, exhaustive
+pass inv:blocks-in-order-with-one-blank-line-between. 6151 states checked, exhaustive
+FAIL inv:every-fact-is-kept. the message lost ["Open: http://localhost:5173"] (and 3078 more).
+pass inv:clean-lines. 6151 states checked, exhaustive
+pass inv:a-line-break-in-a-value-adds-no-line. 6151 states checked, exhaustive
+pass inv:no-control-characters. 6151 states checked, exhaustive
+pass inv:the-run-is-left-as-it-was. 6151 states checked, exhaustive
+pass inv:key-order-does-not-matter. 6151 states checked, exhaustive
+pass inv:no-memory-between-calls. 6151 states checked, exhaustive
+pass inv:lists-stop-at-three. 6151 states checked, exhaustive
+pass inv:same-run-same-message. 6151 states checked, exhaustive
+pass guard:set. 246040 enabled and refused cases agree with the implementation, exhaustive
FAIL post:set. changing url to 0 changed nothing in the message (and 6143 more). Steps: set(["url",0]).
pass pure. no apply changed its input
pass deadlock. every state has a step or is a stopping point, exhaustive