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

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

Build:
DEFAULT BRANCH: main
Ran 29 Sep 2026 01:09PM 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

29 Sep 2026 01:02PM UTC coverage: 88.694% (+0.03%) from 88.666%
36572277213

push

github

web-flow
Narrow types in if-statements (#794)

We narrow the types in the branches of the if-statements by their
conditions, and by the negations of the previous conditions, *e.g.*,
``x`` is a ``Child_b`` in the ``else`` of ``if x is None: ...
elif not isinstance(x, Child_b): ...``. After an if-statement or
a switch, we keep the facts common to the branches which complete
normally, which narrows ``x`` after ``if x is None: return False``.

An assignment removes the facts it can falsify, following the access
paths (``self.y = 5`` keeps ``self.x``, ``items[j] = z`` drops
``items[i]``), and narrows the target by the assigned value.

176 of 187 new or added lines in 1 file covered. (94.12%)

42670 of 48109 relevant lines covered (88.69%)

2.66 hits per line

Uncovered Changes

Lines Coverage ∆ File
11
84.21
0.79% aas_core_codegen/intermediate/type_inference.py
Jobs
ID Job ID Ran Files Coverage
1 3.10 - 36572277213.1 29 Sep 2026 01:11PM UTC 308
88.69
GitHub Action Run
2 3.11 - 36572277213.2 29 Sep 2026 01:11PM UTC 308
88.69
GitHub Action Run
3 3.12 - 36572277213.3 29 Sep 2026 01:11PM UTC 308
88.69
GitHub Action Run
Source Files on build 36572277213
  • Tree
  • List 308
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bfb018d1 on github
  • Prev Build on main (#36544120769)
  • Next Build on main (#36609585606)
  • 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