← 81d29e66f427 · 81fdfd815936 →

81eddce255be

Count the blue cells in the first row. Keep the unique body object with that many cells, preserving its color and position; erase the header and the other two objects.

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)) (let* ((k (length (filter (lambda (v) (= v 1)) (first g)))) (body (subgrid g 1 0 (- (rows g) 1) (- (cols g) 1)))) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((obj (in-list (objects body 0)))) (if (= (obj-size obj) k) (paint-cells out (map (lambda (p) (list (+ 1 (first p)) (second p))) (obj-cells obj)) (obj-color obj)) out)))))

Provenance

Generator
generators/81eddce255be/generator.py
Notes and decisions
generators/81eddce255be/notes.md
Review label
reviewed_safe
Generator SHA-256
e51985885c66a2b47b0c43245ca49e5a06633c41821e6a5d7e56b4c22cc49ed8
Rule hash
70441dae68b0
Sources
bank:bfb58307fa26
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 81eddce255be --count 1 --seed 20261108 --test 1