← public_eval_edb79dae · public_eval_f560132c →

public_eval_eee78d87

Recover a motif, tile its binary pattern and highlight the centered two-by-two copies.

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!
 ;; Recover the tight non-orange motif and its two-dimensional period.
 ;; Center two copies per axis; their foreground is maroon, the outer
 ;; continuation black. Orange is preserved. The admitted extension sets
 ;; output dimensions to 2*input+4; all official inputs are 6x6.
 ;; Tiling: translation; ablation: none.
 (lambda (g)
  (let ()
   (define raw (crop-to-content g 7))
   (define motif raw)
   (define mh (rows motif))
   (define mw (cols motif))
   (define HH (+ (* 2 h) 4))
   (define WW (+ (* 2 w) 4))
   (define sr (- (/ HH 2) mh))
   (define sc (- (/ WW 2) mw))
   (build-grid HH WW (r c)
    (let* ((dr (- r sr)) (dc (- c sc))
           (mr (modulo dr mh)) (mc (modulo dc mw)))
     (if (= (at motif mr mc) 7) 7
         (if (and (<= sr r) (< r (+ sr (* 2 mh))) (<= sc c) (< c (+ sc (* 2 mw)))) 9 0)))))))

Provenance

Generator
generators/public_eval_eee78d87/generator.py
Notes and decisions
generators/public_eval_eee78d87/notes.md
Review label
reviewed_safe
Generator SHA-256
8418572dbb47273ce9db59fb5c914b973f4c35683d8d4f9e1446fa9b1c9749d7
Rule hash
00e9a673bd5c
Sources
evaluation, public_eval:eee78d87
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate public_eval_eee78d87 --count 1 --seed 20261108 --test 1