A few potential reproducibility issues [LUCENE-5896]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
I realized that passing the same seeded random instance to LuceneTestCase# newIndewWriterConfig doesn't necessarily produce the same IWC and I found a bunch of issues in that class using global random rather than local random. Yet, I went over the file to spot others but we might need to think about a more automated way to spot those...
---
Migrated from [LUCENE-5896](https://issues.apache.org/jira/browse/LUCENE-5896) by Simon Willnauer (@s1monw), updated May 09 2016
Attachments: [LUCENE-5896.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-5896/LUCENE-5896.patch)
Contributor guide
Research direction
Start by reading LuceneTestCase#newIndewWriterConfig and the attached LUCENE-5896.patch. Compare how the supplied seeded random instance and global random are used, then review the issue discussion for the identified cases; done means equivalent seeded inputs produce the same IWC without unintended global-random dependencies.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100