ysomad / uniplay

CS esports platform
5 stars 0 forks source link

UNI-119 save calculated stats for matches, api improvements #72

Closed ysomad closed 1 year ago

linear[bot] commented 1 year ago

UNI-119 Сохранять в БД подсчитанную статистику по матчу

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 34.42% and project coverage change: -7.13 :warning:

Comparison is base (3e7e89e) 39.31% compared to head (5a082d3) 32.19%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #72 +/- ## ========================================== - Coverage 39.31% 32.19% -7.13% ========================================== Files 18 20 +2 Lines 1432 1435 +3 ========================================== - Hits 563 462 -101 - Misses 867 971 +104 Partials 2 2 ``` | [Impacted Files](https://app.codecov.io/gh/ysomad/uniplay/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex) | Coverage Δ | | |---|---|---| | [internal/domain/match.go](https://app.codecov.io/gh/ysomad/uniplay/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex#diff-aW50ZXJuYWwvZG9tYWluL21hdGNoLmdv) | `100.00% <ø> (+32.55%)` | :arrow_up: | | [internal/domain/player\_stats.go](https://app.codecov.io/gh/ysomad/uniplay/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex#diff-aW50ZXJuYWwvZG9tYWluL3BsYXllcl9zdGF0cy5nbw==) | `0.00% <0.00%> (-100.00%)` | :arrow_down: | | [internal/domain/weapon\_stats.go](https://app.codecov.io/gh/ysomad/uniplay/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex#diff-aW50ZXJuYWwvZG9tYWluL3dlYXBvbl9zdGF0cy5nbw==) | `0.00% <0.00%> (-80.00%)` | :arrow_down: | | [internal/match/controller.go](https://app.codecov.io/gh/ysomad/uniplay/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex#diff-aW50ZXJuYWwvbWF0Y2gvY29udHJvbGxlci5nbw==) | `0.00% <0.00%> (ø)` | | | [internal/match/match.go](https://app.codecov.io/gh/ysomad/uniplay/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex#diff-aW50ZXJuYWwvbWF0Y2gvbWF0Y2guZ28=) | `82.75% <0.00%> (-1.46%)` | :arrow_down: | | [internal/match/parser.go](https://app.codecov.io/gh/ysomad/uniplay/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex#diff-aW50ZXJuYWwvbWF0Y2gvcGFyc2VyLmdv) | `23.36% <0.00%> (ø)` | | | [internal/match/postgres.go](https://app.codecov.io/gh/ysomad/uniplay/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex#diff-aW50ZXJuYWwvbWF0Y2gvcG9zdGdyZXMuZ28=) | `0.00% <0.00%> (ø)` | | | [internal/match/stats.go](https://app.codecov.io/gh/ysomad/uniplay/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex#diff-aW50ZXJuYWwvbWF0Y2gvc3RhdHMuZ28=) | `74.19% <56.25%> (-25.81%)` | :arrow_down: | | [internal/pkg/stat/round.go](https://app.codecov.io/gh/ysomad/uniplay/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex#diff-aW50ZXJuYWwvcGtnL3N0YXQvcm91bmQuZ28=) | `100.00% <100.00%> (ø)` | | | [internal/pkg/stat/stat.go](https://app.codecov.io/gh/ysomad/uniplay/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alex#diff-aW50ZXJuYWwvcGtnL3N0YXQvc3RhdC5nbw==) | `100.00% <100.00%> (ø)` | |

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