← Questions

Citation tagging over generated text

0
HarveyCodingLast asked Sep 2026

Given generated text and source phrases, wrap every matched region in citation tags, merging overlaps and attributing each block to its sources ordered by frequency. Covers the bank's highlight, exact-match and word-level tagging variants. Reported on 1point3acres' Harvey bank; reconstructed in our own words.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding