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

shexjs / shex.js
74%

Build:
DEFAULT BRANCH: main
Repo Added 14 Jul 2026 07:21AM UTC
Token 86wdEEHkmUeYAd5TkRoE65wFIPqVa9QmV regen
Build 6 Last
Files 61
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 main
branch: main
CHANGE BRANCH
x
Reset
Sync Branches
  • main

14 Jul 2026 10:25PM UTC coverage: 73.711% (+0.08%) from 73.627%
29372960304

push

github

Eric Prud'hommeaux
editors: phase-4 -- worker-safe anchoring, autocomplete, materialization marks

Worker-app error mapping without worker changes: every error leaf now
carries its predicate, so the (shape, predicate) lookup anchors
validation errors even when postMessage's structured clone breaks object
identity with the schema.  Tested against a JSON round trip of the
results.

Single-parse: parseShExC/parseTurtle memoize their most recent results
(small LRU keyed on text+base); the live linter and the validation-time
mapper share one parse.  RdfJsDb(MillanDataset) as the validation store
remains open -- the app's proof-graph/remainder/slurp flows use
N3-specific APIs and N3 internalization would drop term sources (noted
in doc/editor-integration-plan.md).

Materialization-failure anchoring: ThreadedMaterializer failure records
reference their TripleConstraint (kept out of the error message JSON);
ShExMapBaseApp.anchorMaterializationFailures resolves them by identity
into outputSchema-pane diagnostics ('no binding for <bp:sysVal>' lands
on the exact constraint), clearing on success.  MaterializationErrors
are tagged as input errors for the console policy.  Main-thread app
only; the worker materializer still ships just a message.

Autocomplete: ShExC and Turtle panes complete prefixes (namespace as
detail), shape labels (plain and @ref forms) and constraint predicates,
supplied live from the parsed schema (_index labels, _exprLocations
keys) and both panes' prefix maps; the shexmap outputSchema pane
completes from its own schema.  Wired through CodeMirror languageData
so basicSetup's autocompletion picks it up; completionSource and
lexicalize are unit-tested via a programmatic CompletionContext.

Tests: 5044 passing.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

2246 of 3568 branches covered (62.95%)

Branch coverage included in aggregate %.

35 of 40 new or added lines in 4 files covered. (87.5%)

5030 of 6303 relevant lines covered (79.8%)

7061.83 hits per line

Relevant lines Covered
Build:
Build:
6303 RELEVANT LINES 5030 COVERED LINES
7061.83 HITS PER LINE
Source Files on main
  • Tree
  • List 61
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
29372960304 main editors: phase-4 -- worker-safe anchoring, autocomplete, materialization marks Worker-app error mapping without worker changes: every error leaf now carries its predicate, so the (shape, predicate) lookup anchors validation errors even when postM... push 14 Jul 2026 10:27PM UTC Eric Prud'hommeaux github
73.71
29367060521 main editors: match/failure hover pairs, expectation-aware marks, console hygiene Pane behavior: - panes adopt the measured size of the textareas they replace (rows-based fallback where there's no layout) and stay user-resizable with a scrolling i... push 14 Jul 2026 08:48PM UTC Eric Prud'hommeaux github
73.63
29363108335 main editors: language-aware CodeMirror panes for the web apps, with error anchoring Implements doc/editor-integration-plan.md phases 0-3 (see that doc for architecture and remaining phase-4 items). New code is TypeScript (src/*.ts -> committed lib/,... push 14 Jul 2026 07:48PM UTC Eric Prud'hommeaux github
73.36
29320865913 main build: repair the shex meta-package, drop lerna, refresh READMEs The shex meta-package was published broken: no main (so require('shex') threw), a README documenting bins at paths that don't exist, and @shexjs/cli@1.0.0-alpha.29 crashing on an un... push 14 Jul 2026 09:13AM UTC Eric Prud'hommeaux github
72.65
29314688523 main Merge pull request #422 from shexjs/feasibility-match Switch to feasibilty match to optimize permutations search space push 14 Jul 2026 07:29AM UTC web-flow github
72.44
29314253268 main build: modernize toolchain, CI, and dependencies CI (Travis -> GitHub Actions): - .github/workflows/ci.yml: test matrix on Node 20/22/24/26 (mirrors the retired .travis.yml's shexTest clone and CLI_TIMEOUT, runs test-all), plus lint, a webpac... push 14 Jul 2026 07:21AM UTC Eric Prud'hommeaux github
72.48
See All Builds (6)

Badge your Repo: shex.js

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