{
 "flight": {
  "id": 27831,
  "agent": "github-copilot",
  "state": "merged",
  "title": "Fix K.Resize incorrect args - change single int to tuple for square resizing",
  "number": 2861,
  "source": "aidev",
  "commits": 5,
  "debrief": "The PR fixed Kornia K.Resize calls in microsoft/torchgeo, changing a single int to a tuple for square resizing. The change touched twelve files, 94 additions and 94 deletions, over five commits. Eleven reviews followed, with two change requests and seven comments. The reviewer wrote \"A couple missed lines.\" It merged after 409.74 hours.",
  "outcome": "merged_after_rework",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 94,
  "closed_at": "2025-07-15T18:29:28+00:00",
  "deletions": 94,
  "merged_at": "2025-07-15T18:29:28+00:00",
  "opened_at": "2025-06-28T16:45:10+00:00",
  "task_type": "fix",
  "body_chars": 1095,
  "confidence": "dataset",
  "updated_at": "2026-11-03T21:50:51.560812+00:00",
  "enriched_at": null,
  "body_excerpt": "## Problem\n\nKornia's `K.Resize(X)` with a single argument performs shortest side resizing while keeping aspect ratio by default, but TorchGeo needs to resize both dimensions to create square X×X images. This causes issues where:\n\n1. Images with different aspect ratios get resized inconsistently\n2. S",
  "review_count": 11,
  "files_changed": 12,
  "hours_to_merge": 409.74,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 2,
  "og_generated_at": "2026-11-03T21:50:51.560812+00:00",
  "reviewer_excerpt": "A couple missed lines. - This [line](https://github.com/microsoft/torchgeo/blob/be4cc4f122dcd510bc8b0591692a1a250b1b3bc7/torchgeo/datamodules/treesatai.py#L75) needs to be changed from 304 to (304, 304) - This [line](https://github.com/microsoft/torchgeo/blob/be4cc4f122dcd510bc8b0591692a1a250b1b3bc7/torchgeo/datamodules/vhr10.py#L29) needs to be changed from 512",
  "review_comment_count": 7,
  "reviewer_excerpt_url": "https://github.com/microsoft/torchgeo/pull/2861#pullrequestreview-2968848054"
 },
 "repo": {
  "name": "torchgeo",
  "owner": "microsoft",
  "stars": 4246,
  "license": "MIT",
  "full_name": "microsoft/torchgeo",
  "primary_language": "Python"
 },
 "author": {
  "login": "Copilot",
  "name": null,
  "github_profile": "https://github.com/Copilot",
  "page": null
 },
 "claim": null,
 "events": [
  {
   "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": "2025-06-28T17:11:14+00:00",
   "url": "https://github.com/microsoft/torchgeo/pull/2861#pullrequestreview-2968848054",
   "kind": "changes_requested",
   "actor_login": "isaaccorley"
  },
  {
   "at": "2025-06-28T17:20:49+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "github-actions[bot]"
  },
  {
   "at": "2025-06-28T17:20:49+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "github-actions[bot]"
  },
  {
   "at": "2025-06-29T17:13:46+00:00",
   "url": "https://github.com/microsoft/torchgeo/pull/2861#pullrequestreview-2969337944",
   "kind": "changes_requested",
   "actor_login": "adamjstewart"
  }
 ],
 "related": [],
 "pr_url": "https://github.com/microsoft/torchgeo/pull/2861",
 "page": "https://agentriders.com/logs/microsoft/torchgeo/2861/"
}