← c36d1678a484 · c3dcd7ae3aaf →
c39bef185e7e
Canonical-scale 0-background grids contain one irrelevant non-green corner marker plus green objects. All but one green object are the same shape under rotation/reflection; the unique dihedral class is recolored to 8. The outlier quadrant is scheduled independently of matched/exploratory roles. Three-demo default lessons retain a matched shape witness after any single query holdout.
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 (cell<? a b)
(or (< (first a) (first b))
(and (= (first a) (first b)) (< (second a) (second b)))))
(define (shape-key cells) (format "~a" (sort (normalize-cells cells) cell<?)))
(define (rot90 cells)
(let ((h (+ 1 (apply max (map first cells)))))
(normalize-cells (map (lambda (p) (list (second p) (- h 1 (first p)))) cells))))
(define (rotate cells k)
(let loop ([i 0] [cur (normalize-cells cells)])
(if (= i (modulo k 4)) cur (loop (+ i 1) (rot90 cur)))))
(define (reflect-h cells)
;; Same shape, translated so its bbox starts at (0,0)
(let* ((norm (normalize-cells cells))
(h (+ 1 (apply max (map first norm)))))
(normalize-cells (map (lambda (p) (list (- h 1 (first p)) (second p))) norm))))
(define (canonical-key cells)
(first (sort (append* (map (lambda (k)
(let ((rot (rotate cells k)))
(list (shape-key rot) (shape-key (reflect-h rot)))))
(list 0 1 2 3)))
string<?)))
;; Mutable lookup table for groups
(define groups (make-hash))
(for ([obj (in-list (filter (lambda (o) (= (obj-color o) 3)) (objects g 0)))])
(hash-update! groups (canonical-key (obj-cells obj)) (lambda (xs) (cons obj xs)) (list)))
(define odd
(first (append* (map (lambda (k)
(let ((xs (hash-ref groups k)))
(if (= (length xs) 1) xs (list))))
(hash-keys groups)))))
(if odd (paint-cells g (obj-cells odd) 8) g)))Provenance
- Generator
- generators/c39bef185e7e/generator.py
- Notes and decisions
- generators/c39bef185e7e/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 2176196eaa90ff3a14d71444be3d23c1e55fa4395d6b18321372a60ab839dd94
- Rule hash
- 622186409963
- Sources
- bank:8edfaf6db623
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate c39bef185e7e --count 1 --seed 20261108 --test 1