cogames 0.3.64__py3-none-any.whl → 0.3.68__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 (141) hide show
  1. cogames/cli/client.py +0 -3
  2. cogames/cli/docsync/docsync.py +7 -1
  3. cogames/cli/mission.py +68 -53
  4. cogames/cli/policy.py +26 -10
  5. cogames/cli/submit.py +128 -142
  6. cogames/cli/utils.py +5 -0
  7. cogames/cogs_vs_clips/clip_difficulty.py +57 -0
  8. cogames/cogs_vs_clips/clips.py +103 -0
  9. cogames/cogs_vs_clips/cog.py +29 -11
  10. cogames/cogs_vs_clips/cogsguard_curriculum.py +122 -0
  11. cogames/cogs_vs_clips/cogsguard_tutorial.py +15 -16
  12. cogames/cogs_vs_clips/config.py +38 -0
  13. cogames/cogs_vs_clips/{cogs_vs_clips_mapgen.md → docs/cogs_vs_clips_mapgen.md} +8 -10
  14. cogames/cogs_vs_clips/evals/README.md +11 -35
  15. cogames/cogs_vs_clips/evals/cogsguard_evals.py +21 -6
  16. cogames/cogs_vs_clips/evals/diagnostic_evals.py +13 -101
  17. cogames/cogs_vs_clips/evals/difficulty_variants.py +16 -28
  18. cogames/cogs_vs_clips/evals/integrated_evals.py +8 -60
  19. cogames/cogs_vs_clips/evals/spanning_evals.py +48 -54
  20. cogames/cogs_vs_clips/mission.py +93 -277
  21. cogames/cogs_vs_clips/missions.py +17 -27
  22. cogames/cogs_vs_clips/{cogsguard_reward_variants.py → reward_variants.py} +22 -2
  23. cogames/cogs_vs_clips/sites.py +41 -30
  24. cogames/cogs_vs_clips/stations.py +39 -84
  25. cogames/cogs_vs_clips/team.py +46 -0
  26. cogames/cogs_vs_clips/{procedural.py → terrain.py} +14 -8
  27. cogames/cogs_vs_clips/variants.py +201 -107
  28. cogames/cogs_vs_clips/weather.py +52 -0
  29. cogames/core.py +87 -0
  30. cogames/docs/SCRIPTED_AGENT.md +3 -3
  31. cogames/evaluate.py +4 -2
  32. cogames/main.py +357 -51
  33. cogames/maps/canidate1_1000.map +1 -1
  34. cogames/maps/canidate1_1000_stations.map +2 -2
  35. cogames/maps/canidate1_500.map +1 -1
  36. cogames/maps/canidate1_500_stations.map +2 -2
  37. cogames/maps/canidate2_1000.map +1 -1
  38. cogames/maps/canidate2_1000_stations.map +2 -2
  39. cogames/maps/canidate2_500.map +1 -1
  40. cogames/maps/canidate2_500_stations.map +1 -1
  41. cogames/maps/canidate3_1000.map +1 -1
  42. cogames/maps/canidate3_1000_stations.map +2 -2
  43. cogames/maps/canidate3_500.map +1 -1
  44. cogames/maps/canidate3_500_stations.map +2 -2
  45. cogames/maps/canidate4_500.map +1 -1
  46. cogames/maps/canidate4_500_stations.map +2 -2
  47. cogames/maps/cave_base_50.map +2 -2
  48. cogames/maps/diagnostic_evals/diagnostic_agile.map +2 -2
  49. cogames/maps/diagnostic_evals/diagnostic_agile_hard.map +2 -2
  50. cogames/maps/diagnostic_evals/diagnostic_charge_up.map +6 -6
  51. cogames/maps/diagnostic_evals/diagnostic_charge_up_hard.map +6 -6
  52. cogames/maps/diagnostic_evals/diagnostic_chest_navigation1.map +6 -6
  53. cogames/maps/diagnostic_evals/diagnostic_chest_navigation1_hard.map +6 -6
  54. cogames/maps/diagnostic_evals/diagnostic_chest_navigation2.map +6 -6
  55. cogames/maps/diagnostic_evals/diagnostic_chest_navigation2_hard.map +6 -6
  56. cogames/maps/diagnostic_evals/diagnostic_chest_navigation3.map +6 -6
  57. cogames/maps/diagnostic_evals/diagnostic_chest_navigation3_hard.map +6 -6
  58. cogames/maps/diagnostic_evals/diagnostic_chest_near.map +6 -6
  59. cogames/maps/diagnostic_evals/diagnostic_chest_search.map +6 -6
  60. cogames/maps/diagnostic_evals/diagnostic_chest_search_hard.map +6 -6
  61. cogames/maps/diagnostic_evals/diagnostic_extract_lab.map +6 -6
  62. cogames/maps/diagnostic_evals/diagnostic_extract_lab_hard.map +6 -6
  63. cogames/maps/diagnostic_evals/diagnostic_memory.map +6 -6
  64. cogames/maps/diagnostic_evals/diagnostic_memory_hard.map +6 -6
  65. cogames/maps/diagnostic_evals/diagnostic_radial.map +2 -2
  66. cogames/maps/diagnostic_evals/diagnostic_radial_hard.map +2 -2
  67. cogames/maps/diagnostic_evals/diagnostic_resource_lab.map +6 -6
  68. cogames/maps/diagnostic_evals/diagnostic_unclip.map +6 -6
  69. cogames/maps/evals/eval_balanced_spread.map +6 -6
  70. cogames/maps/evals/eval_clip_oxygen.map +6 -6
  71. cogames/maps/evals/eval_collect_resources.map +6 -6
  72. cogames/maps/evals/eval_collect_resources_hard.map +6 -6
  73. cogames/maps/evals/eval_collect_resources_medium.map +6 -6
  74. cogames/maps/evals/eval_divide_and_conquer.map +6 -6
  75. cogames/maps/evals/eval_energy_starved.map +6 -6
  76. cogames/maps/evals/eval_multi_coordinated_collect_hard.map +6 -6
  77. cogames/maps/evals/eval_oxygen_bottleneck.map +6 -6
  78. cogames/maps/evals/eval_single_use_world.map +6 -6
  79. cogames/maps/evals/extractor_hub_100x100.map +6 -6
  80. cogames/maps/evals/extractor_hub_30x30.map +6 -6
  81. cogames/maps/evals/extractor_hub_50x50.map +6 -6
  82. cogames/maps/evals/extractor_hub_70x70.map +6 -6
  83. cogames/maps/evals/extractor_hub_80x80.map +6 -6
  84. cogames/maps/machina_100_stations.map +2 -2
  85. cogames/maps/machina_200_stations.map +2 -2
  86. cogames/maps/machina_200_stations_small.map +2 -2
  87. cogames/maps/machina_eval_exp01.map +2 -2
  88. cogames/maps/machina_eval_template_large.map +2 -2
  89. cogames/maps/machinatrainer4agents.map +2 -2
  90. cogames/maps/machinatrainer4agentsbase.map +2 -2
  91. cogames/maps/machinatrainerbig.map +2 -2
  92. cogames/maps/machinatrainersmall.map +2 -2
  93. cogames/maps/planky_evals/aligner_avoid_aoe.map +6 -6
  94. cogames/maps/planky_evals/aligner_full_cycle.map +6 -6
  95. cogames/maps/planky_evals/aligner_gear.map +6 -6
  96. cogames/maps/planky_evals/aligner_hearts.map +6 -6
  97. cogames/maps/planky_evals/aligner_junction.map +6 -6
  98. cogames/maps/planky_evals/exploration_distant.map +6 -6
  99. cogames/maps/planky_evals/maze.map +6 -6
  100. cogames/maps/planky_evals/miner_best_resource.map +6 -6
  101. cogames/maps/planky_evals/miner_deposit.map +6 -6
  102. cogames/maps/planky_evals/miner_extract.map +6 -6
  103. cogames/maps/planky_evals/miner_full_cycle.map +6 -6
  104. cogames/maps/planky_evals/miner_gear.map +6 -6
  105. cogames/maps/planky_evals/multi_role.map +6 -6
  106. cogames/maps/planky_evals/resource_chain.map +6 -6
  107. cogames/maps/planky_evals/scout_explore.map +6 -6
  108. cogames/maps/planky_evals/scout_gear.map +6 -6
  109. cogames/maps/planky_evals/scrambler_full_cycle.map +6 -6
  110. cogames/maps/planky_evals/scrambler_gear.map +6 -6
  111. cogames/maps/planky_evals/scrambler_target.map +6 -6
  112. cogames/maps/planky_evals/stuck_corridor.map +6 -6
  113. cogames/maps/planky_evals/survive_retreat.map +6 -6
  114. cogames/maps/training_facility_clipped.map +2 -2
  115. cogames/maps/training_facility_open_1.map +2 -2
  116. cogames/maps/training_facility_open_2.map +2 -2
  117. cogames/maps/training_facility_open_3.map +2 -2
  118. cogames/maps/training_facility_tight_4.map +2 -2
  119. cogames/maps/training_facility_tight_5.map +2 -2
  120. cogames/maps/vanilla_large.map +2 -2
  121. cogames/maps/vanilla_small.map +2 -2
  122. cogames/pickup.py +6 -5
  123. cogames/play.py +14 -16
  124. cogames/policy/nim_agents/__init__.py +0 -2
  125. cogames/policy/nim_agents/agents.py +0 -11
  126. cogames/policy/starter_agent.py +4 -1
  127. cogames/verbose.py +2 -2
  128. {cogames-0.3.64.dist-info → cogames-0.3.68.dist-info}/METADATA +45 -29
  129. cogames-0.3.68.dist-info/RECORD +160 -0
  130. metta_alo/scoring.py +7 -7
  131. cogames/cogs_vs_clips/mission_utils.py +0 -19
  132. cogames/cogs_vs_clips/tutorial_missions.py +0 -25
  133. cogames-0.3.64.dist-info/RECORD +0 -159
  134. metta_alo/job_specs.py +0 -17
  135. metta_alo/policy.py +0 -16
  136. metta_alo/pure_single_episode_runner.py +0 -75
  137. metta_alo/rollout.py +0 -322
  138. {cogames-0.3.64.dist-info → cogames-0.3.68.dist-info}/WHEEL +0 -0
  139. {cogames-0.3.64.dist-info → cogames-0.3.68.dist-info}/entry_points.txt +0 -0
  140. {cogames-0.3.64.dist-info → cogames-0.3.68.dist-info}/licenses/LICENSE +0 -0
  141. {cogames-0.3.64.dist-info → cogames-0.3.68.dist-info}/top_level.txt +0 -0
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cogames
3
- Version: 0.3.64
3
+ Version: 0.3.68
4
4
  Summary: Multi-agent cooperative games
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: Programming Language :: Python :: 3.12
7
7
  Requires-Python: <3.13,>=3.12
