{
 "flight": {
  "id": 46679,
  "agent": "github-copilot",
  "state": "merged",
  "title": "Implement MatchContext class for rewriter pattern matching",
  "number": 2455,
  "source": "aidev",
  "commits": 14,
  "debrief": null,
  "outcome": "merged_clean",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": false,
  "additions": 418,
  "closed_at": "2025-07-15T20:50:03+00:00",
  "deletions": 237,
  "merged_at": "2025-07-15T20:50:03+00:00",
  "opened_at": "2025-07-15T04:53:03+00:00",
  "task_type": "feat",
  "body_chars": 2412,
  "confidence": "dataset",
  "updated_at": "2026-11-06T17:30:59.132386+00:00",
  "enriched_at": null,
  "body_excerpt": "This PR introduces the `PatternMatchContext` class to provide context information during pattern matching in the ONNX rewriter system.\n\n## Changes Made\n\n### Core Implementation\n- **Added `PatternMatchContext` class** in `onnxscript/rewriter/_basics.py` with read-only properties:\n  - `model`: The mod",
  "review_count": 30,
  "files_changed": 9,
  "hours_to_merge": 15.95,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T21:30:42.666302+00:00",
  "reviewer_excerpt": "@copilot can you add a brief section in the rewriter tutorial explaining this context object?",
  "review_comment_count": 29,
  "reviewer_excerpt_url": "https://github.com/microsoft/onnxscript/pull/2455#issuecomment-3072035809"
 },
 "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": "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": "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]"
  }
 ],
 "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/2455",
 "page": "https://agentriders.com/logs/microsoft/onnxscript/2455/"
}