CI / test (pull_request) Canceled after 0s
- analysis/tree/build_tree.py -> data/public/tree.json, analysis/reports/TREE.md: every screen the bot has seen, every option, where each led (fixed or dice, with ranges), best known picks per colour chosen cautiously, where any picks end, and the untested options. solver.js screenPick(): least-tried and Thompson picks from the tree. - The bot logs a pick it then overrode as a step: 37 runs were coded with choices they never made. Importer and graph.js now use the played steps only. - runs_clean.csv: the Unofficial Dragon Register's 288 bonded dragons are in the master list as outcome-only rows, flagged (no analysis uses them). - Cycle, refresh and the bot kit rebuild and carry the tree; tests check every generated report is current. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014jqCC2LZ4x1WHQ1V57nTsv
123 lines
9.5 KiB
Markdown
123 lines
9.5 KiB
Markdown
# The screen tree
|
||
|
||
Written by `analysis/tree/build_tree.py` from the bot's logs: 421 runs, 5576 played steps (91 picks the bot logged and then overrode are left out). Machine-readable: `data/public/tree.json`.
|
||
|
||
## Coverage
|
||
|
||
- Screens seen: 45. Options on them: 116, of which 69 have been played and 47 never have.
|
||
- Played options that are dice (led to more than one place): 11. Always the same place so far: 58, of which 21 have been played often enough (59 times or more) that a hidden 1-in-20 branch would very likely have shown.
|
||
- Endings reached: BONDED:Blue, BONDED:Green, DIED.
|
||
|
||
A screen only appears here once the bot has stood on it, so screens behind untested options are missing altogether: the tree is a floor on the size of the game, not its size.
|
||
|
||
## The dice
|
||
|
||
Every option that has led to more than one place, most played first (90% range).
|
||
|
||
| Screen | Option | Played | Led to |
|
||
|---|---|---|---|
|
||
| Valley edge: choose direction | Head toward the center of the forest | 165 | First sighting: Red (forest centre) 55.1% (48.8%-61.4%); First sighting: Brown (forest centre) 44.9% (38.6%-51.2%) |
|
||
| Valley edge: choose direction | Head west toward the scent | 143 | First sighting: Brown (forest centre) 51.0% (44.2%-57.8%); ENTER_THRESHING · green 48.9% (42.2%-55.8%) |
|
||
| FORK_IN_FOREST · red #01c3 | There’s no way this is your dragon and you need to get out o | 140 | FORK_IN_FOREST #0905 88.6% (83.4%-92.3%); FORK_IN_FOREST #900d 11.4% (7.7%-16.6%) |
|
||
| MEADOW_ENCOUNTER · orange #5b27 | On second thought, a nice brown sounds great | 124 | MEADOW_ENCOUNTER · orange #4f4a 54.0% (46.7%-61.2%); DIED 46.0% (38.8%-53.3%) |
|
||
| ENTER_THRESHING #bbc8 | Head toward the center of the forest | 85 | First sighting: Brown (forest centre) 60.0% (51.1%-68.3%); First sighting: Red (forest centre) 40.0% (31.7%-48.9%) |
|
||
| MEADOW_ENCOUNTER · brown #792f | Immediately throw your body weight onto the tail and hold on | 35 | MEADOW_ENCOUNTER · brown #3f5d 88.6% (76.8%-94.8%); DIED 11.4% (5.2%-23.2%) |
|
||
| TARGET_BONDING · blue #848f | Absolutely. My whole life hinges on this moment | 16 | TARGET_BONDING · blue #4118 81.2% (61.2%-92.2%); DIED 18.8% (7.8%-38.8%) |
|
||
| Valley edge: choose direction | Head east toward the roar | 14 | ENTER_THRESHING · orange 92.9% (73.4%-98.4%); First sighting: Red (forest centre) 7.1% (1.6%-26.6%) |
|
||
| TARGET_BONDING · blue #4118 | Hold the blue’s glare and advance | 13 | TARGET_BONDING · blue #afc4 76.9% (54.2%-90.4%); DIED 23.1% (9.6%-45.8%) |
|
||
| TARGET_BONDING · blue #afc4 | Do nothing | 10 | TARGET_BONDING · blue #ea99 60.0% (35.2%-80.6%); DIED 40.0% (19.4%-64.8%) |
|
||
| TARGET_BONDING · blue #ea99 | Hold the dragon’s glare and watch as it crushes the cadet to | 6 | TARGET_BONDING · blue #5dda 50.0% (22.1%-77.9%); DIED 50.0% (22.1%-77.9%) |
|
||
|
||
## Best known chance of each colour
|
||
|
||
From the first screen, taking the best tested option on every screen. Untested options count as zero, so these are what is known to be achievable, not limits; a colour the bot has never bonded shows 0. "As observed" multiplies the rates seen. "Cautious" adds one unseen failure to every step, which is what the picks are chosen on: a chain of steps each played once is worth little.
|
||
|
||
| Colour | As observed | Cautious | Weakest step on the way | These picks end in |
|
||
|---|---|---|---|---|
|
||
| Red | 0.0% | 0.0% | no bond logged | |
|
||
| Orange | 0.0% | 0.0% | no bond logged | |
|
||
| Brown | 0.0% | 0.0% | no bond logged | |
|
||
| Green | 100.0% | 3.2% | Let the Red pass: two Greens in the clearing: "Lower your eyes and turn your body toward the left", played 1 times | BONDED:Green 100.0% |
|
||
| Blue | 2.1% | 0.4% | TARGET_BONDING · blue #5dda: "Straighten your spine and wait for it to speak", played 3 times | DIED 97.9%, BONDED:Blue 2.1% |
|
||
| Black | 0.0% | 0.0% | no bond logged | |
|
||
|
||
### The picks for Blue
|
||
|
||
| Screen | Pick | Played | Chance of the bond from here |
|
||
|---|---|---|---|
|
||
| Start: choose company | Enter the valley alone | 321 | 2.1% |
|
||
| Valley edge: choose direction | Head toward the center of the forest | 165 | 2.1% |
|
||
| First sighting: Red (forest centre) | Lower your eyes in respect | 126 | 2.1% |
|
||
| Survived the first sighting | Head deeper into the forest | 407 | 2.1% |
|
||
| Deeper in the forest: a scream | Investigate the scream | 380 | 2.1% |
|
||
| Clearing: squadmate vs two bullies | Help your squadmate | 368 | 2.1% |
|
||
| Bully fight: first move | Pause to assess the situation even though it may risk your squadmate’s | 368 | 2.1% |
|
||
| Bully fight: smaller cadet has a dagger | Engage the smaller cadet | 293 | 2.1% |
|
||
| Beat the smaller cadet: bullies’ fate | End the lives of the bullies yourself | 190 | 2.1% |
|
||
| After the fight: choose a direction | Walk farther into the forest | 227 | 2.1% |
|
||
| An hour later: valley or tree | Continue toward the center of the valley | 142 | 2.1% |
|
||
| FORK_IN_FOREST · red #01c3 | There’s no way this is your dragon and you need to get out of here | 140 | 2.1% |
|
||
| FORK_IN_FOREST #900d | Approach the blue dragon | 16 | 18.7% |
|
||
| TARGET_BONDING · blue #848f | Absolutely. My whole life hinges on this moment | 16 | 18.7% |
|
||
| TARGET_BONDING · blue #4118 | Hold the blue’s glare and advance | 13 | 23.1% |
|
||
| TARGET_BONDING · blue #afc4 | Do nothing | 10 | 30.0% |
|
||
| TARGET_BONDING · blue #ea99 | Hold the dragon’s glare and watch as it crushes the cadet to death | 6 | 50.0% |
|
||
| TARGET_BONDING · blue #5dda | Straighten your spine and wait for it to speak | 3 | 100.0% |
|
||
| TARGET_BONDING · blue #959e | Launch yourself to the right, taking cover behind a boulder | 3 | 100.0% |
|
||
| TARGET_BONDING · blue #f8b8 | I want to bring down an empire | 3 | 100.0% |
|
||
| TARGET_BONDING · blue #b98a | Move forward slowly, waiting for an invitation | 3 | 100.0% |
|
||
|
||
## Untested options
|
||
|
||
On the screens the bot reaches most often first: the cheapest gaps to fill.
|
||
|
||
| Screen | Times on this screen | Option never played |
|
||
|---|---|---|
|
||
| Bully fight: first move | 368 | Charge the other cadet to even out the numbers |
|
||
| Bully fight: first move | 368 | Unsheathe your weapon and charge between the bigger cadet and your squadmate |
|
||
| Descended slowly: two Greens in the clearing | 261 | Lower your eyes and turn your body toward the right |
|
||
| Descended slowly: two Greens in the clearing | 261 | Lower your eyes and turn your body toward the left |
|
||
| First sighting: Brown (forest centre) | 198 | Run and hope it didn’t see you |
|
||
| First sighting: Red (forest centre) | 126 | Hide behind a tree |
|
||
| First sighting: Red (forest centre) | 126 | Show your bravery by meeting its gaze |
|
||
| MEADOW_ENCOUNTER · orange #5b27 | 124 | Absolutely. I have a feeling this is my dragon |
|
||
| ENTER_THRESHING #bbc8 | 85 | Head west toward the scent |
|
||
| ENTER_THRESHING #bbc8 | 85 | Head east toward the roar |
|
||
| ENTER_THRESHING · green | 70 | Approach from the left |
|
||
| ENTER_THRESHING · green | 70 | Stare at the ground and drop the weapon |
|
||
| ENTER_THRESHING #ab2d | 48 | Convince them to head west instead |
|
||
| ENTER_THRESHING #ab2d | 48 | Go east with your squad |
|
||
| ENTER_THRESHING #5455 | 37 | Go west with your squadmate |
|
||
| ENTER_THRESHING #5455 | 37 | Convince them to head east instead |
|
||
| MEADOW_ENCOUNTER · brown #3f5d | 31 | You point out that it’s already talking to you, so clearly you’re on the right track |
|
||
| MEADOW_ENCOUNTER · brown #3f5d | 31 | You’ll convince it with charm |
|
||
| SCREAM_AND_CADETS | 27 | Take the cadet’s weapons and continue along your way. Good steel shouldn’t go to waste |
|
||
| SCREAM_AND_CADETS | 27 | Keep going. Clearly they’ve been found lacking and weak riders threaten the wing |
|
||
| FORK_IN_FOREST #900d | 16 | Approach the orange dragon |
|
||
| FORK_IN_FOREST #900d | 16 | Approach the brown dragon |
|
||
| TARGET_BONDING · blue #848f | 16 | Nope. I’d rather live bonded to a brown than die pursuing a blue |
|
||
| TARGET_BONDING · blue #848f | 16 | No. I have better odds with the orange |
|
||
| ENTER_THRESHING · orange | 13 | Approach with confidence |
|
||
| ENTER_THRESHING · orange | 13 | Duck behind a boulder |
|
||
| TARGET_BONDING · blue #4118 | 13 | Halt your approach and lower your eyes |
|
||
| TARGET_BONDING · blue #4118 | 13 | Keep moving forward with your eyes lowered |
|
||
| TARGET_BONDING · blue #afc4 | 10 | Intervene and help |
|
||
| TARGET_BONDING · blue #ea99 | 6 | Lower your eyes for the cadet’s dignity |
|
||
| TARGET_BONDING · blue #ea99 | 6 | Show your honor by helping the cadet |
|
||
| TARGET_BONDING · blue #f8b8 | 3 | I seek revenge |
|
||
| TARGET_BONDING · blue #f8b8 | 3 | You already know |
|
||
| TARGET_BONDING · blue #f8b8 | 3 | I want to defend the helpless |
|
||
| TARGET_BONDING · blue #b98a | 3 | Stand strong, waiting for an invitation |
|
||
| TARGET_BONDING · blue #b98a | 3 | Seize the opportunity to mount |
|
||
| TARGET_BONDING · blue #959e | 3 | Hold steady, fear will get you killed |
|
||
| TARGET_BONDING · blue #5dda | 3 | Speak first, claiming the dragon as yours |
|
||
| TARGET_BONDING · blue #5dda | 3 | Do nothing. It’s worked so far |
|
||
| Let the Red pass: two Greens in the clearing | 2 | Lower your eyes and turn your body toward the right |
|
||
| FORK_IN_FOREST · red #f0fc | 1 | Continue your approach. You’re certain this is your path |
|
||
| FORK_IN_FOREST · green #f0fb | 1 | Take a single step back. Getting speared won’t get you bonded |
|
||
| FORK_IN_FOREST · green #b7e1 | 1 | Your lack of flaws is a flaw itself |
|
||
| FORK_IN_FOREST · green #b7e1 | 1 | Your struggle with your temper |
|
||
| FORK_IN_FOREST · green #b7e1 | 1 | You’re pretty certain you’re always right… even when you’re wrong |
|
||
| FORK_IN_FOREST · green #9dc9 | 1 | Glance over at the dragon on the right, keeping situational awareness |
|
||
| FORK_IN_FOREST · brown #78af | 1 | You’re sure. The heart doesn’t lie, and it’s set on that brown |
|