# Score an actor build's release confidence

**Use case:** 

Get a 0-100 confidence score plus the decision drivers and stable reason codes behind a deploy-or-halt verdict.

## Input

```json
{
  "targetActorId": "ryanclinton/usgs-earthquake-search",
  "preset": "auto",
  "testCases": [
    {
      "name": "Contact scraper smoke test",
      "input": {
        "urls": [
          "https://example.com"
        ]
      },
      "assertions": {
        "minResults": 1,
        "requiredFields": [
          "email",
          "domain"
        ],
        "fieldPatterns": {
          "email": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$"
        },
        "maxDuration": 120
      }
    }
  ],
  "enableBaseline": true,
  "timeout": 300,
  "memory": 512,
  "maxSampleItems": 1000
}
```

## Output

```json
{
  "decision": {
    "label": "Decision",
    "format": "string"
  },
  "decisionDrivers": {
    "label": "Drivers",
    "format": "array"
  },
  "verdictReasonCodes": {
    "label": "Verdict codes",
    "format": "array"
  },
  "confidenceFactorCodes": {
    "label": "Confidence codes",
    "format": "array"
  },
  "trendSignals": {
    "label": "Trend signals",
    "format": "array"
  },
  "oneLine": {
    "label": "One-line summary",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Actor Test Runner — Validate Inputs, Outputs & Error Handling](https://apify.com/ryanclinton/actor-test-runner) with a specific input configuration. Visit the [Actor detail page](https://apify.com/ryanclinton/actor-test-runner) to learn more, explore other use cases, and run it yourself.