GitNexus/gitnexus/test
Mick Cooney b2b2c09b46 test(r): replace wall-clock query-cost limits with a shared scaling guard
The two argument-selection cost groups (r-scope-naming-argument,
r-definition-anchors) were copy-pasted with an absolute 2500 ms limit and
never asserted what the query kept, so an empty parse passed.

- Move the shapes and a size-ratio check (N vs 4N, fastest of three runs,
  floored small run) into test/helpers/r-argument-scaling.ts; linear work is
  ~4x, a quadratic query ~16x, independent of machine speed.
- Assert the exact match count and naming capture at both sizes.
- r-definition-anchors now parses through parseSourceSafe (the 100 K+ char
  inputs hit the Windows native-binding limit documented in safe-parse.ts).
- r-scope-naming-argument: classNames no longer filters on /^[A-Z]/; it selects
  by @declaration.class and gains lowercase positive and negative cases.
2026-10-12 10:16:47 +01:00
..
fixtures test(r): pin the non-indexed R file types and the experimental classification 2026-10-12 10:16:47 +01:00
helpers test(r): replace wall-clock query-cost limits with a shared scaling guard 2026-10-12 10:16:47 +01:00
integration test(r): assert exact IMPORTS and HAS_METHOD sets in the r-packages fixture 2026-10-12 10:16:47 +01:00
unit test(r): replace wall-clock query-cost limits with a shared scaling guard 2026-10-12 10:16:47 +01:00
utils feat(storage): add configurable index storage and content retention tiers (#3060) 2026-09-12 20:31:55 +00:00