Skip to content

feat: hybrid_rag for hypo_draft when no_sota --try #962

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Hoder-zyf
Copy link
Collaborator

@Hoder-zyf Hoder-zyf commented Jun 16, 2025

Description

Motivation and Context

How Has This Been Tested?

  • If you are adding a new feature, test on your own test scripts.

Screenshots of Test Results (if appropriate):

  1. Your own tests:

Types of changes

  • Fix bugs
  • Add new feature
  • Update documentation

📚 Documentation preview 📚: https://RDAgent--962.org.readthedocs.build/en/962/

text = self._protect_technical_terms(text)

# 提取tokens
tokens = re.findall(r'\b\w+(?:_\w+)*\b', text.lower())

Check failure

Code scanning / CodeQL

Inefficient regular expression High

This part of the regular expression may cause exponential backtracking on strings containing many repetitions of 'a_'.
@RolandMinrui RolandMinrui marked this pull request as draft June 16, 2025 03:46
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