Skip to content

修复bug 1:部分输入丢失命名空间,无法匹配xsl模板; 2:部分公式段落划分错误; 3: 形如如 \text{...}的公式内容,花括号前被错误添加\left和\right#435

Merged
e06084 merged 6 commits into
ccprocessor:devfrom
1041206149:dev
Jun 12, 2025

Conversation

@1041206149

Copy link
Copy Markdown
Contributor

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.

Motivation

Please describe the motivation of this PR and the goal you want to achieve through this PR.

Modification

Please briefly describe what modification is made in this PR.

BC-breaking (Optional)

Does the modification introduce changes that break the backward compatibility of the downstream repositories?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.

Use cases (Optional)

If this PR introduces a new feature, it is better to list some use cases here and update the documentation.

Checklist

Before PR:

  • Pre-commit or other linting tools are used to fix the potential lint issues.
  • Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
  • The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  • The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

  • If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects.
  • CLA has been signed and all committers have signed the CLA in this PR.

1:部分输入丢失命名空间,无法匹配xsl模板;
2:部分公式段落划分错误;
3: 形如如 \text{...}的公式内容,花括号前被错误添加\left和\right
Comment thread llm_web_kit/extractor/html/recognizer/cc_math/common.py Outdated
Comment thread llm_web_kit/extractor/html/recognizer/cc_math/mmltex/entities.xsl
Comment thread llm_web_kit/extractor/html/recognizer/text.py
@codecov

codecov Bot commented Jun 5, 2025

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 95.83333% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...it/extractor/html/recognizer/cc_math/tag_script.py 95.00% 1 Missing ⚠️

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #435      +/-   ##
==========================================
- Coverage   89.97%   89.71%   -0.26%     
==========================================
  Files         107      102       -5     
  Lines        8288     8326      +38     
==========================================
+ Hits         7457     7470      +13     
- Misses        831      856      +25     
Files with missing lines Coverage Δ
llm_web_kit/extractor/config.py 100.00% <ø> (ø)
...eb_kit/extractor/html/recognizer/cc_math/common.py 90.00% <100.00%> (-0.04%) ⬇️
..._kit/extractor/html/recognizer/cc_math/tag_math.py 91.66% <ø> (+6.76%) ⬆️
llm_web_kit/extractor/html/recognizer/ccmath.py 87.50% <100.00%> (+0.32%) ⬆️
llm_web_kit/extractor/html/recognizer/text.py 94.37% <ø> (ø)
...it/extractor/html/recognizer/cc_math/tag_script.py 93.33% <95.00%> (+0.83%) ⬆️

... and 7 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread llm_web_kit/extractor/html/recognizer/cc_math/tag_script.py
Comment thread llm_web_kit/extractor/html/recognizer/ccmath.py
Comment thread llm_web_kit/extractor/html/recognizer/cc_math/mmltex/README2 Outdated
Comment thread llm_web_kit/extractor/html/recognizer/ccmath.py
@e06084 e06084 merged commit 2d39102 into ccprocessor:dev Jun 12, 2025
4 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.

2 participants