Spaces:
Runtime error
Runtime error
Commit ·
f571c87
1
Parent(s): b571b83
docs(memory): note errand C=9 / distractor_idx collision is safe only single-agent
Browse files
proteus/game/runtime/memory.py
CHANGED
|
@@ -247,6 +247,10 @@ def memory_frames(
|
|
| 247 |
grid[y][x] = idx
|
| 248 |
|
| 249 |
distractor_idx = 9 # COLOR_MAP blue
|
|
|
|
|
|
|
|
|
|
|
|
|
| 250 |
for mt in checkpoint.memory_turns:
|
| 251 |
if mt.agents:
|
| 252 |
grid = [[bg] * w for _ in range(h)]
|
|
|
|
| 247 |
grid[y][x] = idx
|
| 248 |
|
| 249 |
distractor_idx = 9 # COLOR_MAP blue
|
| 250 |
+
# NB: errand's "C"=9 coincides with distractor_idx (9). Fine while errand is
|
| 251 |
+
# single-agent (every agent is is_chosen, so the distractor branch is unused);
|
| 252 |
+
# a future multi-agent errand would need distractor_idx to diverge or the focal
|
| 253 |
+
# and distractor couriers would be indistinguishable.
|
| 254 |
for mt in checkpoint.memory_turns:
|
| 255 |
if mt.agents:
|
| 256 |
grid = [[bg] * w for _ in range(h)]
|