Repository navigation
Description
IshoBoy checked every 3.6.0-3.6.2 Added entry against its own code (Ambiguous-Interactive/IshoBoy#912). Where IshoBoy kept its own version, the reasons below are gaps here. Four other asks are already #1112, and the registry ask is #1110. Each item below is checked against 3.7.1.
1. Analyzer rules that miss shapes the consumer's lints refuse
IshoBoy keeps Python lints beside the WUH rules. For each pair below, the lint refuses a shape that docs/performance/analyzers.md says the rule does not report. Each ask is "also report this", as an option where the current scope is a deliberate choice.
| rule | also report |
|---|---|
| WUH009 | a base teardown call inside an if or try, when statements run after it |
| WUH008 | a discarded TryXxx whose named out is never read (prefer out _). The docs call _ = set.TryAdd(x, out Thing unused) legitimate, so this one is an opt-in stricter mode |
| WUH017 | a same-object GetComponent<T>() whose result is stored or used, not only one compared with null |
| WUH018 | string.Equals, string.Compare, StartsWith, EndsWith, IndexOf, LastIndexOf, ToLower() and ToUpper() with no StringComparison or culture (a sibling rule is fine, since WUH018 is about ==) |
| WUH013 | a loop whose cached bound has other statements between the cache and the loop |
| WUH019 | a Count read through an interface, or a bound the body changes; suggest while or a backwards walk |
| WUH012 | one hop: a method that is handed a serialized field and walks it |
| WUH014 | a disposable struct that is not declared readonly, and assignments inside DisposeAsync() |
| WUH002 | [SerializeField] on a multi-dimensional array, a dictionary or set, a delegate, or Nullable<T> |
2. DisposableScope.Dispose swallows a cleanup's exception
Runtime/Utils/DisposableScope.cs:62-69 has an empty catch (Exception). The comment gives the reason: a cleanup failure must not replace an exception already in flight. But when no exception is in flight, the failure is lost with no log. IshoBoy keeps its own scope because each of its cleanups releases by id or must see that failure.
Ask: log the swallowed exception (Debug.LogException), or take an optional Action<Exception> to report it.
3. WallMath.Median always sorts a pooled copy
Runtime/Core/Helper/WallMath.cs:771 and :797 sort a pooled copy. IshoBoy takes a median of byte channel values with a 256-bin count, with no sort and no copy.
Ask: an O(n) median for a small integer domain (a counting median for byte), or a selection median in place of a full sort. #1157 is related but is about sorts.
4. Slugify rewrites an id, but nothing validates one
StringExtensions.Slugify (Runtime/Core/Extension/StringExtensions.cs:424) turns any string into a slug. A validator must refuse a bad id and say why, not rewrite it. IshoBoy checks its capture shot ids with its own rule for that reason.
Ask: IsSlug(string), or TryValidateSlug(string, out string reason), that accepts exactly what Slugify produces.
5. The member-ordering check is not shipped
The CHANGELOG says the package enforces one member ordering, and docs/project/contributing.md runs it as npm run lint:nested-type-placement. It is a repository script, so a consumer cannot run it. IshoBoy keeps its own lint for that reason.
Ask: ship it as an analyzer, or as an editor tool a consumer can run in batch mode.
DISCLOSURE: LLM-GENERATED TEXT
Activity
wallstop commentedon Nov 14, 2026
DISCLOSURE: LLM-GENERATED TEXT
PR #1202 implements three requested utilities:
Independent sorted-copy oracles cover byte medians, and positively controlled native profiler checks pass for all three overloads. The final native runtime selection passes 1453 cases with 40 unavailable thread-counter observations skipped. The other wishlist items remain open.
Validate nested authored asset values (#1202)
wallstop commentedon Nov 14, 2026
DISCLOSURE: LLM-GENERATED TEXT
PR #1205 ships the opt-in WUH029 declaration-order policy and WUH030 string comparison/culture policy. WUH030 covers the eight requested System.String method families, accepts explicit comparison or culture, and excludes char searches and unrelated methods. It is disabled by default. WUH009 now handles nested teardown calls, rethrow cleanup and continuations after finally; WUH014 covers DisposeAsync assignments. The Release analyzer suite passes all 1,314 cases, including every policy-window example. Shipped compiler DLLs were rebuilt and verified against the supported Roslyn floor.
Policy scope and examples. The remaining analyzer wishlist keeps this umbrella open. Current-head CI is pending.
wallstop commentedon Nov 15, 2026
DISCLOSURE: LLM-GENERATED TEXT
Further progress in PR #1205, head c2ba347: all 28 analyzers reuse diagnostic catalogs; semantic/name and directive traversal are narrowed with alias coverage. The excluded-source audit removes Cartesian membership queries; WProto uses cached depth buckets only for deep hierarchies after a caller regression rejected unconditional replacement. Odin traversal and attribute work are reduced. The enum experiment was rejected and its original DLL retained.
Qualification and 2,274 observations include stable diagnostic/generated-text digests, small timing tradeoffs and rejected variants. Full functional suites, the clean compiler aggregate and 82 native policy/profile cases pass. This is partial compiler/tooling progress; the broader issue remains open.
wallstop commentedon Nov 15, 2026
DISCLOSURE: LLM-GENERATED TEXT
Qualification correction to the earlier PR #1205 compiler report: the original Odin int-key workload did not exercise supported dictionary fields. Its observations are retained as under-covered, and the qualification is withdrawn. The corrected enum-key workload checks every owner/field/edit/accessor and every measured output digest; warm ratios are 0.565 / 0.527 / 0.725 for 16/64/256 owners.
The final analyzer rerun, including teardown-flow fixes, preserves all 250 diagnostic identities across 865 frozen sources; median 12.599 → 10.327 seconds. Earlier captures, host variation, rejected candidates and first-execution regressions remain visible in all 3,714 observations. Final qualification and reproducible sources. Full analyzer tests pass 1,366, both protobuf host oracles pass, all four payloads are freshly byte-verified, and current-head CI/review is running. This remains partial progress; #1200 stays open.
wallstop commentedon Nov 15, 2026
DISCLOSURE: LLM-GENERATED TEXT
Remaining WUH009 scope from review 5908390474 on PR #1205: the CFG pass follows explicit throw/rethrow edges and normal continuations. It does not infer exceptions raised inside invoked methods or getters. The review's invocation-origin example requires broader operation/called-method exception analysis, including filter search and unwind ordering; that work remains under this open issue. The guide now states the limit.
The actionable nullable-local finding is fixed: declared subtype and null alternatives are preserved and consumed independently. All 74 teardown controls pass on Roslyn 5.9 and 3.8.0.0; full modern suite passes 1,383. The 3,714 timing observations remain tied to snapshot 3b733e5, with separate current-payload output/allocation qualification. #1200 remains open rather than claiming complete exception analysis.
wallstop commentedon Nov 19, 2026
Isho Boy takes 3.7.2 in Ambiguous-Interactive/IshoBoy#1786. It checked the two items here that it would adopt. Both still need a change.
1. WUH029 cannot take the owner's member order. WUH029 puts nested types after ordinary members and gives static methods their own tier (
docs/performance/analyzers.md:1353-1358). Isho Boy's order is the owner's, and its own lint enforces it (scripts/lint_csharp_member_ordering.py):So WUH029 reports types that follow Isho Boy's order, for example a nested type before fields. Isho Boy cannot turn the rule on, and keeps its lint. Ask: let a consumer set the tier order, for example with an
.editorconfigkey.2. The histogram byte median is private.
ByteMedianFromCountsisprivate(Runtime/Core/Helper/WallMath.ByteMedian.cs:91-111). The publicTryMedianoverloads take the values and build their own histogram (:15,:23,:42). They return the mean of the two middle values asdouble(:106).Isho Boy fills three 256-bin histograms in one pass over a contour. It then takes the upper middle byte of each (
Assets/Scripts/Data/Util/GlowableArtContours.cs:523-541). For the values{10, 20}, 3.7.2 gives15.0and Isho Boy gives20. The stored contour colors depend on that choice.Ask: a public median from a histogram that the caller filled. It returns a
byteand takes the rank: lower middle, upper middle or mean.DISCLOSURE: LLM-GENERATED TEXT