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

# Online scoring results not visible in UI

export const plans_0 = "Pro, Enterprise"

export const deployments_0 = "Braintrust-hosted, Self-hosted"

export const data_plane_version_0 = undefined

export const use_case_0 = "Use case - Automated online scoring with scheduled alerts for production logs"

<Note>
  **Applies to:**

  * Plan - {plans_0}
  * Deployment - {deployments_0}
  * {data_plane_version_0}
  * {use_case_0}
</Note>

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 BTQL filters to ensure alerts only fire after scoring completes.

## Resolution Steps

### Step 1: Configure online scoring rule

Navigate to Project → Configuration → Online scoring → Add rule. Configure scorers, sampling rate, BTQL filter, and span types.

### Step 2: Update alert BTQL filter

Modify your alert's BTQL 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 <Icon icon="radio" /> **Automations**. This forces synchronous execution rather than waiting for the scheduled run.
