Fix 440
Fix 440: a task in life-science-SWE1.0 (Harbor dataset). This fixes the issue I reported in 440 with infer query length() . Old code specifying always will now use the new functions.
The task
This fixes the issue I reported in #440 with `infer_query_length()`. Old code specifying `always` will now use the new functions.
Part of scalingX/life-science-SWE1.0.