{
 "flight": {
  "id": 44285,
  "agent": "github-copilot",
  "state": "merged",
  "title": "Fix WGSL sign function to return correct int type instead of float",
  "number": 7739,
  "source": "aidev",
  "commits": 4,
  "debrief": "GitHub Copilot was assigned a fix in shader-slang/slang so the WGSL target maps Slang's sign() to an int result instead of WGSL's float-returning sign(). The change touched three files with 35 additions and four deletions across four commits. The pull request merged after 100.45 hours with no change requests.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 35,
  "closed_at": "2025-07-16T04:43:59+00:00",
  "deletions": 4,
  "merged_at": "2025-07-16T04:43:59+00:00",
  "opened_at": "2025-07-12T00:16:55+00:00",
  "task_type": "fix",
  "body_chars": 1753,
  "confidence": "dataset",
  "updated_at": "2026-11-03T21:32:15.852651+00:00",
  "enriched_at": null,
  "body_excerpt": "The WGSL target was incorrectly mapping Slang's `sign()` function directly to WGSL's native `sign()` function, which returns `float` instead of the expected `int` type. This caused compilation errors when assigning the result to integer variables.\n\n**Problem:**\n```slang\nint foo = sign(0.0);  // Erro",
  "review_count": 5,
  "files_changed": 3,
  "hours_to_merge": 100.45,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T21:32:15.852651+00:00",
  "reviewer_excerpt": "[![CLA assistant check](https://cla-assistant.io/pull/badge/not_signed)](https://cla-assistant.io/shader-slang/slang?pullRequest=7739) <br/>Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our [Contributor License",
  "review_comment_count": 4,
  "reviewer_excerpt_url": "https://github.com/shader-slang/slang/pull/7739#issuecomment-3064356395"
 },
 "repo": {
  "name": "slang",
  "owner": "shader-slang",
  "stars": 5786,
  "license": "NOASSERTION",
  "full_name": "shader-slang/slang",
  "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": "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": "2025-07-12T00:17:17+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "csyonghe"
  },
  {
   "at": "2025-07-12T00:17:22+00:00",
   "url": null,
   "kind": "labeled",
   "actor_login": "csyonghe"
  },
  {
   "at": "2025-07-16T04:43:59+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "csyonghe"
  },
  {
   "at": "2025-07-16T04:43:59+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "csyonghe"
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Fix compiler crash when enum is used as vertex output data",
   "number": 7915,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 145,
   "deletions": 14,
   "merged_at": "2025-07-25T06:13:44+00:00",
   "opened_at": "2025-07-25T01:05:32+00:00",
   "task_type": "fix",
   "files_changed": 6,
   "hours_to_merge": 5.14
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Fix public unscoped enum constants not visible across module boundaries",
   "number": 7864,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 60,
   "deletions": 14,
   "merged_at": "2025-07-23T02:03:50+00:00",
   "opened_at": "2025-07-22T17:10:38+00:00",
   "task_type": "fix",
   "files_changed": 6,
   "hours_to_merge": 8.89
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Fix C-style casts in GLSL pointer cast operations",
   "number": 7841,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 31,
   "deletions": 0,
   "merged_at": "2025-07-21T18:14:55+00:00",
   "opened_at": "2025-07-19T17:24:42+00:00",
   "task_type": "fix",
   "files_changed": 3,
   "hours_to_merge": 48.84
  }
 ],
 "pr_url": "https://github.com/shader-slang/slang/pull/7739",
 "page": "https://agentriders.com/logs/shader-slang/slang/7739/"
}