双色球选号系统 v2
双色球选号辅助系统 v2 - 基于历史数据的概率优化选号工具,支持动态冷热周期、AC 值/极距/尾数形态筛选、蓝球细化分析、多策略输出(稳健/均衡/激进)。每期输出 2 注主推 +3 注备选。
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 0 · 57 · 0 current installs · 0 all-time installs
MIT-0
Security Scan
OpenClaw
Benign
medium confidencePurpose & Capability
Name/description (双色球选号辅助) match the files and instructions: Python scripts, local history CSV, config and outputs. Required binary is python3 and SKILL.md asks to install requests/beautifulsoup4, which is reasonable for an update script that may fetch history pages.
Instruction Scope
SKILL.md gives concise runtime steps (update history, generate picks, optional backtest). The visible scripts (generate_ssq.py, backtest_ssq.py) only read repository files and write outputs. The update script (scripts/update_ssq_history.py) is present but its contents were not shown in full; it's expected to perform web requests (hence requests/beautifulsoup4) — this is consistent with purpose but is the main item you should review for endpoints and behavior before running.
Install Mechanism
No install spec writing arbitrary archives; the SKILL.md suggests a simple pip3 install of requests and beautifulsoup4. This is a standard, low-risk dependency install from PyPI.
Credentials
The skill does not request any environment variables, credentials, or config paths. All required resources are local files in the repo (config.json, data/ssq_history.csv).
Persistence & Privilege
Skill flags are default (always: false), it does not request permanent presence or system-wide changes, and its scripts operate within the repo directory.
Assessment
This skill appears to do what it says — local analysis and number generation. Before installing/running: (1) open and review scripts/update_ssq_history.py to confirm which remote endpoint(s) it fetches from and that it only retrieves public lottery data (not sending other data); (2) run pip installs inside a virtualenv to avoid contaminating system Python; (3) run the scripts on an isolated or non-privileged account if you are unsure about network activity; (4) if you rely on fetched history, verify the data source's authenticity and integrity; (5) avoid running unreviewed scripts with elevated privileges. If you can paste the full update_ssq_history.py here, I can check its network calls and endpoints for you.Like a lobster shell, security has layers — review code before you run it.
Current versionv2.0.0
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
Runtime requirements
Binspython3
SKILL.md
双色球选号系统 v2
功能
- 基于 3400+ 期历史开奖数据分析
- 动态冷热周期(10/20/30 期加权)
- AC 值、极距、尾数和形态筛选
- 蓝球细化(分区 + 奇偶 + 遗漏)
- 多策略支持(稳健/均衡/激进)
- 近期走势动态加权
- 每期输出 2 注主推 + 3 注备选
使用方法
1. 更新历史开奖数据
python3 scripts/update_ssq_history.py
2. 生成当期选号结果
python3 scripts/generate_ssq.py
3. (可选)回测历史表现
python3 scripts/backtest_ssq.py
输出说明
- 主推:2 注(评分最高)
- 备选:3 注(评分次高)
- 每注包含:红球 6 码 + 蓝球 1 码、评分、奇偶比、分区、和值、极距、AC 值
配置
编辑 config.json 可调整:
- 候选池大小
- 冷热周期
- 形态阈值(AC 值、极距、尾数和)
- 默认策略(stable/balanced/aggressive)
注意
彩票是随机事件,本系统是纪律化选号工具,不是预测工具。
所有改进仅基于历史统计规律,不保证中奖。
文件结构
lottery-ssq/
├── config.json # 配置文件
├── data/
│ └── ssq_history.csv # 历史开奖数据
├── scripts/
│ ├── generate_ssq.py # 选号脚本
│ ├── update_ssq_history.py # 数据更新脚本
│ └── backtest_ssq.py # 回测脚本
├── outputs/ # 选号结果输出
├── backtests/ # 回测结果输出
├── docs/
│ └── strategy.md # 策略说明
└── README.md # 使用说明
版本
- v2.0.0 - 动态冷热周期、形态筛选、多策略支持
- v1.0.0 - 基础选号逻辑
Files
14 totalSelect a file
Select a file to preview.
Comments
Loading comments…
