fix: cache FILTERED links in inventory to prevent re-evaluating low-quality links

This commit is contained in:
Nubenetes Bot
2026-06-01 16:20:46 +02:00
parent 051e0fc5b1
commit 61e769ad9d
+3 -1
View File
@@ -179,7 +179,9 @@ async def evaluate_extracted_assets(raw_assets: List[Dict]) -> Dict[str, Dict]:
eval_data["is_enriched"] = False
curator.inventory[norm_url] = eval_data
evaluations[url] = {"status": "INCLUDED", **eval_data}
else: evaluations[url] = {"status": "FILTERED"}
else:
evaluations[url] = {"status": "FILTERED"}
curator.inventory[norm_url] = {"status": "FILTERED", "score": score, "last_checked": datetime.now().timestamp()}
curator._save_inventory()
except Exception as e: log_event(f" [!] Batch AI Error: {e}")