MCPcopy Create free account
hub / github.com/microsoft/fara / __init__

Method __init__

webeval/scripts/eval_exp.py:128–136  ·  view source on GitHub ↗
(self, callbacks = None)

Source from the content-addressed store, hash-verified

126
127class Callback:
128 def __init__(self, callbacks = None):
129 self.evaluated = 0
130 self.executed = 0
131 self.processed = 0
132 self.results = []
133 self.run_id = mlflow.active_run().info.run_id
134 self.callbacks = callbacks or []
135 self.lock = threading.Lock()
136 self.mlflow = MlFlowRateLimiter(period_s = 10, thread_safe = False)
137
138
139 def __call__(self, result: EvalResult):

Callers

nothing calls this directly

Calls 1

MlFlowRateLimiterClass · 0.90

Tested by

no test coverage detected