teqo-backup/scripts
Francisco Ignácio Fontoura Solla 0c1127b35a Pass 2 W4a: electionInsights.ts deletado (941 linhas, 71 exports, 2 vivos)
- formatElectionNumber -> src/lib/electionFormat.ts (13 importers); computeVoteTrend + tipos -> src/lib/voteTrend.ts
- ~52 exports sem consumidor deletados (limiares 35/20/10 da era nucleos, gap vs 2022, conversao, mobilizacao, ticket flip/leverage) - decisao D2; formulas no git history; E10 nasce em modulo novo (nota no plano classificacao-territorial-relativa.md)
- specs: voteTrend.unit.spec.ts (pins vivos + pin do defeito E18 de fracao), electionPartySpectrum.unit.spec.ts sem os blocos de ticket; electionInsights.unit.spec.ts deletado
- fix de regressao W2 pega pelo knip: scripts/import-projecao.mjs importava voteEstimate/slug nos paths antigos (knip agora roda sem pipe mascarando exit code)
- knip unused exports: 157 -> 140
2026-07-25 14:57:49 -03:00
..
consent-texts Restore full roadmap detail and align project documentation. 2026-07-19 16:19:36 -03:00
assert-local-database.mjs Add TSE 2022 election results model and local seed import. 2026-07-18 18:25:19 -03:00
build-bahia-demographics.mjs Add the tooling gate: knip, CI, zero-warning lint, as-never ban 2026-07-23 23:06:12 -03:00
build-bahia-geometries.mjs Add static Bahia municipality and territory geometries for the campaign map. 2026-07-18 22:07:41 -03:00
build-bahia-tse-city-codes.mjs Deliver A7 Fase 2 cityCode TSE geography filters and absorb simplify debts. 2026-07-19 22:48:08 -03:00
build-election-aggregates.mjs E8: Conta da cadeira (metas derivadas, potencial por município, cobertura) 2026-07-24 22:54:27 -03:00
db-pull.mjs Isolate local/dev and tests from the production database 2026-07-15 13:52:30 -03:00
generate-remodel-municipalities-migration.mjs Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
guard-dev-db.mjs Add TSE 2022 election results model and local seed import. 2026-07-18 18:25:19 -03:00
import-projecao.mjs Pass 2 W4a: electionInsights.ts deletado (941 linhas, 71 exports, 2 vivos) 2026-07-25 14:57:49 -03:00
regenerate-municipality-catalog-snapshot.mjs Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
seed-consent.mjs Add allowlisted global cache revalidation for Onda 0 F1. 2026-07-19 22:21:16 -03:00
seed-loader.mjs Add TSE 2022 election results model and local seed import. 2026-07-18 18:25:19 -03:00
seed-posts.mjs Add TSE 2022 election results model and local seed import. 2026-07-18 18:25:19 -03:00
seed-tse-results.mjs E8 follow-up: touch-friendly metric tooltips, 2014/2018 majoritarian seed, E18 docs plan 2026-07-24 22:55:51 -03:00