Feature/sc 46895/linker bulk corrector - #3678
Open
nsantacruz wants to merge 5 commits into
Open
Conversation
📊 Code Quality Score: 61/100
Was this score accurate? 👍 Yes · 👎 No Scored by GitVelocity · How are scores calculated? |
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.
This pull request introduces a new "Linker Bulk Corrector" feature for staff users, providing a UI and backend API for searching, navigating, and bulk re-parsing stored linker citation spans. It also adds support for tracking reasons when adding dataset examples and includes several related backend enhancements and optimizations.
New Feature: Linker Bulk Corrector
ReaderApp.jsx,ReaderPanel.jsx,reader/views.py,sefaria/urls_library.py,static/css/linker-bulk-corrector.css). [1] [2] [3] [4] [5] [6] [7] [8]api/linker_bulk_corrector_views.py,sefaria/urls_shared.py). [1] [2] [3]Backend Enhancements for Linker Tasks
sefaria/helper/linker/tasks.py,sefaria/helper/linker_resource_panel_admin.py). [1] [2] [3]sefaria/model/linker_editor_history.py).Dataset Example Improvements
reasonfield when adding or updating linker dataset examples, including backend, model, and schema updates (sefaria/helper/linker_resource_panel_admin.py,sefaria/model/linker_dataset_example.py). [1] [2] [3] [4] [5]Database and Model Optimizations
marked_up_text_chunksandlinker_outputcollections to optimize queries by ref, versionTitle, and language (sefaria/system/database.py).disqualificationReasonfield to theLinkerOutputmodel schema to track why a citation span might be disqualified (sefaria/model/marked_up_text_chunk.py).These changes collectively provide staff with powerful tools for managing and correcting linker citations at scale, while improving tracking and performance for related data operations.