← back to Rentv Sheet Enrich Refine
__pycache__/warmth.cpython-314.pyc
47 lines
+
��~j� � �R � R t RtR^(R^ R^R^R^RRRR/tR tR
tR tR tR
tR tR# )u
Warmth scoring for RENTV leads — one definition of "warm", shared by the live
console (live_server.py) and the top-N export (export_top.py) so they never drift.
A lead's warmth blends the three signals that already live in the sheet:
1. Centrality — # Appearances (how many source tabs a contact shows up on).
2. Intent — Status (color): a flagged/left-message lead outranks a cold one.
3. Reachability— do we actually have an email / phone / LinkedIn / enriched VP?
Plus a Strong-Prospects membership bonus (Steve's own hand-tagged short list).
The score is a plain int. Higher = work first. Section/header rows get a large
negative so they sink to the bottom under a descending sort.
Pure/stdlib, no deps — same input always yields the same score ($0, offline).
u 🔥 WarmthzFlag / PriorityzIn Progress / Left MessagezProspect / Follow-upzActive / ContactedzNeeds Email / Outreach PendingzOn Hold / Inactive�Section / Categoryc � � VP V4 pVe V\ V 4 8� d R# W, pVf R# \ V4 P 4 # )N� )�get�len�str�strip)�row�idx�name�i�vs &&& � warmth.py�_cellr sA � �����
�A��y�A��S��M����A���2�.��A�����.� c � � \ \ \ V 4 P 4 ;'