passdrill
AI & LLM Engineering · AI Agents & Tool Use · Card 024/032 medium

A team wants higher-confidence flags of possible security vulnerabilities in a code diff, so instead of asking one LLM call to review the diff once, they run the exact same review prompt against the same diff three separate times independently, then treat a vulnerability as flagged only if at least two of the three runs report it. Which parallelization variation does this describe, and what is it meant to achieve?

  1. Sectioning -- breaking the code diff into independent pieces that are reviewed simultaneously by different prompts, meant to speed up the review by dividing the work
  2. Voting -- running the identical task multiple times to get diverse independent outputs, meant to reach a higher-confidence result by requiring agreement across multiple attempts rather than trusting any single run
  3. Orchestrator-workers -- a lead call breaking the diff into subtasks and assigning each to a different worker call, meant to let each worker specialize in one part of the code
  4. Evaluator-optimizer -- one call generating a list of vulnerabilities while a second call critiques and revises that list, meant to iteratively refine a single review rather than combine several independent ones
Next card → Shuffle