third step

This commit is contained in:
team2
2026-04-29 21:27:24 +02:00
parent b71adf33f0
commit 8ece67b461
7 changed files with 220 additions and 140 deletions

View File

@@ -78,7 +78,7 @@ final readonly class IntentLite
// --------------------------------------------------------
// Entscheidung
// --------------------------------------------------------
$isList = $score >= IntentLightConfig::LIST_THRESHOLD;
$isList = $score >= $this->config->getListThreshold();
return [
'is_list' => $isList,

View File

@@ -98,7 +98,7 @@ final class SalesIntentLite
$secondScore = $values[1] ?? 0;
// Kein relevanter Score → Discovery
if ($topScore < SalesIntentConfig::MIN_SCORE_THRESHOLD) {
if ($topScore < $this->config->getMinScoreThreshold()) {
return [
'intent' => self::DISCOVERY,
'score' => 0,
@@ -106,7 +106,7 @@ final class SalesIntentLite
}
// Keine klare Dominanz → Discovery
if (($topScore - $secondScore) < SalesIntentConfig::DOMINANCE_DELTA) {
if (($topScore - $secondScore) < $this->config->getDominanceDelta()) {
return [
'intent' => self::DISCOVERY,
'score' => $topScore,