tabctx-mcp: prediction intervals in the predict tool's output
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 88/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- python
调研方向
先从 src/tabctx/mcp_tools/tools.py 和 tests/unit/fake_deployment.py 中的回归分位数行为入手;然后阅读 tests/unit/test_mcp_tools.py 中相关的测试。为回归 CSV 输出和返回的前几行添加两个区间列,并在 src/tabctx/mcp_tools/SKILL.md 中记录它们。完成标准是:这些列按该顺序紧跟在预测列之后,分类输出保持不变,并且 uv run pytest tests/unit -n auto 通过。
由索引模型根据 Issue 内容生成。
描述
Agents using tabctx-mcp see point predictions only. Since 0.19, a regression predict can return quantiles from the same model call (TabctxRegressor.predict_quantiles), so the predict tool can show each row's interval at no extra cost.
What to do
- In
src/tabctx/mcp_tools/tools.py, for a regression model, add<target>_p05and<target>_p95columns to the predictions CSV and to the top rows the tool returns, usingestimator.predict_quantiles(X, [0.05, 0.95]). - Mention the columns in
src/tabctx/mcp_tools/SKILL.md(agents read it), e.g. "a 90% interval: say how sure the model is". - Tests in
tests/unit/test_mcp_tools.py, againsttests/unit/fake_deployment.py(its regression quantile at level q is the row's first feature plus q, so expected values are easy to write).
Done when
- A regression
predictwrites the two columns, in that order, right after the prediction column. - Classification output is unchanged.
uv run pytest tests/unit -n autopasses.
Good first issue: one module plus its tests, no GPU needed.
- 主要语言
- Python
- 星标
- 1
- 派生
- 1
- 平均合并
- 6 小时 45 分钟
- 30 天内合并 PR
- 66
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
VectorInstitute/tabctx 的其他 Issue
-
documentation good first issue help wanted
难度 3/5 1-2 天 新手友好度 76/100
VectorInstitute/tabctx#113 ·
维护者通常 1 天内回复
-
Report whether a predict used the cached context or restored it (cache_outcome)可能已有人在做 @sunxiuguo 今天认领。 未关闭area/api enhancement good first issue
难度 3/5 1-2 天 新手友好度 35/100
VectorInstitute/tabctx#112 ·
维护者通常 1 天内回复
-
area/api enhancement P3 roadmap
难度 5/5 一周以上 新手友好度 25/100
VectorInstitute/tabctx#106 ·
维护者通常 1 天内回复
-
area/latency enhancement help wanted P2 roadmap
难度 5/5 一周以上 新手友好度 35/100
VectorInstitute/tabctx#104 ·
维护者通常 1 天内回复
-
area/api area/memory enhancement P1 roadmap
难度 5/5 一周以上 新手友好度 35/100
VectorInstitute/tabctx#103 ·
维护者通常 1 天内回复
查看 VectorInstitute/tabctx 的全部 Issue
相似的 Issue
-
fuzz fuzz-unconfirmed
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
ready-for-agent
难度 2/5 1-3 小时 新手友好度 86/100
neilsh/stunt-reel#220 ·
维护者通常 1 天内回复
-
[Issue]: use_fp4_cache is accepted but ignored; the launcher always writes FP8 records可能已有人在做 @0z5a 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
area: cli priority: p3 size: S type: bug
难度 2/5 1-3 小时 新手友好度 83/100
finos/open-resource-broker#757 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 6 天内回复