{
 "flight": {
  "id": 13908,
  "agent": "github-copilot",
  "state": "merged",
  "title": "[rewriter] Decouple llama rule sets and make API explicit",
  "number": 2388,
  "source": "aidev",
  "commits": 8,
  "debrief": "GitHub Copilot, working in microsoft/onnxscript, refactors the rewriter by decoupling llama_rule_sets.py and making its API explicit. The task type was a refactor. The change spans nine files with 885 additions and 852 deletions across eight commits. Reviewers left ten comments, and the PR merged clean with no changes requested after 84.7 hours.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 885,
  "closed_at": "2025-06-18T04:15:08+00:00",
  "deletions": 852,
  "merged_at": "2025-06-18T04:15:08+00:00",
  "opened_at": "2025-06-14T15:32:54+00:00",
  "task_type": "refactor",
  "body_chars": 3164,
  "confidence": "dataset",
  "updated_at": "2026-11-03T21:59:47.771079+00:00",
  "enriched_at": null,
  "body_excerpt": "This PR addresses the misleading naming and tangled organization of rewrite rules by decoupling the `llama_rule_sets.py` module and creating a more explicit API.\n\n## Problem\n\nThe original `llama_rule_sets.py` contained general optimization rules that weren't specific to Llama models, making the nami",
  "review_count": 8,
  "files_changed": 9,
  "hours_to_merge": 84.7,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T21:59:47.771079+00:00",
  "reviewer_excerpt": "Please rename onnxscript/rewriter/llama_rule_sets_test.py and remove onnxscript/rewriter/llama_rule_sets.py entirely",
  "review_comment_count": 10,
  "reviewer_excerpt_url": "https://github.com/microsoft/onnxscript/pull/2388#pullrequestreview-2928464078"
 },
 "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": "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": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Justin Chu"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Justin Chu"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Justin Chu"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": "2025-06-14T16:09:31+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "justinchuby"
  }
 ],
 "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/2388",
 "page": "https://agentriders.com/logs/microsoft/onnxscript/2388/"
}