← 961add4a2688 · 9679db24667b →

964b23808a3c

In each column whose last nonzero marker is 5, fill from row 0 through successive markers using the current/lower marker's color. Leave other columns and rows below a floating terminator unchanged. A four-profile curriculum covers all canonical size/palette profiles and includes distractor columns, internal-5 traps, top gaps, and floating terminators.

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)))
           (reduce (lambda (acc c)
                     (let* ((marks (filter (lambda (r) (!= (at g r c) 0)) (range 0 h))))
                       (if (or
                             (empty? marks)
                             (!= (at g (nth marks (- (length marks) 1)) c) 5))
                           acc
                           (reduce (lambda (a i)
                                     (let* ((r (nth marks i))
                                            (start (if (zero? i)
                                                       0
                                                       (+ (nth marks (- i 1)) 1)))
                                            (color (at g r c)))
                                       (reduce (lambda (aa rr) (set-cell aa rr c color))
                                               a
                                               (range start (+ r 1)))))
                                   acc
                                   (range 0 (length marks))))))
                   g
                   (range 0 w)))))

Provenance

Generator
generators/964b23808a3c/generator.py
Notes and decisions
generators/964b23808a3c/notes.md
Review label
reviewed_safe
Generator SHA-256
1157d7044a6f0ec62be9d5eb4138058fa5ad77448c8f2adbe02bfd8c70d04e20
Rule hash
c7e69da25375
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 964b23808a3c --count 1 --seed 20261108 --test 1