forked from off-topic/apps.apple.com
init commit
This commit is contained in:
13
node_modules/@amp/amd-apps/dist/rankers/engagement-based-demotion.js
generated
vendored
Normal file
13
node_modules/@amp/amd-apps/dist/rankers/engagement-based-demotion.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.demoteByEngagements = void 0;
|
||||
/**
|
||||
* Re-rank candidates by demoting candidates based on engagement events.
|
||||
* @param candidates Recommendable entities
|
||||
* @param engagementEvents Recorded engagement events
|
||||
* @returns Reordered candidates
|
||||
*/
|
||||
function demoteByEngagements(candidates, _engagementEvents) {
|
||||
return [...candidates];
|
||||
}
|
||||
exports.demoteByEngagements = demoteByEngagements;
|
||||
Reference in New Issue
Block a user