fix shidfs popup, maybe found a working do-it-all publishers data API functoin (ToDo: implement separate and simple fns if it does not work)
This commit is contained in:
@ -996,9 +996,9 @@ async function RankPublishersForShiftWeighted(publishers, scheduledPubsPerDayAnd
|
||||
|
||||
// Log the scores and penalties of the top publisher
|
||||
if (ranked.length > 0) {
|
||||
console.log(`Top Publisher: ${ranked[0].name}`);
|
||||
console.log(`Score: ${ranked[0].score}`);
|
||||
console.log(`Penalties:`, ranked[0].penalties);
|
||||
console.log(`Top Publisher: ${ranked[0].firstName} ${ranked[0].lastName}`,
|
||||
` Score: ${ranked[0].score}`, "last score: ", ranked[ranked.length - 1].score,
|
||||
` Penalties: `, ranked[0].penalties);
|
||||
}
|
||||
|
||||
return ranked;
|
||||
|
Reference in New Issue
Block a user