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

feat: added enrich to detect recurrent candidature #111

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ABuarque
Copy link
Member

adicionado enriquecedor para verificar a recorrencia de um candidato

Onde:
+ DB_NAME é o nome do banco;
+ DB_URL é URL de conexão com o banco;
+ PREV_CANDIDATURES_PATH é o path para o arquivo csv das candidaturas antigas;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sugestão: assumir que está tudo no banco. Ou seja, que os enriquecedores do TSE já rodaram. Com isso teremos um resumidor.

Acho que isso tem algumas vantagens. Alem de se basear num esquema consolidado, ficamos protegidos de mudanças nos arquivos de candidaturas.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mandei um PR seguindo essa sugestão

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants