← 1569ecfa4ff1 · 158efba9f453 →
156bae9e7b79
Row 0 is a dense color key with gray (5) at the column of one vertical cyan (8) line. From the observed line top through its observed bottom, copy key-row colors into an expanding triangle centered on that line; keep the line cyan and all cells outside the active triangle gray.
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! (lambda (g)
(let* ((h (rows g))
(w (cols g)))
(let* ((hh (rows g))
(ww (cols g))
(bg 5)
(key (for/list ((c (range 0 ww))) (at g 0 c)))
(line-col (let loop
((c 0))
(if (for/or ((r (range 1 hh))) (= (at g r c) 8))
c
(loop (+ c 1)))))
(line-top (let loop
((r 0))
(if (= (at g r line-col) 8) r (loop (+ r 1)))))
(line-bottom (let loop
((r (- hh 1)))
(if (= (at g r line-col) 8) r (loop (- r 1)))))
(max-radius (quotient (- ww 1) 2)))
(build-grid hh
ww
(r c)
(if (and (>= r line-top) (<= r line-bottom))
(let ((vis-r (min max-radius (- r line-top))))
(if (= c line-col)
8
(if (and
(>= c (- line-col vis-r))
(<= c (+ line-col vis-r)))
(list-ref key c)
bg)))
bg))))))Provenance
- Generator
- generators/156bae9e7b79/generator.py
- Notes and decisions
- generators/156bae9e7b79/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 4fe3bf13651039b87a3c4643e44ecaafc855317c39144b63dfc1e42829e60fbc
- Rule hash
- 01a0d2007d61
- Sources
- augmented, training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 156bae9e7b79 --count 1 --seed 20261108 --test 1