Skip to content

A date range over a record field, which the corpus missed - #73

Merged
rmichaelthomas merged 1 commit into
mainfrom
feat/corpus-date-range-on-a-record-field
Sep 12, 2026
Merged

rmichaelthomas merged 1 commit into
mainfrom
feat/corpus-date-range-on-a-record-field

Conversation

@rmichaelthomas

Copy link
Copy Markdown
Owner

The corpus's date case remembered a scalar and compared it. The shape a consumer actually writes is a date field on a record compared to a literal:

filter the events where starts-at is not below 2026-01-01

That goes down a different operand path in the analyzer.

Found by porting. The TypeScript validator passed the corpus's date case and still refused the record-field form with Unexpected value in condition, because the two paths are separate and only one had been taught about dates.

Which is the same blindness one level up. The word-list gate could not see a behaviour change that added no word. A behavioural corpus cannot see a shape it does not contain. Coverage of the vocabulary is not coverage of the grammar — and the coverage gate only checks the first.

41 cases. The generator and the three staleness gates are unchanged.

🤖 Generated with Claude Code

https://claude.ai/code/session_01E6qcDj1e1dEYvc8jLnpGZy

… missed

The corpus's date case remembered a scalar date and compared it. The
shape a consumer actually writes is a date *field on a record* compared
to a literal — `filter the events where starts-at is not below
2026-01-01` — and that goes down a different path in the analyzer.

Found by porting: the TypeScript validator passed the corpus's date case
and still refused the record-field form with "Unexpected value in
condition", because the two operand paths are separate and only one had
been taught about dates.

Which is the same blindness one level up. The word-list gate could not
see a behaviour change; a behavioural corpus cannot see a shape it does
not contain. Coverage of the vocabulary is not coverage of the grammar,
and the coverage gate only checks the first.

41 cases.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E6qcDj1e1dEYvc8jLnpGZy
@rmichaelthomas
rmichaelthomas merged commit 6060388 into main Sep 12, 2026
3 checks passed
@rmichaelthomas
rmichaelthomas deleted the feat/corpus-date-range-on-a-record-field branch September 12, 2026 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant