Skip to content

Commit

Permalink
make response_time_penalty_multiplier actually impose a penalty lol
Browse files Browse the repository at this point in the history
  • Loading branch information
tripathiarpan20 committed Nov 28, 2024
1 parent 26c7657 commit 567687f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validator/control_node/src/cycle/calculations.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async def _calculate_metrics_and_quality_score(
)
continue
metrics[reward_data.node_hotkey] = metrics.get(reward_data.node_hotkey, []) + [
reward_data.quality_score * reward_data.metric
reward_data.quality_score * reward_data.metric / reward_data.response_time_penalty_multiplier
]
quality_scores[reward_data.node_hotkey] = quality_scores.get(
reward_data.node_hotkey, []
Expand Down

0 comments on commit 567687f

Please sign in to comment.