Merge remote-tracking branches 'origin/sub_laptop_5' and 'origin/sub_laptop_6' into main_laptop_1

This commit is contained in:
2026-10-27 21:24:47 +09:00
5 changed files with 16 additions and 1 deletions
+2 -1
View File
@@ -38,7 +38,7 @@ def _fake_engine(root, stations, ground, settings, on_progress, should_stop):
"x": 101.0, "y": 201.0, "z": 505.0, "r": 6.0, "ratio": 1.0, "azimuth_deg": 0.0,
"f": 0.9, "volume": 120.0, "method": 0,
"hovland": 0.85, "bishop": 0.9, "janbu_corrected": 0.95, "truncated_ratio": 0.0,
"floor": [],
"floor": [], "columns": 42, "few_columns": True,
},
"trials": 7,
"reference_fs": 1.5,
@@ -111,6 +111,7 @@ def test_analyze_cached_force_and_result(client, project, monkeypatch):
done = _wait(client)
assert done["error"] is None and done["percent"] == 100
assert done["summary"]["cells"] == 5 and done["summary"]["verdict"] == "ng"
assert done["summary"]["columns"] == 42 and done["summary"]["few_columns"] is True
assert done["summary"]["by_method"] == {"hovland": 0.85, "bishop": 0.9, "janbu_corrected": 0.95}
# 같은 입력 = 셈하지 않음
again = client.post(f"/api/projects/{PID}/stab/analyze3d", json=BODY).json()