Skip to content

Commit 9fe2fad

Browse files
Update CLUADE.md
1 parent 6ba1d0f commit 9fe2fad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CLAUDE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ HTML fragment with four required sections:
105105
- Be consistent within a single challenge
106106
4. **Constraints** — Size bounds, data types, value ranges, **and performance test size**
107107

108+
**SVG visualization** (optional): If the challenge involves a spatial or structural concept that is hard to understand from text alone, add an inline SVG diagram after the problem description paragraph. Good candidates include convolutions, pooling, attention masks, tree reductions, grid algorithms, and data movement patterns. Use a consistent dark theme (`#222` background, `#ccc` text, blue/green accents) and `style="display:block; margin:20px auto;"`. See existing examples in `challenges/easy/9_1d_convolution/challenge.html` or `challenges/medium/74_gpt2_block/challenge.html`.
109+
108110
**Formatting rules:**
109111
- `<code>` for variables/functions; `<pre>` for 1D examples, LaTeX `\begin{bmatrix}` for matrices
110112
- `&le;`, `&ge;`, `&times;` for math symbols
@@ -181,6 +183,7 @@ Verify every item before submitting. This is the single source of truth — work
181183
- [ ] First example matches `generate_example_test()` values
182184
- [ ] Examples use `<pre>` for 1D data, LaTeX `\begin{bmatrix}` for matrices — consistent, never mixed
183185
- [ ] Constraints includes `Performance is measured with <code>param</code> = value` bullet matching `generate_performance_test()`
186+
- [ ] If the concept is spatial/structural, includes an SVG visualization after the problem description (dark theme, `#222` background)
184187

185188
### challenge.py
186189
- [ ] `class Challenge` inherits `ChallengeBase`

0 commit comments

Comments
 (0)