{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "fuxicodex-fuxi--fix-failing-tests-from-terminal",
 "repo": "fuxicodex/Fuxi",
 "repo_url": "https://github.com/fuxicodex/Fuxi",
 "repo_slug": "fuxicodex-fuxi",
 "title": "Fix failing tests in a repo from the terminal",
 "page_title": "How to fix failing tests in a repo from the terminal with Fuxi",
 "summary": "Point FuXi at a repository with failing tests and have it read, edit, and rerun until they pass.",
 "who": "A developer whose project has failing tests and who wants a terminal agent to investigate and patch them.",
 "problem": "Tracing a failing test through the code and making a correct fix takes time, especially in an unfamiliar repository.",
 "outcome": "FuXi reads the relevant code, proposes or applies edits, runs commands, and reports the changes it made.",
 "steps": [
  "`curl -fsSL https://downloads.fuxicode.com/bootstrap.sh | bash`",
  "`fuxi login`",
  "`fuxi doctor`",
  "`cd <your-repo>` (inferred, check the README)",
  "`fuxi`, then type: Fix the failing tests in this repository."
 ],
 "agent_prompt": "In the repository at <repo-path>, run FuXi from the terminal with the prompt 'Fix the failing tests in this repository.' Expected output: a summary of the files FuXi changed and the result of its test run. Verify by running the project's own test command yourself and confirming the previously failing tests now pass.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "Sign-in gives access to FuXi-managed models, and the README says registration processes minimal account data, so check the privacy docs before using it on private code.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "A FuXi account (`fuxi login`) or your own LLM provider API key",
  "A macOS, Linux, or Windows terminal",
  "A local code repository to work in"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/fuxicodex-fuxi/fix-failing-tests-from-terminal/",
 "md": "https://dedupedai.com/use-cases/fuxicodex-fuxi/fix-failing-tests-from-terminal/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/fuxicodex-fuxi--fix-failing-tests-from-terminal.json",
 "api_version": "v1"
}
