Repository navigation
Conversation
以钉钉 OA 账期应收/销售额为基准,扣通途写回四段成本,输出渠道账号维度 业绩核对表;含两套收入基准、Tax/附加费双列、04-03 期间对齐、边界矩阵、 202608-202610 只读核对结论与 Colab 上线 diff。脚本默认只读,不写 GS。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
保留 UNMATCHED 成本行;窗口-only 账号不被 active-only 丢弃;补逐行/逐账号 恒等式校验;空 FBA 聚合不再崩溃;dry-run 不写 ID 缓存;429 配额退避。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
202609 双边 60 / 仅OA 17(窗口-only 账号计入订单侧后);校验 17/17。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
成本按整月、不做 04-03 二次过滤;默认不使用 1.7.0(即使存在 -特殊规则副本); 工作表统一命名 账号-按应收;补 202607 无规则口径重算(业绩 -636,505.58)。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
成本按整月、不做 04-03 二次过滤;--include-window 改为可选; 补 202607 无 1.7.0 重算(成本 3,086,081.27、业绩 -636,505.58); 尾程/退货按用户口径不再列为缺口;202610 本轮不纳入。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
sellfox_settlement/scripts/build_account_period_performance.py:读 OA 外币层/人民币层/原始、渠道账号主表、通途写回(含次月 1–3 日窗口)、账号ws 对照;输出本地 xlsx/json,不写任何 Google Sheet。Key conclusions
写回,账号ws 是旧快照(202609 少约 55.6 万),仅作对照;202608–202610 无-特殊规则副本,不含 1.7.0。产品成本*系数*数量一档切。Test plan
python -m py_compile sellfox_settlement/scripts/build_account_period_performance.py--month 202608/202609/202610均 17/17 校验通过python scripts/check_secrets.py零凭证Open questions (for 财务 ZJ / 用户)
🤖 Generated with Claude Code