Enhance UI, add AI integration, improve logging and database stats

This commit is contained in:
Richard
2026-07-04 21:11:31 +02:00
parent 7a44914d9d
commit d102af2965
57 changed files with 4025 additions and 229 deletions
@@ -1,4 +1,4 @@
using Predictalytics.Domain.Enums;
using Predictalytics.Domain.Enums;
namespace Predictalytics.Domain.ValueObjects;
@@ -23,14 +23,15 @@ public record PriorityScore(
/// <summary>
/// Determine tier based on effective score.
/// To reach Diamond, the score must be exceptionally high (top 1%).
/// </summary>
public TraderTier DetermineTier() => EffectiveScore switch
{
>= 90 => TraderTier.Diamond,
>= 75 => TraderTier.Platinum,
>= 60 => TraderTier.Gold,
>= 40 => TraderTier.Silver,
>= 20 => TraderTier.Bronze,
>= 95 => TraderTier.Diamond,
>= 85 => TraderTier.Platinum,
>= 70 => TraderTier.Gold,
>= 50 => TraderTier.Silver,
>= 30 => TraderTier.Bronze,
_ => TraderTier.Unknown
};
}