Closed Bug 1599762 Opened 5 years ago Closed 5 years ago

Add filtering and sorting by score to ASRouterTargeting.jsm

Categories

(Firefox :: Messaging System, enhancement, P1)

enhancement

Tracking

()

VERIFIED FIXED
Firefox 72
Iteration:
72.3 - Nov 18 - Dec 1
Tracking Status
firefox72 --- verified
firefox73 --- verified

People

(Reporter: k88hudson, Assigned: k88hudson)

References

Details

Attachments

(1 file)

Manual test steps:

  1. Enable ASRouter devtools
  2. Set browser.messaging-system.personalized-cfr.scores to {"PDF_URL_FFX_SEND ": 5000}
  3. Set browser.newtabpage.activity-stream.asrouter.providers.cfr to {"id":"cfr","enabled":true,"type":"remote-settings","bucket":"cfr","frequency":{"custom":[{"period":"daily","cap":1}]},"categories":["cfrAddons","cfrFeatures"],"updateCycleInMs":3600000,"personalized":true,"personalizedModelVersion": 123}
  4. Check devtools. Ensure PDF_URL_FFX_SEND has a score of 5000 and a personalizedModelVersion of 123
  5. Ensure you can trigger the PDF URL SEND cfr organically.
  6. Reset impressions for CFR by toggling provider pref in devtools.
  7. Change browser.messaging-system.personalized-cfr.scores to {"PDF_URL_FFX_SEND ": 4999}
  8. Update the modelVersion in the CFR provider pref to 12345, make sure that is reflected in message value in devtools.
  9. Make sure that you cannot trigger the PDF URL SEND cfr organically anymore (since it is below the the threshold).

Note that reading score/model version is already possible via devtools JSON.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
Assignee: nobody → khudson
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Summary: Score and modelVersion should be visible in devtools for personalized providers → Add filtering and sortiing by score to ASRouterTargeting.jsm
Iteration: --- → 72.3 - Nov 18 - Dec 1
Priority: -- → P1
Summary: Add filtering and sortiing by score to ASRouterTargeting.jsm → Add filtering and sorting by score to ASRouterTargeting.jsm
Pushed by khudson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/13b3c5446a59
Add filtering and sorting by score to ASRouterTargeting r=andreio
Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 72

I have verified this issue with the steps provided in comment 0 using Latest Firefox Nightly 73.0a1 (Build ID: 20191211094640) on Windows 10 x64, Ubuntu Linux 18.04, and macOS 10.15.1. When the score is below 5000 threshold, the PDF URL SEND cannot be triggered organically, whilst when the score is equal to or higher than 5000 the PDF URL SEND can be triggered organically.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: