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

nomad-coe / nomad-simulations / 19302761148
82%
develop: 82%

Build:
Build:
LAST BUILD BRANCH: dev-guide
DEFAULT BRANCH: develop
Ran 12 Nov 2025 03:32PM UTC
Jobs 3
Files 96
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

12 Nov 2025 03:28PM UTC coverage: 81.413% (-1.2%) from 82.653%
19302761148

Pull #215

github

ndaelman-hu
Refactor Occupancy class to use Pattern A (ElectronicState gateway)

Complete Pattern A migration by refactoring the Occupancy class:

1. Remove atoms_state_ref field (deprecated Pattern B)
2. Update orbitals_state_ref description to document parent navigation
3. Update class docstring to explain ElectronicState gateway pattern
4. Update value description to remove atoms_state_ref reference

With this change, all property classes now consistently use Pattern A:
- Single orbital/entity reference pointing to ElectronicState
- Navigate to parent AtomsState via get_parent_entity()
- No circular references or dual reference patterns

All 673 tests pass with these changes.
Pull Request #215: Electronic structure navigation

270 of 423 new or added lines in 9 files covered. (63.83%)

17 existing lines in 4 files now uncovered.

6671 of 8194 relevant lines covered (81.41%)

2.44 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
10
46.81
-1.94% src/nomad_simulations/schema_packages/properties/spectral_profile.py
42
76.32
-15.74% tests/conftest.py
101
67.99
-23.49% src/nomad_simulations/schema_packages/atoms_state.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
46.81
-1.94% src/nomad_simulations/schema_packages/properties/spectral_profile.py
3
67.99
-23.49% src/nomad_simulations/schema_packages/atoms_state.py
3
69.52
2.1% src/nomad_simulations/schema_packages/model_method.py
10
64.29
-11.9% src/nomad_simulations/schema_packages/utils/utils.py
Jobs
ID Job ID Ran Files Coverage
1 19302761148.1 12 Nov 2025 03:32PM UTC 96
81.41
GitHub Action Run
2 19302761148.2 12 Nov 2025 03:32PM UTC 96
81.41
GitHub Action Run
3 19302761148.3 12 Nov 2025 03:32PM UTC 96
81.41
GitHub Action Run
Source Files on build 19302761148
  • Tree
  • List 96
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #215
  • PR Base - develop (#19229009753)
  • Delete
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