MCPcopy Create free account
hub / github.com/AI45Lab/Code / gen_verification_check

Function gen_verification_check

core/tests/test_persisted_schema_roundtrip.rs:274–285  ·  view source on GitHub ↗
(rng: &mut Rng)

Source from the content-addressed store, hash-verified

272}
273
274fn gen_verification_check(rng: &mut Rng) -> VerificationCheck {
275 VerificationCheck {
276 id: rng.string(),
277 kind: rng.string(),
278 description: rng.string(),
279 status: gen_verification_status(rng),
280 required: rng.boolean(),
281 suggested_tools: rng.string_vec(3),
282 evidence_uris: rng.string_vec(2),
283 residual_risk: rng.opt_string(),
284 }
285}
286
287fn gen_verification_report(rng: &mut Rng) -> VerificationReport {
288 let n = rng.below(3);

Callers 1

gen_verification_reportFunction · 0.85

Calls 5

gen_verification_statusFunction · 0.85
stringMethod · 0.80
booleanMethod · 0.80
string_vecMethod · 0.80
opt_stringMethod · 0.80

Tested by

no test coverage detected