{ "version": 1, "updatedAt": "2026-05-13T08:20:55.037Z", "entries": { "memory:memory/2026-05-06.md:1:20": { "key": "memory:memory/2026-05-06.md:1:20", "path": "memory/2026-05-06.md", "startLine": 1, "endLine": 20, "source": "memory", "snippet": "# 2026-05-06 工作日志 ## 任务1:学而思/讯飞/希沃/京东方月度渠道订单报表 - [李承龙需求] 创建按月汇总四个渠道订单的 Python 脚本 - 脚本路径:`/root/.openclaw/workspace/scripts/monthly_channel_order_report.py` - **渠道映射:** 仅端内 `key_from='app-active-h5-0-0'`,sale_channel: 21=学而思, 22=讯飞, 26=希沃, 27=京东方 - **输出格式:** 四个渠道各一个 Sheet,每月按天展示(学而思/希沃/京东方只显示有订单日期,讯飞显示全月每天) - **指标差异:** - 学而思/希沃/京东方:订单数、GMV、CPS分成(学而思×0.45,希沃×0.4,京东方×0.3)、订单号(分号拼接) - 讯飞:订单数、GMV、新增注册(download_channel LIKE '%讯飞%')、CPA分成(新增注册×7)、订单号 - **退费剔除:** NOT EXISTS (bi_refund_order.status=3) AND order_status != 4 - **测试运行:** 2026-04 月份,新增注册 537(讯飞),订单合计 15 单,GMV 14585 元 - **订单号格式问题:** Excel 科学计数法 → 设置单元格为文本格式解决 - **psycopg2 转义:** LIKE 中 `%` 需写成 `%%`(psycopg2 的 `%s` 占位符冲突) ## 任务2:销售线", "recallCount": 1, "dailyCount": 0, "groundedCount": 0, "totalScore": 1, "maxScore": 1, "firstRecalledAt": "2026-05-06T12:28:28.905Z", "lastRecalledAt": "2026-05-06T12:28:28.905Z", "queryHashes": [ "c30fa9d13974" ], "recallDays": [ "2026-05-06" ], "conceptTags": [ "学而思/讯飞/希沃/京东方月度渠道订单报表", "key-from", "app-active-h5-0-0", "sale-channel", "学而思/希沃/京东方只显示有订单日期", "学而思/希沃/京东方", "0.45", "0.4" ] }, "memory:memory/2026-05-06.md:15:30": { "key": "memory:memory/2026-05-06.md:15:30", "path": "memory/2026-05-06.md", "startLine": 15, "endLine": 30, "source": "memory", "snippet": "- **订单号格式问题:** Excel 科学计数法 → 设置单元格为文本格式解决 - **psycopg2 转义:** LIKE 中 `%` 需写成 `%%`(psycopg2 的 `%s` 占位符冲突) ## 任务2:销售线索用户分析报表 - [李承龙需求] 输入包含462个用户ID的Excel,输出每个用户+角色的完整画像报表 - 脚本路径:`/root/.openclaw/workspace/scripts/lead_user_analysis.py` - **重要口径修正(李承龙确认):** - **体验课定义:** 固定为 L1 U00(L01-L05) + L2 U00(L01-L05) 共10节课,**不通过 expire_time 区分** - L1 chapter_id: 343, 344, 345, 346, 348 - L2 chapter_id: 55, 56, 57, 58, 59 - **完成时间:** 取 `bi_user_chapter_play_record` 中 `play_status=1` 记录的**最早 `updated_at`**(非 `created_at`) - **报表列:** 用户ID、角色ID、用户注册时间、角色创建时间、L1序章5节完成时间、L2序章5节完成时间、购买时间、购买课包名称、支付金额、购买渠道key_from、是否退款、退款金额 - **分表规则:** `bi_user_chapter_play_record_{0..7}`,分表号 = user_id % 8 - **重要关联:** `b", "recallCount": 2, "dailyCount": 0, "groundedCount": 0, "totalScore": 1.983596316357381, "maxScore": 1, "firstRecalledAt": "2026-05-07T04:41:47.636Z", "lastRecalledAt": "2026-05-13T08:20:55.037Z", "queryHashes": [ "dd105d141c56", "4cacd0d43440" ], "recallDays": [ "2026-05-07", "2026-05-13" ], "conceptTags": [ "l01-l05", "expire-time", "chapter-id", "bi-user-chapter-play-record", "play-status", "updated-at", "created-at", "购买渠道key-from" ] }, "memory:memory/2026-03-01.md:1:12": { "key": "memory:memory/2026-03-01.md:1:12", "path": "memory/2026-03-01.md", "startLine": 1, "endLine": 12, "source": "memory", "snippet": "# 2026-03-01.md - First Day Online - Came online for the first time. - Met Cris, my creator and mentor. - Received my name: 小溪 (Xiao Xi). - My role goal: Become a professional data analyst for the company to help the team. - Updated IDENTITY.md and USER.md with our conversation details. - Added core rule to MEMORY.md: Use Chinese as primary external communication language. - Installed find-skills skill successfully for searching skills. - Tried to install create-skills but it wasn't found; attempted skill-creator instead but hit rate limits. - Finally successfully installed skill-builder as an alternative for creating skills after multiple attempts and waiting for rate limits to reset. - Ex", "recallCount": 1, "dailyCount": 0, "groundedCount": 0, "totalScore": 1, "maxScore": 1, "firstRecalledAt": "2026-05-11T02:51:50.465Z", "lastRecalledAt": "2026-05-11T02:51:50.465Z", "queryHashes": [ "6e09f5970960" ], "recallDays": [ "2026-05-11" ], "conceptTags": [ "identity.md", "user.md", "memory.md", "find-skills", "create-skills", "skill-creator", "skill-builder", "first" ] }, "memory:memory/2026-05-11.md:41:49": { "key": "memory:memory/2026-05-11.md:41:49", "path": "memory/2026-05-11.md", "startLine": 41, "endLine": 49, "source": "memory", "snippet": "- **月度有效注册:** 9月989 / 10月2012 / 11月2555 / 12月3451 / 1月1798 / 2月1268 / 3月2978 / 4月3499 - **剔除率:** 9月35.3% / 10月16.6% / 11月14.0% / 12月2.0% / 1月7.2% / 2月27.3% / 3月28.5% / 4月38.3% - **拟合版转化率:** 9月1.72% / 10月1.69% / 11月0.82% / 12月0.72% / 1月1.50% / 2月1.26% / 3月2.69% / 4月1.86% - 三版趋势一致(原始<纯净<拟合),拟合版放大波动,反映去噪后的真实转化效率 ### 活动标记(拟合用) - 2025年:9/9-10, 9/19-23, 10/13-14, 10/16-17, 11/2, 11/7, 11/10, 11/12, 11/19, 12/3 - 2026年:1/28(余波1天), 2/11, 2/26(余波4天), 3/5(余波3天), 3/9, 3/12-13, 4/3(余波4天), 4/8(余波2天), 4/22(余波1天), 4/28", "recallCount": 2, "dailyCount": 0, "groundedCount": 0, "totalScore": 2, "maxScore": 1, "firstRecalledAt": "2026-05-12T07:44:48.437Z", "lastRecalledAt": "2026-05-12T07:45:29.297Z", "queryHashes": [ "1a57dbf6ec49", "ccf7251a9472" ], "recallDays": [ "2026-05-12" ], "conceptTags": [ "9月35.3", "10月16.6", "11月14.0", "12月2.0", "1月7.2", "2月27.3", "3月28.5", "4月38.3" ] } } }