← 346480121fcb · 348efda982ab →

346c1552c4eb

Place two through six isolated, distinct-colored 4-connected objects with strictly distinct areas; output their colors in increasing-area order.

component measurementsortingsymbolic output

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!
 ;; Output one row of the object COLORS, sorted by size then color.
 (let ((sorted (sort (objects g 0)
                     (lambda (a b) (if (= (obj-size a) (obj-size b))
                                       (< (obj-color a) (obj-color b))
                                       (< (obj-size a) (obj-size b)))))))
   (list (map obj-color sorted))))

Provenance

Generator
generators/346c1552c4eb/generator.py
Notes and decisions
generators/346c1552c4eb/notes.md
Review label
reviewed_safe
Generator SHA-256
dc48d8d687b24b475f1303c3cff38e9108e4eb94bd93efa65585e408346c8c54
Rule hash
12b7a90d3fc1
Sources
bank:0e5302a13aba
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 346c1552c4eb --count 1 --seed 20261108 --test 1