apluslms / aplus-manual

Download course templates to start building of a new course
MIT License
5 stars 28 forks source link

Fix inconsistency in decorator description #54

Closed Corgi239 closed 2 years ago

Corgi239 commented 2 years ago

Description

In "Hello Python: grading steps in detail" section, step 17, the decorator @points(1) is said to give 5 points, which it should presumably be said to give just 1 point. I edited the corresponding .rst file to reflect this.

Why?

To prevent confusion about how the @points(n) decorator works.

How?

Replaced "five points" with "one point" in the .rst file containing the corresponding material.

Testing

No testing was carried out.

What type of test did you run?

Did you test the changes in

Think of what is affected by these changes and could become broken

Translation

Programming style

Have you updated the README or other relevant documentation?

Is it Done?

Clean up your git commit history before submitting the pull request!

markkuriekkinen commented 2 years ago

@ihalaij1 any thoughts on this? :smile:

markkuriekkinen commented 2 years ago

The commit message is a bit off. Very long lines in the body and the message unnecessarily repeats information that is part of the code. There is no need to write the code line numbers in the commit message.

ihalaij1 commented 2 years ago

@ihalaij1 any thoughts on this? 😄

This was indeed wrong in the RST. Good fix!

Corgi239 commented 2 years ago

Thanks a lot for the feedback on the message, very much appreciate it! I'm still getting the hang of Git etiquette, will make sure to be more concise next time. Cheers!