mlamina / what-about-jobs

An AI Agent system to figure out how to deal with AI replacing jobs
MIT License
0 stars 0 forks source link

Create unit tests for `Backlog` class #24

Open mlamina opened 6 months ago

mlamina commented 6 months ago

The Backlog class needs unit tests. The class should work as described in issue #19 . The implementation also doesn't look right. add_item, remove_item, reprioritize, etc should all manipulate the files in backlog/, not just self.items.

mlamina commented 6 months ago

/pilot Please look at the issue #19 to understand the implementation. Adjust the class as described in the ticket here. Make the necessary file changes. Also, add a new file with unit tests for the new implementation

arcane-engine[bot] commented 6 months ago

I've made the necessary adjustments to the Backlog class in backlog.py to ensure that operations such as adding, removing, and reprioritizing items now manipulate the files in the backlog/ directory directly, as described in the issue. Additionally, I've added a new file tests/test_backlog.py containing unit tests for the updated Backlog class implementation. These changes address the requirements outlined in issue #24 and are based on the implementation details provided in issue #19.

PR: 🔧 Update Backlog class implementation and add unit tests

If you require further changes, continue our conversation over there!

📋Task Log