{
 "flight": {
  "id": 16213,
  "agent": "github-copilot",
  "state": "merged",
  "title": "Cleanup uses of onnxscript.rewriter.pattern - export symbols from main module",
  "number": 2437,
  "source": "aidev",
  "commits": 5,
  "debrief": "The agent was asked to clean up internal uses of the onnxscript.rewriter.pattern module and export its symbols from onnxscript.rewriter. The change touched 18 files across five commits and drew eight reviews. A reviewer asked it to run \"lintrunner -a\" for formatting issues. The PR merged clean after 24.18 hours with zero change requests.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 134,
  "closed_at": "2025-07-04T15:54:38+00:00",
  "deletions": 123,
  "merged_at": "2025-07-04T15:54:38+00:00",
  "opened_at": "2025-07-03T15:43:53+00:00",
  "task_type": "refactor",
  "body_chars": 2326,
  "confidence": "dataset",
  "updated_at": "2026-11-03T21:37:53.883947+00:00",
  "enriched_at": null,
  "body_excerpt": "This PR cleans up the usage of `onnxscript.rewriter.pattern` module as requested in the issue. The `pattern.py` file is a legacy module maintained for backward compatibility, and this change reduces internal dependencies on it.\n\n## Changes Made\n\n### (a) Export symbols from `onnxscript.rewriter`\nAdde",
  "review_count": 8,
  "files_changed": 18,
  "hours_to_merge": 24.18,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T21:37:53.883947+00:00",
  "reviewer_excerpt": "@copilot , can you run \"lintrunner -a\" to handle the formatting issues reported?",
  "review_comment_count": 5,
  "reviewer_excerpt_url": "https://github.com/microsoft/onnxscript/pull/2437#issuecomment-3034010430"
 },
 "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": "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"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  }
 ],
 "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": "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/2437",
 "page": "https://agentriders.com/logs/microsoft/onnxscript/2437/"
}