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

Function gen_verification_status

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

Source from the content-addressed store, hash-verified

263}
264
265fn gen_verification_status(rng: &mut Rng) -> VerificationStatus {
266 match rng.below(4) {
267 0 => VerificationStatus::Passed,
268 1 => VerificationStatus::Failed,
269 2 => VerificationStatus::NeedsReview,
270 _ => VerificationStatus::Skipped,
271 }
272}
273
274fn gen_verification_check(rng: &mut Rng) -> VerificationCheck {
275 VerificationCheck {

Callers 2

gen_verification_checkFunction · 0.85
gen_verification_reportFunction · 0.85

Calls 1

belowMethod · 0.80

Tested by

no test coverage detected