Skip to content

Commit 8e6eec3

Browse files
committed
Merge remote-tracking branch 'origin/argumentPriorityUpdate'
2 parents 4396ceb + 29dca08 commit 8e6eec3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/src/analysis/argumentPriorityHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export async function getArgumentPriorities(graphId: string, userId: string): Pr
4747
// Get priority for arguments with scores (consensus, fragmentation, clarity)
4848
for (const [argumentId, score] of argumentScores) {
4949
const uniquenessScore = uniquenessScores.get(argumentId) ?? 1;
50-
const priority = (1 + 20 * (score.consensus ?? 0) + 20 * (score.fragmentation ?? 0)) * (score.clarity + uniquenessScore) ** 2;
50+
const priority = uniquenessScore * (1 + score.clarity + (score.consensus ?? 0) + (score.fragmentation ?? 0));
5151
argumentPriorityMap.set(argumentId, priority);
5252
}
5353

0 commit comments

Comments
 (0)