appsembler / xblock-grade-fetcher

Grade Fetcher XBlock
MIT License
2 stars 1 forks source link

extract grade from list #28

Closed thraxil closed 2 years ago

thraxil commented 2 years ago

The grade_user() method is 182 lines long and way too complex to properly review or test. There are probably more bugs like https://github.com/appsembler/xblock-grade-fetcher/issues/24. So I'm doing some refactoring. Starting with low hanging fruit. This extracts a pure function which can be very easily tested in isolation.