← 2e0d26e28a50 · 2e663d812b7a →

2e5c98d98eed

A 0-background grid contains exactly one closed rectangular frame in color 8 and exactly one non-0/non-8 seed inside it. Fill the complete strict interior with that seed color while preserving the frame and all outside background cells.

color transferframe detectioninterior 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).

Original task pairs

From the source task; the reference rule must reproduce them.

Reference rule (Racket)

(rule!
  ;; Bounding box enclosing the cells
  (let* ((bb (bbox-of-cells (find-color g 8)))
         (seed (third (first (filter (lambda (cell)
                                       (and (not (= (third cell) 0))
                                            (not (= (third cell) 8))))
                                     (grid-cells g))))))
    (for*/fold ([out g])
               ([r (in-range (+ (first bb) 1) (third bb))]
                [c (in-range (+ (second bb) 1) (fourth bb))])
      (set-cell out r c seed))))

Provenance

Generator
generators/2e5c98d98eed/generator.py
Notes and decisions
generators/2e5c98d98eed/notes.md
Review label
reviewed_safe
Generator SHA-256
18875900dac39a1a6a7f1ed7fe3c497aa994403b49c6a59b9738cea95c536a0f
Rule hash
57607a91f9f7
Sources
bank:be1bc1d91387
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 2e5c98d98eed --count 1 --seed 20261108 --test 1