UBC-MDS / ellognea-smwatts-student-performance

Analyzing the UCI Student Performance Data Set to predict the grades of students
1 stars 3 forks source link

Milestone 1 Issues #32

Closed aimirza closed 5 years ago

aimirza commented 5 years ago

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

smwatts commented 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?

aimirza commented 5 years ago

You had to develop unit tests in 511 for a function that looks up a string in all environments.

aimirza commented 5 years ago

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

ellognea commented 5 years ago

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 ?

smwatts commented 5 years ago

Addressed all feedback except unit tests & more descriptive comments in https://github.com/UBC-MDS/DSCI_522-ellognea-smwatts-student-performance/pull/33

ellognea commented 5 years ago

Re: Quality -- Readability and Documentation

"Use more meaningful comments" : could you please give an example ?

aimirza commented 5 years ago

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 violinsay #Create violin plit. For every block of code you should have a comment.

aimirza commented 5 years ago

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.