teqo-backup/tests/int
Francisco Ignácio Fontoura Solla 51c13153fc E9: Fila de alocação (déficit como default do staff, frescor, coluna da vergonha)
A lista de municípios vira a fila de decisão, sem rota nova, sem coluna nova
e sem migration.

Fase 0 corrige a meta sintética do E8, que repartia a meta estadual
proporcionalmente só ao teto do campo e ignorava a votação própria (meta 2.911
para Vitória da Conquista, de 5.005 votos em 2022; 813 para Campo Formoso, de
47). `deriveSuggestedGoalsByScenario` substitui `decomposeStateGoal` e ancora a
meta na votação de 2022 por cenário — pessimista = base × (1 − margin), central
= base, otimista = base × (stateGoal ÷ Σ base), com clamp. `goalCoverage` passa
a receber `SuggestedGoalByScenario`, deixando `expectedVotes[S] ??
suggestedGoal[S]` simétrico. Só descrições do global mudaram.

Fase 1 adiciona frescor e ordenações: `declaredAt`/`estimatedAt` no select do
agregado de pledges (`lastPledgeAt`), `lastSignalAt` no view model via
`resolveMunicipalityLastSignalAt` (mesmo helper para o comparador do servidor e
a célula), e as sort keys `deficit` (novo default do staff) e `frescor`,
derivadas em memória no cenário central.

Fase 2 dobra os sinais nas células existentes: "há N dias" na coluna de última
atualização (frio ≥ 21 dias, em âmbar — vermelho já é da prioridade), badge
"sem responsável" em prioridade alta sem assessor, coluna da vergonha no
detalhe da métrica de assessoria, tooltip de cobertura nomeando o cenário e
copy Praças→Municípios.

