ejplatform / ej-server

EJ uses gamification and machine learning to promote discussions and participation in a virtual democracy
https://ejplatform.github.io/ej-server/
Other
38 stars 17 forks source link

[REVIEW] Otimiza queries no app ej_conversations #656

Closed fabiommendes closed 5 years ago

fabiommendes commented 5 years ago

Descrição

Otimiza queries e implementa algumas lógicas de agregação utilizando dataframes nos querysets do ej_conversations. Utiliza funcionalidades da nova versão do boogie (in progress)

Issues Relacionadas

Checklist

Imagens/Comentários

codecov[bot] commented 5 years ago

Codecov Report

Merging #656 into develop will decrease coverage by 0.89%. The diff coverage is 27.45%.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop     #656     +/-   ##
==========================================
- Coverage    81.67%   80.78%   -0.9%     
==========================================
  Files          139      139             
  Lines         3722     3762     +40     
  Branches       408      415      +7     
==========================================
- Hits          3040     3039      -1     
- Misses         559      600     +41     
  Partials       123      123
Impacted Files Coverage Δ
src/ej_clusters/models.py 79.25% <ø> (-0.31%) :arrow_down:
src/ej_conversations/routes/admin.py 100% <ø> (ø) :arrow_up:
src/ej_conversations/roles.py 79.62% <ø> (ø) :arrow_up:
src/ej_conversations/routes/conversations.py 96.07% <100%> (+0.07%) :arrow_up:
src/ej_conversations/models/conversation.py 89.84% <100%> (-3.24%) :arrow_down:
src/ej_conversations/models/vote.py 95.12% <100%> (ø) :arrow_up:
src/ej_conversations/managers.py 43.83% <15.9%> (-42.84%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b10017f...48998af. Read the comment docs.