8
8
  Description-Content-Type: text/markdown
9
9
  License-File: LICENSE
10
- Requires-Dist: mettagrid==0.2.0.74
10
+ Requires-Dist: mettagrid==0.2.0.82
11
11
  Requires-Dist: packaging>=24.0.0
12
12
  Requires-Dist: pufferlib-core
13
13
  Requires-Dist: pydantic>=2.11.5
@@ -302,11 +302,12 @@ cogames [COMMAND] --help
302
302
 
303
303
 
304
304
  <pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"><span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╭─ Describe ──────────────────────────────────────────────────────────────────────────────────────────────────────╮</span>
305
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--mission</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-m</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">MISSION </span> Mission to describe <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
306
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--cogs</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-c</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">INTEGER </span> Override agent count (requires <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-m</span>) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
307
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--variant</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-v</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">VARIANT </span> Apply variant (requires <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-m</span>, repeatable) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
308
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--format</span> <span style="color: #bfbf7f; text-decoration-color: #bfbf7f; font-weight: bold">[</span><span style="color: #808000; text-decoration-color: #808000; font-weight: bold">yaml</span><span style="color: #bfbf7f; text-decoration-color: #bfbf7f; font-weight: bold">|</span><span style="color: #808000; text-decoration-color: #808000; font-weight: bold">json</span><span style="color: #bfbf7f; text-decoration-color: #bfbf7f; font-weight: bold">]</span> Output format (requires <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-m</span>) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
309
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--save</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-s</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">PATH </span> Save config to file (requires <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-m</span>) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
305
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--mission</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-m</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">MISSION </span> Mission to describe <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
306
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--cogs</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-c</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">INTEGER </span> Override agent count (requires <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-m</span>) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
307
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--variant</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-v</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">VARIANT </span> Apply variant (requires <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-m</span>, repeatable) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
308
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--difficulty</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">LEVEL </span> Difficulty (easy, medium, hard) controlling clips events (requires <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-m</span>) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
309
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--format</span> <span style="color: #bfbf7f; text-decoration-color: #bfbf7f; font-weight: bold">[</span><span style="color: #808000; text-decoration-color: #808000; font-weight: bold">yaml</span><span style="color: #bfbf7f; text-decoration-color: #bfbf7f; font-weight: bold">|</span><span style="color: #808000; text-decoration-color: #808000; font-weight: bold">json</span><span style="color: #bfbf7f; text-decoration-color: #bfbf7f; font-weight: bold">]</span> Output format (requires <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-m</span>) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
310
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--save</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-s</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">PATH </span> Save config to file (requires <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-m</span>) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
310
311
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>
311
312
  </pre>
312
313
 
@@ -424,8 +425,9 @@ cogames [COMMAND] --help
424
425
 
425
426
 
426
427
  <pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"><span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╭─ Configuration ─────────────────────────────────────────────────────────────────────────────────────────────────╮</span>
427
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--cogs</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-c</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">INTEGER</span> Number of cogs (agents) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
428
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--variant</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-v</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">VARIANT</span> Apply variant (repeatable) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
428
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--cogs</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-c</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">INTEGER</span> Number of cogs (agents) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
429
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--variant</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-v</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">VARIANT</span> Apply variant (repeatable) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
430
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--difficulty</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">LEVEL </span> Difficulty (easy, medium, hard) controlling clips events <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
429
431
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>
430
432
  </pre>
431
433
 
@@ -553,9 +555,10 @@ cogames [COMMAND] --help
553
555
 
554
556
 
555
557
  <pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"><span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╭─ Game Setup ────────────────────────────────────────────────────────────────────────────────────────────────────╮</span>
