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

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

Build:
DEFAULT BRANCH: main
Ran 21 Oct 2026 05:56PM 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

21 Oct 2026 05:44PM UTC coverage: 90.133% (+0.02%) from 90.109%
39646473479

push

github

web-flow
Introduce comparisons of strings and booleans (#857)

We transpile the ordering comparisons ``<``, ``<=``, ``>`` and ``>=`` of
strings and booleans to all the targets. The strings are ordered by
their characters (code points) as in Python, not by their UTF-16 code
units, so that, *e.g.*, ``"\U0001F600" < "\uFFFD"`` is false everywhere:

    StringHelpers.CompareByCodePoints(text, "\uFFFD") < 0   // C#
    StringHelpers.compareByCodePoints(text, "\uFFFD") < 0   // Java
    OurCommon.compareByCodePoints(text, "\uFFFD") < 0       // TypeScript
    common::CompareByCodePoints(text, L"\uFFFD") < 0        // C++

Python and Go order the strings natively. The booleans follow
``False < True``, *e.g.*, ``flag.CompareTo(otherFlag) < 0`` in C# and
``ourcommon.CompareBools(flag, otherFlag) < 0`` in Go. We moved
the code-point comparators of the set properties into the string
helpers, and generate them only where the inferred types show
an ordering of strings or booleans.

The type inference refuses to order the enumerations, the classes and
the byte arrays, and the parser refuses the chained comparisons. We test
the comparisons of strings, booleans, integers, floats and lengths
explicitly with the new common meta-model ``comparisons.py``.

296 of 300 new or added lines in 28 files covered. (98.67%)

45987 of 51021 relevant lines covered (90.13%)

2.7 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
83.18
-0.1% aas_core_codegen/csharp/transpilation.py
Jobs
ID Job ID Ran Files Coverage
1 3.10 - 39646473479.1 21 Oct 2026 05:57PM UTC 309
90.13
GitHub Action Run
2 3.11 - 39646473479.2 21 Oct 2026 05:57PM UTC 309
90.13
GitHub Action Run
3 3.12 - 39646473479.3 21 Oct 2026 05:57PM UTC 309
90.13
GitHub Action Run
Source Files on build 39646473479
  • Tree
  • List 309
  • Changed 25
  • Source Changed 0
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1baa29b8 on github
  • Prev Build on main (#39639444385)
  • Next Build on main (#39664806204)
  • 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