Pull Request Optimization 30 seconds demo
Prerequisites
Before you begin, make sure you have:β
A Codeflash API key from the Codeflash Web Appβ
Completed local installation with
codeflash init
β
A Python project with a configured pyproject.toml
fileSetup Options
1
Run the Setup Command
codeflash init
also asks to setup the github actions.2
Customize and Test Your Setup
Open a new pull request to your GitHub project. Youβll see:
- β A new Codeflash workflow running in GitHub Actions
- π€ The codeflash-ai bot commenting with optimization suggestions (if any are found)
How the Pull Request Optimization Suggestion looks
Codeflash creates a new dependent Pull Request for you to review with the reported speedups, helpful explanation for the optimization and the proof of correctness. The pull request has the code change for you to review and accept.
