
What was actually run?
I fetched the archived story/utils.py source and executed its original player_died and player_won definitions in a local Python harness. The harness supplied the standard re module. It skipped the file’s other imports and startup statements, so the result is a function probe, not an installed-game test.
Can an ordinary word trigger the death flag?
I passed “You die.” and “You diet carefully and remain alive.” separately to the same archived player_died function. Both returned true. The second input explicitly leaves the character alive, yet its death flag matched the positive control. Both inputs returned false from player_won. These are direct function returns from the supplied text, with no generated story between the input and the check. The complete inputs and both Boolean columns are retained below.
What happened to a quoted warning?
The quoted-warning input was: The sign says "you die" if you enter, but you stay outside. It returned true from player_died and false from player_won. The matching death words were inside a warning on a sign, while the sentence kept the character outside. In a separate control, “You do not die.” returned false from both functions. That pair shows the exact difference observed between this quotation and this negated sentence.
Did a past job count as a win?
For the win check, “You retire.” returned true from player_won. So did “You retired from the watch, but the adventure continues.” Both returned false from player_died. The past-tense input described a former job and explicitly continued the adventure. Its win flag still matched the retirement control. “You do not retire.” returned false from both functions. These outputs separate the tested wording from any claim that the story itself had ended.
Can both flags be true?
Finally, I supplied “You retire, then you die.” Both player_won and player_died returned true on that same input. The saved result therefore contains two positive flags for one sentence. This probe stopped at the predicate calls; it did not execute the caller that decides how to react to them. The result establishes overlapping matches for this fixture, while leaving the visible game outcome untested.
The complete supplied-string results
Run on November 21, 2026. Each row is one operator-written input passed to both original predicates; true and false are the actual returned values.
| Exact supplied string | player_died | player_won |
|---|---|---|
| You die. | true | false |
| You diet carefully and remain alive. | true | false |
| The sign says "you die" if you enter, but you stay outside. | true | false |
| You do not die. | false | false |
| You retire. | false | true |
| You retired from the watch, but the adventure continues. | false | true |
| You do not retire. | false | false |
| You retire, then you die. | true | true |
How should you use this when inspecting an old ending?
Keep the complete text that preceded the ending and identify the code revision. Check the detector’s return separately from the caller’s response. For these fixtures, a positive flag alone does not establish that a character died or an adventure finished.
The archived definitions search lowercased text with regular expressions. The fresh results above concern that historical source. Current AI Dungeon’s hosted behavior, model-generated wording, caller priority and a corrected detector were not tested.