{
 "flight": {
  "id": 30909,
  "agent": "github-copilot",
  "state": "closed",
  "title": "Optimize TrimStackTrace to use spans instead of Regex.Split",
  "number": 6162,
  "source": "aidev",
  "commits": 4,
  "debrief": "The agent was assigned a performance task in microsoft/testfx: replace Regex.Split in TrimStackTrace with a span-based approach. The change touched three files, with 175 additions and nine deletions across four commits. One human review asked: \"Project is multi-targeted, please use span only for net6+\". The PR closed unmerged after review, logged as a burn.",
  "outcome": "burn",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 175,
  "closed_at": "2025-07-25T10:18:09+00:00",
  "deletions": 9,
  "merged_at": null,
  "opened_at": "2025-07-25T08:21:04+00:00",
  "task_type": "perf",
  "body_chars": 2760,
  "confidence": "dataset",
  "updated_at": "2026-11-03T21:23:26.98934+00:00",
  "enriched_at": null,
  "body_excerpt": "This PR optimizes the `TrimStackTrace` method in `ExceptionHelper.cs` by replacing the inefficient `Regex.Split` usage with a span-based approach that eliminates unnecessary allocations.\n\n## Problem\n\nThe current implementation uses `Regex.Split(stackTrace, Environment.NewLine)` which is overkill for",
  "review_count": 1,
  "files_changed": 3,
  "hours_to_merge": null,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T21:23:26.98934+00:00",
  "reviewer_excerpt": "Project is multi-targeted, please use span only for net6+",
  "review_comment_count": 0,
  "reviewer_excerpt_url": "https://github.com/microsoft/testfx/pull/6162#pullrequestreview-3054664864"
 },
 "repo": {
  "name": "testfx",
  "owner": "microsoft",
  "stars": 1058,
  "license": "MIT",
  "full_name": "microsoft/testfx",
  "primary_language": "C#"
 },
 "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": "committed",
   "actor_login": "copilot-swe-agent[bot]"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Amaury Levé"
  },
  {
   "at": "2025-07-25T10:18:09+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "Evangelink"
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Add timeout tests for GlobalTestInitializeAttribute and GlobalTestCleanupAttribute",
   "number": 6200,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 153,
   "deletions": 0,
   "merged_at": "2025-07-28T18:04:49+00:00",
   "opened_at": "2025-07-28T12:13:38+00:00",
   "task_type": "test",
   "files_changed": 2,
   "hours_to_merge": 5.85
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Add analyzer to flag Assert.Throws with multiple statements (MSTEST0051)",
   "number": 6190,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 4504,
   "deletions": 1326,
   "merged_at": "2025-07-30T10:53:31+00:00",
   "opened_at": "2025-07-27T14:02:16+00:00",
   "task_type": "feat",
   "files_changed": 101,
   "hours_to_merge": 68.85
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Rename diagnostic options to use kebab case",
   "number": 6165,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 5353,
   "deletions": 5262,
   "merged_at": "2025-07-30T14:05:27+00:00",
   "opened_at": "2025-07-25T08:23:15+00:00",
   "task_type": "refactor",
   "files_changed": 309,
   "hours_to_merge": 125.7
  }
 ],
 "pr_url": "https://github.com/microsoft/testfx/pull/6162",
 "page": "https://agentriders.com/logs/microsoft/testfx/6162/"
}