← abee0b4bed48 · acb1cae24892 →
ac4b61e7b230
Move the red object along each separated axis until its bounding box abuts cyan.
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! (lambda (g)
(let* ((h (rows g))
(w (cols g)))
(let* ((objs (objects g 0))
(obj2 (find (lambda (o) (= (obj-color o) 2)) objs))
(obj8 (find (lambda (o) (= (obj-color o) 8)) objs)))
(with-bbox obj2
(r1a c1a r2a c2a)
(with-bbox obj8
(r1b c1b r2b c2b)
(let* ((dr (if (< r2a r1b)
(- (- r1b r2a) 1)
(if (> r1a r2b) (- (+ r2b 1) r1a) 0)))
(dc (if (< c2a c1b)
(- (- c1b c2a) 1)
(if (> c1a c2b) (- (+ c2b 1) c1a) 0)))
(blank (cellmap g (r c v) 0))
(with8 (recolor-cells blank
(obj-cells obj8)
8))
(with2 (reduce (lambda (g2 cell)
(set-cell g2
(+ (fst cell) dr)
(+ (snd cell) dc)
2))
with8
(obj-cells obj2))))
with2)))))))Provenance
- Generator
- generators/ac4b61e7b230/generator.py
- Notes and decisions
- generators/ac4b61e7b230/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 7472decbbed2b49988fa904d58283f5cafb85897b6e131000f6fcd2fd7a9270e
- Rule hash
- 736dca1f0b72
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate ac4b61e7b230 --count 1 --seed 20261108 --test 1