Skip to content

Fix comparison alignment score for long shelves - #306

Merged
ALeonard9 merged 1 commit into
mainfrom
codex/comparison-alignment-score
Aug 5, 2026
Merged

Fix comparison alignment score for long shelves#306
ALeonard9 merged 1 commit into
mainfrom
codex/comparison-alignment-score

Conversation

@ALeonard9

Copy link
Copy Markdown
Owner

Summary

  • keep comparison gaps as direct absolute rank differences
  • scale the average gap against the longer shelf rank span
  • explain the calculation in the API response

Verification

  • 7 focused comparison tests passed
  • Black passed
  • Pylint passed (10/10)
  • pre-commit and changed-file pre-push hooks passed

Closes ALeonard9/druthers-web#126

@ALeonard9
ALeonard9 merged commit 9a99a74 into main Aug 5, 2026
9 checks passed
@ALeonard9
ALeonard9 deleted the codex/comparison-alignment-score branch August 5, 2026 19:31
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.

Add a two-user comparison page

1 participant