← 11ebef5b0986 · 1229e88ae0e6 →
1216927d148b
3 5-wide panels with binary content; pairwise intersection.
parametric familyalignmentbooleangalleryintersectionspanel
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 (e8b-paste grid pat top left) (for*/fold ((out grid)) ((r (in-range (rows pat))) (c (in-range (cols pat)))) (let ((v (at pat r c)) (rr (+ top r)) (cc (+ left c))) (if (and (not (= v 0)) (in-bounds? rr cc (rows out) (cols out))) (set-cell out rr cc v) out)))) (define (f14b-hstack-center grids (gap 1)) (if (empty? grids) (list (list)) (let* ((h (apply max (map rows grids))) (w (+ (apply + (map cols grids)) (* gap (- (length grids) 1))))) (let loop ((xs grids) (left 0) (out (empty-grid h w 0))) (if (empty? xs) out (let* ((piece (first xs)) (top (quotient (- h (rows piece)) 2))) (loop (rest xs) (+ left (cols piece) gap) (e8b-paste out piece top left)))))))) (define (f14b-intersection a b) (grid-from-fn (rows a) (cols a) (lambda (r c) (if (and (not (= (at a r c) 0)) (not (= (at b r c) 0))) 8 0)))) (let* ((panels (for/list ((i (in-range 3))) (subgrid g 0 (* i 6) (- (rows g) 1) (+ (* i 6) 4)))) (items (list (f14b-intersection (first panels) (second panels)) (f14b-intersection (first panels) (third panels)) (f14b-intersection (second panels) (third panels))))) (f14b-hstack-center items 1))))
Provenance
- Generator
- generators/1216927d148b/generator.py
- Notes and decisions
- generators/1216927d148b/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 466e0590bf7046e6d0df179f37992e8096ec2f246419d723a6e5a601599f32b9
- Rule hash
- cc8b8a179b65
- Sources
- bank:d82cc3a28c3b
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 1216927d148b --count 1 --seed 20261108 --test 1