> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qodo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Rule Miner or Relevance isn't producing results

> Follow these troubleshooting instructions if Rule Miner isn't generating rules, or Relevance isn't appearing on your pull requests.

[Rule Miner](/governance/rule-enforcement/rule-miner) and [Relevance](/code-review/relevance) are two separate features that both depend on the same underlying engine: [PR history indexing](/core-concepts/pr-history). If a repository's history hasn't finished indexing, or indexing failed, both features have nothing to learn from and stay silent, without a visible error. Some causes below apply to only one feature, each section notes which.

## Confirm Rule Miner is enabled (Rule Miner only)

Rule Miner has an organization or repository-level setting that turns it off entirely, independent of indexing status. Go to **Configurations** > **Code review** > **Review standards** in the Qodo portal and confirm **Mine rules from code review history** is enabled. See [Configure Rule Miner](/governance/rule-enforcement/rule-miner#configure-rule-miner) for details.

Relevance has no separate enable or disable setting.

## Check PR history indexing status (both features)

Go to the [Manage repositories](/governance/repositories/manage-repositories) page and find the repository's **PR history indexing** status:

| Status                          | What it means for Rule Miner and Relevance                                                                                                                                                                                                                                                                                                                                         |
| ------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Not started** or **Indexing** | Indexing hasn't finished yet. Neither feature has history to learn from. Wait for indexing to complete.                                                                                                                                                                                                                                                                            |
| **Active** or **Updating**      | Indexing has completed at least once. If you're still not seeing results, see [Confirm you meet the minimum indexed history](#confirm-you-meet-the-minimum-indexed-history-both-features) below.                                                                                                                                                                                   |
| **Active\***                    | Previously indexed history is still available and usable, only the latest incremental update has repeatedly failed. Rule Miner and Relevance can still use the existing history, subject to the thresholds in [Confirm you meet the minimum indexed history](#confirm-you-meet-the-minimum-indexed-history-both-features) below. Contact support if it doesn't resolve on its own. |
| **Failed**                      | The initial indexing run never completed. Neither feature has any history to learn from yet. Contact support.                                                                                                                                                                                                                                                                      |

## Confirm you meet the minimum indexed history (both features)

Even with successful indexing, Rule Miner and Relevance each require a minimum amount of indexed history before they start producing results. Click the repository row to open the sidebar and check **What this unlocks** under [PR history indexing detail](/governance/repositories/manage-repositories#pr-history-indexing-detail). If a feature isn't listed there yet, the repository hasn't reached the required threshold.

## Still not working?

Contact [Qodo Support](mailto:support@qodo.ai) with the following:

* The repository name and Git provider.
* The PR history indexing status shown for the repository.
* Whether you're missing Rule Miner rules, Relevance context, or both.
