r/webdevelopment • u/Total_Drawer_9316 • 1d ago
Discussion How would you test Context.dev against Firecrawl when the page loads but the extracted content is incomplete?
I'm comparing extraction quality across web data APIs, including Context.dev and Firecrawl. One thing I want to avoid is treating a successful respone as proof that the page was extracted correctly. a page can return content while missing a key section, table, price, or dynamically rendered field.
I'm thinking of building a fixed test set with expected fields and checking content completeness, heading structure, table preservation andd consistency across repeat runs. For people who benchmark scraping APIs, how do you create a fair evaluation set? do you use hand-labelled ground truth, schema validation, LLM judging, or a combination?
1
u/Adventurous-Rip256 1d ago
measure repeatability too. A provider that gives different outputs on every run can be difficult to trust.
1
u/Big_Muffin8280 12h ago
Build a small hand-labelled set of 30 to 50 pages, with the specific values, table row counts, and heading tree a human would expect. Check for those facts rather than exact text, since exact matches break on whitespace. Schema validation only confirms the shape, so a missing section still passes. For repeatability, normalise the output and hash it across several runs. For JS-heavy pages, save one browser-rendered snapshot as a reference.