Skip to main content
Internal Service β€” This is not an HTTP endpoint. It’s called directly by the generate-all orchestrator.

Purpose

Copies the pre-payment ranking score to the visibility_score_history table. This preserves the initial score so users can see their progress over time. Runs in GROUP 1f (parallel with scrape, fire-and-forget). Doesn’t need scraped pages.

Function Signature

Parameters

Returns

What It Does

  1. Fetches the pre-payment ranking score from the ranking database
  2. Creates a history entry in visibility_score_history
  3. This becomes the β€œDay 0” baseline for tracking improvement

Database Schema

Code Location