-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename SimPSFToolkit.py module #128
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am checking the first few changes and noticed that you didn't change references and imports of the new module name: psf_simulator
instead calling it PSFSimulator. PSFSimulator is the name of the class not the module.
Can you please go through and make sure module imports, class imports and doc strings are correct?
Make sure you tested that everything works as expected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a few more changes to implement.
Is it better to make all changes in one commit, or to commit each file separately? |
If you're performing exactly the same change for several files you can do it in one commit. If it's a different type of change then it should go in another commit. Also, please be sure to review the Workflow which took effect especially when it comes to branch naming conventions (in particular for next time). |
Okay, thank you, Jennifer. |
No, the names must be from the three categories. Which one would it be then? |
It's not a new feature, so I would say it's more like a bug. |
Changes have been implemented. |
Thanks for the update. Did you test with runs of training and metrics to ensure no breaking behaviour? |
Yes, but there are tests that require a GPU and they are skipped. |
Not unit tests. I meant validation tests. Launch a batch script and make sure everything runs with no errors. |
Okay, I will try testing it with Google Colab because Feynman is undergoing maintenance. |
I tested the code with a few epochs and got the expected output without any errors. |
Can you share your validation reports? |
You uploaded a single log file of a run. I want to make sure you understand what is meant by validation reports that should be provided. Can you explain more what this run is? What are the outputs you expected? |
After renaming the module, I ran WaveDiff. If everything is working correctly, the code should run without errors, and the metrics should have similar logical values as before renaming. The values in the log seem reasonable, but for full assurance, we should compare them to the log from before the renaming. |
Thanks for this answer. Just a clarification, if you are using the same random seed and configuration for before-the-changes and after-the-changes run the results should be exact, not similar. If they are not exact, it is important to investigate why they are not the same. |
Yes, by 'similar' I meant the same. As you mentioned, if we are using the same random seed. Thanks for the specifics. |
Similar /= Same. Are you going to correct your report, so it's clear which run is the |
the log I provided is after-changes run |
It is difficult as a reviewer to read bits of information across multiple comments. According to the Pull Request template, assignees should provide a summary of their checks in the original post. Thus, it's possible for you to edit it. Again provide a complete report of the validation tests. Send me a notification when you're done and ready for me to review the Pull Request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this.
solves #112
Changes Made:
Renamed
SimPSFToolkit.py
topsf_simulator.py
Renamed the class to
PSFSimulator
Updated all package and class imports throughout the codebase