feat(sweep): sweep_worker 加 -Analytic 开关——解析级 RT 子集扫描(--analytic-only --roundtrip)
Build & Test / build-and-test (push) Canceled after 0s
VDE Build & Test / build-and-test (push) Canceled after 0s
Build & Test / python-bindings (push) Canceled after 0s

This commit is contained in:
hm
2026-09-15 17:48:56 +08:00
parent 0fe666cc69
commit 5d022de712
+8 -1
View File
@@ -7,7 +7,8 @@ param(
[Parameter(Mandatory=$true)][string]$OutDir,
[Parameter(Mandatory=$true)][string]$ListFile,
[switch]$Heal,
[switch]$Roundtrip
[switch]$Roundtrip,
[switch]$Analytic
)
$ErrorActionPreference = "Continue"
New-Item -ItemType Directory -Force -Path $OutDir | Out-Null
@@ -26,6 +27,12 @@ if ($Roundtrip) {
$mode = "--diag-only --roundtrip"
if ($Heal) { $mode += " --heal" }
}
if ($Analytic) {
# Analytic geometry tier: integral volume/area conservation, no meshing
# (SSI-heavy; 28-file subset only, see rt_analytic_subset.txt).
$mode = "--analytic-only --roundtrip"
if ($Heal) { $mode += " --heal" }
}
$nBatches = [Math]::Floor(($files.Count + $batchSize - 1) / $batchSize)
for ($b = 0; $b -lt $nBatches; $b++) {
$lo = $b * $batchSize