--- id: 78d7e013-ca73-422e-9bbd-b8c7fcdeee52 type: workflow title: "Issue poller: paper-dynasty-database#18 (success)" tags: [issue-poller, paper-dynasty-database, automation] importance: 0.5 confidence: 0.8 created: "2026-03-03T23:35:17.219416+00:00" updated: "2026-03-03T23:35:17.219416+00:00" --- Attempted paper-dynasty-database#18 — Batch BattingCard/BattingCardRatings lookups in lineup endpoints. Status: success. Summary: Replaced per-player get_or_none() calls in get_bratings() with two bulk SELECT queries pre-built into dicts, reducing DB round trips from O(3N) to O(2) per lineup build.. PR: https://git.manticorum.com/cal/paper-dynasty-database/pulls/45. Cost: $1.0805927499999999