← 486375757aca · 48732ebd41f9 →

486794347a11

Count the colour-1 cells in the top row to obtain K. Erase those marker cells, crop the unique connected one-colour object below the blank separator row to its tight bounding box, and enlarge that crop by factor K in both dimensions; each source cell becomes a K by K block.

countingresizescale

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! (let ((dummy 0)) (define (scale-up grid k) (grid-from-fn (* (rows grid) k) (* (cols grid) k) (lambda (r c) (at grid (quotient r k) (quotient c k))))) (let* ((k (count-where (lambda (v) (= v 1)) (row g 0))) (temp (grid-from-fn (rows g) (cols g) (lambda (r c) (if (and (= r 0) (= (at g r c) 1)) 0 (at g r c))))) (obj (crop-to-content temp))) (scale-up obj k))))

Provenance

Generator
generators/486794347a11/generator.py
Notes and decisions
generators/486794347a11/notes.md
Review label
reviewed_safe
Generator SHA-256
d99d3bb001158d0e30650fcec5f505835a69b9c1ad122657a5ca4cc44b2a4b48
Rule hash
ba0ff57b853e
Sources
bank:056856052daa
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 486794347a11 --count 1 --seed 20261108 --test 1