← 1a8932958b14 · 1acd7639146e →

1a92a12bac06

A 0-background grid contains 3-4 separated red(2) vertical bars. For each bar independently, the bottom floor(height/2) cells become cyan(8). Bars vary in height and can be bottom-aligned, top-aligned, floating, or mixed-anchor; output shape is unchanged.

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* ((all-objs (objects g 0))
                  (red-bars (filter (lambda (o) (= 2 (obj-color o))) all-objs)))
             (reduce (lambda (grid bar)
                       (let* ((cells (obj-cells bar))
                              (rs (map first cells))
                              (r1 (min-list rs))
                              (r2 (max-list rs))
                              (bar-h (+ 1 (- r2 r1)))
                              (half-h (quotient bar-h 2))
                              (cyan-start (- r2 (- half-h 1))))
                         (reduce (lambda (gr cell)
                                   (let ((r (first cell))
                                         (c (second cell)))
                                     (if (>= r cyan-start) (set-cell gr r c 8) gr)))
                                 grid
                                 cells)))
                     g
                     red-bars)))))

Provenance

Generator
generators/1a92a12bac06/generator.py
Notes and decisions
generators/1a92a12bac06/notes.md
Review label
reviewed_safe
Generator SHA-256
45d7191f37ffec706ce96b767acae52115b7b0b037cf138168b3486d2690c504
Rule hash
6d628a0b1a7d
Sources
augmented, training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 1a92a12bac06 --count 1 --seed 20261108 --test 1