{
  "version": 1,
  "repo": "PrefectHQ/prefect",
  "builtAt": "2026-11-10T22:35:09.662Z",
  "baseRate": 0.049484536082474224,
  "prs": 1000,
  "labelled": 970,
  "bad": 48,
  "rules": [
    {
      "id": "learned.risk.hotspot-dir:src/prefect",
      "title": "Fragile area: src/prefect/",
      "category": "risk",
      "paths": [
        "src/prefect/**"
      ],
      "kind": "hotspot-dir",
      "fileLevel": false,
      "matched": 350,
      "bad": 29,
      "rate": 0.08285714285714285,
      "lift": 1.674404761904762,
      "examples": [
        {
          "number": 23270,
          "title": "Preserve init=False dataclass fields in visit_collection",
          "url": "https://github.com/PrefectHQ/prefect/pull/23270",
          "fixedBy": [
            {
              "number": 23794,
              "url": "https://github.com/PrefectHQ/prefect/pull/23794"
            }
          ],
          "reverted": false
        },
        {
          "number": 23695,
          "title": "Preserve literal markup and emoji aliases in all CLI JSON/YAML output",
          "url": "https://github.com/PrefectHQ/prefect/pull/23695",
          "fixedBy": [
            {
              "number": 23762,
              "url": "https://github.com/PrefectHQ/prefect/pull/23762"
            }
          ],
          "reverted": false
        }
      ]
    },
    {
      "id": "learned.risk.hotspot-dir:src/integrations",
      "title": "Fragile area: src/integrations/",
      "category": "risk",
      "paths": [
        "src/integrations/**"
      ],
      "kind": "hotspot-dir",
      "fileLevel": false,
      "matched": 103,
      "bad": 14,
      "rate": 0.13592233009708737,
      "lift": 2.7467637540453076,
      "examples": [
        {
          "number": 23651,
          "title": "Fix broken docs links and stop redirecting missing pages to the homepage",
          "url": "https://github.com/PrefectHQ/prefect/pull/23651",
          "fixedBy": [
            {
              "number": 23683,
              "url": "https://github.com/PrefectHQ/prefect/pull/23683"
            }
          ],
          "reverted": false
        },
        {
          "number": 23642,
          "title": "Link to the docs at www.prefect.io/docs",
          "url": "https://github.com/PrefectHQ/prefect/pull/23642",
          "fixedBy": [
            {
              "number": 23651,
              "url": "https://github.com/PrefectHQ/prefect/pull/23651"
            }
          ],
          "reverted": false
        }
      ]
    },
    {
      "id": "learned.risk.hotspot-file:src/prefect/task_engine.py",
      "title": "Hotspot: src/prefect/task_engine.py",
      "category": "risk",
      "paths": [
        "src/prefect/task_engine.py"
      ],
      "kind": "hotspot-file",
      "fileLevel": true,
      "matched": 6,
      "bad": 3,
      "rate": 0.5,
      "lift": 10.104166666666668,
      "examples": [
        {
          "number": 23397,
          "title": " fix silently skipped task retries in `retry_condition_fn`",
          "url": "https://github.com/PrefectHQ/prefect/pull/23397",
          "fixedBy": [
            {
              "number": 23523,
              "url": "https://github.com/PrefectHQ/prefect/pull/23523"
            }
          ],
          "reverted": false
        },
        {
          "number": 23256,
          "title": "Fix failed state losing metadata during retry",
          "url": "https://github.com/PrefectHQ/prefect/pull/23256",
          "fixedBy": [
            {
              "number": 23397,
              "url": "https://github.com/PrefectHQ/prefect/pull/23397"
            }
          ],
          "reverted": false
        }
      ]
    },
    {
      "id": "learned.risk.hotspot-file:src/prefect/server/api/workers.py",
      "title": "Hotspot: src/prefect/server/api/workers.py",
      "category": "risk",
      "paths": [
        "src/prefect/server/api/workers.py"
      ],
      "kind": "hotspot-file",
      "fileLevel": true,
      "matched": 8,
      "bad": 3,
      "rate": 0.375,
      "lift": 7.578125,
      "examples": [
        {
          "number": 22310,
          "title": "Add backend observability for worker channel and cleanup queue",
          "url": "https://github.com/PrefectHQ/prefect/pull/22310",
          "fixedBy": [
            {
              "number": 22363,
              "url": "https://github.com/PrefectHQ/prefect/pull/22363"
            }
          ],
          "reverted": false
        },
        {
          "number": 22067,
          "title": "fix: worker-channel ready frame returns `worker_id=None`",
          "url": "https://github.com/PrefectHQ/prefect/pull/22067",
          "fixedBy": [
            {
              "number": 22086,
              "url": "https://github.com/PrefectHQ/prefect/pull/22086"
            }
          ],
          "reverted": false
        }
      ]
    },
    {
      "id": "learned.tests.tests-with:src/integrations",
      "title": "Changes in src/integrations/ come with tests",
      "category": "tests",
      "paths": [
        "src/integrations/**"
      ],
      "when": {
        "noTests": true
      },
      "kind": "no-tests",
      "fileLevel": true,
      "matched": 25,
      "bad": 5,
      "rate": 0.2,
      "lift": 4.041666666666667,
      "examples": [
        {
          "number": 23651,
          "title": "Fix broken docs links and stop redirecting missing pages to the homepage",
          "url": "https://github.com/PrefectHQ/prefect/pull/23651",
          "fixedBy": [
            {
              "number": 23683,
              "url": "https://github.com/PrefectHQ/prefect/pull/23683"
            }
          ],
          "reverted": false
        },
        {
          "number": 23642,
          "title": "Link to the docs at www.prefect.io/docs",
          "url": "https://github.com/PrefectHQ/prefect/pull/23642",
          "fixedBy": [
            {
              "number": 23651,
              "url": "https://github.com/PrefectHQ/prefect/pull/23651"
            }
          ],
          "reverted": false
        }
      ]
    },
    {
      "id": "learned.risk.hotspot-file:pyproject.toml",
      "title": "Hotspot: pyproject.toml",
      "category": "risk",
      "paths": [
        "pyproject.toml"
      ],
      "kind": "hotspot-file",
      "fileLevel": true,
      "matched": 36,
      "bad": 4,
      "rate": 0.1111111111111111,
      "lift": 2.2453703703703702,
      "examples": [
        {
          "number": 23642,
          "title": "Link to the docs at www.prefect.io/docs",
          "url": "https://github.com/PrefectHQ/prefect/pull/23642",
          "fixedBy": [
            {
              "number": 23651,
              "url": "https://github.com/PrefectHQ/prefect/pull/23651"
            }
          ],
          "reverted": false
        }
      ]
    }
  ]
}
