← 3180c5a8cff7 · 31a4112b4151 →
3194379886a5
Split the input at three full-height gray columns into three square prototype panels and one query panel. Match the query occupancy to exactly one prototype under translation and the eight dihedral transforms, then return that prototype in its original position recolored with the query color.
parametric family
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 (split-panels-row grid count) (let* ((panel-w (quotient (- (cols grid) (- count 1)) count))) (for/list ((i (in-range count))) (let ((left (* i (+ panel-w 1)))) (subgrid grid 0 left (- (rows grid) 1) (+ left panel-w -1)))))) (define transform-names (list 'id 'rot90 'rot180 'rot270 'flip-h 'flip-v 'transpose 'anti-transpose)) (define (anti-transpose-grid grid) (rotate-180 (transpose grid))) (define (apply-transform-name name grid) (cond ((equal? name 'id) grid) ((equal? name 'rot90) (rotate-cw grid)) ((equal? name 'rot180) (rotate-180 grid)) ((equal? name 'rot270) (rotate-ccw grid)) ((equal? name 'flip-h) (flip-lr grid)) ((equal? name 'flip-v) (flip-ud grid)) ((equal? name 'transpose) (transpose grid)) (else (anti-transpose-grid grid)))) (define (canonical-cells panel) (sort (normalize-cells (filter (lambda (p) (not (= (at panel (first p) (second p)) 0))) (grid-positions panel))) cell<)) (let* ((panels (split-panels-row g 4)) (libs (list (first panels) (second panels) (third panels))) (q (fourth panels)) (qcanon (canonical-cells q)) (qcolor (first (filter (lambda (v) (not (= v 0))) (apply append q)))) (chosen (first (filter (lambda (lib) (any? (lambda (name) (equal? (canonical-cells (apply-transform-name name lib)) qcanon)) transform-names)) libs)))) (grid-from-fn (rows chosen) (cols chosen) (lambda (r c) (if (= (at chosen r c) 0) 0 qcolor))))))
Provenance
- Generator
- generators/3194379886a5/generator.py
- Notes and decisions
- generators/3194379886a5/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 94df16cef1e322a900dd3f8896e6757a27ed1f7b5636a0c60a77496479e10b2f
- Rule hash
- 510cf694b614
- Sources
- bank:7507d112faf2
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 3194379886a5 --count 1 --seed 20261108 --test 1