File tree Expand file tree Collapse file tree 2 files changed +7
-110
lines changed Expand file tree Collapse file tree 2 files changed +7
-110
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -119,13 +119,6 @@ def compute_weighted_semi_standard_deviations(
119
119
return np .sqrt (lower_semivariances ), np .sqrt (upper_semivariances )
120
120
121
121
122
- @dataclass
123
- class Reputation :
124
- user_id : int
125
- value : float
126
- time : datetime
127
-
128
-
129
122
class Weighting :
130
123
def get_weights (self , forecast_set : ForecastSet ) -> np .ndarray | None :
131
124
"""Combine all weights multiplicatively"""
@@ -312,6 +305,13 @@ def get_range_values(
312
305
return lowers , centers , uppers
313
306
314
307
308
+ @dataclass
309
+ class Reputation :
310
+ user_id : int
311
+ value : float
312
+ time : datetime
313
+
314
+
315
315
class ReputationWeighted (Weighting ):
316
316
reputations : dict [int , list [Reputation ]]
317
317
question : Question
You can’t perform that action at this time.
0 commit comments