知微
|
7cebcba13a
|
Implement proposal #19: Score-and-Retry + JSON format validation for 知微 pipeline
- Create json_validator.py utility module:
- validate_json_syntax(): JSON syntax scoring (0-100) with auto-fix
- validate_with_schema(): Multi-layer validation (syntax + schema)
- score_and_retry(): Generic retry wrapper with error feedback
- safe_parse_structured(): Safe <structured_data> extraction
- FormatErrorLibrary: Persistent error tracking + stats + auto recommendations
- CLI entry point for standalone use
- Integrate into strategy_lifecycle.py:
- safe_json_load() now uses json_validator for auto-fix + error logging
- Falls back to legacy repair on ImportError
- Integrate into update_data.py:
- parse_report() uses safe_parse_structured() instead of bare json.loads()
- Errors logged to FormatErrorLibrary silently
- Convert strategy_lifecycle.py to Unix line endings
|
2026-07-08 01:18:48 +08:00 |
|
知微
|
b3bedc8024
|
migrate: remove JSON, DB-only — mo_data, server, scripts, prompts (27 files)
|
2026-07-03 12:12:05 +08:00 |
|
知微 (MoFin)
|
aa0f740381
|
MoFin 初始提交
完整数据采集+分析管道:
- market_watch.py:90行业板块采集(同花顺/东方财富)
- 市场精选推荐 cron:全市场分析+候选池+星级推荐
- price_monitor.py:持仓/自选高频价格监控
- refresh_mtf_cache.py:多周期K线缓存
- 策略评估/知识萃取管道
文档:docs/ 含完整需求+架构设计
注意:尚未配置 git remote,笑笑接手后自行配置
|
2026-06-20 12:04:21 +08:00 |
|