MCPcopy
hub / github.com/wshobson/agents / _effective_depth

Function _effective_depth

plugins/plugin-eval/src/plugin_eval/reporter.py:14–17  ·  view source on GitHub ↗

Return the deepest depth actually covered by the layers that ran.

(result: PluginEvalResult)

Source from the content-addressed store, hash-verified

12
13
14def _effective_depth(result: PluginEvalResult) -> Depth:
15 """Return the deepest depth actually covered by the layers that ran."""
16 layer_names = frozenset(layer.layer for layer in result.layers)
17 return _LAYER_TO_DEPTH.get(layer_names, Depth.QUICK)
18
19
20class Reporter:

Callers 2

to_markdownMethod · 0.85

Calls

no outgoing calls