Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/unit tests #59

Merged
merged 29 commits into from
Nov 30, 2023
Merged

Fix/unit tests #59

merged 29 commits into from
Nov 30, 2023

Conversation

JoaoM-py
Copy link
Member

Testes unitários

Issues relacionadas

#54 #57

PR Type

Que tipo de mudança a PR introduz?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Descreva a alteração

  • Criação de testes unitários para novas funções
  • Arrumando testes que quebraram

Outras informações

image

MariaGabrielaReis and others added 27 commits October 16, 2023 00:44
* hotfix names

* Refactor: Format date (#27)

* refactor: capitalize sentiments (#24)

Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>

* fix: translate sentiments (#28)

* Feat/separate training reviews (#35)

* feat: create function to get random data

* feat: create function to get training data

* feat: get training data

* chore: Manual sentiment classification

---------

Co-authored-by: Maria Gabriela Reis <mariagabrielagreis@gmail.com>

* Feat/#0303 create classification model (#37)

* feat: update manual classification

* fix: translate topics and sentiments

* feat: add seaborn lib

* fix: translate topics, update reviews count

* feat: create classification model

* feat: training, test and apply classification model

* refactor: Update stars name

* refactor: Update training method

---------

Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>

* Feat/#42 test coverage (#38)

* feat: create pipeline tests

* refactor: Update files names

* feat: Training data

* feat: Creating pipeline tests

* merge: Merge develop

* feat: Coverage and sonarcloud config

* refactor: Update processing and remove comments

* chore: update python version

* chore: update sonarcloud

* chore: update tests

* chore: update tests

* chore: update tests

---------

Co-authored-by: GabrielCamargoL <gabriel.cleite@outlook.com>
Co-authored-by: JoaoM-py <80930525+JoaoM-py@users.noreply.github.com>
Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>
…cks/mood-hound-nlp into refactor/optimize-pipeline
@JoaoM-py JoaoM-py added the feature request This issue is a function asked by the client label Nov 27, 2023
@JoaoM-py JoaoM-py self-assigned this Nov 27, 2023
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

95.0% 95.0% Coverage
0.0% 0.0% Duplication

@JoaoM-py JoaoM-py merged commit 80a79b6 into develop Nov 30, 2023
JoaoM-py added a commit that referenced this pull request Dec 1, 2023
* hotfix names

* Refactor: Format date (#27)

* refactor: capitalize sentiments (#24)

Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>

* fix: translate sentiments (#28)

* Feat/separate training reviews (#35)

* feat: create function to get random data

* feat: create function to get training data

* feat: get training data

* chore: Manual sentiment classification

---------

Co-authored-by: Maria Gabriela Reis <mariagabrielagreis@gmail.com>

* Feat/#0303 create classification model (#37)

* feat: update manual classification

* fix: translate topics and sentiments

* feat: add seaborn lib

* fix: translate topics, update reviews count

* feat: create classification model

* feat: training, test and apply classification model

* refactor: Update stars name

* refactor: Update training method

---------

Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>

* Feat/#42 test coverage (#38)

* feat: create pipeline tests

* refactor: Update files names

* feat: Training data

* feat: Creating pipeline tests

* merge: Merge develop

* feat: Coverage and sonarcloud config

* refactor: Update processing and remove comments

* chore: update python version

* chore: update sonarcloud

* chore: update tests

* chore: update tests

* chore: update tests

* Feat/#0106 bring birth year and gender (#50)

* Tests and Sentment Analysis (#39)

* hotfix names

* Refactor: Format date (#27)

* refactor: capitalize sentiments (#24)

Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>

* fix: translate sentiments (#28)

* Feat/separate training reviews (#35)

* feat: create function to get random data

* feat: create function to get training data

* feat: get training data

* chore: Manual sentiment classification

---------

Co-authored-by: Maria Gabriela Reis <mariagabrielagreis@gmail.com>

* Feat/#0303 create classification model (#37)

* feat: update manual classification

* fix: translate topics and sentiments

* feat: add seaborn lib

* fix: translate topics, update reviews count

* feat: create classification model

* feat: training, test and apply classification model

* refactor: Update stars name

* refactor: Update training method

---------

Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>

* Feat/#42 test coverage (#38)

* feat: create pipeline tests

* refactor: Update files names

* feat: Training data

* feat: Creating pipeline tests

* merge: Merge develop

* feat: Coverage and sonarcloud config

* refactor: Update processing and remove comments

* chore: update python version

* chore: update sonarcloud

* chore: update tests

* chore: update tests

* chore: update tests

---------

Co-authored-by: GabrielCamargoL <gabriel.cleite@outlook.com>
Co-authored-by: JoaoM-py <80930525+JoaoM-py@users.noreply.github.com>
Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>

* feat: Bring informations of the client

---------

Co-authored-by: Maria Gabriela Reis <mariagabrielagreis@gmail.com>
Co-authored-by: GabrielCamargoL <gabriel.cleite@outlook.com>

* Feat/#11 new runtime tracker (#49)

* Tests and Sentment Analysis (#39)

* hotfix names

* Refactor: Format date (#27)

* refactor: capitalize sentiments (#24)

Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>

* fix: translate sentiments (#28)

* Feat/separate training reviews (#35)

* feat: create function to get random data

* feat: create function to get training data

* feat: get training data

* chore: Manual sentiment classification

---------

Co-authored-by: Maria Gabriela Reis <mariagabrielagreis@gmail.com>

* Feat/#0303 create classification model (#37)

* feat: update manual classification

* fix: translate topics and sentiments

* feat: add seaborn lib

* fix: translate topics, update reviews count

* feat: create classification model

* feat: training, test and apply classification model

* refactor: Update stars name

* refactor: Update training method

---------

Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>

* Feat/#42 test coverage (#38)

* feat: create pipeline tests

* refactor: Update files names

* feat: Training data

* feat: Creating pipeline tests

* merge: Merge develop

* feat: Coverage and sonarcloud config

* refactor: Update processing and remove comments

* chore: update python version

* chore: update sonarcloud

* chore: update tests

* chore: update tests

* chore: update tests

---------

Co-authored-by: GabrielCamargoL <gabriel.cleite@outlook.com>
Co-authored-by: JoaoM-py <80930525+JoaoM-py@users.noreply.github.com>
Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>

* feat: New time metric, storage of metrics and

* feat: increase test coverage

* feat: Coverage

* feat: increase test coverage

* feature: Update sonar yml

* feat: Update test url

* feat: Update test url

* feat: Update test url

* feat: Update test url

* feat: Update test url

* feat: Config env

* refactor:Update utils imports

* refactor: Update env

* refactor: Update url and env

---------

Co-authored-by: Maria Gabriela Reis <mariagabrielagreis@gmail.com>
Co-authored-by: GabrielCamargoL <gabriel.cleite@outlook.com>

* Feat/#48 unit tests (#51)

* Tests and Sentment Analysis (#39)

* hotfix names

* Refactor: Format date (#27)

* refactor: capitalize sentiments (#24)

Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>

* fix: translate sentiments (#28)

* Feat/separate training reviews (#35)

* feat: create function to get random data

* feat: create function to get training data

* feat: get training data

* chore: Manual sentiment classification

---------

Co-authored-by: Maria Gabriela Reis <mariagabrielagreis@gmail.com>

* Feat/#0303 create classification model (#37)

* feat: update manual classification

* fix: translate topics and sentiments

* feat: add seaborn lib

* fix: translate topics, update reviews count

* feat: create classification model

* feat: training, test and apply classification model

* refactor: Update stars name

* refactor: Update training method

---------

Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>

* Feat/#42 test coverage (#38)

* feat: create pipeline tests

* refactor: Update files names

* feat: Training data

* feat: Creating pipeline tests

* merge: Merge develop

* feat: Coverage and sonarcloud config

* refactor: Update processing and remove comments

* chore: update python version

* chore: update sonarcloud

* chore: update tests

* chore: update tests

* chore: update tests

---------

Co-authored-by: GabrielCamargoL <gabriel.cleite@outlook.com>
Co-authored-by: JoaoM-py <80930525+JoaoM-py@users.noreply.github.com>
Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>

* feat: increase test coverage

* feat: Coverage

* feat: increase test coverage

* feature: Update sonar yml

* feat: Update test url

* feat: Update test url

* feat: Update test url

* feat: Update test url

* feat: Update test url

* feat: Config env

* refactor:Update utils imports

* refactor: Update env

* refactor: Update url and env

---------

Co-authored-by: Maria Gabriela Reis <mariagabrielagreis@gmail.com>
Co-authored-by: GabrielCamargoL <gabriel.cleite@outlook.com>

* Feat: new classification model (#52)

* feat: add new model to sentiment analysis

* fix: use correct training and treat exceptions

* fix: remove console logs

* feat: increment reviews quantity

* Refactor/optimize pipeline (#56)

* feat: add new model to sentiment analysis

* fix: use correct training and treat exceptions

* fix: remove console logs

* feat: increment reviews quantity

* feat: select only necessary columns and apply your types

* feat: optimize clear data step

* Delete .env

* Refactor/optimize pipeline (#57)

* feat: add new model to sentiment analysis

* fix: use correct training and treat exceptions

* fix: remove console logs

* feat: increment reviews quantity

* feat: select only necessary columns and apply your types

* feat: optimize clear data step

* Delete .env

* style: format and remove unused files

* feat: create a file for pre processing step

* feat: create file to classification model

* feat: create file to topic model

* feat: get metrics from classification model

* feat: use new steps and adjust details

* fix: remove some code smells and run processing

* fix: update training and test data visualization

* Fix/unit tests (#59)

* Tests and Sentment Analysis (#39)

* hotfix names

* Refactor: Format date (#27)

* refactor: capitalize sentiments (#24)

Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>

* fix: translate sentiments (#28)

* Feat/separate training reviews (#35)

* feat: create function to get random data

* feat: create function to get training data

* feat: get training data

* chore: Manual sentiment classification

---------

Co-authored-by: Maria Gabriela Reis <mariagabrielagreis@gmail.com>

* Feat/#0303 create classification model (#37)

* feat: update manual classification

* fix: translate topics and sentiments

* feat: add seaborn lib

* fix: translate topics, update reviews count

* feat: create classification model

* feat: training, test and apply classification model

* refactor: Update stars name

* refactor: Update training method

---------

Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>

* Feat/#42 test coverage (#38)

* feat: create pipeline tests

* refactor: Update files names

* feat: Training data

* feat: Creating pipeline tests

* merge: Merge develop

* feat: Coverage and sonarcloud config

* refactor: Update processing and remove comments

* chore: update python version

* chore: update sonarcloud

* chore: update tests

* chore: update tests

* chore: update tests

---------

Co-authored-by: GabrielCamargoL <gabriel.cleite@outlook.com>
Co-authored-by: JoaoM-py <80930525+JoaoM-py@users.noreply.github.com>
Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>

* feat: add new model to sentiment analysis

* fix: use correct training and treat exceptions

* fix: remove console logs

* feat: increment reviews quantity

* fix: tests of the updated pipeline

* feat: select only necessary columns and apply your types

* feat: optimize clear data step

* Delete .env

* style: format and remove unused files

* feat: create a file for pre processing step

* feat: create file to classification model

* feat: create file to topic model

* feat: get metrics from classification model

* feat: use new steps and adjust details

* fix: remove some code smells and run processing

* fix: update training and test data visualization

* feat: create and fix unit tests

* fix: remove .coverage

* reafacto: remove unused test

---------

Co-authored-by: Maria Gabriela Reis <mariagabrielagreis@gmail.com>
Co-authored-by: GabrielCamargoL <gabriel.cleite@outlook.com>

* Feat/logs and alerts (#60)

* Tests and Sentment Analysis (#39)

* hotfix names

* Refactor: Format date (#27)

* refactor: capitalize sentiments (#24)

Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>

* fix: translate sentiments (#28)

* Feat/separate training reviews (#35)

* feat: create function to get random data

* feat: create function to get training data

* feat: get training data

* chore: Manual sentiment classification

---------

Co-authored-by: Maria Gabriela Reis <mariagabrielagreis@gmail.com>

* Feat/#0303 create classification model (#37)

* feat: update manual classification

* fix: translate topics and sentiments

* feat: add seaborn lib

* fix: translate topics, update reviews count

* feat: create classification model

* feat: training, test and apply classification model

* refactor: Update stars name

* refactor: Update training method

---------

Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>

* Feat/#42 test coverage (#38)

* feat: create pipeline tests

* refactor: Update files names

* feat: Training data

* feat: Creating pipeline tests

* merge: Merge develop

* feat: Coverage and sonarcloud config

* refactor: Update processing and remove comments

* chore: update python version

* chore: update sonarcloud

* chore: update tests

* chore: update tests

* chore: update tests

---------

Co-authored-by: GabrielCamargoL <gabriel.cleite@outlook.com>
Co-authored-by: JoaoM-py <80930525+JoaoM-py@users.noreply.github.com>
Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>

* feat: add new model to sentiment analysis

* fix: use correct training and treat exceptions

* fix: remove console logs

* feat: increment reviews quantity

* fix: tests of the updated pipeline

* feat: select only necessary columns and apply your types

* feat: optimize clear data step

* Delete .env

* style: format and remove unused files

* feat: create a file for pre processing step

* feat: create file to classification model

* feat: create file to topic model

* feat: get metrics from classification model

* feat: use new steps and adjust details

* fix: remove some code smells and run processing

* fix: update training and test data visualization

* feat: create and fix unit tests

* fix: remove .coverage

* reafacto: remove unused test

* feat: Organizing metrics, collect of logs and alerts

* fix: Pipeline exec time

* fix: code format and increase reviews quantity

* feat: increase reviews quantity

* fix: Pipeline exec time

* fix: Pipeline exec time

* fix: Pipeline exec time

* fix: Pipeline exec time format

---------

Co-authored-by: Maria Gabriela Reis <mariagabrielagreis@gmail.com>
Co-authored-by: GabrielCamargoL <gabriel.cleite@outlook.com>

---------

Co-authored-by: GabrielCamargoL <gabriel.cleite@outlook.com>
Co-authored-by: JoaoM-py <80930525+JoaoM-py@users.noreply.github.com>
Co-authored-by: JoaoM-py <joao.marcos2002@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request This issue is a function asked by the client
Projects
No open projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants