Skip to content

Reworked utility functions and significant regression tests#8

Merged
MJCliffe merged 3 commits into
MJCliffe:Livefrom
ml-evs:ml-evs/refactoring
Aug 23, 2023
Merged

Reworked utility functions and significant regression tests#8
MJCliffe merged 3 commits into
MJCliffe:Livefrom
ml-evs:ml-evs/refactoring

Conversation

@ml-evs
Copy link
Copy Markdown
Collaborator

@ml-evs ml-evs commented Aug 23, 2023

This PR moves all util code into a utils module, and refactors it with type hints, fewer loops and more pythonic variable names (including some greek... can decide if this is actually a good idea 😅) and function names. Where possible, functions are tested against their legacy versions for consistency.

@ml-evs ml-evs marked this pull request as ready for review August 23, 2023 13:28
@ml-evs ml-evs requested a review from MJCliffe August 23, 2023 13:28
@ml-evs ml-evs force-pushed the ml-evs/refactoring branch from 29f05c9 to e10a1ac Compare August 23, 2023 13:32
@ml-evs ml-evs mentioned this pull request Aug 23, 2023
8 tasks
@ml-evs ml-evs changed the title Reworked all utility functions and broke off legacy module + regression tests Reworked utility functions and significant regression tests Aug 23, 2023
@ml-evs ml-evs force-pushed the ml-evs/refactoring branch from ba2f4e5 to 628f34c Compare August 23, 2023 17:02
@ml-evs ml-evs force-pushed the ml-evs/refactoring branch from 628f34c to efbb641 Compare August 23, 2023 17:15
Copy link
Copy Markdown
Owner

@MJCliffe MJCliffe left a comment

Choose a reason for hiding this comment

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

Thanks, looks great! Didn't know Greek was allowed. Once the utils.py is finished I'll go through expanding on the function description comments.

@MJCliffe MJCliffe merged commit 8ff1fd0 into MJCliffe:Live Aug 23, 2023
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