TrustScorer API

scorer = TrustScorer(store, config=TrustScoringConfig(...))

# Compute score
score = scorer.compute_score(subject_did)

# Record score to ledger
score = scorer.record_score(subject_did)

# Get history
history = scorer.get_score_history(subject_did, limit=10)

# Cross-org scoring
score = scorer.compute_cross_org_score(subject_did, org_trust_factor=0.8)