556
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--mission</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-m</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">MISSION</span> Mission to play (run <span style="font-weight: bold">cogames missions</span> to list) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
557
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--variant</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-v</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">VARIANT</span> Apply variant modifier (repeatable) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
558
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--cogs</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-c</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">N </span> Number of cogs/agents <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: (from mission)]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
558
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--mission</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-m</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">MISSION</span> Mission to play (run <span style="font-weight: bold">cogames missions</span> to list) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
559
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--variant</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-v</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">VARIANT</span> Apply variant modifier (repeatable) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
560
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--difficulty</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">LEVEL </span> Difficulty (easy, medium, hard) controlling clips events <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
561
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--cogs</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-c</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">N </span> Number of cogs/agents <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: (from mission)]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
559
562
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>
560
563
  </pre>
561
564
 
@@ -564,6 +567,7 @@ cogames [COMMAND] --help
564
567
 
565
568
  <pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"><span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╭─ Policy ────────────────────────────────────────────────────────────────────────────────────────────────────────╮</span>
566
569
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--policy</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-p</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">POLICY</span> Policy controlling cogs (<span style="font-weight: bold">noop</span>, <span style="font-weight: bold">random</span>, <span style="font-weight: bold">lstm</span>, or path) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: class=noop]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
570
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--device</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">DEVICE</span> Policy device (auto, cpu, cuda, cuda:0, etc.) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: auto]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
567
571
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>
568
572
  </pre>
569
573
 
@@ -571,13 +575,15 @@ cogames [COMMAND] --help
571
575
 
572
576
 
573
577
  <pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"><span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╭─ Simulation ────────────────────────────────────────────────────────────────────────────────────────────────────╮</span>
574
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--steps</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-s</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">N </span> Max steps per episode <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: 1000]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
575
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--render</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-r</span> <span style="color: #bfbf7f; text-decoration-color: #bfbf7f; font-weight: bold">[</span><span style="color: #808000; text-decoration-color: #808000; font-weight: bold">gui</span><span style="color: #bfbf7f; text-decoration-color: #bfbf7f; font-weight: bold">|</span><span style="color: #808000; text-decoration-color: #808000; font-weight: bold">vibescope</span><span style="color: #bfbf7f; text-decoration-color: #bfbf7f; font-weight: bold">|</span><span style="color: #808000; text-decoration-color: #808000; font-weight: bold">unicode</span><span style="color: #bfbf7f; text-decoration-color: #bfbf7f; font-weight: bold">|</span><span style="color: #808000; text-decoration-color: #808000; font-weight: bold">log</span><span style="color: #bfbf7f; text-decoration-color: #bfbf7f; font-weight: bold">|</span><span style="color: #808000; text-decoration-color: #808000; font-weight: bold">none</span><span style="color: #bfbf7f; text-decoration-color: #bfbf7f; font-weight: bold">]</span> <span style="font-weight: bold">gui</span>=MettaScope, <span style="font-weight: bold">vibescope</span>=VibeScope, <span style="font-weight: bold">unicode</span>=terminal, <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
576
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="font-weight: bold">log</span>=metrics only <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
577
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: gui] </span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
578
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--seed</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">INTEGER </span> RNG seed for reproducibility <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: 42]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
579
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--map-seed</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">SEED </span> Separate seed for procedural map generation <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
580
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: (same as --seed)] </span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
578
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--steps</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-s</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">N </span> Max steps per episode <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: 1000]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
579
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--render</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-r</span> <span style="color: #bfbf7f; text-decoration-color: #bfbf7f; font-weight: bold">[</span><span style="color: #808000; text-decoration-color: #808000; font-weight: bold">gui</span><span style="color: #bfbf7f; text-decoration-color: #bfbf7f; font-weight: bold">|</span><span style="color: #808000; text-decoration-color: #808000; font-weight: bold">vibescope</span><span style="color: #bfbf7f; text-decoration-color: #bfbf7f; font-weight: bold">|</span><span style="color: #808000; text-decoration-color: #808000; font-weight: bold">unicode</span><span style="color: #bfbf7f; text-decoration-color: #bfbf7f; font-weight: bold">|</span><span style="color: #808000; text-decoration-color: #808000; font-weight: bold">log</span><span style="color: #bfbf7f; text-decoration-color: #bfbf7f; font-weight: bold">|</span><span style="color: #808000; text-decoration-color: #808000; font-weight: bold">none</span><span style="color: #bfbf7f; text-decoration-color: #bfbf7f; font-weight: bold">]</span> <span style="font-weight: bold">gui</span>=MettaScope, <span style="font-weight: bold">vibescope</span>=VibeScope, <span style="font-weight: bold">unicode</span>=terminal, <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
580
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="font-weight: bold">log</span>=metrics only <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
581
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: gui] </span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
582
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--seed</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">INTEGER </span> RNG seed for reproducibility <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: 42]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
583
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--map-seed</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">SEED </span> Separate seed for procedural map generation <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
584
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: (same as --seed)] </span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
585
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--autostart</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold"> </span> Start simulation immediately without waiting for user <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
586
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> input <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
581
587
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>
582
588
  </pre>
583
589
 
@@ -693,6 +699,7 @@ cogames [COMMAND] --help
693
699
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--mission-set</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-S</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">SET </span> Predefined set: integrated_evals, spanning_evals, diagnostic_evals, all <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
694
700
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--cogs</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-c</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">N </span> Number of cogs (agents) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
695
701
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--variant</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-v</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">VARIANT</span> Mission variant (repeatable) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
702
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--difficulty</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">LEVEL </span> Difficulty (easy, medium, hard) controlling clips events <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
696
703
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>
697
704
  </pre>
698
705
 
@@ -702,6 +709,7 @@ cogames [COMMAND] --help
702
709
  <pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"><span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╭─ Policy ────────────────────────────────────────────────────────────────────────────────────────────────────────╮</span>
703
710
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--policy</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-p</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">POLICY</span> Policies to evaluate: (URI[,proportion=N] or NAME or <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
704
711
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> class=NAME[,data=FILE][,proportion=N]...) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
712
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--device</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">DEVICE</span> Policy device (auto, cpu, cuda, cuda:0, etc.) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: auto]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
705
713
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>
706
714
  </pre>
707
715
 
@@ -778,6 +786,7 @@ cogames [COMMAND] --help
778
786
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--mission-set</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-S</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">SET </span> Predefined set: integrated_evals, spanning_evals, diagnostic_evals, all <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
779
787
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--cogs</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-c</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">N </span> Number of cogs (agents) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
780
788
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--variant</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-v</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">VARIANT</span> Mission variant (repeatable) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
789
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--difficulty</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">LEVEL </span> Difficulty (easy, medium, hard) controlling clips events <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
781
790
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>
782
791
  </pre>
783
792
 
@@ -787,6 +796,7 @@ cogames [COMMAND] --help
787
796
  <pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"><span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╭─ Policy ────────────────────────────────────────────────────────────────────────────────────────────────────────╮</span>
788
797
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--policy</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-p</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">POLICY</span> Policies to evaluate: (URI[,proportion=N] or NAME or <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
789
798
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> class=NAME[,data=FILE][,proportion=N]...) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
799
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--device</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">DEVICE</span> Policy device (auto, cpu, cuda, cuda:0, etc.) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: auto]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
790
800
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>
791
801
  </pre>
792
802
 
@@ -859,9 +869,10 @@ cogames [COMMAND] --help
859
869
 
860
870
 
861
871
  <pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"><span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╭─ Mission ───────────────────────────────────────────────────────────────────────────────────────────────────────╮</span>
