Spaces:
Runtime error
Runtime error
Commit History
-
Deploy to Hugging Face Spaces - SQLite version with 10k sample data
0e8f624 -
Enhances platform with robust monitoring and notifications
Introduces comprehensive health checks, multi-channel alerting, and a subscription-based notification system to improve operational visibility and user engagement. Key improvements include: - Establishes a detailed `.env.template` for centralized configuration. - Integrates Celery, Redis, and Elasticsearch into the Docker Compose setup, enabling a distributed architecture for background tasks and advanced search. - Implements extensive health and data consistency checks across PostgreSQL, ClickHouse, Elasticsearch, and Redis. - Develops an advanced alerting module with support for Feishu, DingTalk, and WeCom webhooks. - Adds asynchronous data export capabilities, including CSV generation, secure download, and email notifications. - Introduces a real-time subscription matching engine to notify users of new data based on their criteria. - Enhances trade search functionality to leverage Elasticsearch for full-text queries, with PostgreSQL fallback. - Provides a dedicated script for reind…4e22b4d
-
refactor(check_db): 简化并重构数据库检查脚本
合并两次数据库查询为单次查询,移除总记录数统计与amount、weight字段的查询,删除冗余中文注释,将输出字段名改为英文并使用索引访问行数据899889d -
chore: 添加开发辅助脚本用于测试和数据库检查
新增 run_test_backfill.py 用于测试巴西贸易数据连接器的回填任务,新增 check_db.py 用于检查并展示数据库贸易记录。本次提交还包含临时日志文件与Python缓存文件,此类文件通常不应纳入版本控制。c3202cd -
feat: 新增贸易查询筛选条件并完善巴西贸易数据解析
- 扩展TradeQueryRequest查询schema,新增贸易方向、商品名称、原产国、目的国等筛选参数 - 更新贸易路由文档,补充新支持的筛选维度 - 为贸易路由添加对应新增参数的数据库筛选逻辑 - 重构巴西ComexStat连接器,新增官方表格数据加载与标准化映射工具 - 完善巴西贸易记录的国家、港口、运输方式及商品名称解析逻辑 - 补充完整的巴西运输方式标准化映射表98897be -
feat: 接入巴西真实海关数据源并优化回补逻辑与HTTP客户端
- 实现巴西Comex Stat官方开放CSV数据源的拉取、解析与标准化流程,替换原Mock模拟数据 - 优化回补脚本run_backfill.py,支持巴西按年月范围批量执行回补任务 - 修复HTTP客户端SSL证书校验失败的降级重试逻辑,新增代理与SSL参数配置能力 - 添加项目下一步开发规划文档与测试日志示例a241a73 -
Initial commit for Hugging Face Space
3834ddb