← 2e9bbcd910a7 · 2f0f072d3d7e →
2f0a4d589c58
On background 0, one full-width horizontal bar and one full-height vertical bar cross. Their colors differ. The overlap is uniformly the color of the visually front bar. Recolor the complete overlap rectangle with the other bar color, leaving every non-overlap cell unchanged.
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! (lambda (g)
(let* ((h (rows g))
(w (cols g)))
(let* ((row-dom (map (lambda (r)
(let ((nz (filter (lambda (v) (!= v 0))
(map (lambda (kc) (at g r kc))
(range 0 w)))))
(and
(> (length nz) (/ w 2))
(mode (list (list 0) nz) 0))))
(range 0 h)))
(col-dom (map (lambda (c)
(let ((nz (filter (lambda (v) (!= v 0))
(map (lambda (kr) (at g kr c))
(range 0 h)))))
(and
(> (length nz) (/ h 2))
(mode (list (list 0) nz) 0))))
(range 0 w))))
(cellmap g
(r c v)
(let ((v v)
(rd (nth row-dom r))
(cd (nth col-dom c)))
(if (and rd cd (!= rd cd)) (if (= v rd) cd rd) v)))))))Provenance
- Generator
- generators/2f0a4d589c58/generator.py
- Notes and decisions
- generators/2f0a4d589c58/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 62763719c9c6556fe64fdc0184eba3af744bb81faed1a90931edb17c3937fc99
- Rule hash
- 70d63db0a1f2
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 2f0a4d589c58 --count 1 --seed 20261108 --test 1