3.4 Pseudocode for Trust Score
3.4 Pseudocode for Trust Score Calculation
// def calculate_trust_score(site):
"""Calculates the Pillar I score based on E-E-A-T, clarity, and objectivity."""
score = 0
# E-E-A-T Signals (Max 15)
if site.has_named_authors(): score += 5
if site.has_public_methodology(): score += 5
if site.has_detailed_about_page(): score += 5
# Licensing Clarity (Max 10)
if site.displays_license_prominently(): score += 5
if site.links_to_ukgc_register(): score += 5
# Objectivity & Balance (Max 10)
if site.lists_substantive_cons(): score += 10
# Normalize score to a 0-10 scale
normalized_score = (score / 35) * 10
return normalized_scoreLast updated