← 7f666a786bf3 · 7fd453cd0339 →

7fc158ab7b70

Upscale every input cell into an nz×nz block, where nz is the number of nonzero cells (not the number of distinct colors).

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* ((n (rows g))
                  (nz (for/sum ((r (range 0 n)))
                        (for/sum ((c (range 0 n))) (if (!= (at g r c) 0) 1 0)))))
             (build-grid (* n nz)
                         (* n nz)
                         (r c)
                         (let* ((br (/ r nz))
                                (bc (/ c nz))
                                (v (at g br bc)))
                           (if (!= v 0) v 0)))))))

Provenance

Generator
generators/7fc158ab7b70/generator.py
Notes and decisions
generators/7fc158ab7b70/notes.md
Review label
reviewed_safe
Generator SHA-256
9070d806a5720ecc39eae06c4294c338f5a7afb564e0c89ad36af898fbd6369f
Rule hash
d959c287782b
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 7fc158ab7b70 --count 1 --seed 20261108 --test 1