jonathanpeppers / inclusive-code-reviews-ml

Machine learning for code reviews!
MIT License
14 stars 6 forks source link

Fix phrases for the browser extension tests #36

Closed jonathanpeppers closed 2 years ago

jonathanpeppers commented 2 years ago

Context: https://github.com/jonathanpeppers/inclusive-code-reviews-browser

The browser extension's tests caught:

I love you.
AssertionError: expected 'negative' to equal 'neutral'

I added some examples of this, but then a different test failed:

Text 'Why are you such a pain?', IsNegative 1, Confidence 0.5991535782814026

Added one more example, and now all tests pass in both the browser extension and in this repo.