Skip to content

Improve artifact classification and separate VM and installer storage - #56

Closed
huntharo wants to merge 14 commits into
mainfrom
fix/artifact-classification-evidence
Closed

huntharo wants to merge 14 commits into
mainfrom
fix/artifact-classification-evidence

Conversation

@huntharo

@huntharo huntharo commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

Scala/sbt output was mislabeled Rust in mixed monorepos. This PR requires tool-specific evidence, expands disposable-cache coverage, and separates VM storage from installers.

Area Before After
Rust / JVM target could imply Rust Cargo output requires specific subtrees; Scala/sbt, Java/Maven and Gradle share Gradle / JVM
Other languages Broad names and whole tool homes could include configuration or executables Narrow cache/output layouts across Python, Go, .NET, Ruby, PHP, Dart, Swift, Elixir, Haskell and Zig
Saved scans Stale classifications remained visible Revalidate roots; show incomplete totals and offer a full scan
VM storage Mixed with generic files/cleanup candidates Dedicated VM filter; exclude VM contents from Easy Mode; explain snapshot/shared-space limits
Installers ISO handling differed between views Standalone ISO/DMG under Installers; VM-owned media stays with VMs
Overview Filtered extension totals appeared complete Category totals explicitly labeled as sampled; All retains scan-wide totals

Same-machine attribution — replay of 9.27 million files; GiB of recorded allocation, not guaranteed reclaimable space.

Category Original Expanded rules
Unclassified 470.787 451.711
Rust output 8.044 5.812
Gradle / JVM 2.981 5.912
Package caches 6.916 17.195
Compiler caches 0.046 5.601
Python 3.278 5.033
.NET 0.000 3.684

Full reconciliation and intentional exclusions. Later language coverage adds another 16.754 MiB of Bundler downloads. Source, Git history, configuration and ambiguous custom layouts remain excluded from disposable-cache attribution.

Screenshots — actual app, synthetic test files (4 KiB each).

Virtual machines, including VM-owned ISO Standalone ISO / DMG installers
Virtual machines Installers
Validation Result
TypeScript suite + typecheck 775 passed, 3 platform skips; typecheck passed
Classifier regression coverage 350 shared cases × 10 path variants; 2,000 seeded adversarial paths per implementation
Native classifier tests 16 passed
Electron Six targeted tests passed; category + bulk-action tests passed again after toast fix
Scaling N / 8N operation-count checks with absolute caps

Accepted layouts and limitations · VM / installer behavior

@huntharo
huntharo force-pushed the fix/artifact-classification-evidence branch from aeb73b3 to e2e2ebd Compare September 27, 2026 16:44
@huntharo huntharo changed the title Fix Scala/sbt outputs misclassified as Rust Require stronger evidence for developer artifact classification Sep 27, 2026
@huntharo
huntharo added this pull request to stack #60 September 27, 2026 17:50
@huntharo huntharo changed the title Require stronger evidence for developer artifact classification Improve artifact classification and separate VM and installer storage Sep 27, 2026
huntharo pushed a commit that referenced this pull request Sep 28, 2026
…meout

Reduce scheduled USN rescan test setup work
@huntharo
huntharo force-pushed the fix/artifact-classification-evidence branch from f2887a6 to 82eee4a Compare September 28, 2026 23:15
@huntharo
huntharo force-pushed the fix/artifact-classification-evidence branch from 5097c19 to 749a726 Compare October 16, 2026 12:45
huntharo and others added 2 commits October 16, 2026 09:01
Tart, VirtualBox, Minikube and Docker VM directories count as VMs themselves, so a folder named like a cache is not offered as one. Sampled extension buckets are ordered by total size.
@huntharo huntharo closed this Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants