Repository navigation
Commit 12f6cdc
committed
docs(skills): the percent row of the data skill's field-type table states the storage scale
A `percent` field stores a fraction (0-1) unless it declares `max` above 1,
then whole percentage points (`percentScaleOf` in
packages/spec/src/data/percent-scale.ts); seeds, defaults and API values use
that stored scale. The row used to say "Percentage values (0-100)", which had
an author seed `25` on a field without `max` and read back `2500%`. Paid
inside the file's token ceiling by deleting the `Vector (AI Embeddings)`
example, whose one fact the Enhanced Types row already states.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L9qibvc9vjAiGhyhnLTp341 parent 1f1a369 commit 12f6cdc
2 files changed
Lines changed: 11 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | 246 | | |
256 | 247 | | |
257 | 248 | | |
| |||
0 commit comments