You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4dde6cf
Browse filesBrowse the repository at this point in the historyBrowse files
Tighten the harness changes added in e682311 without touching behavior or
the cross-port assertion shape. All four ports' conformance suites stay
green (TS 182 / C# 302 / Java 182 / Python 94).
TS adapter.ts — extract a single `relativize()` for the envelope file
normalization (it was duplicated across two near-identical
json/yaml + merged/resolved branches) and collapse those
branches into one block now that the only divergence (an
optional jsonPath on resolved) is handled by a single
conditional spread.
C# ConformanceAdapter.BuildEnvelope — replace the if/return ladder with a
`switch` expression and a local `Rel(files)` helper so the
per-format-source mapping is one column.
YamlConformanceTests — unify BuildYamlEnvelope and
BuildYamlEnvelopeFromException to share a single switch
expression (their inputs differ only in the carrier type).
Java FixtureLint — collapse the two-arg `readJson(path, bytes)` helper
(the `path` was unused) into a single-arg `readJsonFile(Path)`
that does its own file read.
ConformanceTest — drop the unused `import java.util.Arrays`.
YamlConformanceTest — drop the unused `parseExpectedErrors(Path)` helper
(only the envelope variant is still called).
Python conformance_adapter._build_envelope — pull the repeated
`tuple(_relativize(...) for f in env.files)` into a nested
`rel_files()` so the four format branches each fit on one line.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments