← 204213f10aff · 20859a33c80e →

204eaaff6c24

0-background grid with exactly one nonzero color. Count all of that color's cells (1..30) and output a 1 x N bar of the same color.

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* ((color (find-first (lambda (v) (!= v 0)) (grid-colors g)))
                  (n (count-color g color)))
             (encode-bar n n color)))))

Provenance

Generator
generators/204eaaff6c24/generator.py
Notes and decisions
generators/204eaaff6c24/notes.md
Review label
reviewed_safe
Generator SHA-256
8aec638b293e27e7d1e9a8b71aca5e3b089b4813f7d7f4e2b377080364ad4985
Rule hash
4571597a8055
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 204eaaff6c24 --count 1 --seed 20261108 --test 1