← 3ab6810fc781 · 3adf11522bf5 →
3ab9aab86992
Tiny L triomino orientations select large output corner placements.
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! (lambda (g)
(let* ((h (rows g))
(w (cols g)))
(let* ((bg (mode g))
(k (quotient (- h 1) 2))
(objs (objects g bg))
(placements (map (lambda (obj)
(let* ((color (obj-color obj))
(r1 (obj-r1 obj))
(c1 (obj-c1 obj))
(r2 (obj-r2 obj))
(c2 (obj-c2 obj))
(tl (= (at g r1 c1) color))
(tr (= (at g r1 c2) color))
(bl (= (at g r2 c1) color))
(br (= (at g r2 c2) color))
(corner (cond
((and tl tr bl) 'tl)
((and tl tr br) 'tr)
((and tl bl br) 'bl)
(else 'br))))
(list corner color)))
objs))
(covers? (lambda (p r c)
(let ((corner (first p)))
(cond
((eq? corner 'tl) (and (< r k) (< c k) (or (zero? r) (zero? c))))
((eq? corner 'tr) (and
(< r k)
(>= c (- w k))
(or (zero? r) (= c (- w 1)))))
((eq? corner 'bl) (and
(>= r (- h k))
(< c k)
(or (= r (- h 1)) (zero? c))))
(else (and
(>= r (- h k))
(>= c (- w k))
(or (= r (- h 1)) (= c (- w 1))))))))))
(cellmap g
(r c v)
(let ((hit (find-first (lambda (p) (covers? p r c)) placements)))
(if hit (second hit) bg)))))))Provenance
- Generator
- generators/3ab9aab86992/generator.py
- Notes and decisions
- generators/3ab9aab86992/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 277f63c0a443811356a15528b6f80b5e30c1025b4cb95237bece99f125403e3f
- Rule hash
- bbdf13ba2dfd
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 3ab9aab86992 --count 1 --seed 20261108 --test 1