← c4f6a0585dbf · c5905adcd2cb →

c53c24435976

Code at (0,0) ∈ 1..4 + asymmetric shape elsewhere.

parametric familycrop bboxrotation / reflection by code

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).

Reference rule (Racket)

(rule!
  (let* ((cmd (at g 0 0))
         (cells (filter-cells g (lambda (r c v) (and (not (= v 0)) (not (and (= r 0) (= c 0)))))))
         (bb (bbox-of-cells cells))
         (sub (subgrid g (first bb) (second bb) (third bb) (fourth bb))))
    (cond [(= cmd 1) (rotate-cw sub)]
          [(= cmd 2) (rotate-180 sub)]
          [(= cmd 3) (flip-lr sub)]
          [else (flip-ud sub)])))

Provenance

Generator
generators/c53c24435976/generator.py
Notes and decisions
generators/c53c24435976/notes.md
Review label
reviewed_safe
Generator SHA-256
80bdaa5490a00013933e2ce11da8035e759632759edbba2e21d4d19458d2f58a
Rule hash
d0d963c75deb
Sources
bank:26462ff56908
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate c53c24435976 --count 1 --seed 20261108 --test 1