← 901c6034f67e · 907bb29fbac5 →

90640e0e6314

Given an asymmetric n x n color bitmap, output a 2n x 2n tiling with TL=180-degree rotation, TR=vertical flip, BL=horizontal flip, and BR=the original bitmap.

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 ((n (rows g)))
           (build-grid (* 2 n)
                       (* 2 n)
                       (r c)
                       (let ((qr (quotient r n))
                             (qc (quotient c n))
                             (lr (remainder r n))
                             (lc (remainder c n)))
                         (cond
                           ((and (zero? qr) (zero? qc)) (at g (- n 1 lr) (- n 1 lc)))
                           ((zero? qr) (at g (- n 1 lr) lc))
                           ((zero? qc) (at g lr (- n 1 lc)))
                           (else (at g lr lc))))))))

Provenance

Generator
generators/90640e0e6314/generator.py
Notes and decisions
generators/90640e0e6314/notes.md
Review label
reviewed_safe
Generator SHA-256
97508cbdd531c0ba6b564aaf818b6a58adf829abfdaaaab45b89e97f176a401e
Rule hash
370706e398d4
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 90640e0e6314 --count 1 --seed 20261108 --test 1