← e64c021e29ad · e68b376152cd →

e685e65af79d

A zero-background grid contains 2-4 separated, distinctly colored objects with asymmetric square bounding boxes. For each object, overlay its three clockwise quarter-turns inside its own bounding box. Every ordinary input contains a diagnostic object that rules out a 180-degree-only shortcut.

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!
  (let ((dummy 0))
    (define (cell<? a b)
      (or (< (first a) (first b))
          (and (= (first a) (first b)) (< (second a) (second b)))))
    (define (norm cells) (sort (normalize-cells cells) cell<?))
    (define (rot cells) (norm (rotate-cells-cw cells)))
    (for/fold ([out g]) ([obj (objects g 0)])
      (let loop ((k 0) (shape (norm (obj-cells obj))) (acc out))
        (if (= k 4)
            acc
            (loop (+ k 1)
                  (rot shape)
                  (paint-cells acc
                               (map (lambda (p) (list (+ (obj-r1 obj) (first p)) (+ (obj-c1 obj) (second p)))) shape)
                               (obj-color obj))))))))

Provenance

Generator
generators/e685e65af79d/generator.py
Notes and decisions
generators/e685e65af79d/notes.md
Review label
reviewed_safe
Generator SHA-256
ae3033c3b33fc3a2e9fc856d0c64a0572f7f3994b585078d6d5544ca0bc923c9
Rule hash
05e8d3feca65
Sources
bank:38166e88069b
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate e685e65af79d --count 1 --seed 20261108 --test 1