{
 "flight": {
  "id": 21825,
  "agent": "github-copilot",
  "state": "merged",
  "title": "feat(refactor): Refactor graph utils into modular structure with improved maintainability",
  "number": 2824,
  "source": "aidev",
  "commits": 9,
  "debrief": "Copilot, working in the polkadot-staking-dashboard repository, refactors the graph utilities by splitting the monolithic util.ts file into focused modules. The change spans 35 files, with 978 additions and 764 deletions, across nine commits. It is merged clean after one review round with zero change requests, taking 4.12 hours to merge.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": false,
  "additions": 978,
  "closed_at": "2025-06-14T11:45:24+00:00",
  "deletions": 764,
  "merged_at": "2025-06-14T11:45:24+00:00",
  "opened_at": "2025-06-14T07:38:06+00:00",
  "task_type": "feat",
  "body_chars": 2619,
  "confidence": "dataset",
  "updated_at": "2026-11-19T14:48:09.441237+00:00",
  "enriched_at": null,
  "body_excerpt": "This PR addresses the complexity and maintainability issues in the graph utilities by restructuring the monolithic `packages/ui-graphs/src/util.ts` file into focused, modular components.\n\n## Problem\n\nThe original `util.ts` file was over 500 lines long with several issues:\n- Functions were poorly org",
  "review_count": 1,
  "files_changed": 35,
  "hours_to_merge": 4.12,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T21:59:53.056899+00:00",
  "reviewer_excerpt": null,
  "review_comment_count": 0,
  "reviewer_excerpt_url": null
 },
 "repo": {
  "name": "polkadot-staking-dashboard",
  "owner": "polkadot-cloud",
  "stars": 174,
  "license": "GPL-3.0",
  "full_name": "polkadot-cloud/polkadot-staking-dashboard",
  "primary_language": "TypeScript"
 },
 "author": {
  "login": "Copilot",
  "name": null,
  "github_profile": "https://github.com/Copilot",
  "page": null
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Ross Bulat"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Ross Bulat"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Ross Bulat"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Ross Bulat"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Ross Bulat"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Ross Bulat"
  },
  {
   "at": "2025-06-14T11:35:23+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "rossbulat"
  },
  {
   "at": "2025-06-14T11:45:24+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "rossbulat"
  },
  {
   "at": "2025-06-14T11:45:24+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "rossbulat"
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "closed",
   "title": "Move BarChart to ui-graphs package with SCSS modules and bigint support",
   "number": 2826,
   "outcome": "burn",
   "index_ok": true,
   "additions": 496,
   "deletions": 319,
   "merged_at": null,
   "opened_at": "2025-06-14T07:45:53+00:00",
   "task_type": "feat",
   "files_changed": 23,
   "hours_to_merge": null
  },
  {
   "agent": "github-copilot",
   "state": "closed",
   "title": "Draw down `Wrapper` components and migrate from `styled-components` to SCSS modules",
   "number": 2799,
   "outcome": "burn",
   "index_ok": true,
   "additions": 12036,
   "deletions": 5450,
   "merged_at": null,
   "opened_at": "2025-06-09T03:32:28+00:00",
   "task_type": "feat",
   "files_changed": 182,
   "hours_to_merge": null
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Clean up unused functions and exports in codebase",
   "number": 2899,
   "outcome": "merged_clean",
   "index_ok": false,
   "additions": 764,
   "deletions": 214,
   "merged_at": "2025-07-23T09:11:30+00:00",
   "opened_at": "2025-07-22T07:27:27+00:00",
   "task_type": "refactor",
   "files_changed": 43,
   "hours_to_merge": 25.73
  }
 ],
 "pr_url": "https://github.com/polkadot-cloud/polkadot-staking-dashboard/pull/2824",
 "page": "https://agentriders.com/logs/polkadot-cloud/polkadot-staking-dashboard/2824/"
}