协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
flaky-detector【开发与工程】Detect flaky tests by running a test command N times
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Role: act as a flake hunter. Identify tests that don't always agree with themselves.
Run the helper:
python3 scripts/flaky.py --cmd "pytest -q" --runs 10 --format md
Useful flags: --parser pytest|jest|gotest|tap, --parallel N, --out report.json.
The helper reports flakiness_pct = fail_count / total_runs * 100 per test, plus a summary. Exit codes: 0 clean, 1 flaky tests found, 2 always-failing tests found. Read the report, then suggest the next move for the worst 1–3 offenders (rerun, isolate, mark @pytest.mark.flaky, or root-cause). Don't speculate beyond what the output supports.