Closed aimirza closed 5 years ago
Re: Quality -- Robustness and Maintainability
We didn't learn how to make unit tests in class yet, are there resources for this?
You had to develop unit tests in 511 for a function that looks up a string in all environments.
The simplest test is to ensure that a dataframe is provided where the columns are variables for example. If you have to use statistics to generate your plot you can use a unit test similar to this example: https://stackoverflow.com/questions/27948126/how-can-i-write-unit-tests-against-code-that-uses-matplotlib
I do not understand the Mechanics feedback - "Please also explain how to run your data analysis (which order scripts are run in, what expected inputs and outputs are)"
The readme says : " The data analysis is carried out in 4 scripts saved in the ./src/folder and ran in the following order" 1 ,2,3,4 with description.
Could you please explain - Was the flow chart necessary ?
Addressed all feedback except unit tests & more descriptive comments in https://github.com/UBC-MDS/DSCI_522-ellognea-smwatts-student-performance/pull/33
Re: Quality -- Readability and Documentation
"Use more meaningful comments" : could you please give an example ?
Re: Quality -- Readability and Documentation
"Use more meaningful comments" : could you please give an example ?
Example: In explore_student_perf.R
right above the code that starts with violin
say #Create violin plit. For every block of code you should have a comment.
I do not understand the Mechanics feedback - "Please also explain how to run your data analysis (which order scripts are run in, what expected inputs and outputs are)"
The readme says : " The data analysis is carried out in 4 scripts saved in the ./src/folder and ran in the following order" 1 ,2,3,4 with description.
Could you please explain - Was the flow chart necessary ?
Flow chart is not necessary but helpful. What you have now is good. But explain how to run the Makefile (e.g., copy repo, go to root, run these codes, etc) in your main README.md of your projects repo.
You may close this issue when all issues are resolved and checked.
Mechanics
Reasoning
Visualization
Quality -- Readability and Documentation
Quality -- Robustness and Maintainability
Grammar and Spelling