Skip to content

Commit 2dcbb6a

Browse files
committed
Rename trust_score to overall_score in TrustScore instantiation for clarity
1 parent b56292d commit 2dcbb6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/api-python/app/services/analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ async def quick_analysis(self, content: str) -> Dict:
102102
"findings": quick_findings,
103103
"manipulation_techniques": manipulation_techniques,
104104
"trust_score": TrustScore(
105-
score=max(0.0, min(1.0, trust_score)),
105+
overall_score=max(0.0, min(1.0, trust_score)),
106106
confidence=confidence_score,
107107
factors={
108108
"emotional_language": -0.2 if has_emotional_language else 0,

0 commit comments

Comments
 (0)