diff --git a/src/main/kotlin/network/RagService.kt b/src/main/kotlin/network/RagService.kt index 87d280f..dd44870 100644 --- a/src/main/kotlin/network/RagService.kt +++ b/src/main/kotlin/network/RagService.kt @@ -434,6 +434,13 @@ $newsDataSection 4. Confidence: Assign a confidence score (0-100) based on how clearly the data points to the decision. +# Confidence Scoring Guide (CRITICAL) +Assign the 'confidence' score based on these rules: +- 80-100: When Financials are strong AND News Context clearly supports the trend. +- 50-79: When Financials are stable but News is neutral or missing. +- 10-49: When Financials and News contradict each other. +- 1-9: Reserved ONLY for extreme data corruption. +- NEVER output 0 unless the data is completely unreadable. Even a weak guess should be at least 10. # Strict Constraints diff --git a/src/main/kotlin/ui/TradingDecisionLog.kt b/src/main/kotlin/ui/TradingDecisionLog.kt index adc6a4f..40e0e36 100644 --- a/src/main/kotlin/ui/TradingDecisionLog.kt +++ b/src/main/kotlin/ui/TradingDecisionLog.kt @@ -72,7 +72,7 @@ fun TradingDecisionLog() { onClick = { coroutineScope.launch { // index 0으로 부드럽게 스크롤 (즉시 이동은 scrollToItem(0)) - listState.animateScrollToItem(0) + listState.animateScrollToItem(filteredLogs.size - 1) } } ) { Text("AI 자동매매 실시간 로그", style = MaterialTheme.typography.h6) }