Commit graph

6 commits

Author SHA1 Message Date
TaskerJang
f5bb508736 fix: use identity check for None comparison in clip_tokens tests
- Replace `== None` with `is None` in test_empty_input_text method
- Follow Python best practice for None comparisons as recommended in code review
- Address feedback from PR #1816 review comment

Co-authored-by: mrT23
2025-05-25 07:55:18 +09:00
TaskerJang
1bc0d488d5 test: add comprehensive unit tests for clip_tokens function
- Add 21 test cases covering edge cases and parameter combinations
- Include tests for Unicode, special characters, and long text
  processing
- Verify exception handling and backward compatibility
2025-05-24 10:44:55 +09:00
mrT23
6e6f54933e
Add large_patch_policy configuration and implement patch clipping logic 2024-05-29 14:00:04 +03:00
mrT23
84d8f78d0c
publish_output 2024-04-08 14:00:41 +03:00
mrT23
a5a68c2a73
readme 2024-04-07 17:02:37 +03:00
mrT23
9465b7b577
refactor: Move clip_tokens function from pr_processing to utils module, and add tests 2023-11-26 08:29:47 +02:00