862
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--mission</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-m</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">MISSION </span> Mission to evaluate on <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: cogsguard_machina_1.basic]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
863
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--cogs</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-c</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">N [x&gt;=1</span><span style="color: #bfbf7f; text-decoration-color: #bfbf7f; font-weight: bold">]</span> Number of cogs (agents) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: 4]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
864
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--variant</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-v</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">VARIANT </span> Mission variant (repeatable) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
872
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--mission</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-m</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">MISSION </span> Mission to evaluate on <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: cogsguard_machina_1.basic]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
873
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--cogs</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-c</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">N [x&gt;=1</span><span style="color: #bfbf7f; text-decoration-color: #bfbf7f; font-weight: bold">]</span> Number of cogs (agents) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: 4]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
874
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--variant</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-v</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">VARIANT </span> Mission variant (repeatable) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
875
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--difficulty</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">LEVEL </span> Difficulty (easy, medium, hard) controlling clips events <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
865
876
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>
866
877
  </pre>
867
878
 
@@ -871,6 +882,7 @@ cogames [COMMAND] --help
871
882
  <pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"><span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╭─ Policy ────────────────────────────────────────────────────────────────────────────────────────────────────────╮</span>
872
883
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--policy</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-p</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">POLICY</span> Candidate policy to evaluate <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
873
884
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--pool</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">POLICY</span> Pool policy (repeatable) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
885
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--device</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">DEVICE</span> Policy device (auto, cpu, cuda, cuda:0, etc.) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: auto]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
874
886
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>
875
887
  </pre>
876
888
 
@@ -947,9 +959,10 @@ cogames [COMMAND] --help
947
959
 
948
960
 
949
961
  <pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"><span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╭─ Evaluation ────────────────────────────────────────────────────────────────────────────────────────────────────╮</span>
950
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--mission-set</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-S</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">SET </span> Eval suite to run <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: diagnostic_evals]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
951
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--experiments</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">NAME</span> Specific experiments (subset of mission set) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
952
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--cogs</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-c</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">N </span> Agent counts to test (repeatable) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
962
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--mission-set</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-S</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">SET </span> Eval suite to run <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: cogsguard_evals]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
963
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--experiments</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">NAME </span> Specific experiments (subset of mission set) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
964
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--cogs</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-c</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">N </span> Agent counts to test (repeatable) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
965
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--device</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">DEVICE</span> Policy device (auto, cpu, cuda, cuda:0, etc.) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: auto]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
953
966
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>
954
967
  </pre>
955
968
 
@@ -975,7 +988,8 @@ cogames [COMMAND] --help
975
988
 
976
989
  <pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace">
977
990
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">Examples:</span>
978
- <span style="color: #008080; text-decoration-color: #008080">cogames diagnose ./train_dir/my_run</span> Default diagnostics
991
+ <span style="color: #008080; text-decoration-color: #008080">cogames diagnose ./train_dir/my_run</span> Default CogsGuard evals
992
+ <span style="color: #008080; text-decoration-color: #008080">cogames diagnose lstm </span><span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-S</span><span style="color: #008080; text-decoration-color: #008080"> diagnostic_evals</span> Diagnostic evals (non-CogsGuard)
979
993
  <span style="color: #008080; text-decoration-color: #008080">cogames diagnose lstm </span><span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-S</span><span style="color: #008080; text-decoration-color: #008080"> tournament</span> Tournament suite
980
994
  <span style="color: #008080; text-decoration-color: #008080">cogames diagnose lstm </span><span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-c</span><span style="color: #008080; text-decoration-color: #008080"> 4 </span><span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-c</span><span style="color: #008080; text-decoration-color: #008080"> 8 </span><span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-e</span><span style="color: #008080; text-decoration-color: #008080"> 5</span> Custom cog counts
981
995
 
@@ -1138,6 +1152,7 @@ cogames [COMMAND] --help
1138
1152
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #800000; text-decoration-color: #800000">*</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--policy</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-p</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">POLICY</span> Policy specification: URI (bundle dir or .zip) or NAME or <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
1139
1153
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> class=NAME[,data=FILE][,kw.x=val] <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
1140
1154
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #bf7f7f; text-decoration-color: #bf7f7f">[required] </span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
1155
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--device</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">DEVICE</span> Policy device (auto, cpu, cuda, cuda:0, etc.) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: auto]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
1141
1156
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--setup-script</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">TEXT </span> Path to a Python setup script to run before loading the policy <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
1142
1157
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>
1143
1158
  </pre>
@@ -1741,9 +1756,10 @@ cogames [COMMAND] --help
1741
1756
 
1742
1757
 
1743
1758
  <pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"><span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╭─ Mission Setup ─────────────────────────────────────────────────────────────────────────────────────────────────╮</span>
1744
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--mission</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-m</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">MISSION</span> Missions to train on (wildcards supported, repeatable for curriculum) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
1745
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--cogs</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-c</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">N </span> Number of cogs (agents) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: (from mission)]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
1746
- <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--variant</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-v</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">VARIANT</span> Mission variant (repeatable) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
1759
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--mission</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-m</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">MISSION</span> Missions to train on (wildcards supported, repeatable for curriculum) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
1760
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--cogs</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-c</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">N </span> Number of cogs (agents) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">[default: (from mission)]</span> <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
1761
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--variant</span> <span style="color: #008000; text-decoration-color: #008000; font-weight: bold">-v</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">VARIANT</span> Mission variant (repeatable) <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
1762
+ <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span> <span style="color: #008080; text-decoration-color: #008080; font-weight: bold">--difficulty</span> <span style="color: #808000; text-decoration-color: #808000; font-weight: bold">LEVEL </span> Difficulty (easy, medium, hard) controlling clips events <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">│</span>
1747
1763
  <span style="color: #7f7f7f; text-decoration-color: #7f7f7f">╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</span>
1748
1764
  </pre>
1749
1765
 
