# 📐 L2 Spec — X-Ray Fluorescence (XRF) Mapping Mismatch-Only Spec
**ID:** `L2-118-001` · **Status:** ⊙ Testnet (genesis catalog)
**Parents:** ⬆ Principle [`L1-118`](/artifact/l1/L1-118)
> **🎯 Tolerance (ε):** expression
> **⚖ Difficulty score:** 0.5 · **Delta tier:** 5
> **⛓ On-chain block:** 41554203
---
## 1. Domain Ω
**Type:** `range`
| Parameter | Unit | Range |
|---|---|---|
| H | px | 64 – 4096 |
| W | px | 64 – 4096 |
| Kv | — | 10 – 50 |
| Dwell ms | ms | 1 – 10000 |
| N elements | — | 2 – 30 |
| Peak counts | — | 20 – 100000 |
| Peak overlap | — | 0.0 – 0.5 |
| Matrix effect | — | 0.0 – 0.3 |
| Self absorption | — | 0.0 – 0.5 |
| Detector dead time | — | 0.0 – 0.5 |
## 2. Tolerance (ε)
**Type:** `fn`
```
18.0 + 2.5 * log10(peak_counts / 20) - 8.0 * matrix_effect - 5.0 * detector_dead_time
```
## 3. Difficulty
| Property | Value |
|---|---|
| Difficulty score | 0.5 |
| Delta tier | 5 |
## 4. Fingerprint
`8ab8aacaa6e0d8e05ff8b8560b8f5918d5df4075d540f1eb54b3ff801728d922`
## 5. On-chain Registration
- **Chain hash:** `0x240229e1240dc052404b8ddecd0b5d7c8edbddcbec9e1719eb23788f6611fa2c`
- **Chain tx hash:** `0x78aa125554be38fdbec7a7063047f918eff3412b021d22d69e5c10d4c5bcf8d0`
- **Chain block:** `41554203`
---
## File Mapping
This bundle consists of: `L2-118-001.md`, `L2-118-001.json`.
| File | Role | How to regenerate |
|------|------|-------------------|
| `L2-118-001.md` | Source of truth — edit this | Human or LLM |
| `L2-118-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-118-001`._
_Edit it, regenerate the JSON, and submit at [/submit](/submit) to claim the artifact._