Calibrate RFV frequency scoring
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m14s

This commit is contained in:
Cauê Faleiros
2026-06-22 10:12:41 -03:00
parent c35f8f8a51
commit 9953dd3149
3 changed files with 68 additions and 14 deletions

View File

@@ -33,8 +33,8 @@ const rfmSegmentDefinitions: Array<Pick<RfmSegment, 'key' | 'label'>> = [
];
const segmentDescriptions: Record<string, string> = {
champions: 'Recentes, frequentes e valiosos',
potential_loyalists: 'Recentes e em evolução',
champions: 'Recentes, 5+ pedidos e valor alto',
potential_loyalists: 'Recentes com 2+ pedidos em evolução',
new_customers: 'Primeiro pedido nos últimos 60 dias',
loyal_customers: 'Bom histórico, compra entre 61 e 180 dias',
need_attention: 'Perfil médio, compra entre 61 e 180 dias',
@@ -312,7 +312,7 @@ const Rfm = () => {
<div className="mb-4 flex flex-col gap-3 lg:flex-row lg:items-end lg:justify-between">
<div>
<h2 className="text-lg font-bold text-dark-text">Matriz RFV</h2>
<p className="text-sm font-medium text-dark-muted">Compradores do período agrupados por recência fixa e perfil histórico de frequência e valor.</p>
<p className="text-sm font-medium text-dark-muted">Recência fixa, frequência por número de pedidos e valor relativo ao histórico.</p>
</div>
<div className="flex items-center gap-2 text-xs font-semibold text-dark-muted">
<span>Menor prioridade</span>