Repository navigation
test(render): render DataFilterExtension cases under GlobeView - #10662
Open
chrisgervang wants to merge 6 commits into
Open
chrisgervang wants to merge 6 commits into
chrisgervang wants to merge 6 commits into
Conversation
Base automatically changed from
claude/globe-flat-common-helpers-GveWO
to
master
September 25, 2026 17:34
chrisgervang
force-pushed
the
claude/test-data-filter-views-GveWO
branch
from
September 25, 2026 17:37
d68cf40 to
a6a4c86
Compare
chrisgervang
force-pushed
the
claude/test-data-filter-views-GveWO
branch
from
October 3, 2026 22:10
a6a4c86 to
7025669
Compare
DataFilterExtension filters on attribute values, not positions, so it is
projection independent and works in GlobeView unchanged. This adds render
coverage for that: the `filter-1d` (range) and `single-category` (category)
variants of data-filter-extension.spec.ts are expanded with
`expandViewMatrix(['map', 'globe'])` from test/render/view-presets.ts, passing
the spec's own viewState ({lat 37, lng -122, zoom 10.2}) so the existing map
goldens are reused byte-for-byte. The other five variants stay map-only to
limit the golden budget.
Two new goldens, data-filter-effect-filter-1d-globe.png and
data-filter-effect-single-category-globe.png, show the same filtered subsets
as their map twins (columns 3-8 / index % 128 in {0,3,4,5,127}); the only
difference is the sub-pixel drift of the tessellated sphere at zoom 10.2,
hence the globe-only imageDiffOptions threshold of 0.985. No source changes.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FyzWaF5TmQPmGjh3Zr3XL9
chrisgervang
force-pushed
the
claude/test-data-filter-views-GveWO
branch
from
October 23, 2026 00:36
7025669 to
fe846ec
Compare
chrisgervang
marked this pull request as ready for review
November 3, 2026 17:14
[Low impact] The PR appears safe to merge; no new blocking issue was found. SummaryAdds globe render coverage for two
No new findings. Source review only; tests were not run. Reviews (5) · Last reviewed commit: "Merge remote-tracking branch 'origin/mas..." · Reviewed by Greptile |
…diff Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01FyzWaF5TmQPmGjh3Zr3XL9
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01FyzWaF5TmQPmGjh3Zr3XL9
…lter-views-GveWO # Conflicts: # test/render/test-cases/data-filter-extension.spec.ts
ibgreen
reviewed
Nov 5, 2026
ibgreen
left a comment
Collaborator
There was a problem hiding this comment.
Please rebase over the merged countItems change and retain the exact count assertions for the new globe cases. The projection matrix should extend the current render coverage without replacing its callback checks.
…lter-views-GveWO # Conflicts: # test/render/test-cases/data-filter-extension.spec.ts
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow up of #10657
DataFilterExtensionfilters on attribute values, so it is projection independent, but no extension render test runs underGlobeView. Tests only.GlobeViewdata-filter-effect-filter-1d-globe:filterRange: [3, 8]keeps columns 3 to 8 of a 32 x 20 point grid as large dots, zoom 10.2data-filter-effect-single-category-globe:filterCategories: [3, 4, 5, 127, 0]onindex % 128No before images: both cases pass on master with this PR's spec, so the images show current behavior and the PR only adds the coverage.
Change List
data-filter-extension.spec.ts:filter-1dandsingle-categoryalso render underGlobeViewviaexpandViewMatrix, each variant keeping its owncountItemsassertion from feat(extensions): support countItems on WebGPU DataFilter #11035; globe variants skip WebGPU until validated there; existing map goldens reused unchangeddata-filter-effect-filter-1d-globe.pnganddata-filter-effect-single-category-globe.png: same filtered subsets as their map twinsRan the render spec headless on WebGL and lint.
Note
Low Risk
Test-only changes adding render test coverage for
GlobeViewwith no production code modifications.Overview
Expands
DataFilterExtensionrender tests to run underGlobeViewin addition toMapViewfor thefilter-1dandsingle-categorytest cases viaexpandViewMatrix. Each view preset runs with its own count closure to assert filtered item counts independently, with the globe tests configured for WebGL and strict image diff thresholds.Reviewed by Cursor Bugbot for commit 1601e6b. Bugbot is set up for automated code reviews on this repo. Configure here.
Generated by Claude Code