> ## Documentation Index
> Fetch the complete documentation index at: https://docs.braintrust.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Online scoring results not visible in UI

> [!NOTE]
>
> **Applies to:**
>
> * Plan - Pro, Enterprise
> * Deployment - Braintrust-hosted, Self-hosted
> *
> * Use case - Automated online scoring with scheduled alerts for production logs

Summary

Online scoring runs asynchronously on a schedule, so scores may not be immediately visible in the UI when viewing logs, and alerts can trigger before `scores.your_scorer_name` appears on spans. This occurs because online scoring executes based on its configured schedule rather than in real-time, causing a delay between when logs are generated and when scores are attached. To resolve this, add `scores.your_scorer_name IS NOT NULL` to alert SQL filters to ensure alerts only fire after scoring completes.

## Resolution Steps

### Step 1: Configure online scoring rule

Go to ** Settings** > [** Online scoring**](https://www.braintrust.dev/app/~/configuration/automations/online-scoring) and click  **Online scoring rule**. Configure scorers, sampling rate, SQL filter, and span types.

### Step 2: Update alert SQL filter

Modify your alert's SQL filter to include a score existence check:

```text theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
error IS NOT NULL AND scores.your_scorer_name IS NOT NULL

```

### Step 3: Force immediate scoring (optional)

To see scores immediately in the UI, use "Score existing logs" under  **Automations**. This forces synchronous execution rather than waiting for the scheduled run.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.