refactor(backend)!: separate algorithm and data layers

Reorganize algorithm packages by business responsibility, move orchestration into services, and keep database access behind pooled repositories.

Harden analysis API validation, remove unsafe legacy simulation endpoints, and add regression and architecture boundary coverage.

BREAKING CHANGE: legacy algorithm module paths and obsolete simulation endpoints are removed.
This commit is contained in:
2026-09-04 17:30:55 +08:00
parent 9b095c7439
commit 5966d039de
91 changed files with 1418 additions and 4020 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
# 监测点灵敏度算法优化说明
本文记录压力监测点布置算法的改造方案、数学含义、复杂度变化和本地验证结果。实现位于 `app/algorithms/sensor/sensitivity.py`,对外兼容入口仍为 `get_ID(name, sensor_num, min_diameter)`
本文记录压力监测点布置算法的改造方案、数学含义、复杂度变化和本地验证结果。纯计算实现位于 `app/algorithms/pressure_sensor_placement/sensitivity_placement.py``app/services/sensor_placement.py` 负责从池化的项目数据库导出 INP、加载模型、校验并保存结果
## 改造目标