{
 "flight": {
  "id": 15027,
  "agent": "github-copilot",
  "state": "merged",
  "title": "Expose match functionality of rewrite-rule by extracting base classes",
  "number": 2447,
  "source": "aidev",
  "commits": 15,
  "debrief": "Pattern matching is extracted from rewrite rules into standalone base classes, so matching works without replacement. The change spans 11 files, with 1014 additions and 1775 deletions across 15 commits. It drew 27 reviews and 28 review comments, merged clean after 75.8 hours with no changes requested in one review round.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 1014,
  "closed_at": "2025-07-14T19:59:23+00:00",
  "deletions": 1775,
  "merged_at": "2025-07-14T19:59:23+00:00",
  "opened_at": "2025-07-11T16:11:27+00:00",
  "task_type": "feat",
  "body_chars": 3153,
  "confidence": "dataset",
  "updated_at": "2026-11-03T21:32:23.859551+00:00",
  "enriched_at": null,
  "body_excerpt": "This PR extracts the pattern matching functionality from rewrite rules into standalone base classes, allowing users to use pattern matching without needing the replacement functionality.\n\n## Changes\n\n### New Base Classes\n\n**`PatternImpl`**: Core pattern matching functionality\n- Encapsulates `_target",
  "review_count": 27,
  "files_changed": 11,
  "hours_to_merge": 75.8,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T21:32:23.859551+00:00",
  "reviewer_excerpt": "@copilot , can you fix the lint errors? Running `lintrunner -a` might be enough.",
  "review_comment_count": 28,
  "reviewer_excerpt_url": "https://github.com/microsoft/onnxscript/pull/2447#issuecomment-3063181708"
 },
 "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": 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": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "G. Ramalingam"
  }
 ],
 "related": [
  {
   "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
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Cleanup elimination of redundant scatter-nd: consolidate rules and improve organization",
   "number": 2426,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 121,
   "deletions": 108,
   "merged_at": "2025-07-01T15:54:26+00:00",
   "opened_at": "2025-06-30T21:24:52+00:00",
   "task_type": "refactor",
   "files_changed": 5,
   "hours_to_merge": 18.49
  }
 ],
 "pr_url": "https://github.com/microsoft/onnxscript/pull/2447",
 "page": "https://agentriders.com/logs/microsoft/onnxscript/2447/"
}