← 5ca74a85bc85 · 5ccdbe078da6 →
5cb854cd43c4
Extract same-color nonzero 4-connected objects, sort them by decreasing cell count with smaller color first on ties, and emit one row containing a color run per object separated by one zero.
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!
(let* ((sorted-objs
(sort (objects g 0)
(lambda (a b)
(cond
[(not (= (obj-size a) (obj-size b))) (> (obj-size a) (obj-size b))]
[else (< (obj-color a) (obj-color b))]))))
(row
(cdr
(flatmap
(lambda (obj)
(cons 0 (for/list ([i (range (obj-size obj))]) (obj-color obj))))
sorted-objs))))
(list row)))Provenance
- Generator
- generators/5cb854cd43c4/generator.py
- Notes and decisions
- generators/5cb854cd43c4/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- f36f679fc10a563b313eea278ac185dea636c3f96dfdbbd5ea7dfcfa5c9cee1c
- Rule hash
- e1a351c73552
- Sources
- bank:765a70430bc9
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 5cb854cd43c4 --count 1 --seed 20261108 --test 1