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

aas-core-works / aas-core-codegen / 10609833564
82%

Build:
DEFAULT BRANCH: main
Ran 29 Aug 2024 06:36AM UTC
Jobs 5
Files 222
Run time 3min
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

29 Aug 2024 06:24AM UTC coverage: 80.661% (+0.001%) from 80.66%
10609833564

push

github

web-flow
Make SHACL regex patterns follow JSON Schema ones (#517)

We included the regex pattern as-is from the input which caused problems
with the regex engines as the patterns in the meta-model are written in
a Python dialect (and assuming that the regex engine works on UTF-32
characters). However, most regex engines in the wild operating on SHACL
(*e.g.*, Java SHACL validators) use UTF-16 to represent the text and do
not support some parts of the Python regex dialect. For example, in
the input meta-model specification, we omit the minimum bound 0
(*e.g.*, ``{,4}``), which breaks with the Java regex engine beneath
the SHACL validator.

Instead, with this patch, we parse the pattern from the specification
and re-render it into the form that we also use in JSON Schema. We pick
JSON Schema regex dialect as most SHACL validators in the wild can deal
with it, in particular those based on Java as a platform. Hence, we
decide to serve this user base with priority.

Discovered in [aas-core-meta issue 342].

[aas-core-meta issue 342]: https://github.com/aas-core-works/aas-core-meta/issues/342

5 of 5 new or added lines in 2 files covered. (100.0%)

27328 of 33880 relevant lines covered (80.66%)

4.03 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3.9 - 10609833564.1 29 Aug 2024 06:59AM UTC 0
80.59
GitHub Action Run
2 3.11 - 10609833564.2 29 Aug 2024 06:59AM UTC 0
80.64
GitHub Action Run
3 3.10 - 10609833564.3 29 Aug 2024 06:59AM UTC 0
80.64
GitHub Action Run
4 3.8 - 10609833564.4 29 Aug 2024 06:59AM UTC 0
80.6
GitHub Action Run
5 3.12 - 10609833564.5 29 Aug 2024 06:59AM UTC 0
80.64
GitHub Action Run
Source Files on build 10609833564
Detailed source file information is not available for this build.
  • Back to Repo
  • e22ccaec on github
  • Prev Build on main (#10506328588)
  • Next Build on main (#10609938812)
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