Open
Conversation
- Config: single CONFIG dict with FEEDBACK_DIR, USER, BIOANALYZER_VERSION from env - Schema: OPTIONS dict for valid_states/col_feedback/true_label; dynamic _feedback_schema() - Data: unified _load_data(path_or_upload, is_path) with BytesIO for uploads - Helpers: _safe_int, _normalize_status, _priority_score (comprehension); PMID link inline - Normalization: assign chains, try/except for PMID and year parsing - Feedback: load_feedback/save_feedback/upsert_feedback use _feedback_schema(); single loop for row pred/true/col_feedback - UI: render_filters dict comp for status filters; display_cols from single want list; compact_cols list comp - Robustness: logging for load/save/errors; PMID validation warning if not in dataset; explicit TypeError/ValueError in helpers - Removed: OPTIONAL_COLUMNS (unused); redundant docstrings; duplicate loops
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.
FEEDBACK_DIR,USER,BIOANALYZER_VERSIONfromenvvalid_states/col_feedback/true_label; dynamic _feedback_schema()unified _load_data(path_or_upload, is_path)withBytesIOfor uploads_safe_int,_normalize_status,_priority_score(comprehension); PMID link inlineload_feedback/save_feedback/upsert_feedback use _feedback_schema();single loop for rowpred/true/col_feedbackrender_filtersdict comp for status filters;display_colsfrom single want list;compact_colslist compload/save/errors;PMID validation warning if not in dataset; explicitTypeError/ValueErrorin helpersOPTIONAL_COLUMNS(unused); redundantdocstrings;duplicate loops"