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

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

Build:
DEFAULT BRANCH: main
Ran 30 Sep 2026 10:28AM UTC
Jobs 3
Files 308
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

30 Sep 2026 10:20AM UTC coverage: 89.124% (-0.004%) from 89.128%
36701812719

push

github

web-flow
Copy read-only sets in Python set operations (#801)

We generated ``a.intersection(b)`` and ``a.difference(b)`` in Python,
which mypy rejects when ``a`` is a constant set, a read-only argument or
a ``Final`` local, as we generate them as ``AbstractSet``. The operators
``&`` and ``-`` type the result as ``AbstractSet`` as well, while the
meta-model can mutate the new set. We now record ``read_only_receiver``
in the type inference, and generate:

    reserved = set(aas_constants.RESERVED_TEXTS & seen)
    both = seen & texts

This copies only the result, so the complexity stays the same.

We also introduce ``BuiltinMethodKind`` so that all the targets dispatch
on the built-in methods exhaustively with ``assert_never``, as we already
do for the built-in functions.

We switch the test to intersect the constant set with a local one so
that the read-only receiver is covered.

80 of 96 new or added lines in 7 files covered. (83.33%)

44457 of 49882 relevant lines covered (89.12%)

2.67 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
76.5
0.04% aas_core_codegen/python/transpilation.py
3
80.84
0.09% aas_core_codegen/csharp/transpilation.py
2
78.13
0.01% aas_core_codegen/cpp/transpilation.py
2
81.37
-0.01% aas_core_codegen/golang/transpilation.py
2
82.14
0.01% aas_core_codegen/java/transpilation.py
2
79.93
0.0% aas_core_codegen/typescript/transpilation.py
1
87.14
0.05% aas_core_codegen/intermediate/type_inference.py
Jobs
ID Job ID Ran Files Coverage
1 3.10 - 36701812719.1 30 Sep 2026 10:29AM UTC 308
89.12
GitHub Action Run
2 3.12 - 36701812719.2 30 Sep 2026 10:29AM UTC 308
89.12
GitHub Action Run
3 3.11 - 36701812719.3 30 Sep 2026 10:29AM UTC 308
89.12
GitHub Action Run
Source Files on build 36701812719
  • Tree
  • List 308
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1abd2c6c on github
  • Prev Build on main (#36698852891)
  • Next Build on main (#36713165996)
  • 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