Skip to content
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

DeGoede review #1

Open
wants to merge 12 commits into
base: empty
Choose a base branch
from
Open

DeGoede review #1

wants to merge 12 commits into from

Conversation

degoeden
Copy link

Scrutineering

- MATLAB (tested in R2023b)
- Symbolic math toolbox
- RF toolbox (for smith plots)
- the paretoFront function can be found [here](https://github.com/symbiotic-engineering/MDOcean/blob/main/mdocean/optimization/multiobjective/paretoFront.m)
Copy link
Author

Choose a reason for hiding this comment

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

maybe sub-module for the pareto front function? We are an optimization lab, so maybe it fits well into the SEA Lab utils?

Copy link
Author

Choose a reason for hiding this comment

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

I think linking the script that generates fig 6 is ok becasue it is a standalone thing. but the need to go grab a script from another repo just to get the code in this repo to work is a bit inconvenient

Copy link
Author

Choose a reason for hiding this comment

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

maybe clean out some of the commented out code, I'm assuming it's outdated. If you think it might be important later then maybe a separate branch?

Copy link
Author

Choose a reason for hiding this comment

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

Would be good to add some comments. Point out equation numbers in paper that line up with stuff in the code. And add comments that mention where other equations/combinations of equations come from.

Copy link
Author

Choose a reason for hiding this comment

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

make it clearer what code goes with each figure, a function that generates each figure would be nice, if you want to have one file then run all the functions that could be a nice way to have obvious separations while also making it easy for someone to recreate the figures.

Copy link
Author

Choose a reason for hiding this comment

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

This is also in need of a lot more comments, explain what each step of the derivation means, explain what variables like wt_s and bi are.

Copy link
Author

Choose a reason for hiding this comment

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

also if you are going to leave the other plots in there, I think you should have some comments on what they mean, if it's not worth writing comments on then they probably don't really need to be in the code

Copy link
Author

Choose a reason for hiding this comment

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

once again, more comments would be nice, what is e1, e2, and e3, where are these equations coming from?

Copy link
Author

Choose a reason for hiding this comment

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

Error: Unrecognized function or variable 'improvePlot'.

from line 25, perhaps need sea-lab-utils?

Copy link
Author

Choose a reason for hiding this comment

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

I can guess as to what this does, but it would be nice to include in readme if necessary, but it also seems to me like maybe this is just a personal utility script and doesn't need to be in the repo?

@degoeden
Copy link
Author

overall, this repo could benefit from a lot more comments as it was hard to follow the code. Explaining variable names, identifying where equations are coming from/why they are being used, and pointing out equations numbers and figure numbers when they are created could go a long way.

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