← 40ad7195c775 · 40dea3d45f2a →
40b155c46f6e
Zero-background grids with 1..3 separated compact active rows. Each row has a repeated nonzero majority and one different singleton; the unchanged Racket rule recolors that singleton only. Active rows range over the whole canvas, including positive even indices. Three-draw lessons include endpoint odds, noncanonical run lengths, a third active row, and shared color roles.
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)) (for/fold ((out g)) ((r (in-range (rows g)))) (let* ((colors (remove-duplicates (filter (lambda (v) (not (= v 0))) (row g r)))) (counts (map (lambda (color) (count-where (lambda (v) (= v color)) (row g r))) colors))) (if (and (= (length colors) 2) (= (apply min counts) 1) (> (apply max counts) 1)) (let* ((major (first (filter (lambda (color) (= (count-where (lambda (v) (= v color)) (row g r)) (apply max counts))) colors))) (odd (first (filter (lambda (color) (= (count-where (lambda (v) (= v color)) (row g r)) 1)) colors)))) (for/fold ((acc out)) ((c (in-range (cols g)))) (if (= (at g r c) odd) (set-cell acc r c major) acc))) out)))))
Provenance
- Generator
- generators/40b155c46f6e/generator.py
- Notes and decisions
- generators/40b155c46f6e/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- ba2ed8f163990a4fca514bb9913e447be8d3e96a541dbad13402a7366161144d
- Rule hash
- d149383b47c7
- Sources
- bank:22a17f7a0399
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 40b155c46f6e --count 1 --seed 20261108 --test 1