DEDUPED Hot AI repos, turned into use cases Get 5 a day

How to fix failing tests in a repo from the terminal with Fuxi

Point FuXi at a repository with failing tests and have it read, edit, and rerun until they pass.

Authorization notice. Fuxi is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.

Who it is forA developer whose project has failing tests and who wants a terminal agent to investigate and patch them.

The problemTracing a failing test through the code and making a correct fix takes time, especially in an unfamiliar repository.

The outcomeFuXi reads the relevant code, proposes or applies edits, runs commands, and reports the changes it made.

What you need first

  • 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

Steps

  1. curl -fsSL https://downloads.fuxicode.com/bootstrap.sh | bash
  2. fuxi login
  3. fuxi doctor
  4. cd <your-repo> (inferred, check the README)
  5. fuxi, then type: Fix the failing tests in this repository.

Prompt for your agent

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.

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.

Share: X LinkedIn Hacker News Email Copy link

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 [email protected] and we will look at it promptly. Full disclaimer page