{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "yuyaoge-doc2harness--check-catalog-integrity-before-scoring",
 "repo": "YuyaoGe/doc2harness",
 "repo_url": "https://github.com/YuyaoGe/doc2harness",
 "repo_slug": "yuyaoge-doc2harness",
 "title": "Confirm the scenario catalog is intact before scoring",
 "page_title": "How to confirm the scenario catalog is intact before scoring with Doc2 Harness",
 "summary": "Verify that the catalog loads and contains 94 scenarios before any scoring run.",
 "who": "A developer or maintainer who has edited the repo or wants to confirm a clean copy before trusting scores.",
 "problem": "An edited or inconsistent catalog could silently score a different set of scenarios, which would make results misleading.",
 "outcome": "A printed count of 94 when the catalog is intact, or an error if the digests fail to verify.",
 "steps": [
  "Clone or open the repo and change into its root directory.",
  "Run `PYTHONPATH=src python3 -c \"from doc2harness.benchmark.dispatch import active_scenario_ids as a; print(len(a()))\"`.",
  "Check that the printed output is 94.",
  "If the command fails, do not score with this copy until the catalog is restored."
 ],
 "agent_prompt": "In the repo YuyaoGe/doc2harness, run the Python sanity check that imports active_scenario_ids and prints its length. Report the printed number and any digest error. Verify that the output is exactly 94 before reporting the catalog as intact.",
 "agents": [
  "any"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "The check only confirms the 94-scenario released subset, not the 328-case full suite behind the leaderboard.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.11 or newer",
  "Docker installed and running",
  "The repo cloned locally",
  "For building a new harness only: the builder image, a local LiteLLM gateway, and your own API key"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/yuyaoge-doc2harness/check-catalog-integrity-before-scoring/",
 "md": "https://dedupedai.com/use-cases/yuyaoge-doc2harness/check-catalog-integrity-before-scoring/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/yuyaoge-doc2harness--check-catalog-integrity-before-scoring.json",
 "api_version": "v1"
}
