← 625b40fb6218 · 62757098b2dd →
627260bf308f
Read the row-0 palette left-to-right; color size-ranked 4-connected color-8 components.
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! (let ((dummy 0)) (define (e8b-list< a b) (cond ((empty? a) #f) ((< (first a) (first b)) #t) ((> (first a) (first b)) #f) (else (e8b-list< (rest a) (rest b))))) (let* ((headers (filter (lambda (v) (not (= v 0))) (first g))) (objs (sort (filter (lambda (obj) (= (obj-color obj) 8)) (objects g 0)) (lambda (a b) (or (< (obj-size a) (obj-size b)) (and (= (obj-size a) (obj-size b)) (e8b-list< (obj-bbox a) (obj-bbox b)))))))) (let loop ((rest-objs objs) (rest-headers headers) (out g)) (if (or (empty? rest-objs) (empty? rest-headers)) out (loop (rest rest-objs) (rest rest-headers) (paint-cells out (obj-cells (first rest-objs)) (first rest-headers))))))))
Provenance
- Generator
- generators/627260bf308f/generator.py
- Notes and decisions
- generators/627260bf308f/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 07ee110e1e46147138b48c2cac3c544ef628cb595a53bc5eb5955fcb58c89b1f
- Rule hash
- 088353dcd64f
- Sources
- bank:22a17f7a0399
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 627260bf308f --count 1 --seed 20261108 --test 1