← 06b4c496c6cf · 0701a2c36d45 →
06da3d8c94fe
Five panels separated by gray columns encode p1 op p2 = p3 for exactly one of union, intersection, or xor; apply that operation to p4 and p5. The sampler schedules every operation twice per six draws, guarantees distinct candidate outputs on both the demonstration and query, and anchors every difficulty band at the canonical 4x24 three-color profile.
Generated by the released generator before publication; every output was computed by its Racket reference rule. White outlines mark the cells the rule changed. Lesson check:
refuted: a demonstration contradicts the rival. survived_all: it fits every demonstration and also gives the intended answer, so it cannot mislead here. ambiguous: it fits every demonstration but answers the query differently. Names are as declared by the generator; a declared shortcut is not guaranteed to fit the original pairs (see the paper’s Limitations).
Original task pairs
From the source task; the reference rule must reproduce them.
Reference rule (Racket)
(rule! (let ((dummy 0)) (define (s17-split-panel-row grid count) (let ((pw (quotient (- (cols grid) (- count 1)) count))) (for/list ((i (in-range count))) (let ((left (* i (+ pw 1)))) (grid-from-fn (rows grid) pw (lambda (r c) (at grid r (+ left c)))))))) (define (s16-binop kind a b) (grid-from-fn (rows a) (cols a) (lambda (r c) (let ((aa (not (= (at a r c) 0))) (bb (not (= (at b r c) 0)))) (if (cond ((equal? kind 'union) (or aa bb)) ((equal? kind 'intersection) (and aa bb)) (else (not (equal? aa bb)))) 2 0))))) (let* ((panels (s17-split-panel-row g 5)) (p1 (first panels)) (p2 (second panels)) (p3 (third panels)) (p4 (list-ref panels 3)) (p5 (list-ref panels 4)) (kind (first (filter (lambda (k) (equal? (s16-binop k p1 p2) p3)) (list 'union 'intersection 'xor))))) (s16-binop kind p4 p5))))
Provenance
- Generator
- generators/06da3d8c94fe/generator.py
- Notes and decisions
- generators/06da3d8c94fe/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 5f22a70fcdb2d1eda1c899c5f4d3a3886685523b8da19064e27814dc6c4dd6ca
- Rule hash
- b01bd9f14dbe
- Sources
- bank:5b06d39592a3
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 06da3d8c94fe --count 1 --seed 20261108 --test 1