MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / _observations

Function _observations

scripts/test-impact/profile_map_v2.py:436–448  ·  view source on GitHub ↗
(observations, rows, budget, gate)

Source from the content-addressed store, hash-verified

434
435
436def _observations(observations, rows, budget, gate):
437 if len(observations) > budget.limits.max_observations:
438 raise ProfileMapLimitExceededError("observation limit")
439 for observation in observations:
440 gate.step()
441 _observation_schema(observation, budget, gate)
442 ordered = _sort_unique(
443 observations, ("suite", "test", "key"), gate, "duplicate observation key"
444 )
445 for observation in ordered:
446 gate.step()
447 row = _find_row(rows, observation.suite, observation.test, gate)
448 _route_observation(observation, row)
449
450
451def _evidence(evidence, rows, budget, gate):

Callers 1

_preflightFunction · 0.70

Calls 6

_observation_schemaFunction · 0.85
_sort_uniqueFunction · 0.85
_find_rowFunction · 0.85
_route_observationFunction · 0.85
stepMethod · 0.45

Tested by

no test coverage detected