Repository navigation
Conversation
MyPrototypeWhat
requested changes
Nov 30, 2026
MyPrototypeWhat
left a comment
Collaborator
There was a problem hiding this comment.
谢谢这次 K线价格行为实战台(kline-intuition-lab)。现头 8725b44c4c1c4ecd9c9e6a3cadaba3cef82d1ee7 还不能合。
对外文案和引擎、页面对不上。plugin.json、中英文包 README、两份根 README 写的都是「闯关 5 关 / 5 大母题」。rules.mjs 里 matchLevels 是 4,MOTIF_ORDER 和 24 关题库都是 4 个母题各 6 关。连续抽 30 次,每次都是 4 关、4 个母题各一关,没有空关。打包页面上是「开启 4 关闯关」「开始盲判闯关(4 大课题连战)」。review.mjs:126 的整局复盘提问还写着「按 5 大母题拆解」。按页面会打满 4 个实关,不会走进第五关,但和对外说明不一致。
请把对外文案、复盘提问和引擎/页面对齐到同一套关数和母题数。
另外几条是备注,不是这次不能合的理由:
dispose只关掉 HTTP 服务,不会结束已经拉起的 Python。- README 没有写
dataDir/custom/下的中间文件。 - PR 正文写了「前后端全部源码」,客户端实际是 Vite 构建产物。包 README 已经写明了这一点。
请更新这个分支,我们再看新头。
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.
Add K线价格行为实战台 (kline-intuition-lab)
价格行为训练台:用真实 A 股日线回放,逐根 K 线盲判,再与同一套规则下的 PA-LightGBM 模型同拍对账,赛后给出母题雷达与复盘。提交一个完整可运行的 Mini App 包,包含随包关卡池、LightGBM 模型与前后端全部源码。
Tested environment
Verified behaviour and unverified behaviour
已验证:随包 24 关全部可进入并逐根 K 线裁决;PA-LightGBM 逐日胜算分与 TreeSHAP 归因正常产出;T+1 锁定、单边 0.075% 成本、10% 颗粒度调仓三条规则在裁决中生效;战绩与母题雷达写入 dataDir 后重启不丢。
未验证(受环境限制,本机无法覆盖):
python、其他平台为python3,代码已按平台分支处理,但未实测。npm run check warnings
本包 0 errors,1 warning:
该告警来自
hostConnectorAccess.providers: ["thsifind"]的声明。校验器按设计不校验宿主在安装时授予的 provider,因此无法在此处静态确认。这与仓库中已有的plugins/antianqi/ai-node-canvas(声明matrixprovider)属同类情况,官方包契约也说明这类 provider 由宿主在安装时授予。本包仅在"动态出题"功能中调用 iFinD 行情工具,其余全部功能离线可用。Declared access
hostConnectorAccess.providers: ["thsifind"]— 仅用于动态出题时通过宿主连接器拉取 iFinD 前复权日线。agentAccess、toolAccess、deviceAccess、hostAccess,代码亦未使用。应用只在用户主动要求时生成一段复盘提问文本交给 Agent,不会自行发起 Agent 调用,也不会读取任何会话。Data
随包包含公开行情数据,用于构造训练关卡:
miniapp/node/data/curated_levels.json— 24 个精选关卡,基于 12 只 A 股公开历史日线构造,含 OHLCV 与 EMA20 序列。miniapp/node/data/hs300.csv、miniapp/node/data_v2/000300.SH_hs300.csv— 沪深300 指数公开日线,作为个股相对强弱的基准。均为公开市场行情,不含任何个人数据、账户信息或凭据。包内未包含任何 dataDir 运行态数据。
Written by MiniMax Code (M3.1)
Summary
新增一个完整 Mini App 包
plugins/alphamao1/kline-intuition-lab/,并在其余两个根 README 的 MiniApps 表格各增加一行。Evidence
Before:仓库中无该应用;
plugins/alphamao1/不存在。After:
功能证据(MiniMax Code 3.1.19 / Windows 11,Browser 实测):
Merge Danger
Door: two-way door。合入后如需撤回,可直接 revert 该 PR;应用不改动宿主或用户既有数据,所有持久化状态写在宿主分配的 dataDir 内。
Blast Radius: repository-wide。本 PR 只新增一个包目录并修改两个根 README 的表格各一行,不触碰
scripts/、docs/与其他任何已有包,不影响仓库现有校验行为。包内不含node_modules、凭据、运行态缓存或.DS_Store。Notes for reviewers
kline-intuition-lab在全仓库 41 个既有插件 ID 中无重复。alphamao1;plugin.json的author字段保留原 GitHub 用户名AlphaMao1以便链接到个人主页(与仓库中Alanhean、DanielWalnut等既有条目写法一致)。numpy、pandas、lightgbm。该依赖是可选的——闯关模式、专项课题练习库、学堂、复盘、PA-LightGBM 打分全部离线可用,仅动态出题需要 Python 与 iFinD 连接器。README 的 "Data & access" 与 "Install" 两节已明确说明。miniapp/node/py/pa_lgbm_model.pkl(53 KB)为随包携带的 LightGBM 模型,已实测可加载并正常产出预测。__pycache__:Python 编译缓存未纳入提交(已在暂存前清理),提交范围内共 29 个文件。Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.