{
 "flight": {
  "id": 903547,
  "agent": "devin",
  "state": "merged",
  "title": "fix: accumulate tokens from all AI responses",
  "number": 323,
  "source": "aidev",
  "commits": 1,
  "debrief": null,
  "outcome": "merged_clean",
  "signals": [
   "aidev:Devin"
  ],
  "index_ok": false,
  "additions": 6,
  "closed_at": "2025-02-07T00:17:56+00:00",
  "deletions": 5,
  "merged_at": "2025-02-07T00:17:56+00:00",
  "opened_at": "2025-02-06T23:27:24+00:00",
  "task_type": "fix",
  "body_chars": 691,
  "confidence": "dataset",
  "updated_at": "2026-11-03T17:53:33.703657+00:00",
  "enriched_at": null,
  "body_excerpt": "Fix token counting in CLI to match Anthropic's reported count.\n\nPreviously, we only counted tokens from the final AI response in each test's conversation, discarding tokens from all intermediate AI calls. This caused our reported count (26,483) to be much lower than Anthropic's total (217,843).\n\nFor",
  "review_count": 0,
  "files_changed": 1,
  "hours_to_merge": 0.84,
  "metrics_source": "aidev_commit_sum",
  "change_requests": 0,
  "og_generated_at": null,
  "reviewer_excerpt": "Tested [manually](https://github.com/rmarescu/shortest-318/commit/cf2409ed71c875fa5e2b6145e1c8fa904a7e2043), it matches what's reported on Anthropic Console. ``` 228,248 tokens (≈ $0.72) ```",
  "review_comment_count": 0,
  "reviewer_excerpt_url": "https://github.com/antiwork/shortest/pull/323#issuecomment-2641477630"
 },
 "repo": {
  "name": "shortest",
  "owner": "antiwork",
  "stars": 5705,
  "license": "MIT",
  "full_name": "antiwork/shortest",
  "primary_language": "TypeScript"
 },
 "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": "2025-02-07T00:17:56+00:00",
   "url": null,
   "kind": "merged",
   "actor_login": "rmarescu"
  },
  {
   "at": "2025-02-07T00:17:57+00:00",
   "url": null,
   "kind": "closed",
   "actor_login": "rmarescu"
  }
 ],
 "related": [
  {
   "agent": "devin",
   "state": "merged",
   "title": "Remove Sign In button and add GitHub button with star count",
   "number": 409,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 74,
   "deletions": 18,
   "merged_at": "2025-03-27T03:39:00+00:00",
   "opened_at": "2025-03-27T02:56:24+00:00",
   "task_type": "feat",
   "files_changed": 2,
   "hours_to_merge": 0.71
  },
  {
   "agent": "devin",
   "state": "merged",
   "title": "chore(web): bump Next.js to 15.2.4",
   "number": 406,
   "outcome": "merged_clean",
   "index_ok": true,
   "additions": 297,
   "deletions": 78,
   "merged_at": "2025-03-25T23:06:57+00:00",
   "opened_at": "2025-03-25T22:05:26+00:00",
   "task_type": "chore",
   "files_changed": 5,
   "hours_to_merge": 1.03
  },
  {
   "agent": "devin",
   "state": "merged",
   "title": "docs: update README with browser configuration options",
   "number": 378,
   "outcome": "merged_after_rework",
   "index_ok": true,
   "additions": 64,
   "deletions": 51,
   "merged_at": "2025-03-05T00:36:05+00:00",
   "opened_at": "2025-03-03T21:33:44+00:00",
   "task_type": "docs",
   "files_changed": 2,
   "hours_to_merge": 27.04
  }
 ],
 "pr_url": "https://github.com/antiwork/shortest/pull/323",
 "page": "https://agentriders.com/logs/antiwork/shortest/323/"
}