Bug report to likely cause
Start a triage from an issue URL or a pasted report and get Investigation Insights, experiments, and one current Possible Cause.
On this page
Start from a bug report and end with one current Possible Cause: what FixBugs believes is wrong, why, and the files involved. FixBugs reads the report and your repository before it proposes a cause. Nothing in your workspace changes.
Before you start
- FixBugs installed and signed in, with model access and an execution mode chosen. See Quickstart.
- Your repository open as a folder in VS Code.
- A bug report: an issue URL from GitHub, GitLab, or Jira, or the report text, such as a stack trace.
Start the triage
- On the FixBugs home, under Start an investigation, select Start New Triage. Start triage opens.
- If you have an issue link, select Issue URL. Otherwise, select Paste Text.
- Paste the link or the report. GitHub, GitLab, and Jira URLs are detected automatically.
- Under Repository, select Current workspace. FixBugs may offer Use repository from issue when the issue names a repository.
- Select Continue. The bug report opens.
Follow the analysis
FixBugs analyzes the report with your code. The analysis button reads Analyzing while it runs; if it reads Run Analysis, select it to start.
The steps at the top of the triage show where the work is: Bug Report, Analysis, Hypothesis, Plan, Fix, Validate, Review. The progress panel lists each tool FixBugs runs. To stop at the next safe point, select Stop.
- When the button reads View Analysis, select it. Investigation Insights opens.
Read Investigation Insights
Investigation Insights (the analysis) is what FixBugs learned from the report and your code. It has three tabs:
- Overview: the summary of the problem.
- Technical: the error messages, log files, and images from the report.
- Evidence & Experiments: the evidence FixBugs still needs and the experiments it recommends.
Adjust the recommended experiments
Recommended experiments is FixBugs' plan to test its guess. Each experiment has an intent, what to observe, and the expected signal.
- On the Evidence & Experiments tab, select Edit experiment queue (the pencil icon).
- Change an experiment's Expected signal.
- To reorder, select Move up or Move down. To drop one, select Remove.
- Select Save. The list shows your version.
Find Possible Causes
- Select Find Possible Causes. The button reads Finding Possible Causes while FixBugs works.
Ask the Assistant while it works
You can question any result in plain language.
- Select the Assistant tab.
- To point the Assistant at the analysis, select Attach context and choose it.
- Type your question, for example "Why does this fail only with a 100 % discount?", and send it. The answer cites the files it read.
To open a result with its context already attached, select Open in Assistant on that page.
Read the Possible Cause
Possible Causes (the screen calls them hypotheses) hold one current cause at a time. Earlier causes stay as history.
- Select View Possible Causes (n). The Hypothesis page shows the Current hypothesis.
- Open the cause. Root Cause explains what FixBugs believes is wrong.
- To change it, select Edit, then choose Refine to adjust the cause or Replace to propose a different one.
- Select Save. The cause gets a new version, listed under Version history.
Causes FixBugs set aside appear under Previously considered. You can read them; you cannot restore them.
What you get
- Investigation Insights for the bug.
- Recommended experiments, edited by you.
- One current Possible Cause with its Root Cause, and the causes Previously considered.
If something goes wrong
- If the analysis fails, the button reads Retry Analysis. Check your model access in Settings, then select it.
- If no cause is produced, the page shows Hypothesis generation failed. Select Retry Hypotheses, or return to the analysis with View Analysis.
- If Continue stays unavailable, the line under the form says what is missing, such as a repository or a sign-in to the issue's provider.
Next steps
- Plan, fix, apply: turn the cause into a Plan and a Fix.
- Triage, Investigation Insights, Possible Causes, Experiments.
- Chatting with the Assistant.