← 3f5263211041 · 3f93d8860778 →
3f533a120cf5
Gray bitmap plus repeated-color column key and separator bar; crop the bitmap bbox, use the key color on gray cells, and separator color in bbox holes.
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))
(gray-cells (find-color g 5))
(sr1 (min-of fst gray-cells))
(sc1 (min-of snd gray-cells))
(sr2 (max-of fst gray-cells))
(sc2 (max-of snd gray-cells))
(sh (+ 1 (- sr2 sr1)))
(sw (+ 1 (- sc2 sc1)))
(sep-row (find-first (lambda (r)
(and
(or (< r sr1) (> r sr2))
(let* ((vals (filter (lambda (v) (!= v 0))
(map (lambda (c)
(at g r c))
(range 0 w)))))
(and
(> (length vals) 1)
(= 1 (length (unique vals)))))))
(range 0 h)))
(sep-color (find-first (lambda (v) (!= v 0))
(map (lambda (c) (at g sep-row c)) (range 0 w))))
(key-row (if (and
(> sep-row 0)
(for/or ((c (range 0 w)))
(and
(!= (at g (- sep-row 1) c) 0)
(!= (at g (- sep-row 1) c) sep-color))))
(- sep-row 1)
(+ sep-row 1)))
(key-cells (filter (lambda (c) (!= (at g key-row c) 0)) (range 0 w)))
(kc1 (min-list key-cells)))
(build-grid sh
sw
(r c)
(if (= (at g (+ sr1 r) (+ sc1 c)) 5)
(at g key-row (+ kc1 c))
sep-color)))))Provenance
- Generator
- generators/3f533a120cf5/generator.py
- Notes and decisions
- generators/3f533a120cf5/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- c63333b9cd8acc75cd147d76deff12590f9267cb7286d9d18f14cddf2bf8cd5c
- Rule hash
- df7e059f3faa
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 3f533a120cf5 --count 1 --seed 20261108 --test 1