Skip to content

test: run the shared fewer-than-5 profile check - #163

Merged
Upd4ting merged 2 commits into
mainfrom
test/wec9b4589-7-shared-profile-test
Nov 20, 2026
Merged

Upd4ting merged 2 commits into
mainfrom
test/wec9b4589-7-shared-profile-test

Conversation

@Upd4ting

Copy link
Copy Markdown
Member

Summary

Wec9b4589-7 (ANT-3517 adoption). mongodb pins @antelopejs/interface-database-catalog@0.1.1-next.44.gee21aa3 and runs the shared AssertNoRareValue check (interface-database-catalog#43) against its own profile output and the replies its client received, in place of the local to.not.include("four"/"solo") checks in the two tallies profile tests.

tsconfig.json moves to "module": "node16" so the /testing subpath export resolves; the three dynamic imports in src/index.ts gain their .js extension for it.

Proof

Fixture count of five set wrongly to 4 (the shared check must fail):

  3 passing, 2 failing
  1) names a value seen 5 times and folds those seen fewer times in the database:
     Error: The profile of antelopejs_external.tallies names rare values:
     label categories names five (label, counted 4 times)
     result set 0 names five (label, counted 4 times)

Real counts: 5 passing.

flowchart LR
  T[categories test] -->|Profile| D[module]
  D -->|aggregate| DB[(tallies)]
  DB -->|replies| R[Received tap]
  D -->|RelationProfile| A[AssertNoRareValue]
  R --> A
  F[TALLIES counts] --> A
Loading

Follow-ups

  • none

@Upd4ting
Upd4ting marked this pull request as ready for review November 20, 2026 21:59
@Upd4ting
Upd4ting enabled auto-merge November 20, 2026 21:59
@Upd4ting
Upd4ting added this pull request to the merge queue Nov 20, 2026
Merged via the queue into main with commit 82dd646 Nov 20, 2026
7 checks passed
@Upd4ting
Upd4ting deleted the test/wec9b4589-7-shared-profile-test branch November 20, 2026 22:05
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.

1 participant