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

Function image_mismatch

tests/coverage_live_v2_admin.py:30–38  ·  view source on GitHub ↗
(context, case)

Source from the content-addressed store, hash-verified

28
29
30def image_mismatch(context, case):
31 runner, marker = untouched_runner(case)
32 image = digest(runner)
33 wrong = ("1" if image[0] == "0" else "0") + image[1:]
34 registry = context.registry(case, image=wrong)
35 process, destination = context.collect(case, registry, runner=runner)
36 no_marker(process, destination)
37 require(not marker.exists(), "image mismatch executed runner before rejection")
38 return {"class": "administrative", "runner_invoked": False}
39
40
41def existing_output(context, case, symlink=False):

Callers 1

mainFunction · 0.90

Calls 6

digestFunction · 0.90
requireFunction · 0.90
untouched_runnerFunction · 0.85
no_markerFunction · 0.85
registryMethod · 0.80
collectMethod · 0.80

Tested by 1

mainFunction · 0.72