Skip to main content

About the project

RepoLens is an AI-assisted Python testing tool that helps developers evaluate the effectiveness of generated tests.

It scans Python repositories, identifies candidate functions, uses an AI model to generate tests, performs basic AST screening, and executes the tests against the original implementation. It then introduces a deliberate mutation to the selected function to check whether the generated tests detect the behavioral change.

RepoLens provides both a Streamlit web dashboard and a command-line interface. It produces a JSON report, generated test files, and a patch file so developers can inspect the results.

Demonstrated results: In our demo, all six generated tests passed against the original function, and all six failed against the deliberately broken version.

RepoLens is a prototype. Its current mutation verification covers a simple mutation and does not establish comprehensive test coverage or guarantee bug-free code.

Built with

pythonstreamlitpytestpython ASTgemini-apigemmajsongithubgitgemini

AI tools

Hand-coded, no AI

Prize Categories Entered

  • Deepmind Google

    Best Use of Gemma 4

    Submitted
  • DigitalOcean

    Best Open-Source AI Project

    Submitted
  • Event prize

    Best Use of Graphify

    Submitted