@@ -0,0 +1,160 @@
1
+ cogames/__init__.py,sha256=Loao4kW7AqCRVKcQuA7lKEsyKl9k_Zf1oVlPXvgqjbw,23
2
+ cogames/auth.py,sha256=W7BgRhrCTKob68p6HHTKVFjPayySaBG03eIgcGjw_jI,15852
3
+ cogames/core.py,sha256=ISoWiRQXuqJhMyN-tROvmIU0_c9s5H__pJVE8BLQCyw,2859
4
+ cogames/curricula.py,sha256=a7Nd-av4epAjmoqlefyU4q5eAitpYjCEGDCF_tS_iaY,825
5
+ cogames/device.py,sha256=GVC7g4tNVySn_rSbHJB0jGKvpYBL8-VmeYEQXWXtvy0,1680
6
+ cogames/evaluate.py,sha256=Qc3KopiDJs4iF2qpBajQYh2-7HnFWpOk1enexVhEZPo,9358
7
+ cogames/game.py,sha256=Qpyd4UOv97S-PCcEb422XFVbuXk46qhEx7_FlAr8ayA,3331
8
+ cogames/main.py,sha256=yBhcgEl8__0ogMybctDwY4tVGy5lXy8WYJqzLN11pu4,90307
9
+ cogames/pickup.py,sha256=kZUR19_2HzUK3ltc3GyglEv0kgUCPvm8feeCzC9EKDI,6578
10
+ cogames/play.py,sha256=waSx8523tOWX8_KrcjlgV50USU90wGhYmpSCPchdJkg,7882
11
+ cogames/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
+ cogames/train.py,sha256=C4ZP00fxHspiQK-p00EPXyfcwiFKNIBUF1iBe2EE0GE,17894
13
+ cogames/verbose.py,sha256=cqdGgSjoTQFektxfDglEZgobm1zfWsxReG2jLborzqI,2916
14
+ cogames/cli/base.py,sha256=UpMqeJ0C8i0pkue1AHnnyyX0bFJ9zZeJ7HBR6yhuA8A,54
15
+ cogames/cli/client.py,sha256=DrhXJDlS5K5UDofSsfUjnn6y4wv8TIe8-wtc4jcZxPc,8822
16
+ cogames/cli/leaderboard.py,sha256=eIbiSBOkvoi5IL2weiKBOJAjWGHquDk1PWoHKA8uu3g,13941
17
+ cogames/cli/login.py,sha256=_i1Hdbp_wAMsX0NLbCTSr7GmOFbzSqwyNP79OqLOg40,1237
18
+ cogames/cli/mission.py,sha256=X8vAdWz2qBKdrB4gh9xuqoRb_L39bYzdXUf9l-eGc28,22624
19
+ cogames/cli/policy.py,sha256=v9MyddJ56lkTHJ195HyWswVqVXLyxuCI064QSerOCWg,9513
20
+ cogames/cli/submit.py,sha256=xEGeJA00eber_SHlAB2b21VaVPwvcLCbjDABPbkAKFM,20665
21
+ cogames/cli/utils.py,sha256=VLTFNIAVNFPL_dUtJqLT7umE_0rrJSFdbo0kntmGmKE,1266
22
+ cogames/cli/docsync/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
+ cogames/cli/docsync/_nb_md_directive_processing.py,sha256=A920oS21mw9ZU2vp-cILzq5Sa-AMtmwMSayZKcQwX9M,6365
24
+ cogames/cli/docsync/_nb_md_sync.py,sha256=oa7P-7OOPUtkKFX6C7SD4fk8ufGDNFvi__zKfhkw4rw,3942
25
+ cogames/cli/docsync/_nb_py_sync.py,sha256=BfnfJ-1cRjmpzvggiR8E4vQkTak7AHm36pIK6xJVy-s,4578
26
+ cogames/cli/docsync/_three_way_sync.py,sha256=fug-HXNYqJhJvusWHnGmLQewtiAUKhCBOd1Tuu7__sA,4877
27
+ cogames/cli/docsync/_utils.py,sha256=zPfXzVa0XbqZReGvMUvxl4yLWc2oFeJJiefOBjOHaCA,2616
28
+ cogames/cli/docsync/docsync.py,sha256=Z7fpSUpZ0LV2jPYE4hDGaEpWJhfMJ35tp0ttvkXtGJU,5887
29
+ cogames/cogs_vs_clips/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
+ cogames/cogs_vs_clips/clip_difficulty.py,sha256=aFbbnJQ5v_pSmULrXMWKwhqvbRKkqEUcFZBoL8sshyo,1624
31
+ cogames/cogs_vs_clips/clips.py,sha256=WzWUdn9cqybIpsGbcN0qgJcin8Rkw-pDZkld2fs2X4s,4284
32
+ cogames/cogs_vs_clips/cog.py,sha256=lZq2_rBfT0KQMsVoCZA_KNcmXsXIPDG6s2jV1wb7-RU,4134
33
+ cogames/cogs_vs_clips/cogsguard_curriculum.py,sha256=nUJy4I114tUdjVGPEkOrHPgaPRPWNMRwYXkunUMgMQs,3637
34
+ cogames/cogs_vs_clips/cogsguard_tutorial.py,sha256=T5seP0-ZEXuAjMFEhTaINO16MGD3TeY_AGJr94JVZFc,1555
35
+ cogames/cogs_vs_clips/config.py,sha256=dek1O8ofDHB8auM3SHH7RbfZKwEZMIsP01SLtfbBvWU,1187
36
+ cogames/cogs_vs_clips/mission.py,sha256=Wccluae3fNFSRCx8rFzqWRoHVIz4y-IEFd-r6LtJbP4,5613
37
+ cogames/cogs_vs_clips/missions.py,sha256=7BzNQaquj_ZAwI-d2h6LLMHlKtQYIhFGbgFD7KS_Dsg,2133
38
+ cogames/cogs_vs_clips/reward_variants.py,sha256=PjV_XFpyq1C0cA5TrHG_bDshJu38wPRV8s2SzynXWqM,6462
39
+ cogames/cogs_vs_clips/sites.py,sha256=7R-bHFqohPdnHtwNPswF4GFRICrOWKkeGSlLzL1esHg,5467
40
+ cogames/cogs_vs_clips/stations.py,sha256=AZiEJjOXkhEf3EHlTuAP6MRZewyX4nA15ZZwX-DcFOE,8103
41
+ cogames/cogs_vs_clips/team.py,sha256=Uaj_t7PFE6kcKP7DeWcLAFDPFxMYDXJmwkvs448dZt4,1638
42
+ cogames/cogs_vs_clips/terrain.py,sha256=hJfdoCeROV-RWD8wLl2Bbzjr5GAyCmd5ixd44BOGmEA,26109
43
+ cogames/cogs_vs_clips/variants.py,sha256=op_Wn32fUlN6adc8u_ESlnEzAn_1kYvuW_u3B2v0FYA,13997
44
+ cogames/cogs_vs_clips/weather.py,sha256=_pYdG9qRckpxkNTcwFZiiikDJSLKJcS0fjz5VsRHHQQ,1903
45
+ cogames/cogs_vs_clips/docs/cogs_vs_clips_mapgen.md,sha256=HvvDR6tCERqYjz-DNp58hrxZ68fjGNu-d-OF70BFc6s,13153
46
+ cogames/cogs_vs_clips/evals/README.md,sha256=Dlx9Xc6cyay0SK-fjReeYPFrdrEk9E9UdjDZteqhL_c,6462
47
+ cogames/cogs_vs_clips/evals/cogsguard_evals.py,sha256=LiV6J8WIoUf6pWoWN1DcP9UdyNo7XHGzhhuraw4ZNQ8,2952
48
+ cogames/cogs_vs_clips/evals/diagnostic_evals.py,sha256=ypQZ6qUL8CtiKFkiMI8gx6QvGCO7u8olJ8VUgYy_VKU,10101
49
+ cogames/cogs_vs_clips/evals/difficulty_variants.py,sha256=cIgcqIZUwl_8mJ2awyFitMMmkFAdeMfIacf77ODq0Sk,3662
50
+ cogames/cogs_vs_clips/evals/integrated_evals.py,sha256=SfR-VTzEjLIViqpbeCnVHDqQMocK6cBstXD7CshdI6g,1433
51
+ cogames/cogs_vs_clips/evals/spanning_evals.py,sha256=PtHABzA_rlM_uyqo-RTLl3lCC84GZZdjrnPevRfT1Ts,7340
52
+ cogames/docs/SCRIPTED_AGENT.md,sha256=upsYqYVke-HL_YC7KHpu0Y-NSumpjWAOmrJKYyo4n4o,10816
53
+ cogames/maps/canidate1_1000.map,sha256=pnpsV2Vx9fjRgJutY6tn-Knrl3hvq1NiJ7OvOdErcmQ,1023275
54
+ cogames/maps/canidate1_1000_stations.map,sha256=TJwwYv2Z0UhATjDbE4kp3WyHvQZkSNGZB4xt88q4F0k,1023406
55
+ cogames/maps/canidate1_500.map,sha256=plRoMV1EXmltavQ87MkryUIOnLJv0xpEqzPgoa7ARPA,261775
56
+ cogames/maps/canidate1_500_stations.map,sha256=Rpwast8pGlYspDYLu1C4mnmRX6Dlx7fvC1qk4YBKg04,261906
57
+ cogames/maps/canidate2_1000.map,sha256=vTzYAgQbViLT_1Xr4jMjbBpqI-4iE7rJBzgc9lLyfAk,1023275
58
+ cogames/maps/canidate2_1000_stations.map,sha256=koMzKzg4OlAhd9VJuomnJJCK0yozRgpXK8ISeGi_WX0,1023406
59
+ cogames/maps/canidate2_500.map,sha256=5vP23x1fZjxB6jxMW_R4FtcC_JjdT3MSfMEC6PaOyjw,261775
60
+ cogames/maps/canidate2_500_stations.map,sha256=DUJ1VuUCGi0jgfbxblQIwo_GBEg1ll4atB1Lp8cCCSU,261891
61
+ cogames/maps/canidate3_1000.map,sha256=74BDri8cfSQkwe6dDl1Pxb1Li1WjzobniMmpoCyOPJs,1023275
62
+ cogames/maps/canidate3_1000_stations.map,sha256=ZkcPGw1too0U_aYT9-kUUpDkGfOynqmc9D_TwvhZbEw,1023406
63
+ cogames/maps/canidate3_500.map,sha256=0Xpk8egR5oipNYj8-x6XdsjficfA9iIjc208OstakKQ,261775
64
+ cogames/maps/canidate3_500_stations.map,sha256=6orn1Tmz0hykCLHBJDURQ9pelso-OokuBGq2l1lXumY,261906
65
+ cogames/maps/canidate4_500.map,sha256=_-sPRvFRwLzDwH1bC_mcx4X_TQJuA09fRCkj2y8erxk,261775
66
+ cogames/maps/canidate4_500_stations.map,sha256=zLKZa854mqgzU1dBknWa4j5tYjHI2jbQQZRZnNznrkI,261906
67
+ cogames/maps/cave_base_50.map,sha256=L3O7SLwBNSj-7HlIBg5p78Xmc4GLAldJv6cNxAIHGuU,4056
68
+ cogames/maps/machina_100_stations.map,sha256=sTNdoi_2ykthyYI8Upx-1x3a2nK7LNd9ked1ApLcmM8,12706
69
+ cogames/maps/machina_200_stations.map,sha256=xcl1vYc9md5ZEC_nDIvsZOldyg7O0SsJhOio6uNHEyk,45006
70
+ cogames/maps/machina_200_stations_small.map,sha256=0FAacgD27VGA9UgTapqlOqDFpiBXS_KKsqryxUljIt4,5931
71
+ cogames/maps/machina_eval_exp01.map,sha256=zkpyoe0axxNiea6l_qGkS7PCutXNrQ85wSUcTAoyVHg,2077
72
+ cogames/maps/machina_eval_template_large.map,sha256=EGYKUUYrQnqk0anewIFT9e9Cw9zRtQql4otWNLmvViA,4827
73
+ cogames/maps/machinatrainer4agents.map,sha256=y23NkU6GobL3wV3Q8JgTli_VoPq3_RHNG8R1O_NOYrQ,5386
74
+ cogames/maps/machinatrainer4agentsbase.map,sha256=X6FdPZjnInRQYNA9CmC5Cw9SoaD5MC1l5avg4eckuVY,5386
75
+ cogames/maps/machinatrainerbig.map,sha256=Ho1SelcRfMHF8qBE6OzxEiPPp7Rn2aZDOQWtLcQ4q0E,51352
76
+ cogames/maps/machinatrainersmall.map,sha256=Z0av8p2MEb_t66rrXby609Z9zqdM-I5bS_4l-jHFlck,12480
77
+ cogames/maps/training_facility_clipped.map,sha256=2SVUtmjI83CwYShE_GVSnh70lJ83KwT_JtLEm_RSJ4M,1362
78
+ cogames/maps/training_facility_open_1.map,sha256=z1_0_oTSCxqg6oiMqksiLWDwGw9TOHuDdR-DSmOAWoE,780
79
+ cogames/maps/training_facility_open_2.map,sha256=gFPpwUugyk0WwwzQPPKyK0tZKi6CR4WaWxN1ox05itU,1330
80
+ cogames/maps/training_facility_open_3.map,sha256=PtLdwgOWCrM8pdkJUhIuxDFwO87BV8UETRgcn5rlqNM,780
81
+ cogames/maps/training_facility_tight_4.map,sha256=OiYL7vvwNbwVVI0qbQT3W-QukSvopl8cdNMlqnazcjU,780
82
+ cogames/maps/training_facility_tight_5.map,sha256=u9Pd7GMX0F_ukNAHjMqRIumJ6Nk5dDTJ_wBTo0MvqmA,780
83
+ cogames/maps/vanilla_large.map,sha256=28YB0n43CWRdot8e6UbldIQ-VT4Yv7UQuZcGWY5vnNk,2066
84
+ cogames/maps/vanilla_small.map,sha256=2ohuURxYuvtm7lDBNW8FbLUaKkLNqVUSubPpD0OkQak,594
85
+ cogames/maps/zelda.map,sha256=1_rwezA27n5V9R3JY7WXniFVm8d31_Y1kyr9vn_gPjg,22387
86
+ cogames/maps/diagnostic_evals/diagnostic_agile.map,sha256=d2fdBfYLC4IHv5VK7Lj2yY8KvXiJk0Wq1rapBjSJ5kA,816
87
+ cogames/maps/diagnostic_evals/diagnostic_agile_hard.map,sha256=JQyXiichBAb8nT3AktskEnE8h0kUKPIIqM_54kXfOYY,1544
88
+ cogames/maps/diagnostic_evals/diagnostic_charge_up.map,sha256=IsEnLSCaiKihdSJaNWU2rc5paflrsBQLs5RIzUlGaKQ,843
89
+ cogames/maps/diagnostic_evals/diagnostic_charge_up_hard.map,sha256=fjUCPQdhxZLyXQYf522ZvyjzUogK-K7bJUowgWc4dms,1713
90
+ cogames/maps/diagnostic_evals/diagnostic_chest_navigation1.map,sha256=bzsXVvx0Hau1o4fkl94ySI0004Y8NNwCzKi_zX0u4c0,1775
91
+ cogames/maps/diagnostic_evals/diagnostic_chest_navigation1_hard.map,sha256=FFi6JQQof0pBEd8-yWwrKydJzIdY7PoD8cHXE_DW0sc,3108
92
+ cogames/maps/diagnostic_evals/diagnostic_chest_navigation2.map,sha256=xC8HFz0X0s15obySQsMo5XjfJByJY4Hanxokgw4msR4,1053
93
+ cogames/maps/diagnostic_evals/diagnostic_chest_navigation2_hard.map,sha256=WB6uDgV4yXSIYeSj-XhqgzlbKnKTWrHcs_ClqdcCSng,2782
94
+ cogames/maps/diagnostic_evals/diagnostic_chest_navigation3.map,sha256=-AlnXAaidUT-DcIMmQIXBIzTfa__XumkeOP4LDeuKcA,1135
95
+ cogames/maps/diagnostic_evals/diagnostic_chest_navigation3_hard.map,sha256=QwVR0dPdta1IRCPiCvZgOpOSvojA3oMA0L-KOPrHdrM,2648
96
+ cogames/maps/diagnostic_evals/diagnostic_chest_near.map,sha256=48rUHjYSPYT7hvcM-PEyjklV6rKHhf3Wn55vQh4jBX0,1810
97
+ cogames/maps/diagnostic_evals/diagnostic_chest_search.map,sha256=CNjl_J0wpVcCp0i1Zn2LCxzGc-YzeddwdGiqLd_CPQU,1810
98
+ cogames/maps/diagnostic_evals/diagnostic_chest_search_hard.map,sha256=e0AwHH3US53m5Y8RsYuYHlgdwD2NdNfdv0ftjQWQgcc,14390
99
+ cogames/maps/diagnostic_evals/diagnostic_extract_lab.map,sha256=WGSAGWoG-h2eE8GLaECMEoW5AG_rBT80lR0iVg8Ch0w,654
100
+ cogames/maps/diagnostic_evals/diagnostic_extract_lab_hard.map,sha256=SJX-LkDd0f76KYRYlyHgB2e5Hjm7_nDQaOHSIwzZW4E,1524
101
+ cogames/maps/diagnostic_evals/diagnostic_memory.map,sha256=cCDTdVMShVs63l8JDD3rxknSwiFo2GGxU1JqfgKSllY,1222
102
+ cogames/maps/diagnostic_evals/diagnostic_memory_hard.map,sha256=ifkeZCdWMUdAkOoWleOF6luLRbHHQi61lmkaZHXk4nY,2004
103
+ cogames/maps/diagnostic_evals/diagnostic_radial.map,sha256=6xE_k9RJjwVQXuFpj5jy5Pb7D21bEVakSa3hDkmZn2A,3049
104
+ cogames/maps/diagnostic_evals/diagnostic_radial_hard.map,sha256=OodyxcXipWUCH2_-JFszAONBG1-e6BmdtWF2inNH4q8,24529
105
+ cogames/maps/diagnostic_evals/diagnostic_resource_lab.map,sha256=6On-bMisId3DKS1sS9Kb3E6itlp_5G5N-jBVc32l0oc,1810
106
+ cogames/maps/diagnostic_evals/diagnostic_unclip.map,sha256=ieyCDX-HuLookKSx9uHbXqixMG5-dbmIXOSOY9IrFM4,1810
107
+ cogames/maps/evals/eval_balanced_spread.map,sha256=NPMqtvSydHq8nsdeDJp64uDPNcdTxrpJ5Kv6VKdE_kw,2142
108
+ cogames/maps/evals/eval_clip_oxygen.map,sha256=pTU5xXLUhFLGWK_keVbDl1TKIqYowSrwKvhmAOR1Cq8,2144
109
+ cogames/maps/evals/eval_collect_resources.map,sha256=E02wrcfzv3lP4ySmDnpFE9c4hKJZCnZjPbqNwCC27vw,2144
110
+ cogames/maps/evals/eval_collect_resources_hard.map,sha256=L73UBc7G4zCy_I3eGmKfGVOU5wtgn7ug05XXkvpxdEs,2144
111
+ cogames/maps/evals/eval_collect_resources_medium.map,sha256=1puCGIgjwCewtRY8LalZQfFxROXInGycB1hiI_TXQcc,2144
112
+ cogames/maps/evals/eval_divide_and_conquer.map,sha256=hf6eqPE_yI5SMVwxT5L0WMTZpliuuf4qsCcx8EcVZ-8,2142
113
+ cogames/maps/evals/eval_energy_starved.map,sha256=-EeM6eeAk38ilaKxD6JeWa7nrrcgxeHjcXmb-ENJANM,2142
114
+ cogames/maps/evals/eval_multi_coordinated_collect_hard.map,sha256=EGC3hLOryYWx9Xky5nofDHrvrtuz99IWMfNogG40oHU,2145
115
+ cogames/maps/evals/eval_oxygen_bottleneck.map,sha256=1InfG63BJb3_pUa86nuU0abWYbbiexlDqB7LS1q6BVg,2144
116
+ cogames/maps/evals/eval_single_use_world.map,sha256=ytvPXtWWTHHZUUH53V0hmB3BAanM4PRyZBRWZYYMNW8,2144
117
+ cogames/maps/evals/extractor_hub_100x100.map,sha256=LsKR8lSKWFgQan3aVzkMJ4axfwq5RzOVd99ZvknDZco,12772
118
+ cogames/maps/evals/extractor_hub_30x30.map,sha256=UcCxzAiRg1ltA17V_gZrsggYXMsOqQ7TqhsvFyeQ1tY,2062
119
+ cogames/maps/evals/extractor_hub_50x50.map,sha256=FGAh3lyma3-8v4qkpyU5NiNT2oqUSuxBs_XnQIHYySM,4122
120
+ cogames/maps/evals/extractor_hub_70x70.map,sha256=fGKqniB-vIxaUGbqs9MVqPr1QFJNEx2RCf8uLmGA1zU,6982
121
+ cogames/maps/evals/extractor_hub_80x80.map,sha256=dSDpg9jdSD-PDegQ_Ikk72H5G23sEibZ_xxnnm29DaE,8712
122
+ cogames/maps/planky_evals/aligner_avoid_aoe.map,sha256=LMozm4vs8Gg8letENJdjABeda8D1hlcU10luimy1Xow,628
123
+ cogames/maps/planky_evals/aligner_full_cycle.map,sha256=yRYMiVKRYa-hTVdKgbFfX8JXBYylBBEA_c8UAGiEGpE,584
124
+ cogames/maps/planky_evals/aligner_gear.map,sha256=qofAzKr_IalFTn-SfZwxaPNhKkwW3scpF_-F7y7ss8A,440
125
+ cogames/maps/planky_evals/aligner_hearts.map,sha256=8v-GQE_kzP5BoMmta3t1A8SbPWVrIqVxAb0s2xELOe0,454
126
+ cogames/maps/planky_evals/aligner_junction.map,sha256=OZGQJwdiqY4hm3rpa0VFKAZhd0NiTPXgl_vG7BEpAeo,522
127
+ cogames/maps/planky_evals/exploration_distant.map,sha256=3T0YsA6VPKio4kUuBdCMGGJLbCQFsIifiLqO2wj3OPY,628
128
+ cogames/maps/planky_evals/maze.map,sha256=o-YBXKNik5ioU-dbrvW__sganDwEZeOXnNtfyHfr4YM,642
129
+ cogames/maps/planky_evals/miner_best_resource.map,sha256=JvCbBXnb0FX0bx2TvxSdR12igBwOaf0d9ZxzgCKoPvk,522
130
+ cogames/maps/planky_evals/miner_deposit.map,sha256=vRFb1PhHMZ_xPa-LFs5VoThZskX6dPWHRXymXYLCy0A,454
131
+ cogames/maps/planky_evals/miner_extract.map,sha256=d1W55hK_2dAQtJCqr5WY8VcqJB9AwLmY_bINygsfV4E,468
132
+ cogames/maps/planky_evals/miner_full_cycle.map,sha256=z6CjqXq5WCNzZoPJ6RNmBSfyDK_tF7mdmLJrZSoBvEQ,540
133
+ cogames/maps/planky_evals/miner_gear.map,sha256=fVxU3ag_VFfUc7pvItQmbUx_-y4byy00vpE-t5J3aZA,426
134
+ cogames/maps/planky_evals/multi_role.map,sha256=BkUYc7PTLddwo9oL7O4JFXjFvE2N3LN-dHj-6KM7las,584
135
+ cogames/maps/planky_evals/resource_chain.map,sha256=TRIZz3wyat5-GJrZgwAEJ4ZYK8npk7APg-GiHw3UqNk,602
136
+ cogames/maps/planky_evals/scout_explore.map,sha256=a7Yj2intgyYflBz1CAXWAfaNXewstVYqNLVtBbF6YTs,642
137
+ cogames/maps/planky_evals/scout_gear.map,sha256=AJMC49H61k_tk0ZqmvlYwpU6pcL9-6x6TkFbJqGBZas,440
138
+ cogames/maps/planky_evals/scrambler_full_cycle.map,sha256=MdE5rhDyiUqjJD4Fp4PW8T5FbRJ3yfXq07Gb6SX_mGI,584
139
+ cogames/maps/planky_evals/scrambler_gear.map,sha256=yH24O0BO7UPRyIn6BiVIVWlhgYHOb2JBmcxcl3burdc,440
140
+ cogames/maps/planky_evals/scrambler_target.map,sha256=I46FzCSn3-Z68v2Q5xeTyer_Lk0um5aLwz7r4yx07zQ,504
141
+ cogames/maps/planky_evals/stuck_corridor.map,sha256=uyMhELKoQIX2n9o38UfJWGoq00KHAKYAXZOVSnIYulk,552
142
+ cogames/maps/planky_evals/survive_retreat.map,sha256=NmyqCM25AOYYalG5rRgar3Vs3pJ5Zyh_TT2fWxrXMIE,522
143
+ cogames/policy/__init__.py,sha256=JFjmvqYzj_j_mQ4Bmqmc60KU49HF63i0s8lIEu1G_b4,116
144
+ cogames/policy/chaos_monkey.py,sha256=FBUK5kZj5Kzgeo8VJ61iFk59AHLLE7Y0bvE7ffPIiHE,1825
145
+ cogames/policy/pufferlib_policy.py,sha256=5JaPTLSsicWNCNWYSiJnbijOCKpjkyie4KKvw0-awYE,5617
146
+ cogames/policy/signal_handler.py,sha256=19_i72AlYZmMifBDvZuaqLVrFIbWLa8mW-7In7nbG3c,2060
147
+ cogames/policy/starter_agent.py,sha256=ZpVyNbOIUM23iavxZQJuTYQ2TYVSUVDsCDsK9pUdeLs,7744
148
+ cogames/policy/trainable_policy_template.py,sha256=GbB4vi0wsIiuh_APtfjnavvh9ZVUx4SBmBDhU6Msx7s,7337
149
+ cogames/policy/nim_agents/__init__.py,sha256=ZMJgUljlvBoa3swAupfOyS6jF2jIwGPX-nL_T9vFmAw,1181
150
+ cogames/policy/nim_agents/agents.py,sha256=Do9WIgeodBi99H5UfCN0MlCjosb8gxaSl2cojIbiK9o,4528
151
+ cogames/policy/nim_agents/thinky_eval.py,sha256=NqIZng30MpyZD5hF03uoje4potd873hWyHOb3AZdeZk,1154
152
+ cogames-0.3.68.dist-info/licenses/LICENSE,sha256=NG4hf0NHdGZhkabVCK1MKX8RAJmWaEm4eaGcUsONZ_E,1065
153
+ metta_alo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
154
+ metta_alo/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
155
+ metta_alo/scoring.py,sha256=PcGVUXmxh4H4BoEnkMQaxrwxf06BGTqRZVSnOTPzG9M,5875
156
+ cogames-0.3.68.dist-info/METADATA,sha256=RD6b9CR38DP0EhBiI7TQNkncvgrqJlpASQlO04h2nO8,242101
157
+ cogames-0.3.68.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
158
+ cogames-0.3.68.dist-info/entry_points.txt,sha256=GTHdgj-RC2hQYmjUMSp9RHX8kbru19k0LS2lAj8DnLE,45
159
+ cogames-0.3.68.dist-info/top_level.txt,sha256=YErBkYWJd3-eksLpbgbMrETni1MPBNL4mqEyhZUa0UE,18
160
+ cogames-0.3.68.dist-info/RECORD,,
metta_alo/scoring.py CHANGED
@@ -3,8 +3,6 @@ from dataclasses import dataclass
3
3
  from typing import Mapping, Optional, Protocol, Sequence
