← back to Rentv Sheet Enrich Refine
rentv :9797 status data: explicit junk-value drop-list (Cody fix — no over-broad heuristic)
5e5158e675f11b9bde57992bc487a5e91e5a1974 · 2026-08-13 21:00:09 -0700 · Steve Abrams
Replaced the GREENISH-regex + trailing-char-dedup heuristics (which could false-drop a
legitimate sage-green status color or a real value like 'Tier2') with an explicit
BAD_VALS=['Active / Contacted3'] key-drop. Precise, can't misfire on real data.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Files touched
Diff
commit 5e5158e675f11b9bde57992bc487a5e91e5a1974
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Thu Aug 13 21:00:09 2026 -0700
rentv :9797 status data: explicit junk-value drop-list (Cody fix — no over-broad heuristic)
Replaced the GREENISH-regex + trailing-char-dedup heuristics (which could false-drop a
legitimate sage-green status color or a real value like 'Tier2') with an explicit
BAD_VALS=['Active / Contacted3'] key-drop. Precise, can't misfire on real data.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
public_live/index.html | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/public_live/index.html b/public_live/index.html
index 700023e..bf66840 100644
--- a/public_live/index.html
+++ b/public_live/index.html
@@ -264,10 +264,10 @@ function hrefOf(v){ v=String(v||'').trim();
async function loadMeta(){
META=await (await fetch('/api/meta')).json();
STATUS_FIELD=META.status_field||null; STATUS_COLORS=META.status_colors||{}; STATUS_VALUES=META.status_values||[];
- // clean the learned status data: drop enrichment-green mis-captures + trailing-char dup values (e.g. "…Contacted3")
- {const GREENISH=h=>/^#c[a-f]e[0-9a-f]b[0-9a-f]$/i.test(h);
- STATUS_COLORS=Object.fromEntries(Object.entries(STATUS_COLORS).filter(([,h])=>!GREENISH(h)));
- STATUS_VALUES=STATUS_VALUES.filter(v=>!STATUS_VALUES.some(o=>o!==v&&v.length===o.length+1&&v.startsWith(o)&&/[0-9]/.test(v.slice(-1))));}
+ // drop known-junk learned status values (a stray-digit dup of "Active / Contacted" that carried the enrichment-green #cae6b4). Explicit list — no heuristic that could nuke a real value/color.
+ {const BAD_VALS=['Active / Contacted3'];
+ STATUS_VALUES=STATUS_VALUES.filter(v=>!BAD_VALS.includes(v));
+ for(const v of BAD_VALS) delete STATUS_COLORS[v];}
const sel=$('#tab');sel.innerHTML='';
META.tabs.forEach(t=>{const o=document.createElement('option');o.value=t.gid;o.textContent=`${t.title} (${t.rows})`;sel.appendChild(o)});
if(GID==null||!META.tabs.find(t=>t.gid==GID)){
← 51390ef rentv :9797 status data: strip enrichment-green mis-captures
·
back to Rentv Sheet Enrich Refine
·
team_vp.py: repoint VP_MODEL default muse-glimmer→qwen3:14b 956099c →