-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
bugSomething isn't workingSomething isn't working
Description
This looks like a bug, but an additional set of eyes is needed to confirm that it actually is.
When no candidate solutions are found with a score above a the minimal score, and there actually are candidate solutions, the doubtful solutions are inspected.
if len(filtered)==0:
if candidates:
current_app.logger.debug("No score above minimal score, inspecting doubtful solutions.")
return inspect_doubtful_solutions(candidates, query_string, hypothesis)
raise NoSolution("Not even a doubtful solution")
However, the call inspect_doubtful_solutions(candidates, query_string, hypothesis) seems incorrect and probably should have been
inspect_ambiguous_solutions(candidates, query_string, hypothesis)
This method actually returns, while the current call only raises exceptions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working