Commit Graph
6 Commits
Author SHA1 Message Date
jiang 38a51ed65c fix(isolation): distinguish accident links from same-numbered nodes
Generic Container CI/CD / test-build-publish (push) Successful in 2m29s
Server CI/CD v2 / build-test-publish-and-deploy (push) Successful in 2m29s
Prefer link endpoints for legacy accident IDs and allow explicit node selection. Read authoritative initial statuses and sources, verify source isolation, and separate direct isolation from newly disconnected supply nodes. Return validation errors as HTTP 422.

The node-first lookup misrouted adjacent Fengyang pipes 19025 and 19026 into unrelated regions. Regression cases fail against the previous algorithm and pass after this change.
2026-10-29 11:20:34 +08:00
jiang 5966d039de 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.
2026-09-04 17:30:55 +08:00
jiang 0b72ac959a 重构 app/algorithms/api_ex 目录结构 2026-03-09 17:26:39 +08:00
jiang 2794114000 统一scheme_name命名规则 2026-02-05 10:47:38 +08:00
jiang 0755b1a61c 修改关阀分析算法,支持多管段分析 2026-02-02 18:03:44 +08:00
jiang 9d7a9fb2fd 调整api结构;恢复丢失部分api,详见scripts文件夹;新增关阀分析算法,实现api 2026-01-29 11:39:50 +08:00