• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ossuminc / riddl / 28551458097
65%

Build:
DEFAULT BRANCH: main
Ran 01 Jul 2026 10:21PM UTC
Jobs 1
Files 139
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Jul 2026 10:07PM UTC coverage: 64.617%. Remained the same
28551458097

push

reid-spencer
Make parseJson tolerant of AI-natural type-expression shapes

Two additive tolerances in JsonModel.readTypeExpr, both strictly more
permissive (every currently-valid document parses identically):

- Unknown `kind` -> Alias. A `kind` that is not one of RIDDL's fixed
  type-expression kinds (e.g. `{"kind":"Username"}` where Username is a
  declared type) is now read as a reference to a declared type of that name,
  instead of throwing. Undefined names surface as normal ResolutionPass
  errors when the Root is validated (consistent with the builder-emits-refs /
  passes-resolve design), not as an exception from parseJson.
- Inline cardinality. `{"kind":"Date","cardinality":"optional"}` now parses
  identically to the wrapper `{"cardinality":"optional","of":{"kind":"Date"}}`
  by wrapping the rest of the object as the inner type expression when `of`
  is absent.

These are the two dominant first-pass failure classes when a real LLM emits
model JSON (per ossum-gen's diagnostics). Tests cover: unknown-kind-of-a-
declared-type round-trips clean; an undeclared kind is a validation error
(not an exception); inline cardinality renders identically to the wrapper.
JVM + JS 36 green; Native compiles.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

7513 of 11627 relevant lines covered (64.62%)

0.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28551458097.1 01 Jul 2026 10:21PM UTC 139
64.62
Source Files on build 28551458097
  • Tree
  • List 139
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a699a4d6 on github
  • Prev Build on main (#28550772676)
  • Next Build on main (#28594650224)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc