fix(arch): eliminate runtime circular dependencies to cfd and fea · modelscript/modelscript@fbbad97 · GitHub
Skip to content

Commit fbbad97

Browse files
committed
fix(arch): eliminate runtime circular dependencies to cfd and fea
1 parent 4ccced8 commit fbbad97

3 files changed

Lines changed: 93 additions & 14 deletions

File tree

‎apps/cli/package.json‎

Lines changed: 2 additions & 0 deletions

packages/runtime/tests/drone-polyglot-reachability-workspace.test.ts renamed to apps/cli/tests/drone-polyglot-reachability-workspace.test.ts

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
// SPDX-License-Identifier: AGPL-3.0-or-later
22

3-
/**
4-
* End-to-End Test Suite: Native Polyglot Drone Reachability Verification Workspace
5-
*
6-
* Verifies zero-python integration across:
7-
* - OpenSCAD CAD (B-Rep projected frontal area A = 0.03 m²)
8-
* - CalculiX FEA deck (arm stress check sigma <= 180 MPa -> m = 1.2 kg)
9-
* - SU2 CFD config (surface drag polar Cd = 0.80)
10-
* - Nelson-Oppen SemanticTheoryCoordinator equality propagation
11-
* - WASM ZonotopeReachabilitySolver proving safety (peak v = 11.42 <= 12.0 m/s) in < 3ms
12-
* - Spurious interval wrapping breach detected at t = 3.42 s
13-
*/
14-
153
import { expect } from "expect";
164
import fs from "node:fs";
175
import path from "node:path";
@@ -28,11 +16,11 @@ import {
2816
SemanticTheoryCoordinator,
2917
simulateDroneReachability,
3018
SpatialPhysicsOracle,
31-
} from "../src/index.js";
19+
} from "@modelscript/runtime";
3220

3321
const __filename = fileURLToPath(import.meta.url);
3422
const __dirname = path.dirname(__filename);
35-
const workspaceDir = path.resolve(__dirname, "../../examples/drone-reachability");
23+
const workspaceDir = path.resolve(__dirname, "../../../packages/examples/drone-reachability");
3624

3725
describe("Native Polyglot Drone Reachability Workspace (Zero-Glue Engine)", () => {
3826
it("Phase 1: Workspace model files should exist and be valid", () => {
Lines changed: 89 additions & 0 deletions

0 commit comments

Comments
 (0)