Every number carries its own confidence
DataPI does not publish a single trust score for the platform. Each analytic is scored from its own evidence, its own catalog weights, and its own sample gates.
Every analytic computes the same eight factors, then combines them using the weight set named in its catalog spec. A factor that cannot be observed is recorded as zero rather than assumed.
- sample_size — observed items against the target sample
- coverage — completeness of the requested window from the coverage ledger
- recency — age of the last fetch against the analytic freshness target
- history_depth — distinct observation days against the required history
- author_diversity and platform_diversity — concentration of the sample
- metric_completeness — share of items carrying the required metrics
- model_reliability — explicitly capped for baselines (for example 0.45 for lexicon sentiment)
The catalog defines four levels. They are applied to the weighted score, and the response always names the limiting factor so you know what to fix first.
- insufficient — below 0.25, or a critical factor gate was not met
- low — 0.25 to 0.5
- medium — 0.5 to 0.75
- high — 0.75 and above
An analytic with a minimum sample of 40 returns nothing below 40 observed items, even if every other factor is perfect. History-based analytics require the configured number of distinct days. This prevents a confident-looking trend from two data points.
When an analytic returns insufficient_data, its accuracy score is reported as zero with the factors that explain the gap. The response never keeps a high score next to an empty result.
Language distribution uses script detection and sentiment uses a bilingual lexicon with simple negation. Both are useful, explainable, and explicitly capped in model_reliability. Emotion, themes and toxicity require models and currently return insufficient_data instead of a weak guess.
Read the exact contract
The API reference documents the envelope, the statuses and the error codes behind these scores.