Skip to content

fix: filler words never shrink a research query to nothing - #103

Merged
alexeybe1kin merged 1 commit into
mainfrom
fix/research-query-terms
Nov 13, 2026
Merged

alexeybe1kin merged 1 commit into
mainfrom
fix/research-query-terms

Conversation

@alexeybe1kin

Copy link
Copy Markdown
Collaborator

Hunt toolgate-4 F4, the part that drops the owner's query. QUERY_STOP_WORDS holds ordinary words: email, software, tool(s), team, company, small, manual, problem, spreadsheet, workflow. Before this change, a query made only of them:

  • _github_repositories and _discourse returned [] without any request, reported as "Search completed safely but found no matching results";
  • _appstore_catalog and _producthunt refused it.

research_base.topic_terms() drops filler as before, but keeps all the words when every one is filler. The four sites use it; the others already fell back to the raw query.

Not changed (design, recorded in VERDICTS): the rest of the business-pain tuning in the same finding, such as Stack Exchange's 2-term focus and fixed sites, Reddit's fixed subreddit text, and the App Store's negative-review filter and low-rated-first ranking. Making research general rather than pain-focused is a product call.

Tests (toolgate/tests/test_research_topic_terms.py): the helper, GitHub repositories sending email software, and the App Store catalog accepting small team tools. All fail on main. Local: research + tool settings 292 passed; ruff and types ok.

QUERY_STOP_WORDS drops words like email, software, tool, team and small, so a
query such as "email software" made GitHub repositories and Discourse return
[] with no request (reported as no matching results) and App Store catalog and
Product Hunt refuse it (hunt toolgate-4 F4). topic_terms() keeps every word
when all of them are filler.
@alexeybe1kin
alexeybe1kin merged commit 5b09c46 into main Nov 13, 2026
4 checks passed
@alexeybe1kin
alexeybe1kin deleted the fix/research-query-terms branch November 13, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant