{
 "flight": {
  "id": 53466,
  "agent": "github-copilot",
  "state": "merged",
  "title": "Add function to export datasets to NetCDF and create metadata-only database",
  "number": 7213,
  "source": "aidev",
  "commits": 30,
  "debrief": "This Copilot flight adds a function that exports QCoDeS datasets to NetCDF and creates a metadata-only database. The flight ran 30 commits across six files, adding 1772 lines and removing 1129. It drew 30 reviews and 39 review comments over 1080.51 hours. The PR merged with no changes requested.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Copilot"
  ],
  "index_ok": true,
  "additions": 1772,
  "closed_at": "2025-07-25T14:43:19+00:00",
  "deletions": 1129,
  "merged_at": "2025-07-25T14:43:19+00:00",
  "opened_at": "2025-06-10T14:12:51+00:00",
  "task_type": "feat",
  "body_chars": 2815,
  "confidence": "dataset",
  "updated_at": "2026-11-03T22:02:19.714223+00:00",
  "enriched_at": null,
  "body_excerpt": "This PR implements a new function `export_datasets_and_create_metadata_db()` that addresses the common issue of data duplication when users have both database files with raw data and exported NetCDF files.\n\n## Problem\nWhen running measurements with QCoDeS, users typically have:\n- A database file con",
  "review_count": 30,
  "files_changed": 6,
  "hours_to_merge": 1080.51,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-03T22:02:19.714223+00:00",
  "reviewer_excerpt": "@copilot could you take a look at the typing and other errors in the CI and adjust the code to fix those?",
  "review_comment_count": 39,
  "reviewer_excerpt_url": "https://github.com/microsoft/Qcodes/pull/7213#issuecomment-2961610229"
 },
 "repo": {
  "name": "Qcodes",
  "owner": "microsoft",
  "stars": 469,
  "license": "MIT",
  "full_name": "microsoft/Qcodes",
  "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
  }
 ],
 "related": [
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Fix inferred parameters missing from dataset when explicitly added",
   "number": 7240,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 1328,
   "deletions": 889,
   "merged_at": "2025-07-24T14:06:51+00:00",
   "opened_at": "2025-06-16T07:51:25+00:00",
   "task_type": "fix",
   "files_changed": 11,
   "hours_to_merge": 918.26
  },
  {
   "agent": "github-copilot",
   "state": "merged",
   "title": "Bug: load_from_netcdf fails if a dataset does is not completed",
   "number": 7222,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 95,
   "deletions": 39,
   "merged_at": "2025-07-25T09:45:16+00:00",
   "opened_at": "2025-06-11T12:09:57+00:00",
   "task_type": "fix",
   "files_changed": 3,
   "hours_to_merge": 1053.59
  },
  {
   "agent": "github-copilot",
   "state": "open",
   "title": "[WIP] Bug: _add_metadata_to_xarray does not add completed_timestamp_raw and run_timestamp_raw if those are None which is inconsistent and confusing",
   "number": 7333,
   "outcome": "stale",
   "index_ok": false,
   "additions": 0,
   "deletions": 0,
   "merged_at": null,
   "opened_at": "2025-07-25T09:48:37+00:00",
   "task_type": "fix",
   "files_changed": 1,
   "hours_to_merge": null
  }
 ],
 "pr_url": "https://github.com/microsoft/Qcodes/pull/7213",
 "page": "https://agentriders.com/logs/microsoft/Qcodes/7213/"
}