4
4
  from uuid import UUID
5
5
 
6
- import numpy as np
7
-
8
6
  from mettagrid.simulator.multi_episode.rollout import MultiEpisodeRolloutResult
9
7
 
10
8
 
@@ -147,15 +145,17 @@ def summarize_vor_scenario(
147
145
  replacement_episode_count = 0
148
146
 
149
147
  for episode in rollout.episodes:
150
- if episode.rewards.size == 0:
148
+ if len(episode.rewards) == 0:
151
149
  continue
152
150
  if candidate_count == 0:
153
- replacement_sum += float(episode.rewards.mean())
151
+ replacement_sum += sum(episode.rewards) / len(episode.rewards)
154
152
  replacement_episode_count += 1
155
153
  else:
156
- mask = episode.assignments == candidate_policy_index
157
- if np.any(mask):
158
- candidate_sum += float(episode.rewards[mask].mean())
154
+ masked = [
155
+ r for a, r in zip(episode.assignments, episode.rewards, strict=True) if a == candidate_policy_index
156
+ ]
157
+ if masked:
158
+ candidate_sum += sum(masked) / len(masked)
159
159
  candidate_episode_count += 1
160
160
 
161
161
  candidate_mean = candidate_sum / candidate_episode_count if candidate_episode_count else None
@@ -1,19 +0,0 @@
1
- """Utility functions for mission configuration."""
2
-
3
- from __future__ import annotations
4
-
5
- from pathlib import Path
6
-
7
- from mettagrid.map_builder.map_builder import MapBuilderConfig
8
- from mettagrid.mapgen.mapgen import MapGen
9
-
10
-
11
- def get_map(map_name: str, fixed_spawn_order: bool = False) -> MapBuilderConfig:
12
- """Load a map by name from the maps directory."""
13
- maps_dir = Path(__file__).parent.parent / "maps"
14
- map_path = maps_dir / map_name
15
- return MapGen.Config(
16
- instance=MapBuilderConfig.from_uri(str(map_path)),
17
- fixed_spawn_order=fixed_spawn_order,
18
- instance_border_width=0, # Don't add border - maps already have borders built in
19
- )
@@ -1,25 +0,0 @@
1
- from typing import override
2
-
3
- from cogames.cogs_vs_clips.mission import Mission, MissionVariant
4
- from cogames.cogs_vs_clips.sites import TRAINING_FACILITY
5
-
6
-
7
- class TutorialVariant(MissionVariant):
8
- name: str = "tutorial_mode"
9
- description: str = "High energy regen for learning."
10
-
11
- @override
12
- def modify_mission(self, mission: Mission) -> None:
13
- mission.cog.energy_regen = 1
14
-
15
- @override
16
- def modify_env(self, mission: Mission, env) -> None:
17
- env.game.max_steps = max(env.game.max_steps, 1000)
18
-
19
-
20
- TutorialMission = Mission(
21
- name="tutorial",
22
- description="Learn the basics of CoGames: Gather, Craft, and Deposit.",
23
- site=TRAINING_FACILITY,
24
- variants=[TutorialVariant()],
25
- )