Add analyze map connected components and suggested probes#790
Merged
yuechen-li-dev merged 1 commit intoJun 23, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
aetheris analyze map --views six --llm --jsonproduce machine-readable, conservative topology hints so LLMs do not have to manually parse ASCII compact grids to find holes/plateaus/curved regions.Description
SixViewMapComponents,MapComponent,CellBoundingBox,SuggestedMapProbe) toStepAnalysisModels.csand extendedSixViewMapResult/SixViewMapViewto carry per-view components and per-view/top-level suggested probes.StepAnalyzer.cs(FindComponents+BuildSixViewComponents) that groups: no-hit components, height/depth band components (rounded scalar bands), surface-family components, and tessellated-fallback components, computing bbox/cell counts/centroids/backend dominance and confidence hints.BuildSuggestedProbesto emit centroid-based probe suggestions (per-view and a bounded global list) with ready-to-copy CLI commands; applied output limits and truncation reporting (max 10 components/category/view, max 10 probes/view, max 30 global probes withtruncated/omittedCount).Testing
dotnet restore Aetheris.slnxanddotnet build Aetheris.slnx -f net10.0 --no-restore /m:1and the build succeeded without errors.dotnet test Aetheris.CLI.Tests/Aetheris.CLI.Tests.csproj -f net10.0 --filter "AnalyzeMap|SixView|Components|Probes|Torus|Cylinder|Fallback|Ruled"which passed (13 tests).aetheris analyze map testdata/step242/nist/FTC/nist_ftc_09_asme1_ap242-e1.stp --views six --resolution 16x16 --llm --jsonproduced asix-view-summarywith 6 views, 26 global suggested probes and 59 total reported components;aetheris analyze map testdata/step242/generated/ruled-a2/ellipse-linear-extrusion-production.step --views six --resolution 8x8 --llm --jsonproduced a six-view summary with components and probes (6 global probes, 6 total components).dotnet run --project Aetheris.CLI -- --help;git diff --checkand repository status were clean after commit.Codex Task