Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

#239 Incrased attribute-spatial-compound-filter iterations#240

Merged
jathavaan merged 1 commit intomainkartAI/doppa:mainfrom
bugfix/239-increase-attribute-spatial-compound-filter-postgis-iterationskartAI/doppa:bugfix/239-increase-attribute-spatial-compound-filter-postgis-iterationsCopy head branch name to clipboard
Apr 23, 2026
Merged

#239 Incrased attribute-spatial-compound-filter iterations#240
jathavaan merged 1 commit intomainkartAI/doppa:mainfrom
bugfix/239-increase-attribute-spatial-compound-filter-postgis-iterationskartAI/doppa:bugfix/239-increase-attribute-spatial-compound-filter-postgis-iterationsCopy head branch name to clipboard

Conversation

@jathavaan
Copy link
Copy Markdown
Collaborator

This pull request makes a small adjustment to the BenchmarkIteration enum in benchmark_iteration.py. The value of ATTRIBUTE_SPATIAL_COMPOUND_FILTER has been changed from 100 to 1000 to better reflect its intended usage or ordering.

  • Increased the value of ATTRIBUTE_SPATIAL_COMPOUND_FILTER in the BenchmarkIteration enum from 100 to 1000 (src/domain/enums/benchmark_iteration.py).

Signed-off-by: Jathavaan Shankarr <jathavaan12@gmail.com>
@jathavaan jathavaan self-assigned this Apr 23, 2026
Copilot AI review requested due to automatic review settings April 23, 2026 16:08
@jathavaan jathavaan linked an issue Apr 23, 2026 that may be closed by this pull request
@jathavaan jathavaan merged commit 9c222c2 into main Apr 23, 2026
3 checks passed
@jathavaan jathavaan deleted the bugfix/239-increase-attribute-spatial-compound-filter-postgis-iterations branch April 23, 2026 16:08
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts the configured iteration count for the attribute+spatial compound filter benchmark to run more timed iterations, aligning it with other higher-iteration benchmarks in the suite.

Changes:

  • Increased BenchmarkIteration.ATTRIBUTE_SPATIAL_COMPOUND_FILTER from 100 to 1000.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

BBOX_FILTERING_RESULT_SET_SIZES = 900
SPATIAL_AGGREGATION_GRID = 100
ATTRIBUTE_SPATIAL_COMPOUND_FILTER = 100
ATTRIBUTE_SPATIAL_COMPOUND_FILTER = 1000
Copy link

Copilot AI Apr 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing ATTRIBUTE_SPATIAL_COMPOUND_FILTER to 1000 makes it a duplicate of existing enum values (DB_SCAN = 1_000 and BBOX_FILTERING_SIMPLE = 1000). In Python Enum, duplicate values become aliases, so BenchmarkIteration.ATTRIBUTE_SPATIAL_COMPOUND_FILTER will be the same member as BenchmarkIteration.DB_SCAN (and .name will resolve to DB_SCAN), which can break any code that relies on distinct members or iterates over the enum. Consider keeping enum values unique and storing the iteration-count separately (e.g., a property / mapping), or use a compound value (id + iterations) so each member remains distinct while still using 1000 iterations.

Copilot uses AI. Check for mistakes.
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.

Increase attribute-spatial-compound-filter-postgis iterations

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.