(In reply to jonathan koren from comment #4) > Feed machine already sends this out, albeit on a debug field. It's probably being cleared out on the Web tier. > > Example: > > ``` > { > "curated_rec_id": 40402, > "debug": { > "boosts": [ > { > "in_score": 0.007218252641575964, > "name": "age_penalty", > "out_score": 0.007218252641575964, > "penalty": 0.5 > }, > { > "field": "domain_id", > "field_value": 81870, > "in_score": 0.007218252641575964, > "min_spacing": 3, > "name": "min_spacing", > "out_score": 0.007218252641575964 > } > ], > "modelId": "b-0085-15k-60min", > "modelType": "bayesian", > "pseudoClicks": 119.34, > "pseudoImprs": 14040, > "pseudoLocale": "en-US", > "realClicks": 69, > "realImprs": 13735, > "syndicated_resolved_id": null, > "time_delta": 3600, > "time_now": 1563554727, > "time_since": 1563551127, > "time_window_seconds": 3600, > "total_clicks": 2768, > "total_imprs": 1151096 > }, > "feed_item_id": "00713541-e3fc-45b1-b539-51aca3b981f6-r9eb48a5a", > "pCTR": 0.007218252641575964, > "post_id": 0, > "rec_src": "CuratedLinksForLocaleSource", > "resolved_id": 2662632026, > "score": 0.007218252641575964 > } > ``` Do you know what metric/threshold we could be using from here to determine "Fresh" or "Popular"
Bug 1565709 Comment 7 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
(In reply to jonathan koren from comment #4) > Feed machine already sends this out, albeit on a debug field. It's probably being cleared out on the Web tier. > > Example: > > ``` > { > "curated_rec_id": 40402, > "debug": { > "boosts": [ > { > "in_score": 0.007218252641575964, > "name": "age_penalty", > "out_score": 0.007218252641575964, > "penalty": 0.5 > }, > { > "field": "domain_id", > "field_value": 81870, > "in_score": 0.007218252641575964, > "min_spacing": 3, > "name": "min_spacing", > "out_score": 0.007218252641575964 > } > ], > "modelId": "b-0085-15k-60min", > "modelType": "bayesian", > "pseudoClicks": 119.34, > "pseudoImprs": 14040, > "pseudoLocale": "en-US", > "realClicks": 69, > "realImprs": 13735, > "syndicated_resolved_id": null, > "time_delta": 3600, > "time_now": 1563554727, > "time_since": 1563551127, > "time_window_seconds": 3600, > "total_clicks": 2768, > "total_imprs": 1151096 > }, > "feed_item_id": "00713541-e3fc-45b1-b539-51aca3b981f6-r9eb48a5a", > "pCTR": 0.007218252641575964, > "post_id": 0, > "rec_src": "CuratedLinksForLocaleSource", > "resolved_id": 2662632026, > "score": 0.007218252641575964 > } > ``` Do you know what metric/threshold we could be using from here to determine "Fresh" or "Popular". Ideally we can house this logic on the server side.