promptdojo_

Write retrieve(scored, k, threshold) that returns the top-k candidates, filtered by score >= threshold, deduped by chunk_id (keep the highest-scoring occurrence). Order the output by descending score.

Two cases run. Expected output:

['policy/p2', 'policy/p4', 'policy/p7']
[]

this step needs the editor

on desktop today; in the app (coming soon). save your spot and we'll bring you back here when you're ready.

open this same url on a laptop to keep going today.