Open Bug 1606915 Opened 4 years ago Updated 8 months ago

Improve the QueryScorer for Interventions

Categories

(Firefox :: Address Bar, enhancement, P3)

enhancement
Points:
5

Tracking

()

Iteration:
76.2 - Mar 23 - Apr 5

People

(Reporter: bugzilla, Unassigned)

References

(Blocks 2 open bugs)

Details

The QueryScorer in the experiment is still a WIP. Mak and Drew discussed possible improvements. We must end up with a format to associate interventions to tuples of words.

Blocks: 1606916
Priority: -- → P2

Verdi had feedback on the final version and I had questions on his feedback, but I haven't heard back yet.

What's the next step here, did you hear back or should we ping Verdi? Do you have a list of known improvements for the existing one?

Flags: needinfo?(adw)

I haven't heard back. His point is that currently you have to type an entire phrase to match an intervention. He wants matches to happen after typing a smaller number of words in each phrase. I pressed him on what exactly the rule(s) would look like, especially since a previous version of the matcher worked similarly to that, and that's what we're stuck on. It sounds like he wants the rule to be: We match a phrase once the user types "Firefox" or "Mozilla" plus at least one non-Firefox/Mozilla word in the phrase (excluding stop words presumably).

Flags: needinfo?(adw)

Stop-words is the first thing people noticed when testing the feature: "why 'firefox slow' works but 'firefox is slow' doesn't?".
I think Verdi's idea makes sense, thus there'd be a mandatory word to match (firefox, mozilla or their alternatives like "fox fire" that we can keep hardcoded) and then we should match at least another word.
The matchers object could be something like:

{
    "en-": {
        fuzzer: "levenshtein",
        stopWords: ["the", "is", "a", "at", "on", "to", ...],
        matches: {
            "clear": ["cache", "clear", "cookie", "cookies", "history"],
            "refresh": ["slow", "hang", "crash", "crashing", "block", "blocked"],
            ...
        }
    },
    "jp-": {
        fuzzer: "none",
        ...
    }
}
Summary: Figure out the QueryScorer for Interventions → Improve the QueryScorer for Interventions
Assignee: nobody → adw
Iteration: --- → 75.1 - Feb 10 - Feb 23
Blocks: 1612497
Iteration: 75.1 - Feb 10 - Feb 23 → 75.2 - Feb 24 - Mar 8
Iteration: 75.2 - Feb 24 - Mar 8 → 76.1 - Mar 9 - Mar 22
Iteration: 76.1 - Mar 9 - Mar 22 → 76.2 - Mar 23 - Apr 5
Severity: normal → S3
Assignee: adw → nobody
Priority: P2 → P3
You need to log in before you can comment on or make changes to this bug.