← 547c45a21db1 · 54a83e6bbc20 →

548c1010ce89

Replace every all-zero row and all-zero column with red 2, preserving all other cells.

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)))
           (begin
             (define (row-empty? r)
               (andmap (lambda (c) (zero? (at g r c))) (range 0 w)))
             (define (col-empty? c)
               (andmap (lambda (r) (zero? (at g r c))) (range 0 h)))
             (cellmap g (r c v) (cond ((row-empty? r) 2) ((col-empty? c) 2) (else v)))))))

Provenance

Generator
generators/548c1010ce89/generator.py
Notes and decisions
generators/548c1010ce89/notes.md
Review label
reviewed_safe
Generator SHA-256
baf9a05af0e287d52953d91261b6ea1d902e0fb50e583ca1acfe6a9ca21bce8d
Rule hash
506bc3722b18
Sources
augmented, training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 548c1010ce89 --count 1 --seed 20261108 --test 1