Commit Graph
60 Commits
Author SHA1 Message Date
FANGKKandClaude Opus 5 d0a9cec70d Consolidate roster to roster.xlsx and refresh attribution
Every roster the user sends arrives under a different filename, which
forced a code change each time. The roster now lives at a fixed
roster.xlsx; the three superseded copies are removed (git history keeps
them, and each was a strict subset of this one).

This roster claims all 14 previously unattributed Adpingids, so the
report has no unattributed spend. It also moves 5617321 from 周梓君 to
詹涵粤; that id has never spent, so only the 负责 counts shift.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16 17:49:00 +08:00
FANGKKandClaude Opus 5 3c21689b8f Update data from Excel - 9/13-9/15
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16 17:43:19 +08:00
FANGKKandClaude Opus 5 95657cfa92 Update data from Excel - 9/12-9/14
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 12:45:15 +08:00
FANGKKandClaude Opus 5 de25c7d4cd Update data 9/11-9/13; switch roster to 投手List.xlsx
投手List.xlsx is a strict superset of the previous roster (19 added,
none removed or reassigned) and claims every previously unmatched
Adpingid, so the report has no unattributed spend.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 13:32:14 +08:00
FANGKKandClaude Opus 5 62e44d7401 Update data from Excel - 9/8-9/10
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-11 12:24:25 +08:00
FANGKKandClaude Opus 5 c7b0296024 Update data from Excel - 9/7-9/9
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-10 12:40:49 +08:00
FANGKKandClaude Opus 5 bcc1415c0d Update data from Excel - 9/6-9/8
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-09 14:49:28 +08:00
FANGKKandClaude Opus 5 af88474c3e Update data from Excel - 9/5-9/7
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-08 11:11:42 +08:00
FANGKKandClaude Opus 5 88084ce5ff Add period-over-period trend table at top of report
build_data.py now also computes each buyer's total for the preceding
3-day window under identical rules (exclusions, attribution), exposed as
prev_total plus meta.prev_range. index.html renders it as the first
panel, with green/red deltas and a total row; the panel stays hidden if
no prior period exists.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-07 23:42:03 +08:00
FANGKKandClaude Opus 5 b33cfcf6cb Update data from Excel - 9/4-9/6
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-07 23:36:36 +08:00
FANGKKandClaude Opus 5 442aaacc8a Switch roster to 武汉自投投放下单_AM&Media Buy.xlsx
New roster is a strict superset of 投手.xlsx (14 added, none removed, no
reassignments). build_data.py now picks the roster by an explicit
precedence list, so the old 投手.xlsx stays as a fallback.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 15:33:15 +08:00
FANGKKandClaude Opus 5 1746ce0c7f Update data from Excel - 9/1-9/3
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 15:30:01 +08:00
FANGKKandClaude Opus 5 2413c1b428 Exclude cn.com.vtmarkets and 91555309; attribute 11892329 to 黄政
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-03 17:45:14 +08:00
FANGKKandClaude Opus 5 163a6e321b Update data from Excel - 8/31-9/2
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-03 17:40:16 +08:00
FANGKKandClaude Opus 5 5a6c0ed95b Update data from Excel - 8/30-9/1
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-02 11:27:43 +08:00
FANGKKandClaude Opus 5 a62c542145 Attribute Adpingids 11729820 and 11729830 to 黄政
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-01 13:38:36 +08:00
FANGKKandClaude Opus 5 b36405b1ba Attribute Adpingid 11729927 to 黄政 via roster supplement
New roster_extra.json fills in Adpingids missing from 投手.xlsx. It only
applies when the roster has no entry for that id, so a future roster
always wins.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-01 13:36:47 +08:00
FANGKKandClaude Opus 5 55888a6aa4 Use standalone 投手.xlsx as the roster source
Monthly data files no longer carry a 投手 sheet, so build_data.py now
prefers a standalone 投手.xlsx and falls back to the newest embedded
sheet. This roster is content-identical to the 2608 embedded one, so
data.json is unchanged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-01 13:34:01 +08:00
FANGKKandClaude Opus 5 e6061d1286 Support monthly source rollover; update data - 8/29-8/31
The 2609 file carries only 8/31 and has no 投手 sheet, so build_data.py
now globs every *每日数据-武汉萌奇熊.xlsx, merges 平台消耗统计 per date
(newer filename wins for a repeated date), and takes the roster from the
newest file that still has a 投手 sheet. Future month rollovers need no
code change.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-01 13:29:22 +08:00
FANGKKandClaude Opus 5 e6ec3e1d22 Change data source label to 萌奇熊日报
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-31 18:53:26 +08:00
FANGKKandClaude Opus 5 d3e2fa9f4a Exclude Adpingid 91554851
Adping-level only; com.vuclip.viu stays out of the package exclusion list
per request, so its other Adpingids remain in the report.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-31 15:45:38 +08:00
FANGKKandClaude Opus 5 0b774fd071 Update data from Excel - 8/28-8/30
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-31 15:42:25 +08:00
FANGKKandClaude Opus 5 ef86d383f8 Add permanent Adpingid-level exclusions
exclude.json gains an "adpings" map (18 ids, value = package for
reference) alongside the existing package list. build_data.py drops those
Adpingids from both the 投手 ownership counts and the spend rows.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-31 10:43:53 +08:00
FANGKKandClaude Opus 5 b917f9bccf Update data from Excel - 8/25-8/27
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-28 11:52:03 +08:00
FANGKKandClaude Opus 5 fcf9a5c01b Add Geo suffix and Adpingid column to 投手明细
Package now renders as pkg_GEO, where GEO is the region with the highest
total spend for that package. The new Adpingid column shows the
top-spending Adping within that region, so label and id stay consistent.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-27 14:39:38 +08:00
FANGKKandClaude Opus 5 06f701699e Show Adpingid counts per buyer in 投手明细
build_data.py now emits active_ids (Adpingids with spend in the window)
and owned_ids (Adpingids assigned to the buyer, exclusions removed).
active_ids sums to the 覆盖 Adpingid 数 card.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-27 14:31:45 +08:00
FANGKKandClaude Opus 5 d980690ff2 Add spend labels on bars and $ currency symbols
- 各投手本周期内投放花费: draw value labels at each bar end via a small
  inline Chart.js plugin (no extra CDN dependency); right padding added
  so labels stay inside the panel.
