Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leveraging Compile/Build/Type Errors to inform and improve success metrics #62

Open
Faolain opened this issue Sep 10, 2024 · 0 comments

Comments

@Faolain
Copy link

Faolain commented Sep 10, 2024

Just wanted to say amazing work here! ACR is one of the few projects I saw which implemented the capability of leveraging test cases which I think is incredible and crucial to having truly autonomous code generation & tooling. I did have some questions/thoughts and wanted to know what the future looks like for ACR.

Questions

Project Organization

Requests

  • Can options be added to ensure that any code added (feature or fix) includes corresponding generated test cases? (Maybe generate tests based on spec and then code is generated on spec and matched against the code?)
  • There are tools in the case of javascript where if you run jest test --coverage (coverage in python does the same https://coverage.readthedocs.io/en/7.6.1/ ) you get a coverage report of all code where the lines not covered by tests are surfaced automatically. Can this be used as an input to increase test coverage of the codebase? (i.e. it can see all uncovered lines of code and then generate test cases, ensuring this way any new code added cannot introduce unknown bugs)
  • In the case of python mypy can be used to add types and running mypy can ensure if code adheres to the type spec provided. This also exists within Typescript. Can the outputs of running mypy (for python) or eventually typescript/biome errors be used as inputs alongside the tests to improve code return quality?
  • Build/compile time errors used as inputs as well whether it's Swift/Rust etc? For anyone not familiar in many languages such as Swift or Rust, in the former build errors are provided by the language server/xcode/compiler that tells you why something won't work with an error alongside suggested changes to fix it.

Really appreciate all the work done here and excited to see if there is any way to contribute. If and when autocoderover advances more....it can be used to improve autocoderover itself :)

@Faolain Faolain changed the title Leveraging Compile/Build/Type Errors to inform and improve success Leveraging Compile/Build/Type Errors to inform and improve success benchmarks Sep 10, 2024
@Faolain Faolain changed the title Leveraging Compile/Build/Type Errors to inform and improve success benchmarks Leveraging Compile/Build/Type Errors to inform and improve success metrics Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant