task_symbolic__chemical_equation__missing_coefficient_value¶
1) Identity¶
- Domain:
symbolic - Scene id:
chemical_equation - Task id:
task_symbolic__chemical_equation__missing_coefficient_value - Objective: solve the one missing coefficient in a displayed chemical equation.
Program Contract¶
Program: chemical_equation.missing_coefficient_value(scene=chemical_equation, scope=one_blank_coefficient_plus_molecule_cards, output=integer)
Candidate set: the visible symbolic notation, tokens, rows, columns, cards, labels, components, and target markers inside the one_blank_coefficient_plus_molecule_cards objective scope.
Operands: the visible atom chips grouped into molecule cards, side/operator layout, and visible coefficients.
Operation: count atoms per molecule card and apply coefficients so both sides match.
Output binding: answer is the missing integer coefficient.
Annotation witnesses: a bbox_set around the missing coefficient slot and each molecule card.
Query ids: single.
Reasoning Operations¶
Families: formula_evaluation
2) Scene + Task Contract¶
- Every coefficient, including
1, is explicitly drawn unless it is the one hidden?slot. - Molecule cards show repeated atom chips only; formula strings are not drawn.
- A coefficient multiplies the full adjacent molecule-card term.
- Supported generated coefficients are integers from
1through5. answer_gt.type:integerannotation_gt.type:bbox_set- Annotation schema:
bbox_setwith multiple boxes: the blank coefficient slot box plus one molecule-card box for every term. - The scene contains a single hidden coefficient slot.
3) Prompt Contract¶
- Bundle:
symbolic_chemical_equation_v1 scene_key:chemical_equationtask_key:missing_coefficient_value- Modes:
answer_only,answer_and_annotation - Prompt text comes from the external prompt bundle.
4) Trace Contract¶
execution_trace.chemical_equation_metadata.reactionrecords formulas, balanced coefficients, and atom totals.execution_trace.termsrecords term formulas, coefficients, hidden status, and atom counts.render_map.item_bboxes_pxcontains coefficient-slot and molecule-card projections.projected_annotationmirrors the publicbbox_setannotation.
5) Determinism + Tests¶
- Deterministic generation and rendering from
instance_seed. - The hidden coefficient is sampled answer-first from the configured support unless pinned by params.
- Behavior tests:
tests/test_symbolic_chemical_equation_tasks.py