# 📐  L2 Spec — Automated Optical Inspection (AOI) for PCB / manufacturing defects Mismatch-Only Spec

**ID:** `L2-117-001` · **Status:** ⊙ Testnet (genesis catalog)
**Parents:** ⬆ Principle [`L1-117`](/artifact/l1/L1-117)

> **🎯 Tolerance (ε):** expression
> **⚖ Difficulty score:** 0.5 · **Delta tier:** 5
> **⛓ On-chain block:** 41554203

---

## 1. Domain Ω

**Type:** `range`

| Parameter | Unit | Range |
|---|---|---|
| H | px | 512 – 8192 |
| W | px | 512 – 8192 |
| Snr db | dB | 10.0 – 45.0 |
| N lights | — | 1 – 16 |
| Pixel um | µm | 1 – 50 |
| Occlusion | — | 0.0 – 0.2 |
| Color shift | — | 0.0 – 0.2 |
| Part misalignment | — | 0.0 – 5.0 |
| Illumination variation | — | 0.0 – 0.3 |

## 2. Tolerance (ε)

**Type:** `fn`

```
25.0 + 0.3 * SNR_dB - 8.0 * illumination_variation - 5.0 * color_shift - 2.0 * part_misalignment
```

## 3. Difficulty

| Property | Value |
|---|---|
| Difficulty score | 0.5 |
| Delta tier | 5 |

## 4. Fingerprint

`2969d4da9a5f72ce442d5e70350781a9270f3a7356e412425966a28d0d2d689f`

## 5. On-chain Registration

- **Chain hash:** `0x5407fe811f4b35ffb343f86a63a94f5e284595477f95ff97037bc411e6895ee0`
- **Chain tx hash:** `0xf07f6151ada0553d8bf43fa5e0d1b0684bd3c8d20b3307ec32ef7f6b4406fc2b`
- **Chain block:** `41554203`

---

## File Mapping

This bundle consists of: `L2-117-001.md`, `L2-117-001.json`.

| File | Role | How to regenerate |
|------|------|-------------------|
| `L2-117-001.md` | Source of truth — edit this | Human or LLM |
| `L2-117-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-117-001`._
_Edit it, regenerate the JSON, and submit at [/submit](/submit) to claim the artifact._