manabot 0.2.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (279) hide show
  1. .manabot-source.json +239 -0
  2. academy/README.md +269 -0
  3. academy/__init__.py +1 -0
  4. academy/advice.py +1094 -0
  5. academy/advice_identity.py +122 -0
  6. academy/attempts.py +571 -0
  7. academy/authored_match_parity.py +826 -0
  8. academy/authored_match_receipt.py +424 -0
  9. academy/bot_decision.py +30 -0
  10. academy/curated_pack.py +412 -0
  11. academy/deck_import.py +28 -0
  12. academy/fixtures/choice-navigation-w17.json +8000 -0
  13. academy/fixtures/learn-demo-w17.json +1509 -0
  14. academy/fixtures/precision-demo-w17.json +1573 -0
  15. academy/fixtures/precision-mana-demo-w17.json +1738 -0
  16. academy/fixtures/trigger-order-w17.json +21 -0
  17. academy/learn_lesson_evidence.py +233 -0
  18. academy/opponent.py +198 -0
  19. academy/play_demo.py +77 -0
  20. academy/presentation.py +351 -0
  21. academy/public_commitment_parity.py +693 -0
  22. academy/replay_index.py +782 -0
  23. academy/semantic_boundary.py +40 -0
  24. academy/server.py +3580 -0
  25. academy/shared_table_protocol.py +372 -0
  26. academy/study_branch.py +304 -0
  27. academy/study_protocol.py +481 -0
  28. academy/study_runtime.py +190 -0
  29. academy/trace.py +328 -0
  30. academy/ui/src/lib/packs/elemental-world/v2/manifest.json +2467 -0
  31. academy/ui/src/lib/packs/tla-gw-allies-jeong-vs-ur-lessons/v2/manifest.json +765 -0
  32. academy/ui/src/lib/packs/tla-ur-lessons-vs-gw-allies/v2/NOTICE.md +16 -0
  33. academy/ui/src/lib/packs/tla-ur-lessons-vs-gw-allies/v2/manifest.json +248 -0
  34. academy/villain.py +185 -0
  35. academy/watch.py +306 -0
  36. content/semantic/README.md +77 -0
  37. content/semantic/current/learning_schema.json +41 -0
  38. content/semantic/current/setups.json +3145 -0
  39. docs/experiment-metrics.md +395 -0
  40. manabot/README.md +630 -0
  41. manabot/RESEARCH.md +341 -0
  42. manabot/__init__.py +1 -0
  43. manabot/_process.py +160 -0
  44. manabot/belief/__init__.py +43 -0
  45. manabot/belief/agent.py +222 -0
  46. manabot/belief/audit.py +417 -0
  47. manabot/belief/checkpoint.py +53 -0
  48. manabot/belief/demo.py +218 -0
  49. manabot/belief/encoding.py +381 -0
  50. manabot/belief/likelihood.py +236 -0
  51. manabot/belief/player.py +282 -0
  52. manabot/belief/population.py +865 -0
  53. manabot/belief/range.py +382 -0
  54. manabot/belief/runtime.py +189 -0
  55. manabot/belief/sampling.py +283 -0
  56. manabot/belief/sampling_cohort.py +501 -0
  57. manabot/belief/sampling_data.py +393 -0
  58. manabot/belief/sampling_fit.py +387 -0
  59. manabot/belief/state.py +336 -0
  60. manabot/belief/tracker.py +416 -0
  61. manabot/cli.py +338 -0
  62. manabot/config/__init__.py +1 -0
  63. manabot/config/load.py +112 -0
  64. manabot/config/presets.py +24 -0
  65. manabot/data.py +330 -0
  66. manabot/env/__init__.py +5 -0
  67. manabot/env/card_capture.py +137 -0
  68. manabot/env/env.py +276 -0
  69. manabot/env/failures.py +889 -0
  70. manabot/env/match.py +219 -0
  71. manabot/env/observation.py +1143 -0
  72. manabot/env/opponents.py +21 -0
  73. manabot/env/replay.py +223 -0
  74. manabot/env/shared_effects.py +113 -0
  75. manabot/env/target_practice.py +134 -0
  76. manabot/env/vector_env.py +361 -0
  77. manabot/eval/__init__.py +1 -0
  78. manabot/eval/admission.py +124 -0
  79. manabot/eval/arena_log.py +229 -0
  80. manabot/eval/benchmark.py +277 -0
  81. manabot/eval/card_evaluation.py +386 -0
  82. manabot/eval/card_metrics.py +184 -0
  83. manabot/eval/card_page.py +356 -0
  84. manabot/eval/card_query.py +892 -0
  85. manabot/eval/card_schedule.py +103 -0
  86. manabot/eval/cards.py +182 -0
  87. manabot/eval/duel.py +315 -0
  88. manabot/eval/endpoint.py +117 -0
  89. manabot/eval/evaluate.py +456 -0
  90. manabot/eval/evaluation.py +478 -0
  91. manabot/eval/execution.py +78 -0
  92. manabot/eval/local.py +322 -0
  93. manabot/eval/match.py +530 -0
  94. manabot/eval/models.py +141 -0
  95. manabot/eval/monitor.py +197 -0
  96. manabot/eval/rating.py +199 -0
  97. manabot/eval/results.py +83 -0
  98. manabot/eval/serving_benchmark.py +481 -0
  99. manabot/experiment/__init__.py +1 -0
  100. manabot/experiment/attack_execution.py +317 -0
  101. manabot/experiment/attacks.py +108 -0
  102. manabot/experiment/checkpoint_evaluation.py +265 -0
  103. manabot/experiment/config.py +522 -0
  104. manabot/experiment/evaluation_queue.py +520 -0
  105. manabot/experiment/execution.py +261 -0
  106. manabot/experiment/job.py +449 -0
  107. manabot/experiment/monitor_worker.py +225 -0
  108. manabot/experiment/numerics.py +147 -0
  109. manabot/experiment/runner.py +480 -0
  110. manabot/experiment/study.py +1033 -0
  111. manabot/infra/__init__.py +5 -0
  112. manabot/infra/artifacts.py +205 -0
  113. manabot/infra/config.py +371 -0
  114. manabot/infra/files.py +31 -0
  115. manabot/infra/host.py +124 -0
  116. manabot/infra/identity.py +33 -0
  117. manabot/infra/log.py +29 -0
  118. manabot/infra/profiler.py +288 -0
  119. manabot/infra/provenance.py +161 -0
  120. manabot/infra/runtime.py +158 -0
  121. manabot/infra/source.py +128 -0
  122. manabot/infra/torch.py +21 -0
  123. manabot/llm/__init__.py +1 -0
  124. manabot/llm/__main__.py +40 -0
  125. manabot/llm/budget.py +204 -0
  126. manabot/llm/cache.py +121 -0
  127. manabot/llm/openrouter.py +566 -0
  128. manabot/llm/runner.py +80 -0
  129. manabot/llm/schema.py +218 -0
  130. manabot/llm/selection.py +244 -0
  131. manabot/llm/session.py +182 -0
  132. manabot/llm/tokenization.py +141 -0
  133. manabot/llm/transformers_runtime.py +163 -0
  134. manabot/llm/vllm_runtime.py +181 -0
  135. manabot/llm/vllm_server.py +229 -0
  136. manabot/managym/__init__.py +31 -0
  137. manabot/managym/__init__.pyi +1 -0
  138. manabot/model/__init__.py +4 -0
  139. manabot/model/actor_critic.py +955 -0
  140. manabot/model/agent.md +193 -0
  141. manabot/model/architecture.py +111 -0
  142. manabot/model/catalog.py +395 -0
  143. manabot/model/checkpoint.py +211 -0
  144. manabot/model/continuation.py +99 -0
  145. manabot/model/facts.py +277 -0
  146. manabot/model/inference.py +202 -0
  147. manabot/model/name_candidates.py +99 -0
  148. manabot/model/numerics.py +26 -0
  149. manabot/model/policy_distribution.py +188 -0
  150. manabot/model/recent_events.py +101 -0
  151. manabot/model/records.py +90 -0
  152. manabot/model/semantic_cards.py +421 -0
  153. manabot/model/shared_effects.py +199 -0
  154. manabot/model/training.md +102 -0
  155. manabot/model/world.py +306 -0
  156. manabot/recipes/__init__.py +1 -0
  157. manabot/recipes/baseline.py +216 -0
  158. manabot/recipes/belief.py +374 -0
  159. manabot/recipes/builders.py +351 -0
  160. manabot/recipes/device.py +14 -0
  161. manabot/recipes/local.py +70 -0
  162. manabot/reports/__init__.py +1 -0
  163. manabot/reports/analysis.py +456 -0
  164. manabot/reports/belief.py +330 -0
  165. manabot/reports/evaluation.py +449 -0
  166. manabot/reports/experiment.py +983 -0
  167. manabot/reports/inference.py +1343 -0
  168. manabot/reports/learning.py +549 -0
  169. manabot/reports/notebook.py +117 -0
  170. manabot/reports/records.py +46 -0
  171. manabot/reports/regime_study.ipynb +173 -0
  172. manabot/reports/selection.py +290 -0
  173. manabot/reports/self_play.py +152 -0
  174. manabot/reports/snapshot.py +102 -0
  175. manabot/reports/study.py +232 -0
  176. manabot/reports/time_cohort.html +39 -0
  177. manabot/reports/time_cohort.js +224 -0
  178. manabot/reports/time_cohort.py +387 -0
  179. manabot/reports/time_profile.py +400 -0
  180. manabot/reports/time_sources.py +412 -0
  181. manabot/reports/training.py +394 -0
  182. manabot/semantic/__init__.py +1 -0
  183. manabot/semantic/decision_contract.py +86 -0
  184. manabot/semantic/learning.py +797 -0
  185. manabot/semantic/policy_catalog.py +39 -0
  186. manabot/semantic/text_observation.py +1230 -0
  187. manabot/sim/__init__.py +4 -0
  188. manabot/sim/action/__init__.py +3 -0
  189. manabot/sim/action/benchmark.py +757 -0
  190. manabot/sim/action/structured.py +272 -0
  191. manabot/sim/anchors.py +65 -0
  192. manabot/sim/card_evidence.py +166 -0
  193. manabot/sim/child.py +93 -0
  194. manabot/sim/execution.py +106 -0
  195. manabot/sim/frames.py +106 -0
  196. manabot/sim/guidance.py +206 -0
  197. manabot/sim/heuristic.py +1241 -0
  198. manabot/sim/match.py +39 -0
  199. manabot/sim/matchup.py +99 -0
  200. manabot/sim/native_game.py +421 -0
  201. manabot/sim/performance.py +219 -0
  202. manabot/sim/player.py +101 -0
  203. manabot/sim/players.py +66 -0
  204. manabot/sim/registration.py +369 -0
  205. manabot/sim/replay.py +446 -0
  206. manabot/sim/rollout.py +366 -0
  207. manabot/sim/search/__init__.py +4 -0
  208. manabot/sim/search/branch.py +249 -0
  209. manabot/sim/search/conditional.py +961 -0
  210. manabot/sim/search/flat.py +71 -0
  211. manabot/sim/search/flat_mc.py +664 -0
  212. manabot/sim/search/local_update.py +940 -0
  213. manabot/sim/search/puct.py +663 -0
  214. manabot/sim/search/rollout.py +82 -0
  215. manabot/sim/search/rollout_receipt.py +26 -0
  216. manabot/sim/search/runtime.py +225 -0
  217. manabot/sim/search/sampling.py +197 -0
  218. manabot/sim/search/value.py +270 -0
  219. manabot/sim/serving.py +533 -0
  220. manabot/sim/serving_protocol.py +417 -0
  221. manabot/sim/sim.py +727 -0
  222. manabot/sim/supervision.py +270 -0
  223. manabot/sim/threads.py +171 -0
  224. manabot/training/__init__.py +6 -0
  225. manabot/training/clock.py +88 -0
  226. manabot/training/decks.py +99 -0
  227. manabot/training/execution.py +1769 -0
  228. manabot/training/learning/__init__.py +1 -0
  229. manabot/training/learning/damped_policy.py +445 -0
  230. manabot/training/learning/health.py +250 -0
  231. manabot/training/learning/learner.py +67 -0
  232. manabot/training/learning/objectives.py +278 -0
  233. manabot/training/learning/references.py +22 -0
  234. manabot/training/learning/returns.py +66 -0
  235. manabot/training/learning/selection.py +233 -0
  236. manabot/training/outcome_tables.py +80 -0
  237. manabot/training/panels.py +76 -0
  238. manabot/training/precision.py +41 -0
  239. manabot/training/records.py +263 -0
  240. manabot/training/regime.py +896 -0
  241. manabot/training/rollout/__init__.py +1 -0
  242. manabot/training/rollout/actions.py +208 -0
  243. manabot/training/rollout/adaptive.py +347 -0
  244. manabot/training/rollout/collection.py +1574 -0
  245. manabot/training/rollout/matchups.py +72 -0
  246. manabot/training/rollout/producers.py +272 -0
  247. manabot/training/rollout/selection_data.py +229 -0
  248. manabot/training/rollout/self_play.py +63 -0
  249. manabot/training/state/__init__.py +1 -0
  250. manabot/training/state/admission.py +185 -0
  251. manabot/training/state/game_errors.py +355 -0
  252. manabot/training/state/incidents.py +210 -0
  253. manabot/training/state/learning_state.py +340 -0
  254. manabot/training/state/recovery.py +236 -0
  255. manabot/training/update_metrics.py +255 -0
  256. manabot/verify/__init__.py +1 -0
  257. manabot/verify/action_cases.py +401 -0
  258. manabot/verify/checkpoint_scenarios.py +349 -0
  259. manabot/verify/choice_corpus.py +356 -0
  260. manabot/verify/competency.py +757 -0
  261. manabot/verify/decision_profile.py +532 -0
  262. manabot/verify/games.py +63 -0
  263. manabot/verify/learning_regression.py +547 -0
  264. manabot/verify/llm_game.py +566 -0
  265. manabot/verify/llm_opponent.py +63 -0
  266. manabot/verify/record_coverage.py +197 -0
  267. manabot/verify/representation.py +202 -0
  268. manabot/verify/scenario_validation.py +350 -0
  269. manabot/verify/scenarios.py +596 -0
  270. manabot/verify/store.py +261 -0
  271. manabot/verify/text_observation.py +336 -0
  272. manabot/verify/trigger_order.py +62 -0
  273. manabot/verify/util.py +120 -0
  274. manabot-0.2.2.dist-info/METADATA +519 -0
  275. manabot-0.2.2.dist-info/RECORD +279 -0
  276. manabot-0.2.2.dist-info/WHEEL +4 -0
  277. manabot-0.2.2.dist-info/entry_points.txt +2 -0
  278. manabot-0.2.2.dist-info/licenses/LICENSE +21 -0
  279. protocol/experience-v1.schema.json +2566 -0
