Skip to content

性能提升&问题修复#317

Merged
yogacc33 merged 67 commits intoccprocessor:devfrom
dt-yy:dev
Mar 20, 2025
Merged

性能提升&问题修复#317
yogacc33 merged 67 commits intoccprocessor:devfrom
dt-yy:dev

Conversation

@dt-yy
Copy link
Copy Markdown
Contributor

@dt-yy dt-yy commented Mar 20, 2025

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.

  1. table支持排除复杂table
  2. 性能提升:代码、通用、math、table;提升32%
  3. 问题修复:段落单标签提取缺失,文档类型调整等

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.

@dt-yy dt-yy requested a review from yogacc33 March 20, 2025 07:56
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 20, 2025

Codecov Report

Attention: Patch coverage is 94.53125% with 14 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
llm_web_kit/input/datajson.py 84.12% 10 Missing ⚠️
llm_web_kit/extractor/html/recognizer/table.py 96.00% 2 Missing ⚠️
...web_kit/extractor/html/recognizer/code/tag_code.py 97.05% 1 Missing ⚠️
llm_web_kit/extractor/html/recognizer/list.py 90.00% 1 Missing ⚠️

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #317      +/-   ##
==========================================
- Coverage   89.96%   88.20%   -1.77%     
==========================================
  Files          82       94      +12     
  Lines        5581     6417     +836     
==========================================
+ Hits         5021     5660     +639     
- Misses        560      757     +197     
Files with missing lines Coverage Δ
llm_web_kit/extractor/html/extractor.py 92.90% <100.00%> (+0.23%) ⬆️
llm_web_kit/extractor/html/recognizer/audio.py 81.81% <100.00%> (+1.81%) ⬆️
...eb_kit/extractor/html/recognizer/cc_math/common.py 89.87% <ø> (-0.20%) ⬇️
llm_web_kit/extractor/html/recognizer/cccode.py 94.87% <100.00%> (-0.37%) ⬇️
llm_web_kit/extractor/html/recognizer/ccmath.py 88.88% <100.00%> (+2.52%) ⬆️
llm_web_kit/extractor/html/recognizer/image.py 90.54% <100.00%> (ø)
...lm_web_kit/extractor/html/recognizer/recognizer.py 95.00% <100.00%> (+0.04%) ⬆️
llm_web_kit/extractor/html/recognizer/text.py 100.00% <100.00%> (ø)
llm_web_kit/extractor/html/recognizer/title.py 96.82% <100.00%> (+0.10%) ⬆️
llm_web_kit/extractor/html/recognizer/video.py 81.81% <100.00%> (+1.81%) ⬆️
... and 7 more

... and 4 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/common.py
Comment thread llm_web_kit/extractor/html/recognizer/code/tag_code.py
Comment thread llm_web_kit/input/datajson.py
@yogacc33 yogacc33 merged commit 1b18519 into ccprocessor:dev Mar 20, 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.

4 participants