Skip to content

Latest commit

 

History

History
33 lines (31 loc) · 1.41 KB

README.md

File metadata and controls

33 lines (31 loc) · 1.41 KB

General instructions

  1. Fork or clone this repository into your own github account.
  2. All your work will be done in your repository.
  3. Inspect the code and understand what it's doing.
  4. When going through the steps below, create git commits, making a history of changes that can be inspected later on.
  5. At the end of the exercise you will have to push your code. You can also push regularly before that if you want.

Steps

  1. Both functions in the object_analysis module have a problem.
  2. Write a test for each function that demonstrates the problem.
  3. Fix the function and ensure the test passes.
  4. Both functions' performance can be improved for performance and readability
  5. Describe how you would go about increasing the performance. What steps would you take? How do you determine what to improve?
  6. Try to increase the performance of both functions. Use only built-in python modules and types, don't bother trying to use external packages or writing code in lower-level languages.
  7. Try to improve the readibility of the functions.
  8. The object_analysis module contains not only functions but also some little examples/mini-tests. Can you re-organise this?
  9. The code has no comments nor descriptions. Add as appropriate.
  10. Create a GitHub Action (or any other CI script) that runs automatic tasks after each commit. Add the tasks you think are relevant.