Merged
Conversation
Owner
|
Hi, Diego and thanks for your contribution. I guess we need to exclude some part of the codebase (the docs, mostly) from automatic fixes. I need you to revert several changes:
|
AmenRa
reviewed
Jun 25, 2025
docs/fusion.md
Outdated
| Jo{\~{a}}o Magalh{\~{a}}es}, | ||
| title = {Multimodal medical information retrieval with unsupervised rank fusion}, | ||
| journal = {Comput. Medical Imaging Graph.}, | ||
| journal = {Computerized Medical Imaging and Graphics}, |
AmenRa
reviewed
Jun 25, 2025
docs/fusion.md
Outdated
| Jo{\~{a}}o Magalh{\~{a}}es}, | ||
| title = {Multimodal medical information retrieval with unsupervised rank fusion}, | ||
| journal = {Comput. Medical Imaging Graph.}, | ||
| journal = {Computerized Medical Imaging and Graphics}, |
AmenRa
reviewed
Jun 25, 2025
docs/fusion.md
Outdated
| Jo{\~{a}}o Magalh{\~{a}}es}, | ||
| title = {Multimodal medical information retrieval with unsupervised rank fusion}, | ||
| journal = {Comput. Medical Imaging Graph.}, | ||
| journal = {Computerized Medical Imaging and Graphics}, |
AmenRa
reviewed
Jun 25, 2025
| "\n", | ||
| "with open(\"notebooks/data/small_qrels.json\", \"w\") as f:\n", | ||
| " master = f\"https://raw.githubusercontent.com/AmenRa/ranx/master/notebooks/data/small_qrels.json\"\n", | ||
| " master = \"https://raw.githubusercontent.com/AmenRa/ranx/master/notebooks/data/small_qrels.json\"\n", |
AmenRa
reviewed
Jun 25, 2025
| "\n", | ||
| "with open(\"notebooks/data/small_qrels.trec\", \"w\") as f:\n", | ||
| " master = f\"https://raw.githubusercontent.com/AmenRa/ranx/master/notebooks/data/small_qrels.trec\"\n", | ||
| " master = \"https://raw.githubusercontent.com/AmenRa/ranx/master/notebooks/data/small_qrels.trec\"\n", |
AmenRa
reviewed
Jun 25, 2025
| Jo{\~{a}}o Magalh{\~{a}}es}, | ||
| title = {Multimodal medical information retrieval with unsupervised rank fusion}, | ||
| journal = {Comput. Medical Imaging Graph.}, | ||
| journal = {Computerized Medical Imaging and Graphics}, |
AmenRa
reviewed
Jun 25, 2025
| Jo{\~{a}}o Magalh{\~{a}}es}, | ||
| title = {Multimodal medical information retrieval with unsupervised rank fusion}, | ||
| journal = {Comput. Medical Imaging Graph.}, | ||
| journal = {Computerized Medical Imaging and Graphics}, |
AmenRa
reviewed
Jun 25, 2025
| Jo{\~{a}}o Magalh{\~{a}}es}, | ||
| title = {Multimodal medical information retrieval with unsupervised rank fusion}, | ||
| journal = {Comput. Medical Imaging Graph.}, | ||
| journal = {Computerized Medical Imaging and Graphics}, |
AmenRa
reviewed
Jun 25, 2025
Owner
|
I commented the changes to keep. I think we should do the following. Make
|
- Fix tool configuration issues to prevent markdown formatting conflicts
- Configure Black to exclude markdown files via pyproject.toml
- Add IR-specific terminology ("relevants", "Comput") to typos ignore list
- Fix syntax error in report.py docstring by changing code block type
- Preserve reviewer-preferred formatting in documentation
- Maintain all technical improvements while respecting human formatting preferences
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
885c7eb to
75928d7
Compare
Collaborator
Author
PR Updated - Reviewer Comments AddressedI've updated this PR to address all the feedback. The branch has been rebased on master with a single clean commit. Changes Made🔧 Tool Configuration Fixes:
📝 Documentation Formatting Restored:
🐛 Technical Fixes:
VerificationThe updated configuration ensures:
The linting pipeline is now streamlined to: |
Collaborator
Author
|
@AmenRa bump :) |
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.
Fix linting issues and typos across the codebase
Description
This PR addresses various linting issues and typos identified by the linters (ruff, black, blackdoc, and typos). The changes include:
>>>prompts from code blocks in markdown filesChanges
Configuration
pyproject.tomlto use the newer ruff configuration formatDocumentation
README.mdanddocs/index.mdby removing>>>promptsComput. Medical Imaging Graph.toComputerized Medical Imaging and Graphicsin:ranx/fusion/isr.pyranx/fusion/logn_isr.pyranx/fusion/log_isr.pydocs/fusion.mdCode
ranx/data_structures/report.pychangelog.mdranx/metrics/interpolated_precision_at_recall.pyTesting
make lintto verify that all linting checks pass: