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

ghga-de / ghga-jsonsubschema
83%
main: 81%

Build:
Build:
LAST BUILD BRANCH: feature/improve-package-quality-gsi-2374
DEFAULT BRANCH: main
Repo Added 13 May 2026 05:59PM UTC
Token ykMDi5DDHiXepGYF3drQKy5CziSmxs1vt regen
Build 28 Last
Files 10
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

LAST BUILD ON BRANCH feature/improve-package-quality-gsi-2374
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • 0.1.0
  • doc/improve-readme-file
  • feature/handle-empty-enums
  • feature/improve-package-quality-gsi-2374
  • fix/publish-workflow
  • main
  • refactor/clean-up-and-modernize
  • refactor/reduce-complexity
  • test/add-github-workflows
  • test/cli
  • test/enums-with-special-chars
  • test/improve-coverage

06 Jul 2026 04:55PM UTC coverage: 83.452% (+2.3%) from 81.17%
28808579241

Pull #15

github

Cito
Support exact negation of integer schemas

Negating an integer schema no longer raises UnsupportedNegatedNumeric
but yields the exact complement: all non-numeric types, the integers
outside the bounds, and "number but not an integer", represented by
the standard fragment {"not": {"multipleOf": 1}} embedded in a number
schema and a notInteger flag that meet/join/is_subtype and the
uninhabited check understand. A trivial multipleOf of 1 is negated as
the integer case; only non-trivial multipleOf negation still raises.

Unions produced by negation record the negated schema, so subtyping
against them reduces to an exact emptiness test of the meet. Other
unions involving not-integer schemas are decided by an exact coverage
check across all members, since no single member needs to contain the
left-hand side.

Also fix pre-existing defects surfaced while verifying soundness:
- subtyping against a negated number range whose gap contains no
  integer wrongly returned False for integer schemas
- the uninhabited check for multipleOf ignored zero and negative
  multiples within the bounds; it now tests exactly whether a
  multiple exists in the interval
- enum values were validated against the latest jsonschema draft,
  crashing on draft-4 boolean exclusiveMinimum/exclusiveMaximum; they
  are now validated with the configured draft, extended so that
  int-equivalent floats count as integers
- subtype checks of single-value numeric schemas and of integers
  against fractional multipleOf factors (e.g. 0.5) are now exact
Pull Request #15: Improve package quality (GSI-2374)

634 of 812 branches covered (78.08%)

Branch coverage included in aggregate %.

392 of 440 new or added lines in 5 files covered. (89.09%)

15 existing lines in 2 files now uncovered.

1353 of 1569 relevant lines covered (86.23%)

0.86 hits per line

Relevant lines Covered
Build:
Build:
1569 RELEVANT LINES 1353 COVERED LINES
0.86 HITS PER LINE
Source Files on main
  • Tree
  • List 10
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
28808579241 feature/improve-package-quality-gsi-2374 Support exact negation of integer schemas Negating an integer schema no longer raises UnsupportedNegatedNumeric but yields the exact complement: all non-numeric types, the integers outside the bounds, and "number but not an integer", represented ... Pull #15 06 Jul 2026 04:57PM UTC Cito github
83.45
28803645401 feature/improve-package-quality-gsi-2374 Fix misplaced, garbled, and dangling comments push 06 Jul 2026 03:38PM UTC Christoph Zwerschke github
81.84
28801388911 feature/improve-package-quality-gsi-2374 Remove commented-out code and dead symbols, enable ERA lint rule Pull #15 06 Jul 2026 03:04PM UTC Cito github
81.84
28800423769 feature/improve-package-quality-gsi-2374 Fail loudly on unrepresentable numeric negation and fix exclusive bounds in numeric meet Pull #15 06 Jul 2026 02:49PM UTC Cito github
82.16
28799253669 feature/improve-package-quality-gsi-2374 Fix flattening of nested anyOf unions and implement stub tests push 06 Jul 2026 02:31PM UTC Christoph Zwerschke github
82.2
28797687279 feature/improve-package-quality-gsi-2374 Add some agent docs and skills Pull #15 06 Jul 2026 02:08PM UTC Cito github
80.85
26081500489 main Minor fixes in the README file (#14) push 19 May 2026 06:57AM UTC web-flow github
81.17
26081459256 doc/improve-readme-file Minor fixes in the README file Pull #14 19 May 2026 06:56AM UTC Cito github
81.08
26045785850 0.1.0 Fix publish workflow (#13) push 18 May 2026 04:17PM UTC web-flow github
81.08
26045685590 main Fix publish workflow (#13) push 18 May 2026 04:15PM UTC web-flow github
81.08
See All Builds (28)

Badge your Repo: ghga-jsonsubschema

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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