← c6fa0b0b24da · c739fcbc6cbd →
c7070676c606
Count color-1 cells in row 0, rank eligible color-3 four-connected components by descending cell count then first occupied cell, and recolor rank k to 2. Default lessons interleave joint counterexamples with varied lawful shapes, including ties, singleton and endpoint ranks.
countingmeta-selectionranking by size
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 ((dummy 0)) (define (objs-of color) (filter (lambda (obj) (= (obj-color obj) color)) (objects g 0))) (let* ((k (count-where (lambda (v) (= v 1)) (row g 0))) (candidates (filter (lambda (obj) (all? (lambda (p) (> (first p) 0)) (obj-cells obj))) (objs-of 3))) (ranked (sort candidates (lambda (a b) (if (= (obj-size a) (obj-size b)) (cell< (first (sort (obj-cells a) cell<)) (first (sort (obj-cells b) cell<))) (> (obj-size a) (obj-size b)))))) (target (list-ref ranked (- k 1)))) (paint-cells g (obj-cells target) 2))))
Provenance
- Generator
- generators/c7070676c606/generator.py
- Notes and decisions
- generators/c7070676c606/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- e9121bbc33924c5613c73f5c5194251c5a3999be33ee6f23791faccb8366efea
- Rule hash
- 53d5f7ffc079
- Sources
- bank:b4ec712e8849
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate c7070676c606 --count 1 --seed 20261108 --test 1