Arjun icon indicating copy to clipboard operation
Arjun copied to clipboard

fix: fix a simple python bug in heuristic.py

Open omardoescode opened this issue 3 months ago • 0 comments

In python, an expression such as ("required" or "missing") in response.lower() resolves to "required" in response.lower() because "required" is a truthy value.

After reading code, I think this is not the desired action, but rather checking for the existence of either words in the response text.

omardoescode avatar Oct 01 '25 22:10 omardoescode