.manabot-source.json ADDED
@@ -0,0 +1,239 @@
1
+ {
2
+ "commit": "92560a1e04ebcafcb9f820cdfb4cc3e9cef84987",
3
+ "files": {
4
+ "manabot/__init__.py": "2a1362f4bca3ffc1182448c834504497dc36cc032585a4f9b6c57eaa22226f00",
5
+ "manabot/_process.py": "1422e44a3dcdbf636dc86d99b455f9ebe86feefd1109251c7e320cdcb29daf31",
6
+ "manabot/belief/__init__.py": "56bb25fc1f8dfb22b661b30b662ef675b11db46e0528d1c01bf1990fb0a36b7c",
7
+ "manabot/belief/agent.py": "0566aa3200dfe1bf4a48ece6949c9fb918be1e35b43e606ca08ac6b4f0a56add",
8
+ "manabot/belief/audit.py": "fd8ed7a7322249baf9dfafbb736c19e0b3c39155b508ee7b70afd2ef8d785a12",
9
+ "manabot/belief/checkpoint.py": "59c16ec469befc6fab8a0a9c3da7ed9ce1dfb750b0933d9a71942d40bec9626c",
10
+ "manabot/belief/demo.py": "d17bd2b4c311261a30d4894ac40ca9821229a04d8987ac98987211c29e4b5d92",
11
+ "manabot/belief/encoding.py": "afaf70df5577fb6bf4e898f087375f9e8da6401e78b5ffdb49695a39148af6b7",
12
+ "manabot/belief/likelihood.py": "e96428e7cebd34b58e1249a296b5cc199de830a45906bc082a16909aeb56b85e",
13
+ "manabot/belief/player.py": "8972b2a1ee6dfa1bf6b9665eaade5a01953fe8acf30fa1fcf007aa2878331f01",
14
+ "manabot/belief/population.py": "d8487922682a219d00e135ae24663c05a4bede1359c92108fa88927ea26903fa",
15
+ "manabot/belief/range.py": "c89f68dcde370891c9fccf2c3e14fb120fd29b02411976145e539e88fd28fd8e",
16
+ "manabot/belief/runtime.py": "b9711a8da5cdac96c72ae2c947641c2bcc6b990931dd22dc17d075c4e526f63f",
17
+ "manabot/belief/sampling.py": "b2f9977350d23e2062bdbc192183d1128acc2d4979fc27c19aade99b021957df",
18
+ "manabot/belief/sampling_cohort.py": "f7c1ade69313382fcf032a95ee48c4cfa0dff1bf3de3d9b79e3a8386b1d1ca07",
19
+ "manabot/belief/sampling_data.py": "bd322df7e3a8025c04d5a4e075f373f4ecc02acc3b9374deac0ffec7e1770682",
20
+ "manabot/belief/sampling_fit.py": "be3ed0613711e88443c8263069df14e71f17915fe1dd2841db3ffe92920eae01",
21
+ "manabot/belief/state.py": "63beb2a29dc91e4c56eadf82aee3d8ef96c0291fc956dc5228839d67e6bb7621",
22
+ "manabot/belief/tracker.py": "fe7079e161c2f65c715a53552864dbe888a144c4432402f42c033b7d31580c5d",
23
+ "manabot/cli.py": "db12261f3d7568956c80af27e55a2f302647e3b5d7e15b1350a161a3a8286add",
24
+ "manabot/config/__init__.py": "59d7c1eba949aa31a450c48efb7384f9bcdacbda82df8b9a8b1b340a0fbd9e9c",
25
+ "manabot/config/load.py": "8a1e9d4efb6e1715593a79640b730ce842c817eab9a64e10de4a8d961ea6e0c9",
26
+ "manabot/config/presets.py": "18fac8e1e3df5c31772a2560140fd3e56c77854ae06b0771025efbac05309fad",
27
+ "manabot/data.py": "2169e2a2ce621c7248123eb1b1e30fc6601031275c6e559e079823516c6cc45c",
28
+ "manabot/env/__init__.py": "efa717a07fc5754a1cb66c7c377843f4c76135c420293c876a466c2f2a41085f",
29
+ "manabot/env/card_capture.py": "2a85423f40618b9cd60d2e49844544dbe3631ab43e876b4b47e7bb48eade5dd1",
30
+ "manabot/env/env.py": "556c7c6baf944bfcbbf4966b34f7f2dfeebb9b351c8c51e1883c15838eeada3a",
31
+ "manabot/env/failures.py": "acbb39b07f8b0587d28ef583b65d6e250f29e17e1bcb4b9cfd38beac2bedf4de",
32
+ "manabot/env/match.py": "babc2002a1f6d0411bf02aff80afe5089d65a31f0db9de112447cda46fefdbc2",
33
+ "manabot/env/observation.py": "a5cb452831f90b786279adba6454d0f47e793328cb7422f66a5ae0a6fd264f43",
34
+ "manabot/env/opponents.py": "3dae0a5f2ef30d0814b4257f10859c1d7d1d54455eb181b91518a05e1610cf48",
35
+ "manabot/env/replay.py": "ea51fc8b3a7ef0079ce6ba35830aea4cd49aa2dcb8054ec0f10b9802967567cc",
36
+ "manabot/env/shared_effects.py": "380300bec445a5f37f9ddbfa47ccf1c6363cbf2a049d60758a2f6a7ba648f966",
37
+ "manabot/env/target_practice.py": "5ce7714ad9e91b6ad1cca7bed9c0d570c5644ea428d9beb68f6b3adfcdcb0697",
38
+ "manabot/env/vector_env.py": "ac5f13a1379fe942106bd524907ab7dde5dbfd8df6fa6c4d60bb173ddd95e194",
39
+ "manabot/eval/__init__.py": "f57cac6fb36d2621264bde2fea9f7d7e9e9a37f25a30f6e0b58e0a3998960a27",
40
+ "manabot/eval/admission.py": "9248a9e976e45e2dc5810849a53dcc5ec1a42c01cb9271b0a4623781e5b38dde",
41
+ "manabot/eval/arena_log.py": "cb08bf9da4e03ea4aa8e0db8acaf5b1d9dcabbf939b8783fee39ddcea14c1a0e",
42
+ "manabot/eval/benchmark.py": "082f81b953dbeb09be913c1e1a07a431e7ae337d525a1bfdd6c2bfdc66d66a21",
43
+ "manabot/eval/card_evaluation.py": "01e6af62aedb08d9322c450eb017d1e01b5017036816ae5a204381f8ddd14040",
44
+ "manabot/eval/card_metrics.py": "47ed7ee32aabacfb13ba8a0dc0a64b767bc3d2cfb8571580900ea57b059bd5e4",
45
+ "manabot/eval/card_page.py": "8b03d870e8ab3bf3598aa39f510a406b6c0b308a092996dc97d94aa8abbbf575",
46
+ "manabot/eval/card_query.py": "cd42e361cfe776fda4755646c54d1448ffd0ccee6675935e6af29fd82aca9e88",
47
+ "manabot/eval/card_schedule.py": "3e6ae3ffc011be5b9ccde6505accebee68c4e44f8f701383a782c2b5dd1d00ee",
48
+ "manabot/eval/cards.py": "1e2b8a7521db4cf0418dfbde18de5dc259aa9991a6be44f6d746d7719801f05d",
49
+ "manabot/eval/duel.py": "e07bddfcae36bba93b56465ded2302cc71b03b444b96782e317204f296fc8af2",
50
+ "manabot/eval/endpoint.py": "af7f7c84069c86eeca48ed7e4130044103fa29ee4f7d4592105c23e1772598bc",
51
+ "manabot/eval/evaluate.py": "8b8e2c065374bf60759b7864c26644b677fa12ef58a23a15c012ab45dc5a2e41",
52
+ "manabot/eval/evaluation.py": "214a3640ab396d6f9260b8dfbd6cc160442b3af51ede6d785fcc1d14d937a2b9",
53
+ "manabot/eval/execution.py": "5b9f8519fc3398d9d96b0f647c69f6140cc9998b7b6db65b4f8013ec46feb6eb",
54
+ "manabot/eval/local.py": "7ad27e158960a7f9978ef3ef5b4f0f74584af50cd8e3deb467a5ae8cb1e77149",
55
+ "manabot/eval/match.py": "97deb94af01b99a740b32c8a05e0410da367754e5604b7e2b214148940ec8785",
56
+ "manabot/eval/models.py": "0076d77a89f103e756135b998d91acc35d06646b31c1125bfc1592ecbb95d4b7",
57
+ "manabot/eval/monitor.py": "92ecb0f00dc412434672de58dda4ff7b08a5834db51a22cda443c359ecc9db2f",
58
+ "manabot/eval/rating.py": "9a9c3caf780cc835231868246f2bc298e19d2585c514ce2767e25cbee94fa7e5",
59
+ "manabot/eval/results.py": "49f7e07afccc51f10ef12ab1537e7f7b550768581fbd4d6c591ede470c532c4f",
60
+ "manabot/eval/serving_benchmark.py": "da9c6857757bd38e6d61d5de1fc4865a880e672332a6c6a16bce61bf3375eb0a",
61
+ "manabot/experiment/__init__.py": "f5202532700eabe23bf123b06a1b45df1515c8d5a01b4c9674217a22a4ec90f0",
62
+ "manabot/experiment/attack_execution.py": "4b72bc8b1de5d3775eac970dbf391b1dd68fa28f280c2816702df61f8e3e3b6e",
63
+ "manabot/experiment/attacks.py": "3d2a97cf50259a0840bce62fcb515b08473180c5b3492649c319763629c2b646",
64
+ "manabot/experiment/checkpoint_evaluation.py": "2218ebd30c7051b7403f1319ffd66dc64ec62e7869b12c0389b66884ad5e6e02",
65
+ "manabot/experiment/config.py": "33c43ed7d2549cc211d2e032c458d8af16944792ad0fc4eada9148021f522c34",
66
+ "manabot/experiment/evaluation_queue.py": "9a70fa3cfcf4ec98eeec0ce80729fadc4ed43c0908a5d6ff4b4b209fbc6a48cd",
67
+ "manabot/experiment/execution.py": "3a9591c59acaf04021d85ab84386674a93e26c2ae060f818a69a27cb8a7ecbea",
68
+ "manabot/experiment/job.py": "1d17ca400ac264aac466b722e8453a52019378af001ddb918ebee6a7600d4f16",
69
+ "manabot/experiment/monitor_worker.py": "63f58e97c13e29502fdf803965d6fad695601dd454f7d017113e325229933489",
70
+ "manabot/experiment/numerics.py": "9756ef36f5760b3dcf3925e197a47d6a453042c1be17fb4f7b7509a7b596e0c3",
71
+ "manabot/experiment/runner.py": "fea18115d08e7045691b5f8f2c90be6af052f78819296f9f654dc795f12e688f",
72
+ "manabot/experiment/study.py": "1f9835f94dd580dcd4a7d7af61051ea5d8bba212ffabb9adf36dcdfa86cf85f5",
73
+ "manabot/infra/__init__.py": "eafa1c02a1566d5c80be0728f9d460b1f59629782171dee64241dfedf62c8fa2",
74
+ "manabot/infra/artifacts.py": "0c7d43afe63cc3a4e9cc7361c8b096c985237ea444caccc36320e63cc1cf61a3",
75
+ "manabot/infra/config.py": "1031ba72ed715e471aad9ad6ac2ed4e2f38fbba0645a544c184209bf0ca250f5",
76
+ "manabot/infra/files.py": "06a3cb0951054050b25cf51669798fd375ab5cc0253119e4d6afc90380bcb7de",
77
+ "manabot/infra/host.py": "7cd0dbbd180ba3259e4326f12dace662514da003e8b3c2c678fab872e88a208b",
78
+ "manabot/infra/identity.py": "057562ea592425316e6745a5e7c26fce2c46f1c821bea924fe80e095c83a65a4",
79
+ "manabot/infra/log.py": "9af21632ab27e8e975751f7525529e0fd28c1b310f186f89f00496bbd124490e",
80
+ "manabot/infra/profiler.py": "9254a46b77f58bf6df7beb07fc62255d7b7546d8d3c79b55e4756d98abe946b2",
81
+ "manabot/infra/provenance.py": "cc158a014935a5030f3fdf53dafeb15118ea1233f1984753fd5403acbb35160c",
82
+ "manabot/infra/runtime.py": "b44fb01089638277ed451493bcb61399689f8fcc12f8b3a939b67e6dbf225fab",
83
+ "manabot/infra/source.py": "a6ae7f9a90ea4b99929d1480f88e15b55eaa23c9fb396b1d5f5c589515615e36",
84
+ "manabot/infra/torch.py": "651f040ae53be23cc0bad71412b8f932ad30056b2395d7fdc02b53206fe575f4",
85
+ "manabot/llm/__init__.py": "a8c8c3be63677d8c17aedbde68eab9be7b08d22c4eabd08e823078bfa50e4ae8",
86
+ "manabot/llm/__main__.py": "f8ca4f463605d67b8017fcf38e9ca1e81e6be6acf8fc043cd516357ab8b15994",
87
+ "manabot/llm/budget.py": "476e2eed79819ebf456fdffaf6668ddfdf98c0ca084859cbe36b4f1dca13de62",
88
+ "manabot/llm/cache.py": "a7ae89a31601ed3df237ddf70029818f6b01744b17505f738733f258e71bef65",
89
+ "manabot/llm/openrouter.py": "f89e336f427842c7909c29a7203712be29d7f572a04e831091761c56680dd2f8",
90
+ "manabot/llm/runner.py": "fd0376c41d14293b515f70c0526c61a2767cf71b8ae9711b1ba02aaa63e7e038",
91
+ "manabot/llm/schema.py": "d8f10f98ce61449af7b59d04538510dfa89a50aedd706f3d8622c05b9c2facdd",
92
+ "manabot/llm/selection.py": "0d5942bdf56f3a8b6b067bda59a0d99bd2233e2357691d52766ee3e6b64b0bb1",
93
+ "manabot/llm/session.py": "302a565ec08d953825c3b1aa586cc219d528246246756e4c92a83505188a0f09",
94
+ "manabot/llm/tokenization.py": "138aa4dd08451070097d4cd265033c90bfd6e94a8c1592b247c4446156741e8d",
95
+ "manabot/llm/transformers_runtime.py": "23b57260e4fc6140409aee67017c4b2d217dc93691c833427b2a0264003c9d45",
96
+ "manabot/llm/vllm_runtime.py": "90e1cf357cd2714eb4cf02badb325fa6007e3267db1917a56fbf958f0faa1ad8",
97
+ "manabot/llm/vllm_server.py": "b567f056260c2d633fa9db4d5440339653c337f938eebcd595e0c59222ce378f",
98
+ "manabot/managym/__init__.py": "6badefc9811bb7f9b9d01afaa670937e8f788fce299ee48fd825d60c92c30c89",
99
+ "manabot/model/__init__.py": "f3df5a85026def3d28d8a8bc9927866d705c7bccc74cf59d8ac608eb44d4cdba",
100
+ "manabot/model/actor_critic.py": "02ffb4658a8e6f958af61a695f83d6f49831ee12f0669c31dd8c15e9f55ddbe5",
101
+ "manabot/model/architecture.py": "e28c7ba2a833cf3603f5064c403b4f61780018f568ebedcad69b19e7e0d8d760",
102
+ "manabot/model/catalog.py": "fc097bb445f15711db9f3bc8120b89be106979bdb38b4d5811dafd7912147df3",
103
+ "manabot/model/checkpoint.py": "9dcb888179acc67cdb372f69c7edf0ba32eac22748d95f25af5c510a28f4cd85",
104
+ "manabot/model/continuation.py": "cb028b3f50afeb1e477ca180b20daa93ba0a834713d4b6a65150ab9768f1efd3",
105
+ "manabot/model/facts.py": "3d344d4f2390cfc48d3dc2939203c02b7baac1457ede01bfe08ccebfe391a2a1",
106
+ "manabot/model/inference.py": "e5a185f5d997459d32f9fea098387d271526d2f6bee316e262bb8d1fa631d258",
107
+ "manabot/model/name_candidates.py": "43539547811054050f3b83b9ecd1a57d69f6341fe51d5f9cfe2bd52df8d86215",
108
+ "manabot/model/numerics.py": "310a23ec0ea89b5e84fbceb51848953baf3af8c59aca87859d03271e47be2d5d",
109
+ "manabot/model/policy_distribution.py": "c126a6437d999e9ac8447c4bd9be0d78435672d21a82188775ba85cb35562e35",
110
+ "manabot/model/recent_events.py": "c96324ad139f9b7231e2098b5de3cf5e7d9b1db57bd6af5132e146d98eaef3dd",
111
+ "manabot/model/records.py": "8ce37a531d0833ea64420238e4d3b8540d63a23dbccb4a4be5f3c78272cf41f2",
112
+ "manabot/model/semantic_cards.py": "b43dce7348c0d3a372f33decbaa3f45754b4c42fddcbb0e7914c4b375f939a6a",
113
+ "manabot/model/shared_effects.py": "a002879e27e78b0bfdd4aa5b964f981e3ef045bf6fbb8e95dec69dfd5bea7314",
114
+ "manabot/model/world.py": "f3aa6bf079eaaac91a1f46b421caba370e0befa21fdea3c56baf1ece1e950465",
115
+ "manabot/recipes/__init__.py": "de2cb3ab701e97891750233a54200d0a5e8b91ce45b92b811a3564eabe8407fc",
116
+ "manabot/recipes/baseline.py": "d7bbe99d173cb6dabb23e6a3a8b389e0b5b7b5706ec062abf6fe02c8d7fc4e63",
117
+ "manabot/recipes/belief.py": "b538c5e7a6f8ab3d08264c5461b21de8ca4311c0e8d2b49ea7c9f9a912ca38b5",
118
+ "manabot/recipes/builders.py": "04ab5e804c02f36573f90b0e31a72f3c34fd9239c4a6137c8779a0ea32ff4cea",
119
+ "manabot/recipes/device.py": "37922527bdc90d15e1a4d8c1bb2f530eccda12b1cdea3bbe63ba182d4b433dae",
120
+ "manabot/recipes/local.py": "c01b802720e26cfb428679f84fe8ba432e6f4dd64dafc5f2516cb1a7e5534776",
121
+ "manabot/reports/__init__.py": "0b3c985f97be7ad4eb3880763f90e1fea88997e3f8e99e118bbbb09df759248b",
122
+ "manabot/reports/analysis.py": "22d484e01387a884605f1e0b907790c9f70fa56461376601a178fb8753fa2ebe",
123
+ "manabot/reports/belief.py": "42261850d9bc195772272c116ea847c6b968ec57d31691a7b6fe3b891a7aaba0",
124
+ "manabot/reports/evaluation.py": "5bbda4d6dafafab669014f49a605c1cce763d1314d523b193cd726331f2e13f0",
125
+ "manabot/reports/experiment.py": "e28f0519bb45e2c85cdf159c93ef3a1eef4a632f37b8f06c513f0a2ce2b70034",
126
+ "manabot/reports/inference.py": "7cf2770833ec2f670bf8194c29d297532253506741c6e97c2e831a355603bf59",
127
+ "manabot/reports/learning.py": "5504b422f8a65e659c7528d6985141f32df6addae958c7f6e7d022d82ea204f0",
128
+ "manabot/reports/notebook.py": "7048818799eba39b309d182ebefa4d9a6c1e714d8b77e663491e3c82a02ca559",
129
+ "manabot/reports/records.py": "1be4f22db3201ec375912db1511968e1024adde6f672d306424afd33c3fa6b92",
130
+ "manabot/reports/selection.py": "afddc821e28ca9570bbf923956410c98230a993a589d3dc5029dc3e3aa779714",
131
+ "manabot/reports/self_play.py": "07ab527c3929fd872c494da89be6342ecddd6ce478784a0d2932114d87b7d089",
132
+ "manabot/reports/snapshot.py": "8a14c5eadc234151cab93d0e7a604dd1b2f64c46014869b4b8c8ee7351a336d7",
133
+ "manabot/reports/study.py": "f3b2ce1c1a070c729cb20582f806479d49b73e1e082ab7a73cbbfaa6e106789d",
134
+ "manabot/reports/time_cohort.py": "6dce0065804e8db3965b4343009ffa689a0971803bed077078e26bb58e729cc5",
135
+ "manabot/reports/time_profile.py": "9da35612f85041e12585c6a831dbf11f42d7f713e73a66659ff7366a2f27ce56",
136
+ "manabot/reports/time_sources.py": "535d421807ffabed9ceb5d2aa1dd79a59832fff213a91359ce305637ffc02b52",
137
+ "manabot/reports/training.py": "b22e9201a25725c2fc355bea5a54ddcc8c342c4b51f51ee52d8088f049dc4627",
138
+ "manabot/semantic/__init__.py": "b2963171a0ed6423c6204be2213f7e343a56939b0e730446d6601e7ddf6d7513",
139
+ "manabot/semantic/decision_contract.py": "f6a7a2eea4d0bd006de0152e65501d9ba5dbd6ef51b5255adbd2739b0276def8",
140
+ "manabot/semantic/learning.py": "c702e4884bf46eb324f89fb1d14bd337bb1e524878b805af3e3eda64751713e2",
141
+ "manabot/semantic/policy_catalog.py": "db4c2172029f68ab4a0dbc4acf09b7aab013d2c2d582bdf69f91be82f7a779ac",
142
+ "manabot/semantic/text_observation.py": "58cae5efdaee1c768ee8da2e5fc2eee242209ac4a4369b8c9987d0a769588afd",
143
+ "manabot/sim/__init__.py": "2b6904d610d94ae3bb2f010413d5a29c40aadf1aaaea572a9e95f84d5231b198",
144
+ "manabot/sim/action/__init__.py": "c8721bc486eb97344358a2c0e3257a66f97f7ce2b561d0a2779d07495c4cb04e",
145
+ "manabot/sim/action/benchmark.py": "bc9a22ca1b7d0f2fae793f3e61a535ced2e29c4d383266b06b6447206574f241",
146
+ "manabot/sim/action/structured.py": "1407afb72d95b901a9a80db913cf4788ef21cf9c65a1e9fadf6ac85f13b386be",
147
+ "manabot/sim/anchors.py": "1ec11e9daa28373acfb69e8716db51932d7cf8807e473d7655da68c0eec9da3a",
148
+ "manabot/sim/card_evidence.py": "7f9ba0580dd75667d5a03ea9d83c2e26956293b975cf8229317037a94ec79e8f",
149
+ "manabot/sim/child.py": "465e298170fc7be4eabea517f8bb3df0a57434bb594eaec215c94cdfa8554439",
150
+ "manabot/sim/execution.py": "cb866e624c0129f669a1f6214cf5b056f83c066ff14d1948c12d9eb024c3434d",
151
+ "manabot/sim/frames.py": "2e87cd22dddb6cf04a96225bc68fa46dc9d116e24fde6aafb2f74474a3560f67",
152
+ "manabot/sim/guidance.py": "310d1c2153443bb988ca6e2982f4c4644be2f46b8a25b4f2fb155f47184a5e70",
153
+ "manabot/sim/heuristic.py": "42546977adac2073981bb5830751f15d78fe42ec612c58ed90485c69841b864a",
154
+ "manabot/sim/match.py": "8df1dc4df3f3daff7b1aeb79a67bea325adbe3f0835426e44a4a125b2baab1fe",
155
+ "manabot/sim/matchup.py": "0c90173a831da79bf79ca30f9272e13c84ca8c4b60d08e52ff6d803265c30de8",
156
+ "manabot/sim/native_game.py": "6fb8aa3418064649db02021ad377664223f0a918bde855c68eb19428f254cc60",
157
+ "manabot/sim/performance.py": "3f4758c7dbea0318dd5b58136687b457ac3c46b90a024abe96da407d1339e976",
158
+ "manabot/sim/player.py": "7e85d61e28296d4036a5e631bf9b0353c0964d62b326d9aea2f17e4fa04babcb",
159
+ "manabot/sim/players.py": "d6315e634f8fc295591ac4aec029188b2555d916ebc43a37fe9fb14520cf8bf7",
160
+ "manabot/sim/registration.py": "d1553ac07391ede579f9866d774aa4d262bab6d3991f3aaba566eac72cbc3206",
161
+ "manabot/sim/replay.py": "0bbabef4c9860e0fb72e48246272643a6c93da0033fa3cdbc40f18900cb2d17d",
162
+ "manabot/sim/rollout.py": "a66eb99564ccd02b736d87d72e606f176368b05ca0241d8855e73688a36964f2",
163
+ "manabot/sim/search/__init__.py": "8da43cc3be5da312b7fc8741bb4306d3d9951f3c9de94576ccef99435b644c9e",
164
+ "manabot/sim/search/branch.py": "8068f9fc6c854287f8d8affd29094b9a4e879e00412218975627e6fe71205e3f",
165
+ "manabot/sim/search/conditional.py": "622e5731defafe98f7160f6fe576c54d9180d881838112bcf764e11420e5b294",
166
+ "manabot/sim/search/flat.py": "eaf084599280dc461c1728f1a22a711066aa9bef212bafe167cf085bd12c272d",
167
+ "manabot/sim/search/flat_mc.py": "314e3bd0f4b10c37ce6ca55214b3a60531f3c8e3ecb112ddabf2c8a3c2b8d959",
168
+ "manabot/sim/search/local_update.py": "68bc8a54e8c97a5cf406866f53207311be5e03bc8c5ef29b0cc116fb70cc6fe2",
169
+ "manabot/sim/search/puct.py": "ece17ac7cda4697a1eb8a09ceb4f5fd4f3ea069c361bcd00247ac643d531e9e5",
170
+ "manabot/sim/search/rollout.py": "3256475b37360653af2ecd3bf5b028e563efcd97e0d67112b392a98e59017791",
171
+ "manabot/sim/search/rollout_receipt.py": "f0685ab490fddb01762b8118951b8f0c8286473ee74439568451ab89e03ea907",
172
+ "manabot/sim/search/runtime.py": "1dff63fc2243ab24fabb96f2d07e9118383445d34c63f8e29269661b6802997b",
173
+ "manabot/sim/search/sampling.py": "e24ac8fa168427faad7844f817ef97b81cfe1600011fb9ffba9cf8cad00ec7e3",
174
+ "manabot/sim/search/value.py": "5a3c1055b88d0777f7082f30c3785ff0480b09987d031f19babf1cb9aa4e4db1",
175
+ "manabot/sim/serving.py": "9f1cc2310e432de660b6be9bb67fe1218aae6c968e5a2394a736795158b714e5",
176
+ "manabot/sim/serving_protocol.py": "36e5e5ceb2ed6be0abca845dff24f077fa10e6ff4ff97ba5015fcc2a4578faf8",
177
+ "manabot/sim/sim.py": "8f4f5bba761804b487ce273e2a765499d7c312907db42a390b577725f472c8f0",
178
+ "manabot/sim/supervision.py": "10ff7bddcf5f10b8a971eabe0076ac921308ea41dad5004125fb5695cf77094b",
179
+ "manabot/sim/threads.py": "ea53f7ce05c1dbd9f08a897b33aaad5707bb5c632a6ddd3856c1680993e2af20",
180
+ "manabot/training/__init__.py": "448f9e0e3e13f9f7ccaa4ae8a881c7c4cfd7c3f5c2b5822af44035e911478a10",
181
+ "manabot/training/clock.py": "1deac25c3005c119bd4413c8f5d58fe3152fda12b8585f39817bee8c45023d79",
182
+ "manabot/training/decks.py": "3f7b108be26284aa54c7d6cd190b1a7d9fbbda0f737970b479b0fbe648318a34",
183
+ "manabot/training/execution.py": "33db27164adb416d41179c7d8c208588e82d419ee78c3b661697ea4c07100978",
184
+ "manabot/training/learning/__init__.py": "5bc12a6b69dc285c57683559ba7d262c53535394928536524d5e7e44c245ea4c",
185
+ "manabot/training/learning/damped_policy.py": "8b6fb31ca6b5f72155fe65b820e2104bf0d7a1de02c3ba307b96069d18c3dc5a",
186
+ "manabot/training/learning/health.py": "99a1ccfa08e3817970d0b5e09c501904d874f7ca4240f7ac11d7da9cfe587be6",
187
+ "manabot/training/learning/learner.py": "94e51ba2361df8cc10229b5407f44909a18b6a14c3a5246e3fd9f50754751447",
188
+ "manabot/training/learning/objectives.py": "28d0c9fd05abe5cfa16902e7f88c3dd5567e653ebac0f907712809733e905c6c",
189
+ "manabot/training/learning/references.py": "c98a1f29478ed44c0df79cc666cd996766c3c796383b334c154e021731740a8c",
190
+ "manabot/training/learning/returns.py": "09bffcd131643a41604c22722f4dbdba4f42736775f9c3b2ca9a6812bfe32af0",
191
+ "manabot/training/learning/selection.py": "f2cef3ed02d7d41929f005f0b96ce927a92a44e4fcccd8b8c1497aa7844fc0f5",
192
+ "manabot/training/outcome_tables.py": "e4ff7cddec4fce617433558dc62d4e6c6ef1d896f741ba604f40b2c6cf040a6d",
193
+ "manabot/training/panels.py": "87056e3a3233f59b85d894aaead2f3e4adaa256ef17ec444cabf3bafd398a44a",
194
+ "manabot/training/precision.py": "d152bd6f81a9f1b45db9ea7b511afebced588a55282935901eacb23495c823c1",
195
+ "manabot/training/records.py": "a03d61fd5ce8f6304213de47f88f80354e4e15858e765a2204fc0a694ffda3ef",
196
+ "manabot/training/regime.py": "f70246a8e426410bb4903c19dc21d2110fe45faba914a0f26d8ce2f835464efb",
197
+ "manabot/training/rollout/__init__.py": "ade082d060e2bc9cd03c30e6568e6c67790d47960e4d59a5a8636504184a5f56",
198
+ "manabot/training/rollout/actions.py": "ba7af4167f64f034a46026b81accf80cf6539fdb1691245ffcdc0183a823f1d3",
199
+ "manabot/training/rollout/adaptive.py": "b291d061a0d5312d043be7505e7e24b8b29633e969cfff6636d796bbf2c39f24",
200
+ "manabot/training/rollout/collection.py": "285d7d20da976cb02b36b7d6f6ba2f1210dc75009532209a5403f51b81d617ed",
201
+ "manabot/training/rollout/matchups.py": "cdaa2db2fde2c5e7c86b147e7282413183482629731d9d4625198e24ad90d1fb",
202
+ "manabot/training/rollout/producers.py": "897b1568127bc6ccd2f71d25d79be5c3931572bcef3ba334aff7540381a6f610",
203
+ "manabot/training/rollout/selection_data.py": "5b7a3d9e70702a9c2ffa4d518f5460ea33a39aaab9b902b2e1ea5be4f1daf41d",
204
+ "manabot/training/rollout/self_play.py": "5793f1387e7b39e975dd0db7714ba7b9f9e2a2627b14ef35a9c8cc1cca539a43",
205
+ "manabot/training/state/__init__.py": "8f8b769fdf0755971bc5c8c01cca88f269b75c1ceb9e1cff9c5d4a6927b8f0d5",
206
+ "manabot/training/state/admission.py": "bb506ec59fe8e13ca850928b0839947d559bae47a13af8901f38cff5222e584d",
207
+ "manabot/training/state/game_errors.py": "5ae9d10b25fca3f510312f54a1f9396ab2760d023b1dccae812a1e23f00d6aea",
208
+ "manabot/training/state/incidents.py": "c48fbb10e46281e9c8bf122725d1aa4454abd425ed80c326964ee5bf158ca73b",
209
+ "manabot/training/state/learning_state.py": "c5045b24c4aeb60ceb09372e527a40f911ea844a5585b775d21f8fa7fb086b4f",
210
+ "manabot/training/state/recovery.py": "9ba1d05ec42e34cbeecc2e26db5bcb35402316c12104d364d246f5674010c849",
211
+ "manabot/training/update_metrics.py": "bc5d51c0e9c0571cb7822b87ba7e9aa3ce310cfc98e115b92d752e1d6d70432f",
212
+ "manabot/verify/__init__.py": "173b0ac88eba19c3f9f43a0f1d460d44c7472a2e43d2c5c1ce2277f11ebd62b4",
213
+ "manabot/verify/action_cases.py": "14386fcd7169cf020ac58e1282a8e94bb1763922a1e2f2e20aef5453714d45ec",
214
+ "manabot/verify/checkpoint_scenarios.py": "c5cb3df47be376b9b285f110ad352814504dee59c8742bd8549fe0a9e3a4826f",
215
+ "manabot/verify/choice_corpus.py": "9711b2a8720748122429c3f6c147822500bee859c8188ee044c3b684955810d5",
216
+ "manabot/verify/competency.py": "e21b1f3b0b61cd85b377104dae835ee7f7227026aa21b4b8c08fc59255e3ec69",
217
+ "manabot/verify/decision_profile.py": "a13b84cfeb99305fbe4ff259a7de73ecaf2b399c8c1965bfa3f1cefa174ecbb7",
218
+ "manabot/verify/games.py": "19301ca305a4aae6511a91ababd49f69993540595a427d2f1705d26a3b45680b",
219
+ "manabot/verify/learning_regression.py": "6bc67a17148df287f740a5a723a7cb5951e2b1706b7f05a71c3f6a62ae8f9047",
220
+ "manabot/verify/llm_game.py": "d554b00cbbe5141011567c7ee5b07c33efb0e9ab06cdcf5b7520e70191b69605",
221
+ "manabot/verify/llm_opponent.py": "0088d1d2acf97bece3941693992cc6b98652d4f2f72cffac138c75a671b07655",
222
+ "manabot/verify/record_coverage.py": "cf9d4fd4b841fd03124132f12812ae73724848a04df4f689e22ded2e26cf8a31",
223
+ "manabot/verify/representation.py": "140f7faa5c6be4ba37cec4c1f8ae4ca022c09e1c7255da7e06a1dcdcf0ffd7fe",
224
+ "manabot/verify/scenario_validation.py": "6141b21a5b48597dae0be75d92723ed4f64fac68ecc1a73be35b65238b3d4ed3",
225
+ "manabot/verify/scenarios.py": "5521eac4b7120c88fc42ce2d43ad30855f5bb751cb4bc8b1b1dc666d488f0eeb",
226
+ "manabot/verify/store.py": "037a2ff7d262a368013f40bce227e3c1ac141402c0dcf6f451280216f575bc5c",
227
+ "manabot/verify/text_observation.py": "d2d33a697f4441f675ec93ade45eca3c0e7823e9f1a83bcc6dcd279534859e90",
228
+ "manabot/verify/trigger_order.py": "88602bf9b0f02bdfc8339a5d995636240539864e1307f026aa7ea65ef54ff197",
229
+ "manabot/verify/util.py": "6c33cd982904dd77b49580b6cf1c12d6a841618dfcbc6c93468d2db1f3207895",
230
+ "managym/__init__.py": "ac8149b5ddd576080e6bea6363f946652d056c38fbb828f8a473c3c5c306673c",
231
+ "managym/decision.py": "879a2eb47eaf4011e67743ac429460359ba77d37594b423620293c4fc96cf3a1",
232
+ "managym/decision_capture.py": "5d3428371f5e3e7c077cedd854d2360ed064ba32917e5d89f1a9ec85c14e147d",
233
+ "managym/enums.py": "e959fb46893dccbb8dd5c137693132b1afa8e87feac7deabd150d326248fd95a",
234
+ "managym/experience.py": "2e40c591979ade65e518b5a7da6fa6859dee16488656afb0e9b0ebce178c4669",
235
+ "managym/experience_projection.py": "58d3ed63bc9fbd7fe2ffaa75a1136c659fe27896c110d644e5f4795168b074a0",
236
+ "managym/possible_worlds.py": "b71063885e5260bf5c7999734b54238297072171d5b7a78408e97a42042a252b",
237
+ "protocol/experience-v1.schema.json": "76f8feafd446ec65c9347b9bc3466e2b935f1b8317380d4ca098309a6609d653"
238
+ }
239
+ }
academy/README.md ADDED
@@ -0,0 +1,269 @@
1
+ # academy
2
+
3
+ The Academy experience server: authoritative play, presentation, and
4
+ study. The Svelte client in [academy/ui/](../academy/ui/) renders what this
5
+ package decides; the client never invents rules meaning.
6
+
7
+ ## Authority model
8
+
9
+ One versioned experience protocol drives direct play, replay, and decision
10
+ inspection as projections of the same authority. The server owns legality,
11
+ hidden information, and state; the client receives `ExperienceFrame`s and
12
+ `PresentationEvent`s and returns `Command`s bound to the exact frame that
13
+ offered them. Recovery envelopes make sessions reloadable — including fully
14
+ offline. Schemas and three-language conformance fixtures live in
15
+ [protocol/](../protocol/README.md).
16
+
17
+ Before choosing an action, read the scheduled turns and extra combats beside
18
+ the turn heading. These are already committed events in execution order;
19
+ later effects can change them. Turns and combats are separate lists. A current
20
+ or pending restricted combat states which creatures may attack; ordinary attack
21
+ offers remain authoritative. After reconnecting, the schedule comes from the
22
+ recovered game state. Older recordings without schedule data say “Schedule not
23
+ recorded,” rather than claiming nothing is scheduled.
24
+
25
+ When you control another player, the board stays in your perspective. The
26
+ decision context names who chooses for whom and whose resources apply. **Search
27
+ cards** introduces the native search instructions without assuming whose zones
28
+ are searched. Private inspection labels retain each card's owner and zone;
29
+ inspection does not make an opponent's cards yours. Reconnect resumes the
30
+ pending choice with the same legal offers and permitted information.
31
+
32
+ ## Modules
33
+
34
+ - **`server.py`**: FastAPI WebSocket server (`/ws/play`) — sessions,
35
+ authoritative game loop, viewer-safe observation serialization
36
+ - **`presentation.py`**: semantic presentation events (combat, turn
37
+ transitions, spell sequences) derived from engine events
38
+ - **`curated_pack.py`**: the frozen curated matchup asset pack
39
+ - **`study_protocol.py`**: viewer-safe study artifacts and decision evidence
40
+ - **`study_branch.py`**: source-bound historical forks, native structured
41
+ execution, typed failure, and consuming exact-return receipts
42
+ - **`trace.py` / `attempts.py`**: viewer-safe trace projection and SQLite human
43
+ attempts/feedback (`ACADEMY_TRACES_DIR/play.sqlite`, default `academy/traces/`).
44
+ New records have one SQLite authority; legacy JSON remains readable.
45
+ `attempt_players` identifies both seats with stable public IDs, types, recorded
46
+ names, decks and bot versions. Table credentials and browser player credentials
47
+ remain private authorization values. Shared history applies permissions in SQL
48
+ before filtering/pagination; only completed shared replays are readable by
49
+ nonparticipants. `ACADEMY_PLAY_RECORD_ORIGIN` distinguishes declared automated
50
+ validation from human play; absent provenance is unknown.
51
+ - **`villain.py`**: opponent policies for the hero to face
52
+ - **`opponent.py`**: trained opponents — the checkpoint catalog
53
+ (`GET /api/opponents`), chosen by exact SHA-256 and verified before play
54
+
55
+ Keep training and belief dependencies lazy at their execution boundaries.
56
+ Ordinary play must import, advance and record without NumPy or Torch; type-only
57
+ belief imports belong under `TYPE_CHECKING`. Study validates the existing
58
+ `ed2` address against the pre-command frame, and validates the played Command
59
+ against its landmark separately. Retained `erd1` addresses still bind the
60
+ recorded offer and Command.
61
+
62
+ ## Run it
63
+
64
+ ```bash
65
+ ./scripts/play # certified one-command path from fresh checkout
66
+ ./scripts/play --demo learn # checked prefix into Learn, then ordinary play
67
+ ./scripts/play --demo precision # Treasure-funded Deadly Precision
68
+ ./scripts/play --demo precision-mana # the four-mana additional-cost alternative
69
+ ./scripts/verify-clean-machine # the clean-machine proof
70
+ ```
71
+
72
+ Populate optional local Scryfall art with
73
+ `npm --prefix academy/ui run fetch:card-art`. The downloader caches curated and
74
+ demo cards, preserves artist/source credits, and respects rate-limit cooldowns.
75
+ Play uses the cache without contacting Scryfall; missing art keeps the procedural
76
+ card treatment. Artist credits are available in the footer.
77
+
78
+ The Learn demo opens `/?demo=learn`: choose **Take a Lesson**, **Discard and
79
+ draw**, or **Decline Learn**. The first two modes show card previews and a
80
+ Back control; only choosing its explicit offer commits the choice. **New Game** repeats
81
+ the same prefix. The demo fixes UR Lessons in seat 0 against Random GW Allies;
82
+ its [evidence and remaining integration work](https://github.com/loopflowstudio/manabot/blob/cac6fa27d/docs/rules/learn-lesson.md)
83
+ are separate from complete-game replay certification.
84
+
85
+ The table reads **Who decides / What is happening / Your choices**. Inspect any
86
+ visible card without submitting; choose an explicit legal offer to commit one
87
+ Command. Card locations and copy labels distinguish same-name choices; focusing an offer highlights its exact board subjects. The complete offer count
88
+ stays visible while a card or text filter narrows navigation; **Show all** and
89
+ **Clear filter** restore the full set. At every width, the board comes first,
90
+ followed by full-width play selection. History, advice and table tools stay
91
+ collapsed until opened; **Compare advice** opens and focuses Advice. Native card
92
+ types group creatures, lands, other
93
+ permanents and artifact tokens into bounded battlefield lanes; dense lanes
94
+ compact their cards, then offer explicit paging. Focusing a legal offer reveals
95
+ its objects' pages without submitting a choice. Public mana
96
+ pools, spending restrictions and chooser-only inspected cards come from native
97
+ observations. Historical frames without those fields say details were not recorded.
98
+
99
+ Academy uses native trivial-decision skipping, like every game runner: the
100
+ engine resolves sole legal actions for either seat, so no forced prompt reaches
101
+ a person or a policy. Disable **Use priority stops** to surface every priority
102
+ window that offers a real choice. Priority stop/F6 automation retains its
103
+ Commands and appears as **Auto** in the decision log; traces from before native
104
+ skipping keep their recorded forced **Auto** steps. Training defaults,
105
+ world identities, tensor inputs and frozen evidence are unchanged. Native
106
+ `decision_context_json` summarizes already-observed choices and the current
107
+ continuation; `decision_offer_subjects_json` binds the exact rule entity,
108
+ incarnation and board display ID. These read-only projections introduce no legal
109
+ actions or editable payment transaction. Other viewers receive only public
110
+ ownership/kind and committed facts. Retained frames omit these optional fields.
111
+
112
+ For Precision, click **New Game**, inspect **Deadly Precision**, then explicitly
113
+ choose its cast offer and an Inspector target. In the Treasure demo, reserve that
114
+ Inspector as sacrifice, activate Treasure, explicitly choose **Add {B}**, then
115
+ finish payment. The context distinguishes the unpaid reservation from the already
116
+ sacrificed Treasure. Reload before/after activation or color to recover the actual
117
+ pending decision; **Back** cannot refund costs. The mana demo instead offers the
118
+ four-mana additional cost while preserving the Inspector until resolution. Both
119
+ prefixes use normal Commands from seeded custom stress decks, without scenario
120
+ injection. Attempts are marked `automated_validation`, including any later human
121
+ continuation, so the authored prefix cannot be counted as human play. They are
122
+ runtime fixtures, not curated-deck admission or human usability
123
+ evidence. New Game repeats the selected prefix.
124
+
125
+ Replay labels recorded actions and automated passes separately. Live, Watch,
126
+ Replay and Study use the same decision renderer. Study executes the exact semantic
127
+ offer on a retained isolated root, then **Return to recorded decision** restores
128
+ its original address/frame/Command; **Return to live** is a separate destination.
129
+ Expired roots remain unavailable rather than being reconstructed from the screen.
130
+
131
+ Long action lists have an optional **Find an action** filter. See the
132
+ [retained choice positions and local walkthrough](../docs/academy.md#choice-navigation)
133
+ for target, discard, Learn, combat and optional-cost coverage.
134
+
135
+ Development server without the launcher:
136
+
137
+ ```bash
138
+ uv run uvicorn academy.server:app --port 8000
139
+ ```
140
+
141
+ The [local challenger workflow](../docs/academy.md#playing-a-trained-challenger)
142
+ covers the built same-origin server, feedback, and read-only SQL.
143
+
144
+ Any trained checkpoint is selectable from the Opponent menu. The table
145
+ lists every policy checkpoint under `MANABOT_RUNS_DIR` (default `./.runs`)
146
+ and in `ACADEMY_PLAY_CHECKPOINTS` — `.pt` files, run directories and
147
+ Tournament files, separated by `:` — with world, model shape, training step
148
+ and producer. manabot's `manabot.model.catalog` reads them with Torch's
149
+ weights-only loader and checks each world binding against the running engine;
150
+ an incompatible checkpoint stays listed, disabled, with the mismatch (for
151
+ example `trained in w5, engine is w6`), and the server refuses it with the same
152
+ sentence. The browser sends only a digest; the server re-hashes the bytes,
153
+ checks the selected decks against the checkpoint's binding (either seat), and
154
+ records the exact checkpoint identity as the trace's `opponent_checkpoint`.
155
+ Listing needs the training dependencies; a play-only install reports that the
156
+ catalog is unavailable and still serves the configured candidate.
157
+
158
+ Replacement admission must keep the old GameSession authority intact until the
159
+ new environment resets successfully. Invalid native deck setup can raise
160
+ PyO3's `PanicException` (a direct `BaseException`, with no importable Python
161
+ class); contain that failure only at disposable-environment construction, while
162
+ letting process interrupts escape. Do not broaden gameplay error suppression.
163
+
164
+ Tests: `uv run --extra dev pytest tests/academy`. The end-to-end browser
165
+ proofs (launch, offline reload, accessibility, release prompts) are under
166
+ [academy/ui/e2e/](../academy/ui/e2e/) and documented in
167
+ [docs/development.md#clean-machine-play-proof](../docs/development.md#clean-machine-play-proof) and
168
+ [experience proof gate](../docs/academy.md#experience-proof-gate).
169
+
170
+ ## Watch and recorded bot decisions
171
+
172
+ Open **Watch** (`/replay?watch=1`) to select both seats, decks and a deal seed.
173
+ The configured checkpoint and random, greedy, heuristic and search anchors use
174
+ GameSession's normal Command authority. Step advances one native decision;
175
+ Play/Pause and speed control that same operation. Previous decisions read saved
176
+ outputs without rerunning the policy. Completed watched games open from Games
177
+ in this same table. Reloading retains the watch credential in the browser.
178
+
179
+ `watch.py` admits controllers and verified arena/Tournament game JSON or
180
+ `.jsonl.gz` traces; choose a game when a trace contains several. Import verifies
181
+ the original receipt, Commands and state digests without invoking a player.
182
+ The imported Academy replay has its own identity; the source digest is retained
183
+ without rewriting the arena evidence. Missing historical policy outputs are
184
+ marked unavailable. Local-update receipts expose only policy/search vectors
185
+ and an acting-view belief summary, never private sampled hands or branch audits.
186
+
187
+ `TraceEvent.bot_decision` records the actual policy/value/search outputs at
188
+ choice time. Traces from the removed compound-decision policies may retain
189
+ conditional root-sequence factors and values; these remain labeled separately
190
+ from native microchoice marginals. Anchors without critics have no value estimate. Watch's acting-view
191
+ inspection endpoint never returns the full mixed canonical replay. The separate
192
+ private analysis observation supplies **Show both hands**, available explicitly
193
+ for bot spectators, including during active watches. Active inspection requires
194
+ the watch credential; completed inspection remains shared. The default
195
+ is the acting bot's view. Ordinary trace reads always strip the analysis
196
+ snapshot, and bot inputs and decision evidence retain their acting-view scope.
197
+
198
+ **Try another line** uses retained Study roots from either acting seat, executes
199
+ one exact semantic Command on an isolated branch, and returns to the recorded
200
+ decision. It does not advance the watched match. Roots and active controllers
201
+ have the ordinary table-session lifetime; saved completed inspection remains
202
+ available after the session expires, while a fresh Study fork requires retained
203
+ roots. Existing structured Study receipts and frozen `erd1` evidence keep their
204
+ original command bindings.
205
+
206
+
207
+ ## Elemental roster
208
+
209
+ The shared deck browser assigns either seat from all ten exact Elemental setups
210
+ in the additive `elemental-world-v2` pack, including mirrors. Browse the main
211
+ lists and Lesson pools, click cached card artwork for a printed preview, then
212
+ use the assignment buttons to choose each seat. During play, **Choose decks**
213
+ prepares the next matchup; only **New Game** replaces the current attempt.
214
+ The [local MTG-183 launcher](../docs/academy.md#playing-a-trained-challenger)
215
+ pins the latest published checkpoint for CPU play and populates the art cache.
216
+ The decks' 40-card main lists, Lesson pools, local treatments and retained card-identity
217
+ provenance are in the schema-2 roster manifest at
218
+ `academy/ui/src/lib/packs/elemental-world/v2/manifest.json`. Native compiled setups
219
+ validate every row. A roster manifest chooses a default pair from those rows;
220
+ it does not define a second setup authority. Earlier schema-1 pair packs remain
221
+ separate. Mixing an Elemental name with a setup outside its roster is rejected.
222
+
223
+ A recorded Elemental game carries explicit compiled pack and asset identity
224
+ when rebuilding roots. The ordinary checkpoint catalog exposes its ten exact
225
+ setups, and loaded policies retain that roster for cross-pair and mirror
226
+ admission. Temporary Avatar grants reach both player projections, the shared
227
+ protocol and the card's visible/accessibility label. These changes add no
228
+ human-only choice or extra information. See the
229
+ [Elemental world contract](https://github.com/loopflowstudio/manabot/blob/cac6fa27d/docs/rules/elemental/world.md) for evidence limits.
230
+
231
+ Optional resolving costs share typed payment progress and effect continuations.
232
+ See [optional payments](../docs/engine.md#resolution-contracts) for authoring,
233
+ commitment and frozen-content boundaries.
234
+
235
+ ## Isolated browser validation
236
+
237
+ Use unused backend and frontend ports for this checkout. Playwright can reuse an
238
+ existing server; another worktree's server is not evidence for this source.
239
+
240
+ ```bash
241
+ ACADEMY_API_PORT=8123 ACADEMY_FRONTEND_PORT=5293 \
242
+ npm --prefix academy/ui run test:e2e -- testing-house.spec.ts
243
+ ```
244
+
245
+ For a built SPA, set an absolute `ACADEMY_FRONTEND_BUILD` for build and ASGI,
246
+ a separate `ACADEMY_TRACES_DIR`, and
247
+ `ACADEMY_PLAY_RECORD_ORIGIN=automated_validation`. Keep existing human-play
248
+ stores and sibling servers untouched. Shared-history proofs use separate
249
+ browser identities and cover private unfinished replays and participant feedback.
250
+
251
+ Changes to persistence or Study addresses require presentation, Study runtime,
252
+ and protocol checks as well as attempt-store checks. SQLite is the trace
253
+ authority; historical JSON is read-only. `ed2` names a pre-command frame;
254
+ Command and offer validation belongs to its landmark. Preserve frozen `erd1`
255
+ evidence and test recorder failure through the WebSocket boundary.
256
+
257
+ ### Ordering simultaneous triggered abilities
258
+
259
+ When several of your abilities are waiting, choose one ability to put on the
260
+ stack next. The shared native label describes that specific ability; inspect its
261
+ source for the full card text. Choosing commits its place in the order. If it
262
+ needs targets, finish those choices before continuing. Later placements sit above
263
+ earlier ones and resolve first if the stack proceeds without responses. The last
264
+ remaining position is forced. Reload restores the actual pending order or target
265
+ decision, or the current stack if placement has finished. A lost response does not
266
+ undo a submitted choice.
267
+
268
+ For editable file input and development construction rules, see
269
+ [decklist import](../docs/engine.md#decks).
academy/__init__.py ADDED
@@ -0,0 +1 @@
1
+ """Academy experience server package: authoritative play, presentation, study."""