task_games__snake__snake_length_count¶
Contract¶
- Domain:
games - Scene id:
snake - Public task id:
task_games__snake__snake_length_count - Supported
query_idvalues:single - Answer schema:
integer - Annotation schema:
bbox_set - Program schema:
count(snake_occupied_cells); scene=snake; scope=snake_length_count - Scalar annotation checked:
true
Program Contract¶
Program: count(snake_occupied_cells); scene=snake; scope=snake_length_count
Candidate set: the visible game board, pieces, tokens, cards, tiles, marked state, legal-move cues, result panels, and labeled options inside the snake_length_count objective scope.
Operands: visible scene state and prompt-bound operands named by snake_occupied_cells, snake, snake_length_count.
Operation: evaluate count 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 integer schema; generation binds a unique final answer.
Annotation witnesses: annotation uses the bbox_set schema; the prompt/annotation contract defines the minimal visual witnesses.
Query ids: single.
Reasoning Operations¶
Families: counting
Generation Notes¶
- Count all snake-occupied cells, including the head and every body/tail cell.
- Annotation is the bbox set for the same occupied cells counted in the answer.
- Prompt wording comes from
src/trace_tasks/resources/prompts/games/snake/games_snake_v1.json.