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

Method get_seed_from_queue

src/deopt.rs:32–39  ·  view source on GitHub ↗
(&self, seed_id: usize)

Source from the content-addressed store, hash-verified

30 }
31
32 pub fn get_seed_from_queue(&self, seed_id: usize) -> &Program {
33 for seed in &self.seed_queue {
34 if seed.id == seed_id {
35 return seed;
36 }
37 }
38 unreachable!("cannot get seed {seed_id} from seed queue")
39 }
40
41 pub fn select_seed_from_queue(&mut self) -> &Program {
42 assert!(!self.seed_queue.is_empty());

Callers 2

test_seed_to_promptFunction · 0.80
select_seed_excludeMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_seed_to_promptFunction · 0.64