← 83c4d8ce9656 · 83e2dcfca651 →
83ca9df09514
Find the uniquely dense template row. In every sparse key row, pair each revealed color with the template color above it, then fill every column belonging to that template-color group. The curriculum exactly covers all five canonical size/palette profiles and falsifies first-three-column, two-group, and fixed-row-one shortcuts.
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* ((template-row (let loop
((r 0) (best-r 0) (best-cnt 0))
(cond
((>= r h) best-r)
(else (let ((cnt (count-if (lambda (c)
(!= (at g r c) 0))
(range 0 w))))
(if (> cnt best-cnt)
(loop (+ r 1) r cnt)
(loop (+ r 1) best-r best-cnt)))))))
(template (for/list ((c (range 0 w))) (at g template-row c))))
(cellmap g
(r c __cm_v)
(cond
((= r template-row) __cm_v)
(else (let ((row-cells (for/list ((cc (range 0 w))) (at g r cc))))
(cond
((for/and ((v row-cells)) (zero? v)) 0)
(else (let ((mapping (make-hash)))
(for ((cc (range 0 w)))
(when
(!= (at g r cc) 0)
(hash-set! mapping
(list-ref template cc)
(at g r cc))))
(hash-ref mapping (list-ref template c) 0))))))))))))Provenance
- Generator
- generators/83ca9df09514/generator.py
- Notes and decisions
- generators/83ca9df09514/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 70db137b815d1463c9b759c9258749291aef361633d91fbf64e7c72c8d6f2233
- Rule hash
- 1dc6f00b70c9
- Sources
- augmented, training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 83ca9df09514 --count 1 --seed 20261108 --test 1