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

eclipse-aascw / aas-core-codegen / 38814276020
90%

Build:
DEFAULT BRANCH: main
Ran 15 Oct 2026 10:11PM UTC
Jobs 3
Files 309
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

15 Oct 2026 10:02PM UTC coverage: 90.188% (+0.04%) from 90.149%
38814276020

push

github

web-flow
Make read-only sequences of verifications generic (#852)

We make the read-only ``Sequence[...]`` arguments of the verification
functions generic if their items are instances of a class with
descendants. This way, the sequences of the descendants can be passed
without a copy, as aas-core-meta V3.2 does, *e.g.*, in
``ID_shorts_are_unique(self.submodel_elements)``.

Go declares a type parameter, *e.g.*, ``func IDShortsAreUnique[
ReferablesT ourtypes.IReferable](referables []ReferablesT)``, C++
a template defined in the header, C# the covariant
``IReadOnlyList<T>``, and Java the wildcard ``List<? extends T>``.
Python and TypeScript accept the sequences of the descendants already.

The methods stay invariant, since Go methods can not have type
parameters and C++ virtual methods can not be templates, and so do
the mutable ``List[...]`` arguments. The type inference now checks
the items of all the list arguments, and restricts the usages of
the generic sequences, *e.g.*, they can not be passed to a method.

We support ``in`` on the generic sequences with the new
``ourcommon.SliceContainsInstance`` in Go, and the immutable aliases,
*e.g.*, ``alias: Final[Sequence[Item]] = items``, which C# and Java
now declare with ``var``.

We test all this in the new common meta-model
``variance_of_containers``.

338 of 354 new or added lines in 11 files covered. (95.48%)

1 existing line in 1 file now uncovered.

45910 of 50905 relevant lines covered (90.19%)

2.71 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
95.16
0.21% aas_core_codegen/cpp/lib/_generate_verification.py
2
92.25
-0.18% aas_core_codegen/csharp/lib/_generate_verification.py
2
92.57
0.03% aas_core_codegen/golang/lib/_generate_verification.py
2
92.06
-0.17% aas_core_codegen/java/lib/_generate_verification.py
1
82.35
0.46% aas_core_codegen/cpp/transpilation.py
1
83.72
0.33% aas_core_codegen/golang/transpilation.py

Coverage Regressions

Lines Coverage ∆ File
1
82.35
0.46% aas_core_codegen/cpp/transpilation.py
Jobs
ID Job ID Ran Files Coverage
1 3.10 - 38814276020.1 15 Oct 2026 10:15PM UTC 309
90.19
GitHub Action Run
2 3.12 - 38814276020.2 15 Oct 2026 10:15PM UTC 309
90.19
GitHub Action Run
3 3.11 - 38814276020.3 15 Oct 2026 10:15PM UTC 309
90.19
GitHub Action Run
Source Files on build 38814276020
  • Tree
  • List 309
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a27ed72b on github
  • Prev Build on main (#38805478616)
  • Next Build on main (#39383890623)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc