Skip to content

Commit b313b05

Browse files
simplification
1 parent 85497af commit b313b05

File tree

6 files changed

+0
-37
lines changed

6 files changed

+0
-37
lines changed

app/services/profile/builder.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
"""
2-
Profile Builder - Additive Accumulation System.
3-
4-
Pure additive accumulation. No normalization, no derived features.
5-
Easy to debug, transparent, explainable.
6-
"""
7-
81
import asyncio
92
import math
103
from collections import defaultdict

app/services/profile/constants.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
"""
2-
Constants for Taste Profile System.
3-
4-
Centralized configuration for evidence weights, feature weights, caps, and decay.
5-
"""
6-
71
from typing import Final
82

93
# Evidence Weights (how much each interaction type contributes)

app/services/profile/evidence.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
"""
2-
Evidence Weight Calculator.
3-
4-
Determines how much weight to give each user interaction based on type and recency.
5-
"""
6-
71
import math
82
from datetime import datetime, timezone
93
from typing import Literal

app/services/profile/sampling.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
"""
2-
Smart Sampling Service.
3-
4-
Efficiently samples items for profile building while prioritizing strong signals.
5-
"""
6-
71
from typing import Any
82

93
from app.models.scoring import ScoredItem

app/services/profile/scorer.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
"""
2-
Profile Scorer - Unified Scoring Function.
3-
4-
Same scoring function used everywhere: Top Picks, Genre rows, Keyword rows, etc.
5-
"""
6-
71
from typing import Any
82

93
from app.models.taste_profile import TasteProfile

app/services/profile/vectorizer.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
"""
2-
Item Vectorizer - Extracts features from items for profile building.
3-
4-
Pure extraction logic, no scoring or accumulation.
5-
"""
6-
71
from typing import Any
82

93
from app.models.scoring import ScoredItem

0 commit comments

Comments
 (0)