LPX55 commited on
Commit
c794b2b
·
verified ·
1 Parent(s): 95ab41f

Update agents/ensemble_weights.py

Browse files
Files changed (1) hide show
  1. agents/ensemble_weights.py +1 -1
agents/ensemble_weights.py CHANGED
@@ -133,7 +133,7 @@ class ModelWeightManager:
133
  """Check if models have conflicting predictions"""
134
  agent_logger.log("weight_optimization", "info", "Checking for conflicts among model predictions.")
135
  non_none_predictions = [p.get("Label") for p in predictions.values() if p is not None and isinstance(p, dict) and p.get("Label") is not None and p.get("Label") != "Error"]
136
- agent_logger.debug("weight_optimization", "info", f"Non-none predictions for conflict check: {non_none_predictions}")
137
  result = len(non_none_predictions) > 1 and len(set(non_none_predictions)) > 1
138
  agent_logger.log("weight_optimization", "info", f"Conflicts detected: {result}")
139
  return result
 
133
  """Check if models have conflicting predictions"""
134
  agent_logger.log("weight_optimization", "info", "Checking for conflicts among model predictions.")
135
  non_none_predictions = [p.get("Label") for p in predictions.values() if p is not None and isinstance(p, dict) and p.get("Label") is not None and p.get("Label") != "Error"]
136
+ agent_logger.log("weight_optimization", "info", f"Non-none predictions for conflict check: {non_none_predictions}")
137
  result = len(non_none_predictions) > 1 and len(set(non_none_predictions)) > 1
138
  agent_logger.log("weight_optimization", "info", f"Conflicts detected: {result}")
139
  return result