Repository navigation
Cover relevance search and Rails indexing; fix relevance scores - #156
Merged
Merged
Conversation
Danger ReportNo issues found. |
dblock
force-pushed
the
dblock/coverage
branch
6 times, most recently
from
October 18, 2026 14:03
3561df3 to
081096d
Compare
Restore real map-reduce regressions and fix their scalar score reduction and descending ranking. Cover configuration, console output, and Rails rake registration/execution with real persisted documents. Library line coverage rises from87.67% to99.35% without exclusions; Rails integration uses an explicit development dependency. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
dblock
force-pushed
the
dblock/coverage
branch
from
October 18, 2026 14:06
081096d to
f6c7a2f
Compare
This was referenced Oct 18, 2026
Closed
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.
Baseline87.67% default-branch coverage. Enable the three previously skipped relevance tests against real MongoDB; fix the uncovered bugs they expose: reduction returned arrays instead of numeric counts and sorting put least relevant results first. Restore numeric relevance2,1 and persisted result IDs. Map-reduce remains deprecated upstream; no aggregation rewrite here.
Test configuration, ANSI/silent output, and the actual Railtie registration/index rake task, including indexing persisted documents. Add railties as a development-only dependency with a compatible range so each existing Mongoid matrix entry resolves a supported Rails release. Eager loading is mocked only at the host-application boundary.
65 passing examples, clean lint,100% CI line coverage(154/154) with no source exclusions or narrowed files.
Accepted CI coverage: 100.00% (154/154 relevant lines), Coveralls build 82425285.
Prepared by an AI on behalf of @dblock.