MCPcopy Create free account
hub / github.com/ByteYellow/AgentProvenance / statusRank

Function statusRank

internal/intent/diff.go:237–249  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

235}
236
237func statusRank(s string) int {
238 switch s {
239 case StatusRefusedBypass:
240 return 0
241 case StatusMismatch:
242 return 1
243 case StatusCoverageGap:
244 return 2
245 case StatusExecuted:
246 return 3
247 }
248 return 4
249}

Callers 1

DiffFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected