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

terrapower / armi / 11578858504
91%
master: 87%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 29 Oct 2024 05:19PM UTC
Jobs 1
Files 272
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 Oct 2024 05:02PM UTC coverage: 90.071% (+0.007%) from 90.064%
11578858504

push

github

web-flow
Extending axial expansion classes (#1920)

* Flatten and rename determine axial linkage function

Use early `return` statements to dedent the function. Renamed
to `areAxiallyLinked` to be a bit more declarative, even though
this function lives in the axial expansion routine.

* Provide axialAssemblyLinkage.AxialLink for improved readability

The values in the linkage dictionaries on `AssemblyAxialLinkage` were
lists of two items where the position meant something: `0` for linked
item below the current thing, and `1` for linked item above the current
thing. Some functionality was based on `links[1] is not None` which is
not super readable unless you're familiar with what's going on.

This introduces a small data class with two attributes: `lower` and
`upper` such that `links.lower is links[0]` and `links.upper is
links[1]`. This improves readability and extensibility by making a more
explicit and declarative thing. The position-based getters and setters
are retained and tested.

The class is "templated" with a `typing.Generic[typing.TypeVar]` that
could be either `Block` or `Component`. This is because the the two
linked dictionaries on the `AssemblyAxialLinkage` class only differ
based on the types of their values. We still need to know lower/upper as
determined by the values, but for the block link dict we want blocks and
then components from the component link dict.

121 of 122 new or added lines in 3 files covered. (99.18%)

27096 of 30083 relevant lines covered (90.07%)

0.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11578858504.1 29 Oct 2024 05:19PM UTC 0
90.07
GitHub Action Run
Source Files on build 11578858504
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11578858504
  • 0a6995b7 on github
  • Prev Build on main (#11559983518)
  • Next Build on main (#11584312578)
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