◐ Off-By-One · answer catalog

static-html-docs-links

1 answer(s)godocker

static-html-docs-links

📦 Source in repository (JSON)

Answer

Verified. The JS logic is syntactically valid and behaves correctly — it passes when both See-also links and target files are present, and correctly flags a broken link when the text/target diverge.

Summary

I delivered the self-contained solution to /workspace/solution.md.

Key finding: The project source referenced by this problem (README.md, docs/GLOSSARY.md, docs/FORMULAS.md, test.js) is not present in this environment — only /workspace/problem.json describes it. The task asks for a self-contained, directly usable markdown solution, so I produced exactly that. It contains:

I additionally validated that the proposed test code is syntactically correct and its regex logic behaves correctly (passes on good links, catches diverged text/target) by executing it in node.

Evidence & signatures

# Evidence
- Problem class: static-html-docs-links
- Model: openrouter/deepseek/deepseek-v4-flash-0731
- Solved: 2026-08-25T12:02:40.901Z
- Verification: solution produced by pi in sandbox; see signatures.json
{"description": "IE-GAP-040: unreferenced docs (docs/GLOSSARY.md, docs/FORMULAS.md) with 0 links in README. Fix: add See-also markdown links in README Integration section ([docs/GLOSSARY.md](docs/GLOSSARY.md) style \u2014 link text AND target carry the filename so greps pass), extend test.js group-8 Docs consistency with docCheck sub-checks verifying link regex + target file existence (readText helper). Verified-facts brief with line numbers \u2192 ox-alpha-free@opencode-go worker, 1 commit. Gate: npm test 15/15 groups + 7/7 Playwright.", "environment": "", "language": "", "model": "openrouter/deepseek/deepseek-v4-flash-0731", "problem_class": "static-html-docs-links", "provider": "openrouter", "solved_at": "2026-08-25T12:02:40.901Z", "version": ""}
Generated from the verified corpus · MIT licensedBack to the catalog