task_symbolic__spinner__single_attribute_probability¶
Public Taxonomy¶
- Domain:
symbolic - Scene id:
spinner - Task id:
task_symbolic__spinner__single_attribute_probability - Objective: single-spinner attribute probability.
Program Contract¶
Program: spinner.single_attribute_probability(scene=spinner, scope=one_equal_sector_spinner, attribute=color|shape, sample_space=visible_sectors, output=probability_option_letter)
Candidate set: all equal-area visible sectors on the spinner.
Operands: each sector's target attribute value and the resolved color or shape predicate.
Operation: count sectors matching the requested single-attribute predicate and reduce matching_sectors / total_sectors.
Output binding: answer is the letter of the visible A-F option whose reduced fraction is the requested probability.
Annotation schema: bbox.
Annotation witnesses: the scalar bbox of the full spinner panel.
Query ids: single_color_probability, single_shape_probability.
Reasoning Operations¶
Families: filtering, counting, formula_evaluation
Query Contract¶
single_color_probability: target predicate is one resolved sector color.single_shape_probability: target predicate is one resolved sector shape marker.
Generation And Trace¶
- The task samples one semantic predicate branch and asks for the probability that a uniformly selected sector satisfies it.
- The execution trace records sector specs, favorable outcome counts, total outcome counts, the exact reduced fraction, visible option fractions, and the selected answer label.
- Scene variants are
spinner_clean,spinner_card, andspinner_notebook. - Annotation is projected from finalized spinner-panel geometry, not from pixels.
- Scalar annotation checked: true.
Implementation¶
- Registered class:
trace_tasks.tasks.symbolic.spinner.single_attribute_probability.SymbolicSpinnerSingleAttributeProbabilityTask - Config:
src/trace_tasks/resources/configs/domains/symbolic/spinner.yaml - Prompt asset:
src/trace_tasks/resources/prompts/symbolic/spinner/symbolic_spinner_v1.json - Focused tests:
tests/test_symbolic_probability_spinner_tasks.py