EdyVision / pii-codex

A research python package for detecting, categorizing, and assessing the severity of personal identifiable information (PII)
BSD 3-Clause "New" or "Revised" License
67 stars 9 forks source link

Performance Improvements #20

Closed EdyVision closed 1 year ago

EdyVision commented 1 year ago

Overview

PR description. Explain what it's doing and why.

Checklist

codecov[bot] commented 1 year ago

Codecov Report

Base: 95.66% // Head: 96.74% // Increases project coverage by +1.07% :tada:

Coverage data is based on head (80a1839) compared to base (4aba0ef). Patch coverage: 97.54% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #20 +/- ## ========================================== + Coverage 95.66% 96.74% +1.07% ========================================== Files 25 27 +2 Lines 1154 1197 +43 ========================================== + Hits 1104 1158 +54 + Misses 50 39 -11 ``` | [Impacted Files](https://codecov.io/gh/EdyVision/pii-codex/pull/20?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Eidan+Rosado) | Coverage Δ | | |---|---|---| | [pii\_codex/services/analyzers/presidio\_analysis.py](https://codecov.io/gh/EdyVision/pii-codex/pull/20/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Eidan+Rosado#diff-cGlpX2NvZGV4L3NlcnZpY2VzL2FuYWx5emVycy9wcmVzaWRpb19hbmFseXNpcy5weQ==) | `81.35% <87.50%> (+15.31%)` | :arrow_up: | | [pii\_codex/utils/pii\_mapping\_util.py](https://codecov.io/gh/EdyVision/pii-codex/pull/20/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Eidan+Rosado#diff-cGlpX2NvZGV4L3V0aWxzL3BpaV9tYXBwaW5nX3V0aWwucHk=) | `96.72% <96.36%> (-0.54%)` | :arrow_down: | | [pii\_codex/config.py](https://codecov.io/gh/EdyVision/pii-codex/pull/20/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Eidan+Rosado#diff-cGlpX2NvZGV4L2NvbmZpZy5weQ==) | `100.00% <100.00%> (ø)` | | | [...apters/detection\_adapters/aws\_detection\_adapter.py](https://codecov.io/gh/EdyVision/pii-codex/pull/20/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Eidan+Rosado#diff-cGlpX2NvZGV4L3NlcnZpY2VzL2FkYXB0ZXJzL2RldGVjdGlvbl9hZGFwdGVycy9hd3NfZGV0ZWN0aW9uX2FkYXB0ZXIucHk=) | `100.00% <100.00%> (ø)` | | | [...ters/detection\_adapters/azure\_detection\_adapter.py](https://codecov.io/gh/EdyVision/pii-codex/pull/20/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Eidan+Rosado#diff-cGlpX2NvZGV4L3NlcnZpY2VzL2FkYXB0ZXJzL2RldGVjdGlvbl9hZGFwdGVycy9henVyZV9kZXRlY3Rpb25fYWRhcHRlci5weQ==) | `100.00% <100.00%> (ø)` | | | [...s/detection\_adapters/presidio\_detection\_adapter.py](https://codecov.io/gh/EdyVision/pii-codex/pull/20/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Eidan+Rosado#diff-cGlpX2NvZGV4L3NlcnZpY2VzL2FkYXB0ZXJzL2RldGVjdGlvbl9hZGFwdGVycy9wcmVzaWRpb19kZXRlY3Rpb25fYWRhcHRlci5weQ==) | `100.00% <100.00%> (ø)` | | | [pii\_codex/services/analysis\_service.py](https://codecov.io/gh/EdyVision/pii-codex/pull/20/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Eidan+Rosado#diff-cGlpX2NvZGV4L3NlcnZpY2VzL2FuYWx5c2lzX3NlcnZpY2UucHk=) | `85.71% <100.00%> (+1.19%)` | :arrow_up: | | [pii\_codex/services/assessment\_service.py](https://codecov.io/gh/EdyVision/pii-codex/pull/20/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Eidan+Rosado#diff-cGlpX2NvZGV4L3NlcnZpY2VzL2Fzc2Vzc21lbnRfc2VydmljZS5weQ==) | `96.29% <100.00%> (+11.92%)` | :arrow_up: | | [pii\_codex/utils/file\_util.py](https://codecov.io/gh/EdyVision/pii-codex/pull/20/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Eidan+Rosado#diff-cGlpX2NvZGV4L3V0aWxzL2ZpbGVfdXRpbC5weQ==) | `95.55% <100.00%> (+3.88%)` | :arrow_up: | | [pii\_codex/utils/logging.py](https://codecov.io/gh/EdyVision/pii-codex/pull/20/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Eidan+Rosado#diff-cGlpX2NvZGV4L3V0aWxzL2xvZ2dpbmcucHk=) | `100.00% <100.00%> (ø)` | | | ... and [4 more](https://codecov.io/gh/EdyVision/pii-codex/pull/20/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Eidan+Rosado) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Eidan+Rosado). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Eidan+Rosado)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.