{
 "flight": {
  "id": 911194,
  "agent": "devin",
  "state": "merged",
  "title": "トークン使用量追跡と表示機能の実装",
  "number": 536,
  "source": "aidev",
  "commits": 21,
  "debrief": "Devin added token usage tracking to the OpenAI, Azure, and local LLM service functions, a new report schema field, pipeline accumulation, and a report list display. The change spans 28 files across 21 commits, with 985 additions and 255 deletions. It merged clean after one review round, with no change requests, in 38.65 hours.",
  "outcome": "merged_clean",
  "signals": [
   "aidev:Devin"
  ],
  "index_ok": true,
  "additions": 985,
  "closed_at": "2025-05-20T05:09:18+00:00",
  "deletions": 255,
  "merged_at": "2025-05-20T05:09:18+00:00",
  "opened_at": "2025-05-18T14:30:09+00:00",
  "task_type": "feat",
  "body_chars": 841,
  "confidence": "dataset",
  "updated_at": "2026-11-04T02:57:13.11321+00:00",
  "enriched_at": null,
  "body_excerpt": "# トークン使用量追跡と表示機能の実装\n\n## 変更内容\n- LLMサービス関数（OpenAI、Azure、ローカルLLM）でトークン使用量を追跡するよう修正\n- レポートスキーマにトークン使用量フィールドを追加\n- パイプラインステップでトークン使用量を累積する機能を追加\n- レポート一覧ページで各レポートのトークン使用量を表示するよう修正\n- トークン情報がない場合は「情報なし」と表示\n\n## テスト方法\n- 新しいレポートを生成し、トークン使用量が正しく追跡・表示されることを確認\n- 古いレポート（トークン情報なし）でも表示が問題ないことを確認\n\nLink to Devin run: h",
  "review_count": 1,
  "files_changed": 28,
  "hours_to_merge": 38.65,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": "2026-11-04T02:57:13.11321+00:00",
  "reviewer_excerpt": "トークンの使用料はreadとwriteでコストが違うので分けて記録してほしい。",
  "review_comment_count": 0,
  "reviewer_excerpt_url": "https://github.com/digitaldemocracy2030/kouchou-ai/pull/536#issuecomment-2889443130"
 },
 "repo": {
  "name": "kouchou-ai",
  "owner": "digitaldemocracy2030",
  "stars": 175,
  "license": "AGPL-3.0",
  "full_name": "digitaldemocracy2030/kouchou-ai",
  "primary_language": "Python"
 },
 "author": {
  "login": "devin-ai-integration[bot]",
  "name": null,
  "github_profile": "https://github.com/devin-ai-integration[bot]",
  "page": null
 },
 "claim": null,
 "events": [
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "mtane0412"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "mtane0412"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "mtane0412"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "mtane0412"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "mtane0412"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "mtane0412"
  },
  {
   "at": null,
   "url": null,
   "kind": "committed",
   "actor_login": "Devin AI"
  }
 ],
 "related": [
  {
   "agent": "devin",
   "state": "closed",
   "title": "Fix Windows Docker build failure for PyTorch installation",
   "number": 667,
   "outcome": "burn",
   "index_ok": true,
   "additions": 29,
   "deletions": 28,
   "merged_at": null,
   "opened_at": "2025-07-16T03:33:29+00:00",
   "task_type": "fix",
   "files_changed": 1,
   "hours_to_merge": null
  },
  {
   "agent": "devin",
   "state": "closed",
   "title": "フィルタアイコンの件数カウントにテキスト検索を含める",
   "number": 562,
   "outcome": "burn",
   "index_ok": true,
   "additions": 63,
   "deletions": 12,
   "merged_at": null,
   "opened_at": "2025-05-22T07:09:14+00:00",
   "task_type": "feat",
   "files_changed": 4,
   "hours_to_merge": null
  },
  {
   "agent": "devin",
   "state": "merged",
   "title": "[FEATURE] 文字列の検索によるフィルタを実装",
   "number": 561,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 200,
   "deletions": 103,
   "merged_at": "2025-05-22T07:57:03+00:00",
   "opened_at": "2025-05-22T06:41:44+00:00",
   "task_type": "feat",
   "files_changed": 8,
   "hours_to_merge": 1.26
  }
 ],
 "pr_url": "https://github.com/digitaldemocracy2030/kouchou-ai/pull/536",
 "page": "https://agentriders.com/logs/digitaldemocracy2030/kouchou-ai/536/"
}