mrsteele / openai-tokens

A service for calculating, managing, truncating openai tokens
MIT License
18 stars 3 forks source link

Feature/accurate results #8

Closed mrsteele closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 57.47% and project coverage change: -23.19% :warning:

Comparison is base (93b9bcd) 96.47% compared to head (c45a0cf) 73.28%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #8 +/- ## =========================================== - Coverage 96.47% 73.28% -23.19% =========================================== Files 5 6 +1 Lines 85 146 +61 Branches 23 65 +42 =========================================== + Hits 82 107 +25 - Misses 3 39 +36 ``` | [Files Changed](https://app.codecov.io/gh/mrsteele/openai-tokens/pull/8?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matt+Steele) | Coverage Δ | | |---|---|---| | [src/encoder.js](https://app.codecov.io/gh/mrsteele/openai-tokens/pull/8?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matt+Steele#diff-c3JjL2VuY29kZXIuanM=) | `41.26% <41.26%> (ø)` | | | [src/truncate.js](https://app.codecov.io/gh/mrsteele/openai-tokens/pull/8?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matt+Steele#diff-c3JjL3RydW5jYXRlLmpz) | `95.23% <100.00%> (+1.48%)` | :arrow_up: | | [src/utils.js](https://app.codecov.io/gh/mrsteele/openai-tokens/pull/8?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matt+Steele#diff-c3JjL3V0aWxzLmpz) | `100.00% <100.00%> (ø)` | | | [src/validate.js](https://app.codecov.io/gh/mrsteele/openai-tokens/pull/8?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matt+Steele#diff-c3JjL3ZhbGlkYXRlLmpz) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 2.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: