Skip to content

Capture ChromieCraft item counts + Part B plan for lifelike AH#16

Merged
icemansparks merged 4 commits into
merkerhoodfrom
feat/item-count-capture
Jul 1, 2026
Merged

Capture ChromieCraft item counts + Part B plan for lifelike AH#16
icemansparks merged 4 commits into
merkerhoodfrom
feat/item-count-capture

Conversation

@icemansparks

@icemansparks icemansparks commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Part A (code + data)

Adds cc_item_count / cc_last_seen capture to the scraper and an --item-counts-csv output. Committed dataset reports/item-counts-2026-07-01.csv = 10,601 items with a live ChromieCraft listing count.

Fetch quality: the initial full run left 2,277 transient fetch-failures; these were recovered via a gentle re-fetch down to 15 (0.07%). The root cause (thin retry budget on long runs) is fixed separately in #17.

Distribution: median 1, p90 18, p95 42, p99 326, max 102,000; 5,984 items (56%) have exactly 1 listing; 469 items >=50, 170 >=200.

Part B (plan only)

docs/superpowers/specs/2026-07-01-lifelike-ah-item-count-partB-plan.md — the C++ change to make listing quantities lifelike:

  • new mod_auctionhousebot_countOverride table loaded like the price overrides
  • getElement/Sell use the per-item count instead of the global DuplicatesCount
  • recommended mapping targetCount = min(count, 50) (clamps the absurd tail; ~95% of items keep their real shape), semantics = per-item max/target
  • SQL generator from the dataset included

Part B is a separate follow-up PR once the mapping/semantics are confirmed. This branch was cut off the sentinel-fix branch (now merged via #14).

Gentle re-fetch of the 2277 fetch-failed items dropped that to 15 (0.07%).
Dataset now 10601 items (was 9419). Part B distribution updated (unchanged
recommendation: clamp to 50).
@icemansparks
icemansparks merged commit 9a94f4b into merkerhood Jul 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant