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

Function write_error_evidence

tests/test_coverage_flush.py:169–179  ·  view source on GitHub ↗
(stderr, obstacle)

Source from the content-addressed store, hash-verified

167
168
169def write_error_evidence(stderr, obstacle):
170 # Static LLVM22 library evidence; first native RED must confirm this binding.
171 # Different wording is an unknown precondition, never guessed to be success.
172 errors = [line for line in stderr.splitlines() if line.startswith("LLVM Profile Error:")]
173 matched = []
174 for line in errors:
175 found = re.fullmatch(r'LLVM Profile Error: Failed to write file "(.*)": (.+)', line)
176 if not found or not same_path(found.group(1), obstacle):
177 return False, errors
178 matched.append(line)
179 return bool(matched), matched
180
181
182def test_output(stdout):

Callers 1

classifyFunction · 0.85

Calls 1

same_pathFunction · 0.85

Tested by

no test coverage detected