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

NREL / SolTrace / 18984697163
88%

Build:
DEFAULT BRANCH: develop
Ran 31 Oct 2025 08:55PM UTC
Jobs 1
Files 62
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

31 Oct 2025 08:41PM UTC coverage: 89.643% (-0.3%) from 89.946%
18984697163

push

github

web-flow
New sun models (#75)

* Refactor sun shape handling to use SunShape enum

Introduces a new SunShape enum to distinguish sun shape types from error distribution types, updating all relevant interfaces, implementations, and tests. This improves clarity and maintainability by separating sun shape logic from error distribution logic, and adds support for diffuse and user-defined sun shapes.

* Add Buie CSR and limb-darkened sun shape models

Introduces support for Buie circumsolar ratio (CSR) and limb-darkened sun shape models in the simulation framework. Updates the Sun class and related interfaces to handle the new parameters, implements error checking for CSR, and extends the native runner and error tracing logic to support these sun shapes. Updates unit and regression tests to cover the new models and their error handling.

* Fix branch syntax in CI workflow

* Improve sun shape error handling and comments

Added explanatory comments for unit conversions and sun model behavior. Improved error handling by throwing an exception for unsupported sun shapes. Minor code cleanup and TODO notes for future improvements.

* Limit CI workflow branches to 'develop'

* fixing pull request issues found by Copilot

* Refactor error calculation and update phi computation

Removed unused variables and replaced hardcoded pi value with PI constant in phi calculation for both SurfaceNormalErrors and Errors functions. Added detailed TODO and notes for future refactoring to reduce code duplication and improve error handling.

* Refactor tower demo tests to use shared setup function

Introduced create_tower_demo_simulation_data(bool) to consolidate simulation data setup for all test cases. Updated all tests to use this function, reducing code duplication and improving maintainability. Sun shape modifications for specific tests are now performed after setup. Minor formatting and pointer type consistency improvements.

* Refactor sun shape handling and add new test cases

Rem... (continued)

120 of 147 new or added lines in 8 files covered. (81.63%)

5 existing lines in 2 files now uncovered.

4423 of 4934 relevant lines covered (89.64%)

9111326.33 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
97.44
-2.56% coretrace/simulation_data/sun.cpp
2
93.23
-0.66% coretrace/simulation_runner/native_runner/native_runner.cpp
6
74.24
-1.98% coretrace/simulation_data/simdata_io.cpp
17
79.22
-1.31% coretrace/simulation_runner/native_runner/tracing_errors.cpp

Uncovered Existing Lines

Lines Coverage ∆ File
1
79.22
-1.31% coretrace/simulation_runner/native_runner/tracing_errors.cpp
4
74.24
-1.98% coretrace/simulation_data/simdata_io.cpp
Jobs
ID Job ID Ran Files Coverage
1 18984697163.1 31 Oct 2025 08:55PM UTC 62
89.64
GitHub Action Run
Source Files on build 18984697163
  • Tree
  • List 62
  • Changed 8
  • Source Changed 8
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18984697163
  • 838519d7 on github
  • Prev Build on develop (#18699726594)
  • Next Build on develop (#19040526713)
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