task_symbolic__logic_gate_circuit__output_value_label¶
Public Taxonomy¶
- Domain:
symbolic - Scene id:
logic_gate_circuit - Source scene:
logic_gate_circuit - Task id:
task_symbolic__logic_gate_circuit__output_value_label
Program Contract¶
Program: logic_gate_circuit.output_value_label(scene=logic_gate_circuit, scope=four_independent_circuit_options, target_output=0|1, output=option_letter)
Candidate set: the four independent Boolean circuit-option panels labeled A..D.
Operands: the visible input values, gate topology, and gate operators in each option circuit, plus the requested final OUT value.
Operation: evaluate each option circuit and select the unique circuit whose final OUT node equals the requested value.
Output binding: answer is the selected option letter.
Annotation witnesses: the scalar bbox of the selected circuit-option panel.
Query ids: output_one_label, output_zero_label.
Reasoning Operations¶
Families: logical_composition, topology, formula_evaluation
Query Contract¶
- Query metadata:
query_id - Supported
query_idvalues: output_one_labeloutput_zero_label- Prompts ask which shown circuit has final
OUTvalue1or0. - Each instance shows exactly four independent circuit options labeled
A..D. - Each option panel uses exactly two visible input values.
Answer And Annotation¶
answer_gt.type = option_letteranswer_gt.valueis the single correct circuit-option label.- Annotation schema:
bbox annotation_gt.type = bbox- Annotation is the bbox of the selected circuit-option panel.
- Gate bboxes, input labels, wire segments, and output nodes are not prompt-facing annotation.
Trace Contract¶
execution_trace.circuitsrecords visible inputs, gates, and computed output value for each circuit.execution_trace.target_output_valuerecords the queried output value.execution_trace.annotation_item_idrecords the selected circuit id used for bbox projection.render_map.item_bboxes_pxexposes option-panel, gate, input, and output-node boxes after final layout.render_map.output_points_pxexposes final output-node centers for audit tooling.
Prompt Contract¶
- Bundle:
symbolic_logic_gate_circuit_v1 - Scene key:
logic_gate_circuit - Task key:
logic_gate_output_value_label - Query keys:
output_one_labeloroutput_zero_label - Prompt wording must ask from visible gate symbols, wires, and input values. It must not reveal hidden computed output values.
Source Files¶
- Task source:
src/trace_tasks/tasks/symbolic/logic_gate_circuit/output_value_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 sampler constructs exactly one circuit with the queried output value.
- Supported visible gates are
AND,OR,NOT,XOR,NAND, andNOR. - Every visible input and every visible gate contributes to the final output.
- The circuit sampler does not introduce fanout or wire crossings as semantic requirements.