---
title: TestConfig
seo:
  title: TestConfig — Python SDK
  description: A reusable offline-test configuration (dataset + judges). (Python SDK)
description: A reusable offline-test configuration (dataset + judges).
---

Created via `client.offline_tests.create_config()`. A test config
pins a dataset and a set of platform judges; each `run()` against it
creates a new test run.

## Attributes

| Prop | Type | Default | Description |
| - | - | - | - |
| `id?` | `str` | - | Unique test config ID. |
| `name?` | `str` | - | Config name. |
| `dataset_id?` | `str` | - | The dataset evaluated by this config. |
| `description?` | `Optional[str]` | `None` | Optional human-readable description. |
| `created_at?` | `Optional[str]` | `None` | ISO-8601 creation timestamp. |
| `judges?` | `List[Dict[str, Any]]` | `field(default_factory=list)` | The judge membership rows as returned by the server. |

***

## from\_dict()

```python
def from_dict(data) -> TestConfig:
```

### Parameters

| Prop | Type | Default | Description |
| - | - | - | - |
| `data` | `Dict[str, Any]` | - | |

### Returns

`TestConfig`
