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

Debugging and Refactoring the Current Python Code #184

Closed
Lancasterwu opened this issue Feb 27, 2019 · 14 comments
Closed

Debugging and Refactoring the Current Python Code #184

Lancasterwu opened this issue Feb 27, 2019 · 14 comments

Comments

@Lancasterwu
Copy link
Contributor

Lancasterwu commented Feb 27, 2019

With PR #180, we can finally run the restructured gatorgrouper.

However, there are still some bugs and bad designed python code.

The program was only refactored in this structure, some specific functions still looks terrible.

I want to assign @GatorEducator/team-lancaster and @GatorEducator/team-spencer (except @huangs1 and @ilikerustoo) to go over all code in details to improve them.

"The refactored code should be clean, efficient, and maintainable code that is well documented"

Please create a branch following the style enhance/debug-improve-YOURFILENAME
Note that you should not put .py after YOURFILENAME.

To be organized, please comment under this Issue to claim the file you are going to work.

You should be responsible for having a good understanding of the file that you are assigned and be able to explain to other people.

😄 😆 😊 😃 😏 😄 😆 😊 😃 😏 😄 😆 😊 😃 😏 😄 😆 😊 😃 😏 😄 😆 😊 😃 😏


We now have:

There are only two configuration files left

  • defaults.py - short
  • constants.py - short

😄 😆 😊 😃 😏 😄 😆 😊 😃 😏 😄 😆 😊 😃 😏 😄 😆 😊 😃 😏 😄 😆 😊 😃 😏

When ever you find a bug or bad designed code or some thing that does not make sense to you, please make a note under this issue and raise a new issue to clearly explain it.

For example:

Comment under this issue:

reibelj commented a day ago

I will look into `parse_arguments.py`

Issue #194 to fix a bug related to invalid group number

Sample Issue that you should raise: #194

@ilikerustoo
Copy link
Contributor

Could to be more specific in examples of what would need improving? This is probably low priority for now since we have the application finally up and running when PR #180 merges.

@baldeosinghm
Copy link
Contributor

I agree with @ilikerustoo. What files do you think are in need of urgent refactoring?

@Lancasterwu

This comment has been minimized.

@everitt-andrew
Copy link
Contributor

everitt-andrew commented Feb 27, 2019

I will look at potential refactoring that can be done with group_rrobin.py
The only refactoring that this program needed was the alteration of the docstrings. As such, I did not raise an issue and my changes can be found in the enhance/debug-improve-group_rrobin branch.
I also raised issue 205 in response to the bug that Lancaster and I found earlier while writing the test_rrobin_responses method inside of test_group_method.py.

@wattob
Copy link
Contributor

wattob commented Feb 27, 2019

I will take a look at the functions within group_random.py

@reibelj
Copy link
Contributor

reibelj commented Feb 27, 2019

I will look into parse_arguments.py

Issue #194 to fix a bug related to invalid group number

@ALEXANDERB82
Copy link
Contributor

I will look at group_scoring.py

@thomad74
Copy link
Contributor

thomad74 commented Feb 27, 2019

I will look at read_student_file.py

Issue #188 to provide failure handling (@ilikerustoo is currently working on that)

@Lancasterwu Lancasterwu changed the title Debugging and Improving the Current Python Code Debugging and Refactoring the Current Python Code Mar 1, 2019
@baldeosinghm
Copy link
Contributor

I will handle gatorgrouper.py

@baldeosinghm
Copy link
Contributor

I recently spoke to Saejin, and gatorgrouper.py has no real need for refactoring. The code works and there is nothing to really attend to.

@thomad74
Copy link
Contributor

thomad74 commented Mar 4, 2019

@ilikerustoo have you done work on the read_student_file.py and if so, have you committed this work so I can continue to add to it?

@ilikerustoo
Copy link
Contributor

@thomad74 I have not. I apologize. I have been busy but I will look into this again soon.

@thomad74
Copy link
Contributor

thomad74 commented Mar 6, 2019

@ilikerustoo No problem, I was just wondering!

@baldeosinghm
Copy link
Contributor

This issue was handled by PR #226

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants