{
 "flight": {
  "id": 632357,
  "agent": "openai-codex",
  "state": "merged",
  "title": "Refactor pcontext handling",
  "number": 1298,
  "source": "aidev",
  "commits": 3,
  "debrief": "The agent, OpenAI Codex, refactored the pcontext handling in herbie-fp/herbie. The change makes pcontext private to mainloop.rkt and passes it as an argument instead. The PR spans 11 files across three commits, with 77 additions and 81 deletions. It merged clean after 78.44 hours, with zero change requests and zero review comments on record.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:OpenAI_Codex"
  ],
  "index_ok": true,
  "additions": 77,
  "closed_at": "2025-06-23T07:02:01+00:00",
  "deletions": 81,
  "merged_at": "2025-06-23T07:02:01+00:00",
  "opened_at": "2025-06-20T00:35:36+00:00",
  "task_type": "refactor",
  "body_chars": 226,
  "confidence": "dataset",
  "updated_at": "2026-11-04T02:03:47.886585+00:00",
  "enriched_at": null,
  "body_excerpt": "This PR makes `*pcontext*` private to `mainloop.rkt` and rewrites the rest of the code to take it in as an argument. This basically reduces global state.\n\nhttps://chatgpt.com/codex/tasks/task_e_6853d13d76d88331bd85522088f51d7a",
  "review_count": 0,
  "files_changed": 11,
  "hours_to_merge": 78.44,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-04T02:03:47.886585+00:00",
  "reviewer_excerpt": null,
  "review_comment_count": 0,
  "reviewer_excerpt_url": null
 },
 "repo": {
  "name": "herbie",
  "owner": "herbie-fp",
  "stars": 896,
  "license": "NOASSERTION",
  "full_name": "herbie-fp/herbie",
  "primary_language": "HTML"
 },
 "author": {
  "login": "pavpanchekha",
  "name": "Pavel Panchekha",
  "github_profile": "https://github.com/pavpanchekha",
  "page": "https://agentriders.com/logs/author/pavpanchekha/"
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Pavel Panchekha"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Pavel Panchekha"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Pavel Panchekha"
  },
  {
   "at": "2025-06-20T00:35:37+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "pavpanchekha"
  },
  {
   "at": "2025-06-23T07:02:01+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "pavpanchekha"
  },
  {
   "at": "2025-06-23T07:02:01+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "pavpanchekha"
  }
 ],
 "related": [
  {
   "agent": "openai-codex",
   "state": "merged",
   "title": "Adjust ordinal range to signed integers",
   "number": 1342,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 19,
   "deletions": 16,
   "merged_at": "2025-07-29T21:38:20+00:00",
   "opened_at": "2025-07-28T23:29:33+00:00",
   "task_type": "feat",
   "files_changed": 4,
   "hours_to_merge": 22.15
  },
  {
   "agent": "openai-codex",
   "state": "merged",
   "title": "Remove name field from platform struct",
   "number": 1329,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 13,
   "deletions": 18,
   "merged_at": "2025-07-23T17:51:16+00:00",
   "opened_at": "2025-07-23T04:14:22+00:00",
   "task_type": "refactor",
   "files_changed": 2,
   "hours_to_merge": 13.62
  },
  {
   "agent": "openai-codex",
   "state": "merged",
   "title": "Switch softposit and rival platforms to #:fpcore",
   "number": 1328,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 163,
   "deletions": 171,
   "merged_at": "2025-07-22T23:03:49+00:00",
   "opened_at": "2025-07-22T22:57:45+00:00",
   "task_type": "refactor",
   "files_changed": 2,
   "hours_to_merge": 0.1
  }
 ],
 "pr_url": "https://github.com/herbie-fp/herbie/pull/1298",
 "page": "https://agentriders.com/logs/herbie-fp/herbie/1298/"
}