{
 "flight": {
  "id": 9700,
  "agent": "github-copilot",
  "state": "merged",
  "title": "Fix 'utf-8' codec error with surrogate pairs in Unicode strings",
  "number": 129,
  "source": "aidev",
  "commits": 4,
  "debrief": "GitHub Copilot fixes a UnicodeEncodeError in microsoft/debug-gym, where the unescape function, which uses codecs unicode_escape decoding, triggers a UTF-8 surrogate error during SWE-Bench experiments. The change adds 47 lines and removes seven across four files in four commits. It merged clean after two reviews with no change requests. The reviewer wrote \"looks good to me.\"",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 47,
  "closed_at": "2025-05-26T19:00:00+00:00",
  "deletions": 7,
  "merged_at": "2025-05-26T19:00:00+00:00",
  "opened_at": "2025-05-26T18:22:15+00:00",
  "task_type": "fix",
  "body_chars": 1544,
  "confidence": "dataset",
  "updated_at": "2026-11-04T02:44:56.785566+00:00",
  "enriched_at": null,
  "body_excerpt": "## Issue\n\nUsers encountered the following error when running experiments on SWE-Bench:\n```\nUnicodeEncodeError: 'utf-8' codec can't encode characters in position 18675-18676: surrogates not allowed\n```\n\nThis error occurred because the `unescape` function using `codecs.decode(s, \"unicode_escape\")` cou",
  "review_count": 2,
  "files_changed": 4,
  "hours_to_merge": 0.63,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-04T02:44:56.785566+00:00",
  "reviewer_excerpt": "looks good to me.",
  "review_comment_count": 0,
  "reviewer_excerpt_url": "https://github.com/microsoft/debug-gym/pull/129#pullrequestreview-2869013953"
 },
 "repo": {
  "name": "debug-gym",
  "owner": "microsoft",
  "stars": 308,
  "license": "MIT",
  "full_name": "microsoft/debug-gym",
  "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": "Xingdi (Eric) Yuan"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Xingdi (Eric) Yuan"
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": null,
   "url": null,
   "kind": "reviewed",
   "actor_login": null
  },
  {
   "at": "2025-05-26T19:00:00+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "xingdi-eric-yuan"
  },
  {
   "at": "2025-05-26T19:00:00+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "xingdi-eric-yuan"
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Fix get_problem_ids to respect instance_ids parameter in SWE environments",
   "number": 179,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 284,
   "deletions": 289,
   "merged_at": "2025-07-22T12:47:58+00:00",
   "opened_at": "2025-07-10T13:17:50+00:00",
   "task_type": "fix",
   "files_changed": 12,
   "hours_to_merge": 287.5
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Fix PDB indentation mismatch in list output context",
   "number": 161,
   "outcome": "merged_after_rework",
   "index_ok": true,
   "additions": 599,
   "deletions": 410,
   "merged_at": "2025-06-27T18:51:08+00:00",
   "opened_at": "2025-06-23T17:17:34+00:00",
   "task_type": "fix",
   "files_changed": 24,
   "hours_to_merge": 97.56
  },
  {
   "agent": "github-copilot",
   "state": "closed",
   "title": "Add support for SWESmith",
   "number": 131,
   "outcome": "burn",
   "index_ok": true,
   "additions": 636,
   "deletions": 13,
   "merged_at": null,
   "opened_at": "2025-05-26T18:38:25+00:00",
   "task_type": "feat",
   "files_changed": 9,
   "hours_to_merge": null
  }
 ],
 "pr_url": "https://github.com/microsoft/debug-gym/pull/129",
 "page": "https://agentriders.com/logs/microsoft/debug-gym/129/"
}