- Prefix all spend figures with $: summary card, both chart axes and
  tooltips, buyer subtotals, and package detail tables.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-27 14:23:36 +08:00
FANGKKandClaude Opus 5 a39846af35 Update data from Excel - 8/24-8/26
Refresh xlsx source and regenerate data.json via build_data.py.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-27 11:45:01 +08:00
FANGKKandClaude Opus 5 8d3716b726 Exclude specified packages from report
Add exclude.json (12 package names, permanent) and build_data.py so the
report is reproducible. Exclusion is exact-match on package name, applied
both to 平台消耗统计 rows and to Adpingids whose 投手 pkg is excluded.
Exact match avoids false positives (e.g. in.swiggy.android vs "igg").

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-26 19:06:30 +08:00
FANGKKandClaude Opus 5 ccc7a1aa7a Update data from Excel - 8/23-8/25
Refresh xlsx source and regenerate data.json from
平台消耗统计 (Date/Adpingid/花费) x 投手 (Adpingid/Media Buyer).
@某某 merged with 某某; Adpingid without a buyer excluded.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-26 18:59:19 +08:00
fangjie 6941f164ab Update data.json 2026-08-26 17:26:10 +08:00
fangjie c48f5ddb26 Update data.json 2026-08-26 17:04:27 +08:00
fangjie f99e8c004f Update index.html 2026-08-25 18:52:39 +08:00
fangjie 91e51c56ed Update index.html 2026-08-25 18:42:03 +08:00
FANGKK 92276715fc Update data from Excel - 8/22-8/24 2026-08-25 18:37:05 +08:00
FANGKK f6b107f0b4 Update data from Excel 2026-08-25 18:31:21 +08:00
fangjie 3cccfa361a Revert to data.json approach for stability 2026-08-25 18:23:52 +08:00
fangjie af41220587 Add Excel parsing: read xlsx file and process data dynamically 2026-08-25 18:21:14 +08:00
FANGKK e754f476d5 Update xlsx data file 2026-08-25 18:17:56 +08:00
FANGKK 3a09f82bf9 Add xlsx data file 2026-08-25 18:10:46 +08:00
fangjie 1ff921ca6e Change chart title: Week to 本周期内 2026-08-25 16:12:13 +08:00
fangjie ae6e7cc884 Add data_range to metaLine display 2026-08-25 16:02:33 +08:00
fangjie 2a318fce39 Add date_range to metaLine display 2026-08-25 15:28:46 +08:00
fangjie 71e5016205 Add date_range display to metaLine 2026-08-25 15:26:21 +08:00
fangjie 9bd4f8b6fe Add date_range field to meta 2026-08-25 15:24:51 +08:00
fangjie f85c369782 Fix JSON structure: Correct timestamp and add week34_id_count 2026-08-25 15:20:58 +08:00
fangjie 02439fa2df Fix: Update timestamp format to 2026-08-25 and add week34_id_count field 2026-08-25 15:19:24 +08:00
fangjie c9589f2960 Update data.json 2026-08-25 11:59:09 +08:00
fangjie 12b6120f39 Update data.json 2026-08-25 11:52:01 +08:00
fangjie fc592e8c7b Update data.json 2026-08-25 11:50:14 +08:00