You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When setting a goal with Betterer. Once the goal is met (for example, 0 linting errors), Betterer removes the last value from the cache. Once the value has been removed. You are able to make the goal worse (for example, introduce 50 linting errors), causing Betterer to start over and check the number 50 back into the cache.
Run Betterer, and receive a "Goal Met" message. Results are cleared.
- test: () => 0,+ test: () => 50,
Run Betterer, and receive a "for the first time" message. Result is now saved to 50.
Expected behavior
Once a goal was met, you would expect that the goal never got worse from that point on. However, the goal can get a lot worse and Betterer appears to allow it.
The text was updated successfully, but these errors were encountered:
Describe the bug
When setting a goal with Betterer. Once the goal is met (for example,
0 linting errors
), Betterer removes the last value from the cache. Once the value has been removed. You are able to make the goal worse (for example, introduce 50 linting errors), causing Betterer to start over and check the number 50 back into the cache.To Reproduce
Run Betterer.
Run Betterer, and receive a "Goal Met" message. Results are cleared.
Run Betterer, and receive a "for the first time" message. Result is now saved to 50.
Expected behavior
Once a goal was met, you would expect that the goal never got worse from that point on. However, the goal can get a lot worse and Betterer appears to allow it.
The text was updated successfully, but these errors were encountered: