소스 검색

docs: observed length is the diagnostic half of a suggestion, not a caveat

NOT IN THE PUBLISHED 0.13.0; ships with curl tomorrow.

I documented lengths and ranges purely as a warning - described rather than
enforced, so do not arm a suggestion unseen. A consumer ran suggest over
12447 live rows within an hour of the feature shipping and showed that those
annotations are the most informative part of it.

validFrom reported observed length 10..24 while validTo reported 10..10.
5847 rows - every chunk from one adapter - store a 24-character ISO timestamp
where the other 6600 store a 10-character date. The type was entirely clean,
so a suggestion reporting types alone would have said everything was fine:
the defect sat in a field whose type was right and whose format was not.

It matters because string bounds compare as strings, and a date is a prefix
of its own timestamp - so 2026-12-31T11:57:17.000Z sorts above 2026-12-31 and
a row valid on a 31 December drops out of that year. They checked 2017 to
2030 and found no live disagreement, the latest December timestamp being
2025-12-30. A one-day margin.

Recorded with the general form, because it is the transferable part: a field
whose type is right and whose format is not passes every type check you
write, and the length range is what makes it visible. Their own caution still
stands beside it - a suggestion describes the data and is not a proposal -
and both are true at once: it is a measurement, and measurements are where
findings come from.
fszontagh 1 개월 전
부모
커밋
7439122579
1개의 변경된 파일과 0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      api/llms.txt

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1
api/llms.txt


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.