Cortes: votos em jogo → B13, LQ/captura → E10, coluna dedicada de déficit
desnecessária.
2026-07-25 02:24:17 -03:00
..
api.int.spec.ts feat: initial commit 2026-02-14 16:11:51 -03:00
assertTestDatabase.int.spec.ts Ship /campanha nuclei MVP with RBAC, invites, and vote estimates. 2026-07-18 15:01:56 -03:00
bahiaGeometries.int.spec.ts Deliver B3 Leaflet choropleth maps and register post-simplify follow-ups. 2026-07-19 17:13:27 -03:00
bahiaMunicipalityCodes.int.spec.ts Add static Bahia municipality and territory geometries for the campaign map. 2026-07-18 22:07:41 -03:00
bahiaMunicipalityDemographics.int.spec.ts Deliver A8 IBGE voter profile on Eleitorado tab with post-simplify scale plan. 2026-07-19 23:05:27 -03:00
bahiaTerritories.int.spec.ts Remodel /campanha around predefined Praças replacing electoral nuclei. 2026-07-21 02:28:00 -03:00
bahiaTseCityCodes.int.spec.ts Deliver A7 Fase 2 cityCode TSE geography filters and absorb simplify debts. 2026-07-19 22:48:08 -03:00
bahiaTseZones.int.spec.ts Add opt-in TSE zone and territory suggestion chips for nuclei. 2026-07-18 20:04:04 -03:00
campaignActionPlan.int.spec.ts Implement C12 campaign foundation records 2026-07-24 19:27:15 -03:00
campaignAllocationDecision.int.spec.ts Implement C12 campaign foundation records 2026-07-24 19:27:15 -03:00
campaignAuth.int.spec.ts Add the tooling gate: knip, CI, zero-warning lint, as-never ban 2026-07-23 23:06:12 -03:00
campaignDemandWorkflow.int.spec.ts Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
campaignFixtures.int.spec.ts Remove duplicated voteGoals; seed projection sheet into expectedVotes. 2026-07-24 14:04:44 -03:00
campaignFixturesRowCounts.int.spec.ts Add the tooling gate: knip, CI, zero-warning lint, as-never ban 2026-07-23 23:06:12 -03:00
campaignGoalsAccess.int.spec.ts E8: Conta da cadeira (metas derivadas, potencial por município, cobertura) 2026-07-24 22:54:27 -03:00
campaignInvite.int.spec.ts Import projection-sheet strategy columns into municipalities (E4R fase 2) 2026-07-24 15:58:06 -03:00
campaignInviteUi.int.spec.ts Import projection-sheet strategy columns into municipalities (E4R fase 2) 2026-07-24 15:58:06 -03:00
campaignLeadership.int.spec.ts Break up the god modules into deep domain modules 2026-07-23 23:44:45 -03:00
campaignLeadershipActions.int.spec.ts Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
campaignMigrationReconciliation.int.spec.ts Add the tooling gate: knip, CI, zero-warning lint, as-never ban 2026-07-23 23:06:12 -03:00
campaignMunicipalityAccess.int.spec.ts E16: Dossiê do município (pré-agenda) with print view and budgetNotes. 2026-07-25 01:28:03 -03:00
campaignMunicipalityUpdate.int.spec.ts Implement C12 campaign foundation records 2026-07-24 19:27:15 -03:00
campaignMunicipalityUpdatePageData.int.spec.ts Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
campaignPasswordReset.int.spec.ts Remodel /campanha around predefined Praças replacing electoral nuclei. 2026-07-21 02:28:00 -03:00
campaignSupporter.int.spec.ts Lock down CMS/PII collection access and leader routes 2026-07-23 22:25:18 -03:00
campaignUserPhone.int.spec.ts Add the tooling gate: knip, CI, zero-warning lint, as-never ban 2026-07-23 23:06:12 -03:00
campaignVotePledge.int.spec.ts Implement C12 campaign foundation records 2026-07-24 19:27:15 -03:00
collectionAccessLockdown.int.spec.ts Add the tooling gate: knip, CI, zero-warning lint, as-never ban 2026-07-23 23:06:12 -03:00
contactPhoneNormalization.int.spec.ts Add the tooling gate: knip, CI, zero-warning lint, as-never ban 2026-07-23 23:06:12 -03:00
electionResultsImport.int.spec.ts Remodel /campanha around predefined Praças replacing electoral nuclei. 2026-07-21 02:28:00 -03:00
eslintConventions.int.spec.ts Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
formData.int.spec.ts Ship /campanha nuclei MVP with RBAC, invites, and vote estimates. 2026-07-18 15:01:56 -03:00
municipalityCatalog.int.spec.ts Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
municipalityDossierData.int.spec.ts E16: Dossiê do município (pré-agenda) with print view and budgetNotes. 2026-07-25 01:28:03 -03:00
municipalityMapData.int.spec.ts Break up the god modules into deep domain modules 2026-07-23 23:44:45 -03:00
municipalityPageData.int.spec.ts E9: Fila de alocação (déficit como default do staff, frescor, coluna da vergonha) 2026-07-25 02:24:17 -03:00
municipalityZoneNeighborhoods.int.spec.ts Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
onda0Provision.int.spec.ts Add the tooling gate: knip, CI, zero-warning lint, as-never ban 2026-07-23 23:06:12 -03:00
payloadTransaction.int.spec.ts Add the tooling gate: knip, CI, zero-warning lint, as-never ban 2026-07-23 23:06:12 -03:00
petition-page-layout.int.spec.ts Add Post and Tag collections for news and publications 2026-07-15 19:12:11 -03:00
postgresTransactionLocks.int.spec.ts Add the tooling gate: knip, CI, zero-warning lint, as-never ban 2026-07-23 23:06:12 -03:00
relationship.int.spec.ts Ship /campanha nuclei MVP with RBAC, invites, and vote estimates. 2026-07-18 15:01:56 -03:00
schemaPrimitives.int.spec.ts Ship /campanha nuclei MVP with RBAC, invites, and vote estimates. 2026-07-18 15:01:56 -03:00
supporterListFilters.int.spec.ts Remodel the campaign vertical from Praça to Município 2026-07-23 21:36:20 -03:00
testDatabaseLease.int.spec.ts Ship /campanha nuclei MVP with RBAC, invites, and vote estimates. 2026-07-18 15:01:56 -03:00