MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / compute_quality_score

Method compute_quality_score

src/program/mod.rs:98–102  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

96 }
97
98 pub fn compute_quality_score(&self) -> f32 {
99 let top = self.density * (1 + self.unique_branches.len());
100 let bottom = 1 + self.visited;
101 top as f32 / bottom as f32
102 }
103}
104
105#[derive(Default, Debug, Clone)]

Callers 1

get_weightMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected