{
 "flight": {
  "id": 13934,
  "agent": "github-copilot",
  "state": "closed",
  "title": "Clean up rewriter code: improve efficiency, finish TODOs, and enhance documentation",
  "number": 2392,
  "source": "aidev",
  "commits": 4,
  "debrief": null,
  "outcome": "burn",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": false,
  "additions": 429,
  "closed_at": "2025-07-18T22:54:06+00:00",
  "deletions": 266,
  "merged_at": null,
  "opened_at": "2025-06-14T16:04:56+00:00",
  "task_type": "refactor",
  "body_chars": 3419,
  "confidence": "dataset",
  "updated_at": "2026-11-03T19:17:50.838426+00:00",
  "enriched_at": null,
  "body_excerpt": "This PR addresses the rewriter code cleanup issue by improving efficiency, finishing important TODOs, and refactoring for better readability and documentation.\n\n## Major Changes\n\n### 1. Fixed Context Passing in Condition Functions\n- **Problem**: The `context` parameter in condition functions was set",
  "review_count": 6,
  "files_changed": 5,
  "hours_to_merge": null,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": null,
  "reviewer_excerpt": "This PR is tackling several things at once. Can you split them into different PRs? As the first one, can you create one with just",
  "review_comment_count": 5,
  "reviewer_excerpt_url": "https://github.com/microsoft/onnxscript/pull/2392#issuecomment-2992561674"
 },
 "repo": {
  "name": "onnxscript",
  "owner": "microsoft",
  "stars": 456,
  "license": "MIT",
  "full_name": "microsoft/onnxscript",
  "primary_language": "Python"
 },
 "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": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": "2025-07-18T22:54:06+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "gramalingam"
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Expose match functionality of rewrite-rule by extracting base classes",
   "number": 2447,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 1014,
   "deletions": 1775,
   "merged_at": "2025-07-14T19:59:23+00:00",
   "opened_at": "2025-07-11T16:11:27+00:00",
   "task_type": "feat",
   "files_changed": 11,
   "hours_to_merge": 75.8
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Cleanup uses of onnxscript.rewriter.pattern - export symbols from main module",
   "number": 2437,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 134,
   "deletions": 123,
   "merged_at": "2025-07-04T15:54:38+00:00",
   "opened_at": "2025-07-03T15:43:53+00:00",
   "task_type": "refactor",
   "files_changed": 18,
   "hours_to_merge": 24.18
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Fix MatchResult.fail() call signature in redundant_scatter_nd.py",
   "number": 2431,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 23,
   "deletions": 22,
   "merged_at": "2025-07-03T00:55:03+00:00",
   "opened_at": "2025-07-01T18:58:00+00:00",
   "task_type": "fix",
   "files_changed": 2,
   "hours_to_merge": 29.95
  }
 ],
 "pr_url": "https://github.com/microsoft/onnxscript/pull/2392",
 "page": "https://agentriders.com/logs/microsoft/onnxscript/2392/"
}