feat: v3.5 - Multi-language acoustic algorithm scheduler
- Core: Python/C++/MATLAB tri-protocol bridge architecture - Validation: 5-type real-time field, type, dimension, completeness, and compatibility checking - UI: Premium Deep Sea theme with visual pipeline preview - Modules: Sea Trial Exclusive + Exception Hub + Algorithm Management - Tests: Full coverage with 5 automated test cases
这个提交包含在:
@@ -0,0 +1,33 @@
|
||||
# Walkthrough - v3.5(最终交付)
|
||||
|
||||
本版本将平台推进为“可演示/可落地”的全协议集成与调度工具:支持 Python/C++/MATLAB(含降级) 三语言算法编排执行,具备五维校验、环境自检、海试一键巡检与异常中心排障闭环。
|
||||
|
||||
## 1) 设计与交互
|
||||
- 深海风 UI:深蓝侧边栏、现代排版、卡片化布局(`main.py`)
|
||||
- 可视化流水线:调度页提供“运行流水线预览”(`main.py`)
|
||||
- 语言标识:Python/C++/MATLAB 徽标在算法库与流水线中可视化区分(`main.py`)
|
||||
|
||||
## 2) 多协议桥接
|
||||
- Python:动态加载并执行(`src/algo_loader.py`、`src/bridges.py`)
|
||||
- C++:`.so/.dll` 动态库加载 + `ctypes` 调用(`src/bridges.py`、示例 `src/sample_algos_cpp/`)
|
||||
- MATLAB/Octave:Engine → oct2py → CLI+matfile 三级降级(`src/bridges.py`、示例 `src/sample_algos_matlab/`)
|
||||
|
||||
## 3) 工业级自检与五维校验
|
||||
- 环境自检:编译器、MATLAB/Octave 能力检测(`src/env_detect.py`)
|
||||
- 五维校验:字段/类型/维度/完整性/环境兼容(`src/validator.py`、调度前拦截 `src/scheduler.py`)
|
||||
|
||||
## 4) 海试专属与异常中心
|
||||
- 海试一键巡检:内置链路 + CSV 报告导出(`main.py`)
|
||||
- 异常中心:校验问题卡片、执行日志、环境快照、排障 JSON 包导出(`main.py`)
|
||||
|
||||
## 5) 验证方式
|
||||
运行测试:
|
||||
```bash
|
||||
python tests/test_core.py
|
||||
```
|
||||
|
||||
启动界面:
|
||||
```bash
|
||||
streamlit run main.py
|
||||
```
|
||||
|
||||
在新工单中引用
屏蔽一个用户