---
title: Map the DraftKings 2025x re-key subcategory generation (20257-20269)
type: task
status: completed
description: >-
  The DraftKings odds import (service:league-import-draftkings-odds, signal 129174) emits unmapped
  subcategoryIds in the 2025x re-key generation — 20257-20269 — that currently map to null
  market_type. No task owns them; a live session (59403d4a) is investigating.
base_uri: user:task/league/map-draftkings-2025x-rekey-subcategories.md
created_at: '2026-09-09T01:46:50.233Z'
entity_id: 603be95c-f1c8-4554-9731-d3bfab8d3638
finished_at: '2026-10-10T01:54:49.599Z'
observations:
  - ████████████████████████████████████████████████
  - ████████████████████████████████████████████████
  - ████████████████████████████████████████████████
owner_identity_uri: █████████████████████████
priority: Medium
public_read: true
tags:
  - user:tag/league-xo-football.md
updated_at: '2026-10-10T01:55:23.397Z'
visibility_analyzed_at: '2026-11-05T23:49:42.487Z'
---

## Plan

- [x] Read the DraftKings subcategory names for 20257-20269 from a fresh feed payload (conjunctive in-each-quarter/half yardage and sacks families; see league `660b122b4`, `12cd7c157`)
- [x] Map re-keys to existing market-type constants in `get_market_type()` (`libs-server/draftkings/draftkings-market-types.mjs`), or decline ruled-out ids via `known_unmapped_subcategory_ids` (`libs-server/draftkings/draftkings-constants.mjs:160`) — all thirteen declined on shape: 20257-20262 and 20264-20269 in league `660b122b4` (2026-09-08), 20263 in `12cd7c157` (2026-09-14)
- [x] Reconcile the four-per-offerCategoryId spread across the 1000 / 1342 / 1001 signals (moot: every id in the generation is declined, so none reaches a signal)
- [x] Commit, deploy, and verify the next `import-draftkings-odds` run emits no unmapped signal for this generation — measured 2026-10-09: the deployed league checkout contains both commits, and the only unmapped-subcategory signal in the retained window (2026-10-08) names 1744/20426 alone

## Background

Comes from signal 129174: the DraftKings odds importer (`import-draftkings-odds.mjs`) collects
unmapped subcategoryIds into `unmapped_subcategory()` and ingests their markets with a null
market_type. Census (██████████████, 2026-09-08): no open task owns these ids;
`normalise-prop-market-type-taxonomy` — the natural predecessor — is Completed and does not
cover this generation. Mapped re-keys 20168 / 20232 sit at season grain, and the pre-20257
frontier 20247 / 20248 / 20249 was previously declined via `known_unmapped_subcategory_ids`.

Session `59403d4a` ("Investigate DraftKings unmapped subcategory ids 20257-20269 in league
repo") investigated the ids; it has ended, and its outcome is the decline in league `660b122b4`.

## Resolution scope

Carried as the Track target for signal 129174. Closes when the next import run emits no unmapped
signal for the 2025x generation after mapping/decline and deploy.
