Skip to content

Conversation

emersodb
Copy link
Collaborator

PR Type

Fix

Short Description

Clickup Ticket(s): N/A

Our previous Mypy flow was, for some reason, missing typing issues. Not everywhere or all of the time, just some of them, which is very curious. The new flow force mypy to do the complete set of type checking. As such, typing issues arose on main. This PR includes fixes to those typing errors.

Tests Added

Tests remain in place and pass.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE: I am being lazy in this file and adding a few typing ignores. Under normal circumstances, please yell at me for this. However, I know that @lotif will be removing this file and migrating it's useful contents in this PR. So I'm not trying very hard here 😂

Copy link
Collaborator

@fatemetkl fatemetkl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@emersodb emersodb merged commit 83beba6 into main Sep 24, 2025
5 checks passed
@emersodb emersodb deleted the dbe/fixing_mypy branch September 24, 2025 15:57
bzamanlooy pushed a commit that referenced this pull request Oct 10, 2025
04d817f Trainer: Changing all literals to enums (#48)
33f9306 Adding ignore for pip 25.2 vulnerability, removing stale ones (#50)
c8d30ca Remove mkdocs build dir, add to gitignore (#49)
c01121c End-to-end Evaluation Script Example (#45)
d231a4a Add Nearest Neighbor Distance Ratio and Epsilon Identifiability Privacy Metrics (#42)
53e423b Adding Mean F1 Score Difference and Hitting Rate Metrics (#39)
91150fd Adding in Hellinger and pMSE metrics (#38)
746644e Tightening Ruff Configuration (#46)
580d55f Adding data_split_ratios to both the diffusion config and the classifier config (#47)
72863be Refactoring core.logger into common.logger and removing it (#41)
bef53bf Train code split, Part 4: moving some of the model.py code into dataset.py (#40)
80b0154 Upgrading pip to latest version to solve security issue (#44)
83beba6 New mypy flow and fixes to typing issues that were discovered (#43)
7e77f37 Train code split, Part 3: moving some of the model.py code into sampler.py (#9)

git-subtree-dir: deps/midst-toolkit
git-subtree-split: 04d817f
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.

2 participants