apache / apache/solr-orbit-workloads

nyc_taxis: widen random date range beyond January 1–15

Open Beginner friendly
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2
Forks
4
Avg merge
3h 43m
Merged PRs (30d)
3

Description

`random_dates()` in `nyc_taxis/workload.py` generates pickup/dropoff ranges only within January 1–15, 2015. The full dataset covers the entire year, so queries consistently hit the same narrow index segment, skewing latency results.

## Fix
Extend the range to cover all of 2015, matching the actual corpus distribution.

**File:** `nyc_taxis/workload.py`

Contributor guide

Open the contributing guide

Research direction

Open nyc_taxis/workload.py and inspect random_dates() first. Verify how its generated pickup/dropoff ranges are bounded, then confirm the completed behavior samples across the full 2015 dataset rather than only January 1–15.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
performance, search
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
88/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.