← 3adf11522bf5 · 3b1ef21add2f →
3ae696dbdba9
Close vertical holes independently inside every 4-connected non-zero component: in each occupied component column, paint the inclusive span from its topmost to bottommost cell in that component color. Already column-convex controls remain unchanged.
column profilescomponent-wise reasoningsame-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).
Original task pairs
From the source task; the reference rule must reproduce them.
Reference rule (Racket)
(rule! (let ((dummy 0)) (define (col-span-cells obj) (remove-duplicates (flatmap (lambda (c) (let ((rs (map first (filter (lambda (p) (= (second p) c)) (obj-cells obj))))) (if (empty? rs) (list) (for/list ((r (in-range (apply min rs) (+ (apply max rs) 1)))) (list r c))))) (range (obj-c1 obj) (+ (obj-c2 obj) 1))))) (define (col-fill grid banned) (for/fold ((out grid)) ((obj (in-list (objects grid 0)))) (if (member (obj-color obj) banned) out (paint-cells out (col-span-cells obj) (obj-color obj))))) (col-fill g (list))))
Provenance
- Generator
- generators/3ae696dbdba9/generator.py
- Notes and decisions
- generators/3ae696dbdba9/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 37e1557379cfe5bdf93bab8b7032aec9b4f884b6691ce3b2ec2f0840fa7b18ef
- Rule hash
- 116e45f72631
- Sources
- bank:fe9bb13a9b18
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 3ae696dbdba9 --count 1 --seed 20261108 --test 1