EVENTO | ACERTOS | ERROS | % ACERTO |
---|---|---|---|
NOMEACAO_EM_CARGO_EFETIVO | 26 | 2 | 92.85714285714286 |
LICENCA_DESEMPENHO_DE_MANDATO_CLASSISTA | 19 | 0 | 100.0 |
SUSPENSAO | 7 | 0 | 100.0 |
EXONERACAO_DE_CARGO_COMISSIONADO | 30 | 0 | 100.0 |
ELEVACAO_PROGRESSAO_PROMOCAO_DE_NIVEL | 26 | 1 | 96.29629629629629 |
LICENCA_PARA_ATIVIDADE_POLITICA | 21 | 0 | 100.0 |
RECONDUCAO | 8 | 0 | 100.0 |
AVERBACAO_OU_RECONHECIMENTO_DE_TEMPO_DE_SERVICO | 29 | 0 | 100.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AC, round, 1 296M | |
AC, round, 2 349M | |
AL, round, 1 1034M | |
AL, round, 2 1362M | |
AM, round, 1 1158M | |
AM, round, 2 1474M | |
AP, round, 1 260M | |
AP, round, 2 303M | |
BA, round, 1 5378M | |
BA, round, 2 6954M |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
STATES="AC AL AM AP BA CE DF ES GO MA MG MS PA PB PE PI PR RJ RN RO RR RS SC SE SP TO ZZ" | |
for state in $(echo $STATES); do | |
for round in $(echo "1 2"); do | |
echo 'Downloading', $state, 'round', $round; | |
wget -nv --show-progress --header="User-Agent: Mozilla" https://cdn.tse.jus.br/estatistica/sead/eleicoes/eleicoes2022/arqurnatot/bu_imgbu_logjez_rdv_vscmr_2022_${round}t_${state}.zip | |
done; | |
done; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
URL_DATA="https://resultados.tse.jus.br/oficial/ele2022/545/dados-simplificados/br/br-c0001-e000545-r.json" | |
data=$(wget -q -O - $URL_DATA) | |
echo $data | jq -r ' | |
[50*"="], | |
[" ELEICOES 2022 - 2 turno"], | |
[50*"="], | |
(["% apurado", .pst, "atualizado", .hg]), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import numpy as np | |
image = cv2.imread('QWO9Y.jpg') | |
mask = np.zeros(image.shape, dtype=np.uint8) | |
# pontos do poligono | |
pts = [ | |
[150, 124], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use function CV\imread; | |
use function CV\imwrite; | |
use function CV\threshold; | |
use function CV\findContoursWithoutHierarchy; | |
use function CV\boundingRect; | |
use function CV\rectangleByRect; | |
use function CV\cvtColor; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function agrupa_alunos($query) | |
{ | |
$alunos = []; | |
foreach ($query->result() as $key => $value) | |
{ | |
$id = $value->numerodoaluno; |