# 📐 L2 Spec — Image Inpainting Freeform-Mask Spec (Places2 / CelebA-HQ family)
**ID:** `L2-384-001` · **Status:** ⊙ Testnet (genesis catalog)
**Parents:** ⬆ Principle [`L1-384`](/artifact/l1/L1-384)
> **🎯 Tolerance (ε):** expression
> **⚖ Difficulty score:** 0.5 · **Delta tier:** 5
> **⛓ On-chain block:** 41555200
---
## 1. Domain Ω
**Type:** `range`
| Parameter | Unit | Range |
|---|---|---|
| H | px | 128 – 2048 |
| W | px | 128 – 2048 |
| Mask ratio | — | 0.05 – 0.75 |
| Noise level | — | 0.0 – 0.05 |
| Boundary dilation | — | 0 – 8 |
| Hole diameter max | — | 8 – 512 |
## 2. Tolerance (ε)
**Type:** `fn`
```
30.0 - 10.0 * mask_ratio - 0.01 * hole_diameter_max + 2.0 * log2(H / 128)
```
## 3. Difficulty
| Property | Value |
|---|---|
| Difficulty score | 0.5 |
| Delta tier | 5 |
## 4. Fingerprint
`7250298e2d98661c0a594533b3095a30892d5f77fe3195035cccbd0c1aa0b804`
## 5. On-chain Registration
- **Chain hash:** `0xba2d866532522ed3c0623b28a5cd1acf00e0dfa5fca66106ea5715878466632e`
- **Chain tx hash:** `0xa6bd259058340cac137ab286089191c30b2cfde10cbf73e0f02a186b3660c76b`
- **Chain block:** `41555200`
---
## File Mapping
This bundle consists of: `L2-384-001.md`, `L2-384-001.json`.
| File | Role | How to regenerate |
|------|------|-------------------|
| `L2-384-001.md` | Source of truth — edit this | Human or LLM |
| `L2-384-001.json` | Structured metadata for the registry | LLM regenerates from the sections above |
**Prompt for your LLM after editing this Markdown:**
> Read the attached Markdown. Regenerate the sibling `.json` so every field matches.
> Preserve the schema documented in the rows above.
> Output each file in its own fenced code block tagged with the filename.
> Output only the JSON object.
_This Markdown was auto-synthesized from the catalog row for `L2-384-001`._
_Edit it, regenerate the JSON, and submit at [/submit](/submit) to claim the artifact._