Skip to content
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

feat(progress_monitor): add configurable report interval and threading support #92

Merged
merged 4 commits into from
Feb 13, 2025

Conversation

awwaawwa
Copy link
Member

No description provided.

- Update stage names in multiple document processing classes
- Translate stage descriptions from Chinese to English
- Improve internationalization of stage naming across document processing pipeline
…ng lock

- introduce `--report-interval` argument to configure progress report frequency
- add threading lock to ensure thread safety in `stage_update` method
- initialize `last_report_time` with 0.0 for consistency
- log `report_interval` at initialization for debugging

docs(README.md): update documentation for new report interval option

- add `--report-interval` to the list of command-line options in README

refactor(translation_config): include report interval in configuration

- add `report_interval` to `TranslationConfig` class
- pass `report_interval` to `ProgressMonitor` during initialization

refactor(high_level): use report interval from translation config

- pass `report_interval` from `translation_config` to `ProgressMonitor`
- update version in __init__.py
- update version in main.py
- update version in pyproject.toml
- update version in uv.lock
@awwaawwa awwaawwa merged commit c6068cd into main Feb 13, 2025
11 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