What is What-the-Diff?
What-the-Diff is an AI-powered application that reviews the diff of your pull requests and generates a descriptive comment about the changes in plain English. It uses the GitHub API to access the diff of your pull requests, then applies an AI model to summarize these changes. Primarily, What-the-Diff aims to improve code review and continuous integration processes within teams.
Can What-the-Diff recognize all programming languages?
Yes, What-the-Diff can recognize nearly all programming languages. It's built with a massive dataset of code to facilitate this functionality.
How does What-the-Diff work?
What-the-Diff works by using the GitHub API to fetch the diff of your pull requests. After obtaining the diff, it applies an AI model to generate a description of the changes in your pull request. It neither stores your code nor the diffs of your pull requests.
Is What-the-Diff free to use?
Yes, What-the-Diff offers a free version that can be used as long as they are providing it. However, there are also paid plans available, offering more tokens and coverage for multiple repositories.
How does What-the-Diff use tokens?
Tokens in What-the-Diff are used to process the git diff of pull requests. The larger the diffs, the more tokens are required for processing. The average pull request consumes approximately 2,300 tokens.
Why does What-the-Diff need full access to my code?
What-the-Diff requires full access to your code because GitHub's permissions system doesn't support pull request diff read-only access. To produce a comprehensive summary, What-the-Diff needs full access to read the diffs of your pull request.
Does What-the-Diff store my code?
No, neither your code nor the diff of your pull requests are stored by What-the-Diff.
Can What-the-Diff generate summaries on-demand?
Yes, What-the-Diff supports on-demand generation of comments. This feature is part of its fine-grained controls which also allow you to choose which files should be included or excluded from the summary and when and how your pull requests should be analyzed.
How accurate is What-the-Diff?
While the AI used by What-the-Diff is in beta phase, it's not guaranteed to be 100% accurate. However, it has been trained with a large dataset of code and is continuously improving its ability to generate summaries.
What happens when I run out of tokens on What-the-Diff?
When you run out of tokens in What-the-Diff, you have the option to upgrade to a bigger plan or wait until your next billing cycle. What-the-Diff does not automatically upgrade your plan.
Can unused tokens be carried over to the next month in What-the-Diff?
No, unused tokens in What-the-Diff do not roll over to the next month. It's recommended that you choose the smallest plan that suits your needs and upgrade when necessary.
Does What-the-Diff provide weekly summaries of changes?
Yes, What-the-Diff can send weekly summaries of all changes in your repositories via Slack notifications, keeping your team up-to-date with the latest changes.
Can I choose which files should be included/excluded from the summary in What-the-Diff?
Yes, with What-the-Diff you can choose which files should be included or excluded from the summaries. This option is part of the fine-grained controls What-the-Diff offers for pull request analysis.
Can I ignore PRs from certain branches with What-the-Diff?
Yes, What-the-Diff allows you to ignore pull requests from certain branches as part of its fine-grained controls.
How to cancel my subscription of What-the-Diff?
To cancel your What-the-Diff subscription, you just have to log into the platform and click on the “Cancel Subscription” button. It also allows for plan changes and downgrading to the free version if desired.
Does What-the-Diff upgrade plans automatically?
No, What-the-Diff does not automatically upgrade your plan. If you run out of tokens, you can manually upgrade to a bigger plan or wait until your next billing cycle.
Can What-the-Diff help to improve the code review and continuous integration process?
Yes, What-the-Diff can help teams to improve their code review and continuous integration processes by automating pull request summaries. It provides a detailed description of the changes in plain English, saving developer time spent on understanding the diffs.
How does What-the-Diff use the GitHub API?
What-the-Diff uses the GitHub API to fetch the diff of your pull requests. It leverages this information to generate a comprehensive summary of the changes in the pull request.
Does What-the-Diff support other languages for the summary?
No, currently, What-the-Diff only supports English for the summaries. Even though it can process nearly all programming languages, the resulting summaries are only provided in English.
Does What-the-Diff train its AI model with users' code?
No, What-the-Diff does not train its AI model with users' code. In line with its privacy policy, it doesn't store user code or pull request diffs at all.