← 79353e95283d · 7946249c9684 →
7944933e200f
Crop the original grid to the first row-major object whose color has minimum global frequency.
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))
(all-vals (flatmap (lambda (r)
(map (lambda (c) (at g r c)) (range 0 (cols g))))
(range 0 (rows g))))
(rarest (first (sort-by objs
(lambda (o)
(count-if (lambda (v) (= v (obj-color o)))
all-vals))))))
(crop-object g rarest)))))Provenance
- Generator
- generators/7944933e200f/generator.py
- Notes and decisions
- generators/7944933e200f/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- a0ccc92d7b4cb372cbd538f12851b45efdb78245fb5666af31965714424ad7cd
- Rule hash
- 9b761bca5c45
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 7944933e200f --count 1 --seed 20261108 --test 1