search: one query-triggered challenge rests DuckDuckGo for 10 minutes on shared addresses

Open
#855 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
search

Research direction

Start with the engine health ledger and retry wrapper discussed in PR #854, then review PR #812 for the earlier challenge-rest rule. Compare on-topic results over 20 queries through the full search path from datacenter and residential addresses before and after a measured choice. Done means documenting that choice and adding a test for a challenge followed by a working query.

Written by the indexing model from the issue text.

Description

area:search bug

Problem

From the CI runners' datacenter addresses, DuckDuckGo answers some queries (about 7 of 20 error-message queries in one measurement) with an instant challenge, while the next query works. From a residential address the same queries got 0 challenges in 27. Any challenge rests the engine for 10 minutes through the engine health ledger, across every vertical and every process using the same data folder. So on a shared or datacenter address, one error-message query, a common query for coding agents, removes DuckDuckGo for 10 minutes. Through the retry wrapper, a 20-query run on CI reached at most 10 of 20 on-topic for this reason. Found in the review of PR #854.

This is not new: the same 10-minute rule applied before #854. Options weighed in that review:

  • A short first rest that lengthens only on repeated challenges. This changes the rule for every engine that reports a challenge, so it needs the same care #812 took.
  • A DuckDuckGo-only short rest. On a real address block this asks again every short interval, which tends to keep the block in place.
  • Telling query-triggered challenges from address blocks. Nothing measured so far separates them reliably.

Done when

  • A measured choice between these, from a datacenter and a residential address, with the on-topic count over 20 queries through the full search path before and after.
  • A test pins the chosen rest rule for a challenge that is followed by a working query.
Dominant language
TypeScript
Stars
5.4k
Forks
445
Avg merge
20h 41m
Merged PRs (30d)
85

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from KnockOutEZ/wigolo

All issues in KnockOutEZ/wigolo

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.