← c5c5f3f84f12 · c5f62271ea44 →
c5dd8036311b
Grow marker-tipped color-1 columns upward from a marked horizontal bar: height three for color 8 and four for color 2.
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))
(bar-row (find-first (lambda (r)
(for/or ((c (range 0 w))) (= (at g r c) 1)))
(range 0 h)))
(markers (filter (lambda (c)
(let ((v (at g bar-row c))) (and (!= v 0) (!= v 1))))
(range 0 w))))
(reduce (lambda (grid mc)
(let* ((color (at g bar-row mc))
(col-h (if (= color 8) 3 4))
(start-r (- bar-row col-h)))
(reduce (lambda (g2 dr)
(let ((r (+ start-r dr)))
(if (and (>= r 0) (< r bar-row))
(set-cell g2 r mc (if (zero? dr) color 1))
g2)))
grid
(range 0 col-h))))
g
markers))))Provenance
- Generator
- generators/c5dd8036311b/generator.py
- Notes and decisions
- generators/c5dd8036311b/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 8c8516063ea26db20c415a47d8d48bf346bb100c64e419d30f3988effc3ccb04
- Rule hash
- fd929da87d08
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate c5dd8036311b --count 1 --seed 20261108 --test 1