Add A/E resolution term from electronic noise#53
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #53 +/- ##
==========================================
+ Coverage 63.05% 63.26% +0.21%
==========================================
Files 19 19
Lines 1394 1481 +87
==========================================
+ Hits 879 937 +58
- Misses 515 544 +29 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
a602005 to
82c4507
Compare
d43e5b5 to
bae9758
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 12 out of 12 changed files in this pull request and generated 5 comments.
Comments suppressed due to low confidence (3)
workflow/src/legendsimflow/scripts/tier/evt.py:36
- The evt.py script is incomplete. It only creates an empty file using
Path(evt_file).touch()but doesn't actually process the opt_file and hit_file inputs to generate proper evt tier data. The input files (opt_file and hit_file) are defined but never used. This suggests the implementation is not finished.
workflow/src/legendsimflow/scripts/tier/evt.py:3 - Trailing comma after the author's name in the copyright line should be removed.
workflow/src/legendsimflow/scripts/tier/evt.py:21 - Import of 'legenddataflowscripts' is not used.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
workflow/src/legendsimflow/scripts/extract_hpge_current_pulse_model.py
Outdated
Show resolved
Hide resolved
|
This needs a rebase |
|
Yes needs rebase but also there is some issue to debug (lots of nans) |
|
actually ... seems the AI caught a bug that might be the issue |
37ec9a2 to
b2d9f35
Compare
9d1b53d to
68af953
Compare
68af953 to
36f7f89
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 12 comments.
Comments suppressed due to low confidence (1)
workflow/src/legendsimflow/hpge_pars.py:536
- The df_cfg variable is assigned on lines 522-526 based on whether 'setups' exists in dataflow_config, but then it's immediately overwritten on line 536 with dataflow_config.paths. This makes the conditional assignment on lines 522-526 pointless. This appears to be dead code that should either be removed or the logic needs to be corrected to use the conditional df_cfg assignment consistently.
df_cfg = (
dataflow_config["setups"]["l200"]["paths"]
if ("setups" in dataflow_config)
else dataflow_config["paths"]
)
# get the reference cal run
cal_runid = mutils.reference_cal_run(metadata, runid)
_, period, run, _ = re.split(r"\W+", cal_runid)
msg = f"inferred reference calibration run: {cal_runid}"
log.debug(msg)
# get the paths to hit and raw tier files
df_cfg = dataflow_config.paths
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
can you fix the docs? |
273f95d to
fb3317c
Compare
|
why did you merge this if the CI is failing |
|
Check the CI failure, its not our fault |
|
it is, this is the error https://app.readthedocs.org/projects/legend-simflow/builds/31294353/#305061620--44 |

No description provided.