task_illustrations__pixel_village__person_path_count¶
Summary¶
- Domain:
illustrations - Scene id:
pixel_village - Implementation source scene:
pixel_village - Implementation source:
src/trace_tasks/tasks/illustrations/pixel_village/person_path_count.py
Task Contract¶
Counts people whose occupied tile footprint intersects a visible path tile in a top-down pixel village.
Program Contract¶
Program: count(filter(pixel_village_people, intersects(tile_footprint(person), path_tiles))); scene=pixel_village; scope=person_path_count
Candidate set: the visible illustrated scene objects, people, regions, tiles, patches, labels, and option panels inside the person_path_count objective scope.
Operands: visible scene state and prompt-bound operands named by filter, pixel_village_people, intersects, tile_footprint, person, path_tiles, pixel_village, person_path_count.
Operation: evaluate count over the candidate set using the visible illustrated objects, regions, layout relationships, counts, patch/tile transforms, or option-selection constraints encoded in the program expression; generation enforces a unique final answer.
Output binding: answer uses the integer schema; a positive integer derived from the same execution trace as the annotation.
Annotation witnesses: annotation uses the bbox_set schema; the prompt/annotation contract defines the minimal visual witnesses.
Query ids: single.
Reasoning Operations¶
Families: filtering, counting, spatial_relations, topology
Query Branches¶
| Query id | Program schema |
|---|---|
single |
count(filter(pixel_village_people, intersects(tile_footprint(person), path_tiles))); scene=pixel_village; scope=person_path_count |
Program Metadata¶
- Program signatures:
count.spatial_relation - Base program contract:
count(filter(pixel_village_people, intersects(tile_footprint(person), path_tiles))); scene=pixel_village; scope=person_path_count - Parameter axes:
path_person_count - Arguments:
person: semantic_role; allowedpixel_village_person; sourceprogram_schema_concretepixel_village_people: semantic_role; allowedvisible_pixel_village_people; sourceprogram_schema_concretepath_tiles: semantic_role; allowedvisible_pixel_village_path_tiles; sourcescene_trace- Argument metadata status:
curated - Supported query ids:
single
Answer Contract¶
- Answer schema:
integer_count - Generator
answer_gt.type:integer - The answer value is a positive integer derived from the same execution trace as the annotation.
- Non-counted background people must be rendered outside the configured one-tile path clearance neighborhood.
Annotation Contract¶
- Annotation schema:
bbox_set - Generator
annotation_gt.type:bbox_set - Annotation is an unordered set of final-image pixel points, one near the center of each counted person on a path.
- Annotation must not include the path tiles themselves or context-only village regions.
Prompt And Trace Requirements¶
- Prompt text must come from the illustrations counting prompt bundle.
- Public prompts use
peopleorperson, not the internal renderer labelvillager. - Path membership is defined by metadata tile-footprint intersection, not pixel-color inference.
- Counted person ids, path tiles, background-person path clearance, renderer metadata, projected points, and diagnostic bboxes must be recorded in the trace.