예전 프로그램 이름 표기 정리: 실행 파일 이름을 start-spipe.bat, stop-spipe.bat로 변경

- README, 예제 설명, 코드 주석, CSS 머리말, 시험 임시 폴더 접두어의 예전 이름 정리
- 브라우저 저장 키·세션 DB 이름은 저장된 설정 보존을 위해 유지
This commit is contained in:
bjkim1 committed 2026-10-30 11:07:14 +09:00
1 parent eb153f61e1
commit 14f07181db
13 files changed
+28 -22

No files matched your search

+8 -8
View File
@@ -832,7 +832,7 @@ Full Synthesis Engine Test
assert.ok(regen.trim().endsWith('[END]'), 'Must terminate with [END]');
assert.ok(regen.includes('[PIPES]'), 'Must include [PIPES]');
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'gispipe_test_'));
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'spipe_test_'));
const inpPath = path.join(tmpDir, 'test_regen.inp');
const rptPath = path.join(tmpDir, 'test_regen.rpt');
const outPath = path.join(tmpDir, 'test_regen.out');
@@ -1197,7 +1197,7 @@ test('21. OFFICIAL EXAMPLE NETWORKS (Net1/Net2/Net3): parse -> generateInp -> re
{ name: 'Net3', path: 'public/Net3.inp', expectedNodes: 97, expectedLinks: 119 },
];
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'gispipe_examples_'));
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'spipe_examples_'));
try {
for (const net of networks) {
const raw = fs.readFileSync(net.path, 'utf-8');
@@ -1477,7 +1477,7 @@ test('23. GIS IMPORT & MULTILINESTRING: GeoJSON conversion with material roughne
assert.ok(regen.includes('[PIPES]'), 'Regenerated INP must contain [PIPES]');
assert.ok(regen.trim().endsWith('[END]'), 'Regenerated INP must terminate with [END]');
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'gispipe_geojson_'));
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'spipe_geojson_'));
try {
const inpPath = path.join(tmpDir, 'gis_imported.inp');
const rptPath = path.join(tmpDir, 'gis_imported.rpt');
@@ -1529,7 +1529,7 @@ test('24. WATER QUALITY SIMULATION: execute Chlorine, Fluoride and Source Trace
{ name: 'Net3', path: 'public/Net3.inp', expectedType: 3, expectedChem: 'TRACE', expectedUnits: '% from' },
];
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'gispipe_qual_'));
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'spipe_qual_'));
try {
for (const net of networks) {
const pythonExe = path.resolve('.venv/Scripts/python.exe');
@@ -1619,7 +1619,7 @@ print('EPANET_QUALITY_OK')
test('25. PUMP ENERGY & POWER ANALYSIS: compute kWh, peak kW, and efficiency in EPANET 2.3.5 C DLL', () => {
// Verifies real-time power (kW), total energy (kWh), and efficiency (%) calculations
// on pumps in Net1 (single pump) using actual variable time-step intervals.
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'gispipe_energy_'));
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'spipe_energy_'));
try {
const pythonExe = path.resolve('.venv/Scripts/python.exe');
const pyFile = path.join(tmpDir, 'energy_runner.py');
@@ -1720,7 +1720,7 @@ print('EPANET_ENERGY_OK')
});
test('26. BACKEND RUN_EPANET INTEGRATION: Net1 & Net3 pump energy integration, simultaneous peak, and returned series match', () => {
const pythonExe = path.resolve('.venv/Scripts/python.exe');
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'gispipe_be_energy_'));
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'spipe_be_energy_'));
try {
const pyFile = path.join(tmpDir, 'test_be_energy.py');
fs.writeFileSync(
@@ -1768,7 +1768,7 @@ print(json.dumps({
test('27. WATER QUALITY ERROR HANDLING: failed EN_runQ must flag status="failed" and not mask failure with zeros', () => {
const pythonExe = path.resolve('.venv/Scripts/python.exe');
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'gispipe_be_qual_'));
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'spipe_be_qual_'));
try {
const pyFile = path.join(tmpDir, 'test_be_qual.py');
fs.writeFileSync(
@@ -2009,7 +2009,7 @@ Table Edit Regeneration Test
assert.ok(regen.includes('37.112233'), 'Regenerated INP must contain edited Y coordinate');
// Test solving in C DLL
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'gispipe_table_edit_'));
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'spipe_table_edit_'));
try {
const inpPath = path.join(tmpDir, 'table_edited.inp');
const rptPath = path.join(tmpDir, 'table_edited.rpt');