task_symbolic__logic_gate_circuit__satisfying_assignment_label¶
Public Taxonomy¶
- Domain:
symbolic - Scene id:
logic_gate_circuit - Source scene:
logic_gate_circuit - Task id:
task_symbolic__logic_gate_circuit__satisfying_assignment_label
Program Contract¶
Program: logic_gate_circuit.satisfying_assignment_label(scene=logic_gate_circuit, scope=source_circuit_plus_assignment_options, target_output=0|1, output=option_letter)
Candidate set: the four visible assignment rows labeled A..D.
Operands: the source Boolean circuit, each assignment row's input values, and the requested final OUT value.
Operation: evaluate the source circuit for every assignment row and select the unique row whose final OUT value equals the requested value.
Output binding: answer is the selected option letter.
Annotation witnesses: a bbox_map with source_circuit and selected_option roles.
Query ids: assignment_outputs_one_label, assignment_outputs_zero_label.
Reasoning Operations¶
Families: logical_composition, topology, formula_evaluation, matching
Query Contract¶
- Query metadata:
query_id - Supported
query_idvalues: assignment_outputs_one_labelassignment_outputs_zero_label- Prompts ask which visible assignment option makes the source circuit's final
OUTnode evaluate to1or0. - Each instance shows one source circuit and exactly four assignment-option rows labeled
A..D. - Inputs are named
x,y, andz.
Answer And Annotation¶
answer_gt.type = option_letteranswer_gt.valueis the single correct assignment-option label.- Annotation schema:
bbox_map annotation_gt.type = bbox_map- Annotation uses keys
source_circuitandselected_option. - Distractor assignment rows, gate bboxes, and output-node points are not prompt-facing annotation.
Trace Contract¶
execution_trace.source_circuitrecords the visible circuit grammar.execution_trace.candidatesrecords each option label, assignment values, computed output value, and correctness flag.execution_trace.logic_gate_metadata.correct_assignmentrecords the unique satisfying assignment.execution_trace.target_output_valuerecords the queried output value.render_map.item_bboxes_pxexposes the source-circuit bbox and candidate-row bboxes after final layout.
Prompt Contract¶
- Bundle:
symbolic_logic_gate_circuit_v1 - Scene key:
logic_gate_circuit - Task key:
logic_gate_satisfying_assignment_label - Query keys:
assignment_outputs_one_labelorassignment_outputs_zero_label - Prompt wording must refer to the visible source circuit and visual assignment rows, not prompt-only answer choices.
Source Files¶
- Task source:
src/trace_tasks/tasks/symbolic/logic_gate_circuit/satisfying_assignment_label.py - Scene shared package:
src/trace_tasks/tasks/symbolic/logic_gate_circuit/shared/ - Config:
src/trace_tasks/resources/configs/domains/symbolic/logic_gate_circuit.yaml - Prompt asset:
src/trace_tasks/resources/prompts/symbolic/logic_gate_circuit/symbolic_logic_gate_circuit_v1.json
Determinism + Constraints¶
- Deterministic generation and rendering from
instance_seed. - Unique-answer policy: the source circuit is constructed so exactly one shown assignment row has the queried output value.
- Supported visible gates are
AND,OR,NOT,XOR,NAND, andNOR. - The renderer does not rely on wire fanout or crossover conventions.