← 8dd23f285c61 · 8de1c257a9c7 →
8dd7ace7de9a
Recover the smallest periodic tile consistent with all non-magenta cells, then replace magenta (6) noise by repeating that tile across the grid.
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* ((h (rows g))
(w (cols g)))
(let* ((hh (rows g))
(ww (cols g))
(noise 6)
(found #f)
(tile-pr 1)
(tile-pc 1)
(tile (make-hash)))
(for ((pr (range 1 (+ 1 (quotient hh 2)))))
(unless
found
(for ((pc (range 1 (+ 1 (quotient ww 2)))))
(unless
found
(let ((t (make-hash))
(ok #t)
(complete #t))
(for* ((r (range 0 hh)) (c (range 0 ww)))
(when
ok
(let ((v (at g r c)))
(when
(!= v noise)
(let ((tr (remainder r pr))
(tc (remainder c pc)))
(cond
((not (hash-has-key? t (list tr tc))) (hash-set! t (list tr tc) v))
((!= (hash-ref t (list tr tc) 0) v) (set! ok #f))))))))
(when
ok
(for* ((tr (range 0 pr)) (tc (range 0 pc)))
(unless
(hash-has-key? t (list tr tc))
(set! complete #f))))
(when
(and ok complete)
(set! found #t)
(set! tile-pr pr)
(set! tile-pc pc)
(set! tile t)))))))
(build-grid hh
ww
(r c)
(hash-ref tile
(list (remainder r tile-pr) (remainder c tile-pc))
0))))))Provenance
- Generator
- generators/8dd7ace7de9a/generator.py
- Notes and decisions
- generators/8dd7ace7de9a/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 5989a1f783b99c801dfaca05ae5d36bd777497bd7a1da985f53d7f742940cbf9
- Rule hash
- 0f05e4e27969
- Sources
- augmented, training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 8dd7ace7de9a --count 1 --seed 20261108 --test 1