Skip to content

feat(logging): add logging to DCE and common modules - #164

Draft
MohamedNasser8 wants to merge 3 commits into
mainfrom
fix/better-logging
Draft

feat(logging): add logging to DCE and common modules#164
MohamedNasser8 wants to merge 3 commits into
mainfrom
fix/better-logging

Conversation

@MohamedNasser8

Copy link
Copy Markdown
Collaborator

Work in progress: opening early for visibility. dce and common are done; asl, dsc, and ivim will be added to this same PR.
Please don't merge yet

Why

While reading the DCE code I noticed two things:

  1. You can't tell which fitter actually ran. fit_model() defaults to
    Levenberg-Marquardt when no fitter is passed, but nothing says so.
  2. Some failures are silent. A few places catch exceptions and quietly
    return a fallback, so a crashed run looks the same as a correct one.

Several code paths swallowed failures with no indication:
@ltorres6
ltorres6 marked this pull request as draft July 23, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant