Skip to content

test: the last-measured-counts test seeds its own model instead of asserting the committed counts - #73

Merged
thebenignhacker merged 1 commit into
mainfrom
integrate/2026-10-31-c
Oct 31, 2026
Merged

thebenignhacker merged 1 commit into
mainfrom
integrate/2026-10-31-c

Conversation

@thebenignhacker

Copy link
Copy Markdown
Contributor

This pull request lands 1 commit in test/.

Included

  • test: the last-measured-counts test seeds its own model instead of asserting the committed counts

Verified on this exact tree

  • npm ci --no-audit --no-fund (Node 24.22.1): added 205 packages, exit 0
  • npm run build: exit 0, Compiled successfully, Generating static pages (3/3)
  • typecheck: no typecheck script and no tsconfig.json; git ls-files | grep -cE '\.tsx?$' printed 0
  • lint: no lint script in package.json
  • changelog check: no changelog script and no CHANGELOG.md
  • node --test --test-concurrency=4 test/*.test.js: tests 258, pass 258, fail 0, cancelled 0, skipped 0, todo 0; git ls-files 'test/*.test.js' | wc -l printed 18

Not included

None

Closes

None

How to merge

Rebase and merge, so that each change stays its own commit on main.

…serting the committed counts

The test required the committed database's top Hugging Face model to have non-zero newest counts, so it fails on main now that this model's newest snapshot holds a measured 30-day count of 0, which is a valid data value and not a code defect. The test now inserts its own model with two measured snapshots of fixed non-zero counts and runs every later assertion against that model, so the committed rows' values no longer decide the result.
@vercel

vercel Bot commented Oct 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
github-analytics-tracker Ready Ready Preview Oct 31, 2026 5:14pm UTC

Request Review

@thebenignhacker
thebenignhacker merged commit 937d472 into main Oct 31, 2026
3 checks passed
@thebenignhacker
thebenignhacker deleted the integrate/2026-10-31-c branch October 31, 2026 17:16

This branch was successfully deployed

1 active deployment
Preview — 7450e135 Deployed Oct 31, 2026 by vercel[bot]
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