task_games__sokoban__closest_box_goal_label¶
Contract¶
- Domain:
games - Scene id:
sokoban - Public task id:
task_games__sokoban__closest_box_goal_label - Supported
query_idvalues:single - Answer schema:
option_letter - Annotation schema:
bbox - Program schema:
select_closest_box_by_matching_goal(boxes, matching_goals, distance=manhattan); scene=sokoban; scope=closest_box_goal_label - Scalar annotation checked:
true
Program Contract¶
Program: select_closest_box_by_matching_goal(boxes, matching_goals, distance=manhattan); scene=sokoban; scope=closest_box_goal_label
Candidate set: the visible game board, pieces, tokens, cards, tiles, marked state, legal-move cues, result panels, and labeled options inside the closest_box_goal_label objective scope.
Operands: visible scene state and prompt-bound operands named by boxes, matching_goals, distance, manhattan, sokoban, closest_box_goal_label.
Operation: evaluate select_closest_box_by_matching_goal over the candidate set using the visible game state, rules, legal moves, comparisons, counts, simulations, or option-selection constraints encoded in the program expression; generation enforces a unique final answer.
Output binding: answer uses the option_letter schema; generation binds a unique final answer.
Annotation witnesses: annotation uses the bbox schema; the prompt/annotation contract defines the minimal visual witnesses.
Query ids: single.
Reasoning Operations¶
Families: ranking, spatial_relations, matching
Generation Notes¶
- The board shows lettered colored boxes and matching colored goal dots.
- No box starts on its matching goal.
- The task asks which labeled box is closest to its matching colored goal dot.
- Distance is Manhattan grid distance: row steps plus column steps, ignoring walls, boxes, the player, and other board objects.
- The closest box is unique by construction.
- Annotation is the scalar bbox of the selected box cell.
- Prompt wording comes from
src/trace_tasks/resources/prompts/games/sokoban/games_sokoban_v1.json.