← f191c16f6179 · f22baf82ea81 →

f1c8ea826b10

Build a sealed color-5 wall lattice with two to four chamber rows and columns plus optional isolated wall blockers. Each connected chamber region has one, two, or on harder generalized lessons three distinct markers. A singleton fills solid; multiple colors fill a bbox-anchored checkerboard using only the numeric minimum and maximum.

parametric familychamber partitioningmulti-seed reasoningpattern 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).

Reference rule (Racket)

(rule!
  (let ((dummy 0))
    (define (chamber-cells start)
      (connected-region g (first start) (second start)
        (lambda (r c v) (not (= v 5)))
        4))
    (define (paint-chamber out region)
      (let ((colors (sort (remove-duplicates
                            (filter (lambda (v) (and (not (= v 0)) (not (= v 5))))
                                    (map (lambda (p) (at g (first p) (second p))) region)))
                          <))
            (bb (bbox-of-cells region)))
        (cond [(empty? colors) (paint-cells out region 0)]
              [(= (length colors) 1) (paint-cells out region (first colors))]
              [else
               (for/fold ([acc out]) ([p (in-list region)])
                 (set-cell acc (first p) (second p)
                           (if (= (modulo (+ (- (first p) (first bb)) (- (second p) (second bb))) 2) 0)
                               (first colors)
                               (last colors))))])))
    (let loop ([remaining (filter-cells g (lambda (r c v) (not (= v 5))))] [out (keep-only g 5)])
      (if (empty? remaining)
          out
          (let ((region (chamber-cells (first remaining))))
            (loop (filter (lambda (p) (not (member? p region))) remaining)
                  (paint-chamber out region)))))))

Provenance

Generator
generators/f1c8ea826b10/generator.py
Notes and decisions
generators/f1c8ea826b10/notes.md
Review label
reviewed_safe
Generator SHA-256
0ebb08b5107764e213bad8841e7c29b62408b06b27bb499cff664c31d8ba1a47
Rule hash
b59c7b8974ab
Sources
bank:dc02f6f7c147
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate f1c8ea826b10 --count 1 --seed 20261108 --test 1