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

B612-Asteroid-Institute / adam_core / 21831350943
83%

Build:
DEFAULT BRANCH: main
Ran 09 Feb 2026 03:43PM UTC
Jobs 1
Files 192
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

09 Feb 2026 03:33PM UTC coverage: 82.344% (+0.8%) from 81.594%
21831350943

push

github

web-flow
Preallocate chunk outputs for 2-body propagation/ephemeris (#182)

* Optimize 2-body chunk accumulation via preallocation

Replace repeated np.concatenate() in 2-body propagation and ephemeris generation with preallocated output buffers, and add regression tests ensuring padded chunk rows are not included.

* Add Ray backend for 2-body propagation and ephemeris

Add optional Ray-based parallelization to `propagate_2body` and `generate_ephemeris_2body` via `max_processes` and task `chunk_size`, reusing the existing JAX padded-chunk kernels inside each worker. Include tests verifying Ray and serial outputs match.

* Assume Ray is always available

Remove optional Ray import/guards now that Ray is a required dependency, and run the Ray parity tests unconditionally.

* ray: disable dashboard and avoid fixed metrics port

Pass include_dashboard=False and _metrics_export_port=0 in initialize_use_ray for both auto-connect and local start paths, and update tests.

* ray: disable metrics export endpoint

Default initialize_use_ray to include_dashboard=False and _metrics_export_port=-1 (disable metrics export) to avoid metrics-related setup/timeouts in library usage.

* ray: stop overriding metrics export port

Remove the default _metrics_export_port override from initialize_use_ray and update mocked tests accordingly.

* Fix VariantOrbits ephemeris observer pairing

Ensure VariantOrbits propagation output is stably ordered by (orbit_id, variant_id, time) so ephemeris generation pairs propagated states with the correct observer rows.

Add a regression test covering time-major variant propagation.

* Phase angle as proper function, experimental sbdb implementation

* Commit to specific ordering for prop and ephemeris

* include light time in variants

* linting

* separate functions and combined for phase and magnitude

* linting

* remove unused import

* one more try

1004 of 1127 new or added lines in 20 files covered. (89.09%)

2 existing lines in 2 files now uncovered.

11939 of 14499 relevant lines covered (82.34%)

0.82 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
75.35
0.0% src/adam_core/dynamics/impacts.py
1
87.94
10.17% src/adam_core/dynamics/tests/test_ephemeris.py
3
99.18
0.76% src/adam_core/propagator/tests/test_propagator.py
4
96.0
src/adam_core/photometry/tests/test_phase_angle.py
5
94.57
2.11% src/adam_core/dynamics/propagation.py
5
89.29
2.95% src/adam_core/photometry/magnitude.py
11
85.04
6.0% src/adam_core/propagator/propagator.py
19
85.5
-4.36% src/adam_core/dynamics/ephemeris.py
22
22.52
-0.37% src/adam_core/photometry/tests/test_benchmarks.py
52
80.84
-14.95% src/adam_core/orbits/query/sbdb.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
85.04
6.0% src/adam_core/propagator/propagator.py
1
22.89
-2.66% src/adam_core/propagator/tests/test_benchmarks.py
Jobs
ID Job ID Ran Files Coverage
1 21831350943.1 09 Feb 2026 03:43PM UTC 192
82.34
GitHub Action Run
Source Files on build 21831350943
  • Tree
  • List 192
  • Changed 22
  • Source Changed 21
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21831350943
  • 434311f8 on github
  • Prev Build on main (#21485046262)
  • Next Build on main (#21832422457)
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