Initial commit
This commit is contained in:
commit
85eb12a22d
1397 changed files with 173048 additions and 0 deletions
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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue