Skip to content

Commit aae625f

Browse files
committed
fix: mcda Goal value Q=0
1 parent 95cc7ce commit aae625f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sum_impact_assessment/services/mcda_analysis_job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def build_goals(kpi_impact_results: list, alternatives: list[Alternative], goal_
171171
name=group_name,
172172
weight=weight,
173173
direction="max", # Higher coefficient = better impact
174-
Q=min_value, # default to min value (disabled effect)
174+
Q=0, # default to min value (disabled effect)
175175
S=0, # default to 0 (not used here)
176176
P=max_value - min_value, # max - min value
177177
F='t3' # V-shape for continuous data

0 commit comments

Comments
 (0)