← c9b2eae14052 · ca81880afbf3 →

c9db537b5068

Exactly four same-color cells occupy the corners of an interior rectangle; the rule fills that rectangle solid.

bounding boxcorner detectionsame-size fill

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).

Reference rule (Racket)

(rule!
  (let* ((cells (filter-cells g (lambda (r c v) (not (= v 0)))))
         (color (third (first (filter (lambda (cell) (not (= (third cell) 0))) (grid-cells g)))))
         (bb (bbox-of-cells cells)))
    (paint-cells g (positions-in-rect (first bb) (second bb) (third bb) (fourth bb)) color)))

Provenance

Generator
generators/c9db537b5068/generator.py
Notes and decisions
generators/c9db537b5068/notes.md
Review label
reviewed_safe
Generator SHA-256
33a58c09fbd9c3180ebfdee864cc1bb7e5b92219abea7af61eb937bfbabf640f
Rule hash
3ae37aff2b7c
Sources
bank:9a66c53abf7f
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate c9db537b5068 --count 1 --seed 20261108 --test 1