Skip to content

Dev scibase#405

Merged
shijinpjlab merged 5 commits into
MigoXLab:devfrom
shijinpjlab:dev_scibase
May 27, 2026
Merged

Dev scibase#405
shijinpjlab merged 5 commits into
MigoXLab:devfrom
shijinpjlab:dev_scibase

Conversation

@shijinpjlab
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new metadata validation rule, RuleQuanliangFieldValidation, along with comprehensive field-specific validators (such as DOI, ISBN, and grade checks) and corresponding unit tests. A critical logic bug was identified in the check_grade function, where an early return for empty strings makes subsequent validation checks for the 'k12' grade class unreachable.

Comment thread dingo/model/rule/scibase/rule_quanliang.py
@shijinpjlab shijinpjlab merged commit a27701f into MigoXLab:dev May 27, 2026
2 checks passed
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.

1 participant