← 69927005ac25 · 69b886e1df03 →

699479899861

A zero-background grid contains two to four separated, non-rectangular red (2) components plus one to three isolated decorative cells. For each red component independently, recolor and fill its complete bounding box green (3), preserving every decorative cell.

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!
  (for/fold ([out g]) ([obj (in-list (filter (lambda (o) (= (obj-color o) 2)) (objects g 0)))])
    (let* ((rs (remove-duplicates (map first (obj-cells obj))))
           (cs (remove-duplicates (map second (obj-cells obj))))
           (cells (for*/list ([r (in-list rs)] [c (in-list cs)])
                    (list r c))))
      (paint-cells out cells 3))))

Provenance

Generator
generators/699479899861/generator.py
Notes and decisions
generators/699479899861/notes.md
Review label
reviewed_safe
Generator SHA-256
2354d2dd1bb12333428c3ff34af3c0ce0843f1bc71a0fb32610ed75795f9c706
Rule hash
ac41730bf8e3
Sources
bank:3b7f019624a4
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 699479899861 --count 1 --seed 20261108 --test 1