Skip to content

Commit

Permalink
Remove excessive log lines
Browse files Browse the repository at this point in the history
  • Loading branch information
nik committed Dec 4, 2024
1 parent 37b5beb commit a8e44a7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions evalme/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ def symmetrize(a, b):
[item for item in params if item.startswith("__")]))
# aggregate matching scores over all existed controls
for control_name, control_type in all_controls.items():
logger.debug(f"Starting calculation for {control_type} - {control_name}")
matching_func = get_matching_func(control_type, metric_name)
if not matching_func:
logger.error(f'No matching function found for control type >>{control_type} in project.id >>{project.get("id")}.')
Expand Down Expand Up @@ -221,7 +220,6 @@ def symmetrize(a, b):
else:
score += s * overall_weight
n += overall_weight
logger.debug(f"Ending calculation for {control_type} - {control_name}")

def clipped(s):
if s > 1 or s < 0:
Expand Down

0 comments on commit a8e44a7

Please sign in to comment.