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

WashU-Astroparticle-Lab / straxion / 18509881630
53%

Build:
DEFAULT BRANCH: main
Ran 14 Oct 2025 09:00PM UTC
Jobs 2
Files 12
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

14 Oct 2025 08:56PM UTC coverage: 55.29% (-2.4%) from 57.717%
18509881630

push

github

web-flow
Salting framework (#52)

* Update README.md

* Draft for truth

* Register truth

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Set default salt_rate to 0 and update tests

Changed the default value of 'salt_rate' in the Truth plugin from 100 to 0. Updated tests to reflect the new default and added explicit non-zero salt_rate configuration where needed to ensure correct test behavior. Added a new test to verify that a zero salt_rate produces no events.

* Add energy resolution modes to Truth plugin

Introduces an 'energy_resolution_mode' option to the Truth plugin, allowing selection between 'optimistic', 'conservative', or 'none' for energy smearing. Implements corresponding logic for energy sampling and updates tests to cover all resolution modes and error handling for invalid modes.

* Refactor energy resolution constants to utils.py

Moved energy resolution constants and photon conversion factors from Truth plugin to straxion/utils.py for better reusability and maintainability. Updated Truth plugin to use the new constants from utils.py.

* Add dx_true field to Truth plugin and tests

Introduces a new 'dx_true' field to the Truth plugin output, representing the true dx value derived from energy_true. Updates dtype inference, computation logic, and test cases to validate the presence and correctness of the new field.

* Determine truth length based on pulse template length

* Reduce PULSE_TEMPLATE_LENGTH to 500

Changed the PULSE_TEMPLATE_LENGTH constant from 700 to 500 in utils.py to adjust the pulse template size.

* Added hardcoded pulse template

* Add sampling frequency option and rename pulse template

Introduces a new 'fs' (sampling frequency) option to the Truth plugin with a default of 38,000 Hz. Also renames PULSE_TEMPLATE to PULSE_TEMPLATE_38kHz in utils.py for clarity and updates its usage accordingly.

* Switch tests to use qualiphide_thz_offline

Replaces all instances of st... (continued)

67 of 166 new or added lines in 6 files covered. (40.36%)

1 existing line in 1 file now uncovered.

695 of 1257 relevant lines covered (55.29%)

1.11 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
79.68
-2.33% straxion/plugins/records.py
45
40.0
straxion/plugins/truth.py
46
25.81
straxion/plugins/match.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
79.68
-2.33% straxion/plugins/records.py
Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/172720055 18509881630.1 14 Oct 2025 09:00PM UTC 12
55.29
GitHub Action Run
2 /jobs/172720130 18509881630.2 14 Oct 2025 09:01PM UTC 12
55.29
GitHub Action Run
Source Files on build 18509881630
  • Tree
  • List 12
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 19128fa0 on github
  • Prev Build on main (#18150321033)
  • Next Build on main (#18509907322)
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