← 82b36c453029 · 82e4aea30adc →

82bce7d23c06

A one-row strip of width 2..10 with an exact requested number of nonzero cells, constrained by nz*width<=30. The reference expands it to an (nz*width)-square of parallel color-preserving diagonals.

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 (cols g))
                  (nz (for/sum ((c (range 0 n))) (if (!= (at g 0 c) 0) 1 0)))
                  (sz (* nz n)))
             (build-grid sz
                         sz
                         (r c)
                         (let ((idx (+ (- c (- sz 1)) r)))
                           (if (and (>= idx 0) (< idx n)) (at g 0 idx) 0)))))))

Provenance

Generator
generators/82bce7d23c06/generator.py
Notes and decisions
generators/82bce7d23c06/notes.md
Review label
reviewed_safe
Generator SHA-256
ecf4304f433ac7518867f38df895f43843c4dca7304a3790702d0b9ac8936304
Rule hash
70db807242f1
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 82bce7d23c06 --count 1 --seed 20261108 --test 1