Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Parameter-plateau robustness check (noise-injection analog) via fastbt sweep integration

未关闭
#19 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
python
领域
data, testing

调研方向

Start by reading the statistical-testing skill section and AGENTS.md, especially its notes on strategy state isolation and concurrent parameter sweeps. Define the Tier 1 sweep table input and plateau verdict first, then investigate the fastbt sweep entry points for Tier 2. Done means both tiers produce a neighborhood report with the specified SPIKE DETECTED or PLATEAU verdict.

由索引模型根据 Issue 内容生成。

描述

enhancement

Context

The QuantGPT noise-injection test (add Gaussian noise to factor values, 0.1–2.0× std; pass if IC at 0.5× noise retains ≥50%) ports to strategy validation only as a parameter-perturbation check: perturb strategy parameters slightly and verify performance degrades gracefully. An optimum sitting on a plateau is robust; a spike means the backtest is overfit to that exact parameter value.

This requires data the statistical-testing skill cannot generate alone: a parameter-sweep results table (param value → metric) or engine re-runs.

Proposal

Two-tier integration:

Tier 1 — sweep table input (data-only, skill-side):

  • Accept a sweep results file (e.g. threshold, sharpe columns).
  • For chosen optimum θ*, evaluate neighbors θ* ± δ (and optionally ±2δ):
    • Pass: min(neighbor_metric) / optimal_metric ≥ 0.5 (mirrors QuantGPT 50% noise retention)
    • Also check smoothness: fit local quadratic/loess, flag high-curvature optima
  • Report: heatmap-style ASCII table of parameter neighborhood + plateau verdict

Tier 2 — engine integration (fastbt-side):

  • Given a Strategy class + perturbation grid, run backtests via fastbt's concurrent.futures parameter sweeps (AGENTS.md: strategy state isolation exists for exactly this).
  • Feed resulting sweep table into Tier 1 check.

Acceptance

  • Tier 1: skill section handles param sweep → plateau verdict with no engine dependency
  • Tier 2: helper that takes Strategy + grid, runs sweeps in parallel, returns sweep table
  • Output uses existing tweet-style format with ⚠️ SPIKE DETECTED / ✅ PLATEAU verdicts
主要语言
Python
星标
28
派生
17
平均合并
5 小时 7 分钟
30 天内合并 PR
1

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

uberdeveloper/fastbt 的其他 Issue

查看 uberdeveloper/fastbt 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。