# `sc_crawler.table_fields`

> Enumerations, JSON nested data objects & other helper classes used in sc_crawler.tables.

# `sc_crawler.table_fields`

Enumerations, JSON nested data objects & other helper classes used in [sc_crawler.tables](https://docs.sparecores.com/crawler/reference/tables.md).

**Classes:**

- [**HashableDict**](#hashabledict) – A dict that can be hashed by its JSON representation.
- [**HashableJSON**](#hashablejson) – Alternative JSON SQLAlchemy column representation, which can be hashed.
- [**Json**](#json) – Custom base SQLModel class that supports dumping as JSON.
- [**Status**](#status) – Last known status of a record.
- [**ResourceType**](#resourcetype) – Kind of resource a benchmark score refers to.
- [**Cpu**](#cpu) – CPU details.
- [**AcceleratorType**](#acceleratortype) – Type of a hardware accelerator, e.g. GPU or NPU.
- [**Accelerator**](#accelerator) – Hardware accelerator (e.g. GPU or TPU) details.
- [**StorageType**](#storagetype) – Type of a storage, e.g. HDD or SSD.
- [**DatabaseEngine**](#databaseengine) – Managed database engine.
- [**DatabaseWireProtocol**](#databasewireprotocol) – Wire protocol for a managed database type.
- [**DatabaseHaLevel**](#databasehalevel) – High availability level for a managed database type.
- [**DatabaseHaStrategy**](#databasehastrategy) – High availability replication strategy for a managed database type.
- [**DatabaseSecurityFeature**](#databasesecurityfeature) – Security capabilities supported by DBaaS providers.
- [**DatabaseStorageScope**](#databasestoragescope) – Scope of a managed database storage product.
- [**Disk**](#disk) – Disk definition based on size and storage type.
- [**TrafficDirection**](#trafficdirection) – Direction of the network traffic.
- [**CpuAllocation**](#cpuallocation) – CPU allocation methods at cloud vendors.
- [**CpuArchitecture**](#cpuarchitecture) – CPU architectures.
- [**DdrGeneration**](#ddrgeneration) – Generation of the DDR SDRAM.
- [**Allocation**](#allocation) – Server allocation options.
- [**PriceUnit**](#priceunit) – Supported units for the price tables.
- [**PriceTier**](#pricetier) – Price tier definition.
- [**Parallelism**](#parallelism) – Parallelism mode of a benchmark run.
- [**BenchmarkComponentAggregationMethod**](#benchmarkcomponentaggregationmethod) – How component benchmark scores are combined into one composite score.
- [**BenchmarkComponentNormalizationMethod**](#benchmarkcomponentnormalizationmethod) – How each raw benchmark value is scaled to be comparable across benchmarks.
- [**BenchmarkComponentMissingPolicy**](#benchmarkcomponentmissingpolicy) – What to do when a component has no usable measurement for a server.
- [**ScoreComponent**](#scorecomponent) – One component's contribution to a composite workload profile score.
- [**WorkloadScoreBreakdown**](#workloadscorebreakdown) – Per-server realized calculation of a composite workload profile score.
- [**Category**](#category) – Workload category for a cloud server type.

**Attributes:**

- [**DISK_SPEED_FIELDS**](#disk_speed_fields) – Speed fields of a `Disk`, matching the `storage_*` server columns.

## class <code class="doc-name">HashableDict</code> [table_fields.py:13–35](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L13-L35)

Bases: [`dict`](https://docs.python.org/3/builtins/stdtypes.html#dict)

A dict that can be hashed by its JSON representation.

Useful for typehinting dict-type table columns that are primary
keys (which need to be hashable for SQLAlchemy ORM). See
[sc_crawler.table_fields.HashableJSON](#hashablejson) class for the related `sa_type`.

**Functions:**

- [**sorted**](#hashabledictsorted) – Create from a dict with its keys sorted recursively, so that it is always stored as the same JSON.

### meth <code class="doc-parent">HashableDict.</code><code class="doc-name">sorted</code> [table_fields.py:24–35](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L24-L35)

```python
sorted(value)
```

Create from a dict with its keys sorted recursively, so that it is always stored as the same JSON.

**Examples:**

```pycon
>>> HashableDict.sorted({"b": 1, "a": {"d": 2, "c": 3}})
{'a': {'c': 3, 'd': 2}, 'b': 1}
```

## class <code class="doc-name">HashableJSON</code> [table_fields.py:38–57](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L38-L57)

Bases: [`TypeDecorator`](https://docs.sqlalchemy.org/en/20/core/custom_types.html#sqlalchemy.types.TypeDecorator)

Alternative JSON SQLAlchemy column representation, which can be hashed.

**Functions:**

- [**load_dialect_impl**](#hashablejsonload_dialect_impl) – Use JSONB in PostgreSQL, as JSON cannot be compared, so cannot be a primary key either.

### meth <code class="doc-parent">HashableJSON.</code><code class="doc-name">load_dialect_impl</code> [table_fields.py:44–48](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L44-L48)

```python
load_dialect_impl(dialect)
```

Use JSONB in PostgreSQL, as JSON cannot be compared, so cannot be a primary key either.

## class <code class="doc-name">Json</code> [table_fields.py:60–65](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L60-L65)

Bases: [`BaseModel`](https://docs.pydantic.dev/latest/api/pydantic/base_model/#pydantic.BaseModel)

Custom base SQLModel class that supports dumping as JSON.

## class <code class="doc-name">Status</code> [table_fields.py:68–123](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L68-L123)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

Last known status of a record.

The docstrings of the values are shown to end-users (e.g. in the API and
on the website), so keep those to what a status means, and document here
how the statuses are set:

- `ACTIVE` and `INACTIVE` are valid for all tables. Records returned by
  the vendor or defined in code are `ACTIVE`. Records no longer returned
  or defined are set to `INACTIVE` by `pull`, as well as records missing
  from the source by `sync`.
- `PLANNED_FOR_RETIREMENT` and `RETIRED` are only valid for Server and
  Database, and are set only from explicit vendor signals. These are kept
  by `pull` when the record is no longer returned by the vendor.
- `ARCHIVED` is valid for all tables. It is set only from the
  [archive rules](https://docs.sparecores.com/crawler/reference/archive_rules.md) by `pull` and `sync`, also for
  child records (e.g. prices of a region), and archived records are not
  updated afterwards. It is our decision on the identity of a record,
  never a vendor signal: end of sale is `RETIRED`, and records no longer
  returned by a vendor are `INACTIVE`.

**Functions:**

- [**best**](#statusbest) – Return the best of the given statuses: ACTIVE, PLANNED_FOR_RETIREMENT, INACTIVE, RETIRED, then ARCHIVED.

**Attributes:**

- [**ACTIVE**](#statusactive) – Currently available.
- [**INACTIVE**](#statusinactive) – Currently not available, without a known retirement. May become available again.
- [**PLANNED_FOR_RETIREMENT**](#statusplanned_for_retirement) – Retirement was announced by the vendor, but can still be ordered. Only used for servers and databases.
- [**RETIRED**](#statusretired) – Retired by the vendor and cannot be ordered anymore, but prices may still exist (e.g. for active multi-year contracts). Only used for servers and databases.
- [**ARCHIVED**](#statusarchived) – Kept only for historical reference: replaced by another record (e.g. renamed, merged or split) or dropped from the dataset.
- [**is_orderable**](#statusis_orderable) ([`bool`](https://docs.python.org/3/builtins/functions.html#bool)) – Whether a Server/Database with this status can still be ordered.
- [**is_general**](#statusis_general) ([`bool`](https://docs.python.org/3/builtins/functions.html#bool)) – Whether this status is valid for non-server/database models (ACTIVE, INACTIVE or ARCHIVED only).

### attr <code class="doc-parent">Status.</code><code class="doc-name">ACTIVE</code> [table_fields.py:90](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L90)

```python
ACTIVE = 'active'
```

Currently available.

### attr <code class="doc-parent">Status.</code><code class="doc-name">INACTIVE</code> [table_fields.py:92](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L92)

```python
INACTIVE = 'inactive'
```

Currently not available, without a known retirement. May become available again.

### attr <code class="doc-parent">Status.</code><code class="doc-name">PLANNED_FOR_RETIREMENT</code> [table_fields.py:94](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L94)

```python
PLANNED_FOR_RETIREMENT = 'planned-for-retirement'
```

Retirement was announced by the vendor, but can still be ordered. Only used for servers and databases.

### attr <code class="doc-parent">Status.</code><code class="doc-name">RETIRED</code> [table_fields.py:96](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L96)

```python
RETIRED = 'retired'
```

Retired by the vendor and cannot be ordered anymore, but prices may still exist (e.g. for active multi-year contracts). Only used for servers and databases.

### attr <code class="doc-parent">Status.</code><code class="doc-name">ARCHIVED</code> [table_fields.py:98](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L98)

```python
ARCHIVED = 'archived'
```

Kept only for historical reference: replaced by another record (e.g. renamed, merged or split) or dropped from the dataset.

### meth <code class="doc-parent">Status.</code><code class="doc-name">best</code> [table_fields.py:101–113](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L101-L113)

```python
best(statuses)
```

Return the best of the given statuses: ACTIVE, PLANNED_FOR_RETIREMENT, INACTIVE, RETIRED, then ARCHIVED.

### attr <code class="doc-parent">Status.</code><code class="doc-name">is_orderable</code> [table_fields.py:116–118](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L116-L118)

```python
is_orderable: bool
```

Whether a Server/Database with this status can still be ordered.

### attr <code class="doc-parent">Status.</code><code class="doc-name">is_general</code> [table_fields.py:121–123](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L121-L123)

```python
is_general: bool
```

Whether this status is valid for non-server/database models (ACTIVE, INACTIVE or ARCHIVED only).

## class <code class="doc-name">ResourceType</code> [table_fields.py:126–132](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L126-L132)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

Kind of resource a benchmark score refers to.

**Attributes:**

- [**SERVER**](#resourcetypeserver) – Compute server instance.
- [**DATABASE**](#resourcetypedatabase) – Managed database instance.

### attr <code class="doc-parent">ResourceType.</code><code class="doc-name">SERVER</code> [table_fields.py:129](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L129)

```python
SERVER = 'server'
```

Compute server instance.

### attr <code class="doc-parent">ResourceType.</code><code class="doc-name">DATABASE</code> [table_fields.py:131](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L131)

```python
DATABASE = 'database'
```

Managed database instance.

## class <code class="doc-name">Cpu</code> [table_fields.py:135–161](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L135-L161)

Bases: [`Json`](#json)

CPU details.

**Attributes:**

- [**manufacturer**](#cpumanufacturer) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`str`](https://docs.python.org/3/builtins/stdtypes.html#str)`]`) – The manufacturer of the processor, e.g. Intel or AMD.
- [**family**](#cpufamily) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`str`](https://docs.python.org/3/builtins/stdtypes.html#str)`]`) – The product line/family of the processor, e.g. Xeon, Core i7, Ryzen 9.
- [**model**](#cpumodel) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`str`](https://docs.python.org/3/builtins/stdtypes.html#str)`]`) – The model number of the processor, e.g. 9750H.
- [**cores**](#cpucores) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`int`](https://docs.python.org/3/builtins/functions.html#int)`]`) – Number of CPU cores.
- [**threads**](#cputhreads) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`int`](https://docs.python.org/3/builtins/functions.html#int)`]`) – Number of CPU threads.
- [**l1_cache_size**](#cpul1_cache_size) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`int`](https://docs.python.org/3/builtins/functions.html#int)`]`) – L1 cache size in bytes.
- [**l2_cache_size**](#cpul2_cache_size) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`int`](https://docs.python.org/3/builtins/functions.html#int)`]`) – L2 cache size in bytes.
- [**l3_cache_size**](#cpul3_cache_size) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`int`](https://docs.python.org/3/builtins/functions.html#int)`]`) – L3 cache size in bytes.
- [**microcode**](#cpumicrocode) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`str`](https://docs.python.org/3/builtins/stdtypes.html#str)`]`) – Microcode version.
- [**capabilities**](#cpucapabilities) ([`List`](https://docs.python.org/3/library/typing.html#typing.List)`[`[`str`](https://docs.python.org/3/builtins/stdtypes.html#str)`]`) – List of CPU flag/features/capabilities, e.g. MMX, Intel SGX etc.
- [**bugs**](#cpubugs) ([`List`](https://docs.python.org/3/library/typing.html#typing.List)`[`[`str`](https://docs.python.org/3/builtins/stdtypes.html#str)`]`) – List of known bugs, e.g. cpu_meltdown spectre_v1.
- [**bogomips**](#cpubogomips) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`float`](https://docs.python.org/3/builtins/functions.html#float)`]`) – BogoMips value.

### attr <code class="doc-parent">Cpu.</code><code class="doc-name">manufacturer</code> [table_fields.py:138](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L138)

```python
manufacturer: Optional[str] = None
```

The manufacturer of the processor, e.g. Intel or AMD.

### attr <code class="doc-parent">Cpu.</code><code class="doc-name">family</code> [table_fields.py:140](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L140)

```python
family: Optional[str] = None
```

The product line/family of the processor, e.g. Xeon, Core i7, Ryzen 9.

### attr <code class="doc-parent">Cpu.</code><code class="doc-name">model</code> [table_fields.py:142](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L142)

```python
model: Optional[str] = None
```

The model number of the processor, e.g. 9750H.

### attr <code class="doc-parent">Cpu.</code><code class="doc-name">cores</code> [table_fields.py:144](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L144)

```python
cores: Optional[int] = None
```

Number of CPU cores.

### attr <code class="doc-parent">Cpu.</code><code class="doc-name">threads</code> [table_fields.py:146](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L146)

```python
threads: Optional[int] = None
```

Number of CPU threads.

### attr <code class="doc-parent">Cpu.</code><code class="doc-name">l1_cache_size</code> [table_fields.py:148](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L148)

```python
l1_cache_size: Optional[int] = None
```

L1 cache size in bytes.

### attr <code class="doc-parent">Cpu.</code><code class="doc-name">l2_cache_size</code> [table_fields.py:150](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L150)

```python
l2_cache_size: Optional[int] = None
```

L2 cache size in bytes.

### attr <code class="doc-parent">Cpu.</code><code class="doc-name">l3_cache_size</code> [table_fields.py:152](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L152)

```python
l3_cache_size: Optional[int] = None
```

L3 cache size in bytes.

### attr <code class="doc-parent">Cpu.</code><code class="doc-name">microcode</code> [table_fields.py:154](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L154)

```python
microcode: Optional[str] = None
```

Microcode version.

### attr <code class="doc-parent">Cpu.</code><code class="doc-name">capabilities</code> [table_fields.py:156](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L156)

```python
capabilities: List[str] = []
```

List of CPU flag/features/capabilities, e.g. MMX, Intel SGX etc.

### attr <code class="doc-parent">Cpu.</code><code class="doc-name">bugs</code> [table_fields.py:158](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L158)

```python
bugs: List[str] = []
```

List of known bugs, e.g. cpu_meltdown spectre_v1.

### attr <code class="doc-parent">Cpu.</code><code class="doc-name">bogomips</code> [table_fields.py:160](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L160)

```python
bogomips: Optional[float] = None
```

BogoMips value.

## class <code class="doc-name">AcceleratorType</code> [table_fields.py:164–177](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L164-L177)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

Type of a hardware accelerator, e.g. GPU or NPU.

**Attributes:**

- [**GPU**](#acceleratortypegpu) – Graphics Processing Unit.
- [**TPU**](#acceleratortypetpu) – Tensor Processing Unit. Deprecated: Google TPUs are stored as NPU.
- [**NPU**](#acceleratortypenpu) – Neural Processing Unit, e.g. Google TPU, AWS Inferentia and Trainium, Habana
- [**FPGA**](#acceleratortypefpga) – Field-Programmable Gate Array, e.g. Xilinx Virtex UltraScale+.
- [**VPU**](#acceleratortypevpu) – Video Processing Unit: video transcoding card, e.g. Xilinx U30.

### attr <code class="doc-parent">AcceleratorType.</code><code class="doc-name">GPU</code> [table_fields.py:167](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L167)

```python
GPU = 'GPU'
```

Graphics Processing Unit.

### attr <code class="doc-parent">AcceleratorType.</code><code class="doc-name">TPU</code> [table_fields.py:169](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L169)

```python
TPU = 'TPU'
```

Tensor Processing Unit. Deprecated: Google TPUs are stored as NPU.

### attr <code class="doc-parent">AcceleratorType.</code><code class="doc-name">NPU</code> [table_fields.py:171](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L171)

```python
NPU = 'NPU'
```

Neural Processing Unit, e.g. Google TPU, AWS Inferentia and Trainium, Habana
Gaudi or Qualcomm AI100.

### attr <code class="doc-parent">AcceleratorType.</code><code class="doc-name">FPGA</code> [table_fields.py:174](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L174)

```python
FPGA = 'FPGA'
```

Field-Programmable Gate Array, e.g. Xilinx Virtex UltraScale+.

### attr <code class="doc-parent">AcceleratorType.</code><code class="doc-name">VPU</code> [table_fields.py:176](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L176)

```python
VPU = 'VPU'
```

Video Processing Unit: video transcoding card, e.g. Xilinx U30.

## class <code class="doc-name">Accelerator</code> [table_fields.py:180–202](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L180-L202)

Bases: [`Json`](#json)

Hardware accelerator (e.g. GPU or TPU) details.

**Attributes:**

- [**manufacturer**](#acceleratormanufacturer) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`str`](https://docs.python.org/3/builtins/stdtypes.html#str)`]`) – The manufacturer/brand of the accelerator, e.g. Nvidia or AMD.
- [**family**](#acceleratorfamily) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`str`](https://docs.python.org/3/builtins/stdtypes.html#str)`]`) – The model family/architecture of the accelerator.
- [**model**](#acceleratormodel) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`str`](https://docs.python.org/3/builtins/stdtypes.html#str)`]`) – The model number of the accelerator.
- [**memory**](#acceleratormemory) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`int`](https://docs.python.org/3/builtins/functions.html#int)`]`) – Memory (MiB) allocated to the accelerator.
- [**firmware_version**](#acceleratorfirmware_version) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`str`](https://docs.python.org/3/builtins/stdtypes.html#str)`]`) – Firmware version.
- [**bios_version**](#acceleratorbios_version) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`str`](https://docs.python.org/3/builtins/stdtypes.html#str)`]`) – Video BIOS version.
- [**graphics_clock**](#acceleratorgraphics_clock) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`int`](https://docs.python.org/3/builtins/functions.html#int)`]`) – Core clock speed (Mhz).
- [**sm_clock**](#acceleratorsm_clock) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`int`](https://docs.python.org/3/builtins/functions.html#int)`]`) – Streaming Multiprocessor clock speed (Mhz).
- [**mem_clock**](#acceleratormem_clock) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`int`](https://docs.python.org/3/builtins/functions.html#int)`]`) – Memory clock speed (Mhz).
- [**video_clock**](#acceleratorvideo_clock) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`int`](https://docs.python.org/3/builtins/functions.html#int)`]`) – Video clock speed (Mhz).

### attr <code class="doc-parent">Accelerator.</code><code class="doc-name">manufacturer</code> [table_fields.py:183](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L183)

```python
manufacturer: Optional[str] = None
```

The manufacturer/brand of the accelerator, e.g. Nvidia or AMD.

### attr <code class="doc-parent">Accelerator.</code><code class="doc-name">family</code> [table_fields.py:185](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L185)

```python
family: Optional[str] = None
```

The model family/architecture of the accelerator.

### attr <code class="doc-parent">Accelerator.</code><code class="doc-name">model</code> [table_fields.py:187](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L187)

```python
model: Optional[str] = None
```

The model number of the accelerator.

### attr <code class="doc-parent">Accelerator.</code><code class="doc-name">memory</code> [table_fields.py:189](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L189)

```python
memory: Optional[int] = None
```

Memory (MiB) allocated to the accelerator.

### attr <code class="doc-parent">Accelerator.</code><code class="doc-name">firmware_version</code> [table_fields.py:191](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L191)

```python
firmware_version: Optional[str] = None
```

Firmware version.

### attr <code class="doc-parent">Accelerator.</code><code class="doc-name">bios_version</code> [table_fields.py:193](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L193)

```python
bios_version: Optional[str] = None
```

Video BIOS version.

### attr <code class="doc-parent">Accelerator.</code><code class="doc-name">graphics_clock</code> [table_fields.py:195](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L195)

```python
graphics_clock: Optional[int] = None
```

Core clock speed (Mhz).

### attr <code class="doc-parent">Accelerator.</code><code class="doc-name">sm_clock</code> [table_fields.py:197](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L197)

```python
sm_clock: Optional[int] = None
```

Streaming Multiprocessor clock speed (Mhz).

### attr <code class="doc-parent">Accelerator.</code><code class="doc-name">mem_clock</code> [table_fields.py:199](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L199)

```python
mem_clock: Optional[int] = None
```

Memory clock speed (Mhz).

### attr <code class="doc-parent">Accelerator.</code><code class="doc-name">video_clock</code> [table_fields.py:201](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L201)

```python
video_clock: Optional[int] = None
```

Video clock speed (Mhz).

## class <code class="doc-name">StorageType</code> [table_fields.py:205–213](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L205-L213)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

Type of a storage, e.g. HDD or SSD.

**Attributes:**

- [**HDD**](#storagetypehdd) – Magnetic hard disk drive.
- [**SSD**](#storagetypessd) – Solid-state drive.
- [**NVME_SSD**](#storagetypenvme_ssd) – NVMe based solid-state drive.

### attr <code class="doc-parent">StorageType.</code><code class="doc-name">HDD</code> [table_fields.py:208](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L208)

```python
HDD = 'hdd'
```

Magnetic hard disk drive.

### attr <code class="doc-parent">StorageType.</code><code class="doc-name">SSD</code> [table_fields.py:210](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L210)

```python
SSD = 'ssd'
```

Solid-state drive.

### attr <code class="doc-parent">StorageType.</code><code class="doc-name">NVME_SSD</code> [table_fields.py:212](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L212)

```python
NVME_SSD = 'nvme ssd'
```

NVMe based solid-state drive.

## class <code class="doc-name">DatabaseEngine</code> [table_fields.py:216–220](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L216-L220)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

Managed database engine.

**Attributes:**

- [**POSTGRESQL**](#databaseenginepostgresql) – PostgreSQL.

### attr <code class="doc-parent">DatabaseEngine.</code><code class="doc-name">POSTGRESQL</code> [table_fields.py:219](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L219)

```python
POSTGRESQL = 'postgresql'
```

PostgreSQL.

## class <code class="doc-name">DatabaseWireProtocol</code> [table_fields.py:223–227](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L223-L227)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

Wire protocol for a managed database type.

**Attributes:**

- [**POSTGRESQL**](#databasewireprotocolpostgresql) – PostgreSQL.

### attr <code class="doc-parent">DatabaseWireProtocol.</code><code class="doc-name">POSTGRESQL</code> [table_fields.py:226](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L226)

```python
POSTGRESQL = 'postgresql'
```

PostgreSQL.

## class <code class="doc-name">DatabaseHaLevel</code> [table_fields.py:230–254](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L230-L254)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

High availability level for a managed database type.

**Functions:**

- [**ordered**](#databasehalevelordered) – Return supported HA levels in canonical order (most available first).

**Attributes:**

- [**NONE**](#databasehalevelnone) – No high availability.
- [**SINGLE_ZONE**](#databasehalevelsingle_zone) – Single-zone high availability, meaning multiple databases in the same zone with failover or multi-master.
- [**MULTI_ZONE**](#databasehalevelmulti_zone) – Multi-zone high availability, meaning multiple databases in multiple zones of the same region with failover or multi-master.
- [**MULTI_REGION**](#databasehalevelmulti_region) – Multi-region high availability, meaning multiple databases in multiple regions with failover or multi-master.

### attr <code class="doc-parent">DatabaseHaLevel.</code><code class="doc-name">NONE</code> [table_fields.py:233](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L233)

```python
NONE = 'none'
```

No high availability.

### attr <code class="doc-parent">DatabaseHaLevel.</code><code class="doc-name">SINGLE_ZONE</code> [table_fields.py:235](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L235)

```python
SINGLE_ZONE = 'single-zone'
```

Single-zone high availability, meaning multiple databases in the same zone with failover or multi-master.

### attr <code class="doc-parent">DatabaseHaLevel.</code><code class="doc-name">MULTI_ZONE</code> [table_fields.py:237](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L237)

```python
MULTI_ZONE = 'multi-zone'
```

Multi-zone high availability, meaning multiple databases in multiple zones of the same region with failover or multi-master.

### attr <code class="doc-parent">DatabaseHaLevel.</code><code class="doc-name">MULTI_REGION</code> [table_fields.py:239](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L239)

```python
MULTI_REGION = 'multi-region'
```

Multi-region high availability, meaning multiple databases in multiple regions with failover or multi-master.

### meth <code class="doc-parent">DatabaseHaLevel.</code><code class="doc-name">ordered</code> [table_fields.py:242–254](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L242-L254)

```python
ordered(levels)
```

Return supported HA levels in canonical order (most available first).

## class <code class="doc-name">DatabaseHaStrategy</code> [table_fields.py:257–283](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L257-L283)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

High availability replication strategy for a managed database type.

**Functions:**

- [**ordered**](#databasehastrategyordered) – Return supported HA strategies in canonical order (most capable first).

**Attributes:**

- [**NONE**](#databasehastrategynone) – No high availability strategy.
- [**PASSIVE_STANDBY**](#databasehastrategypassive_standby) – Passive standby for failover, e.g. standard RDS Multi-AZ with block storage replication.
- [**READABLE_CLUSTER**](#databasehastrategyreadable_cluster) – Readable cluster for read scaling and failover, e.g. RDS Multi-AZ Cluster / Aurora with engine replication.
- [**MULTI_MASTER**](#databasehastrategymulti_master) – True multi-master, e.g. CockroachDB / Spanner / DynamoDB Global Tables.

### attr <code class="doc-parent">DatabaseHaStrategy.</code><code class="doc-name">NONE</code> [table_fields.py:260](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L260)

```python
NONE = 'none'
```

No high availability strategy.

### attr <code class="doc-parent">DatabaseHaStrategy.</code><code class="doc-name">PASSIVE_STANDBY</code> [table_fields.py:262](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L262)

```python
PASSIVE_STANDBY = 'passive-standby'
```

Passive standby for failover, e.g. standard RDS Multi-AZ with block storage replication.

### attr <code class="doc-parent">DatabaseHaStrategy.</code><code class="doc-name">READABLE_CLUSTER</code> [table_fields.py:264](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L264)

```python
READABLE_CLUSTER = 'readable-cluster'
```

Readable cluster for read scaling and failover, e.g. RDS Multi-AZ Cluster / Aurora with engine replication.

### attr <code class="doc-parent">DatabaseHaStrategy.</code><code class="doc-name">MULTI_MASTER</code> [table_fields.py:266](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L266)

```python
MULTI_MASTER = 'multi-master'
```

True multi-master, e.g. CockroachDB / Spanner / DynamoDB Global Tables.

### meth <code class="doc-parent">DatabaseHaStrategy.</code><code class="doc-name">ordered</code> [table_fields.py:269–283](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L269-L283)

```python
ordered(strategies)
```

Return supported HA strategies in canonical order (most capable first).

## class <code class="doc-name">DatabaseSecurityFeature</code> [table_fields.py:286–315](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L286-L315)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

Security capabilities supported by DBaaS providers.

**Attributes:**

- [**IP_FILTERING**](#databasesecurityfeatureip_filtering) – Access via public endpoint restricted to explicit IP/CIDR ranges.
- [**PRIVATE_NETWORK**](#databasesecurityfeatureprivate_network) – Provisioned natively inside customer's own private network/subnets (e.g. VPC/VNet).
- [**NETWORK_PEERING**](#databasesecurityfeaturenetwork_peering) – Private access via cross-network peering or private service endpoints (e.g. PrivateLink).
- [**IDENTITY_BASED_AUTH**](#databasesecurityfeatureidentity_based_auth) – Auth offloaded to cloud or enterprise identity providers (e.g. IAM, Entra ID, OIDC, SSO).
- [**CLIENT_CERT_AUTH**](#databasesecurityfeatureclient_cert_auth) – Mutual TLS (mTLS) authentication requiring client-side SSL/TLS certificates.
- [**ENFORCED_TLS**](#databasesecurityfeatureenforced_tls) – Enforceable requirement that all database connections use SSL/TLS (no plaintext fallback).
- [**CUSTOMER_MANAGED_KEYS**](#databasesecurityfeaturecustomer_managed_keys) – Bring Your Own Key (BYOK) support for storage encryption.
- [**AUDIT_LOGGING**](#databasesecurityfeatureaudit_logging) – Detailed database audit logs (e.g. pgaudit) exportable to external logging services or storage.

### attr <code class="doc-parent">DatabaseSecurityFeature.</code><code class="doc-name">IP_FILTERING</code> [table_fields.py:290](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L290)

```python
IP_FILTERING = 'ip-filtering'
```

Access via public endpoint restricted to explicit IP/CIDR ranges.

### attr <code class="doc-parent">DatabaseSecurityFeature.</code><code class="doc-name">PRIVATE_NETWORK</code> [table_fields.py:293](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L293)

```python
PRIVATE_NETWORK = 'private-network'
```

Provisioned natively inside customer's own private network/subnets (e.g. VPC/VNet).

### attr <code class="doc-parent">DatabaseSecurityFeature.</code><code class="doc-name">NETWORK_PEERING</code> [table_fields.py:296](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L296)

```python
NETWORK_PEERING = 'network-peering'
```

Private access via cross-network peering or private service endpoints (e.g. PrivateLink).

### attr <code class="doc-parent">DatabaseSecurityFeature.</code><code class="doc-name">IDENTITY_BASED_AUTH</code> [table_fields.py:300](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L300)

```python
IDENTITY_BASED_AUTH = 'identity-based-auth'
```

Auth offloaded to cloud or enterprise identity providers (e.g. IAM, Entra ID, OIDC, SSO).

### attr <code class="doc-parent">DatabaseSecurityFeature.</code><code class="doc-name">CLIENT_CERT_AUTH</code> [table_fields.py:303](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L303)

```python
CLIENT_CERT_AUTH = 'client-cert-auth'
```

Mutual TLS (mTLS) authentication requiring client-side SSL/TLS certificates.

### attr <code class="doc-parent">DatabaseSecurityFeature.</code><code class="doc-name">ENFORCED_TLS</code> [table_fields.py:307](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L307)

```python
ENFORCED_TLS = 'enforced-tls'
```

Enforceable requirement that all database connections use SSL/TLS (no plaintext fallback).

### attr <code class="doc-parent">DatabaseSecurityFeature.</code><code class="doc-name">CUSTOMER_MANAGED_KEYS</code> [table_fields.py:310](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L310)

```python
CUSTOMER_MANAGED_KEYS = 'customer-managed-keys'
```

Bring Your Own Key (BYOK) support for storage encryption.

### attr <code class="doc-parent">DatabaseSecurityFeature.</code><code class="doc-name">AUDIT_LOGGING</code> [table_fields.py:314](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L314)

```python
AUDIT_LOGGING = 'audit-logging'
```

Detailed database audit logs (e.g. pgaudit) exportable to external logging services or storage.

## class <code class="doc-name">DatabaseStorageScope</code> [table_fields.py:318–324](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L318-L324)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

Scope of a managed database storage product.

**Attributes:**

- [**DATA**](#databasestoragescopedata) – Primary database data storage.
- [**BACKUP**](#databasestoragescopebackup) – Backup or archive storage.

### attr <code class="doc-parent">DatabaseStorageScope.</code><code class="doc-name">DATA</code> [table_fields.py:321](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L321)

```python
DATA = 'data'
```

Primary database data storage.

### attr <code class="doc-parent">DatabaseStorageScope.</code><code class="doc-name">BACKUP</code> [table_fields.py:323](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L323)

```python
BACKUP = 'backup'
```

Backup or archive storage.

## class <code class="doc-name">Disk</code> [table_fields.py:327–343](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L327-L343)

Bases: [`Json`](#json)

Disk definition based on size and storage type.

**Attributes:**

- [**size**](#disksize) ([`int`](https://docs.python.org/3/builtins/functions.html#int)) – Storage size in GB.
- [**storage_type**](#diskstorage_type) ([`StorageType`](#storagetype)) – [Type](#storagetype) of the storage.
- [**description**](#diskdescription) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`str`](https://docs.python.org/3/builtins/stdtypes.html#str)`]`) – Optional description of the storage, e.g. temp disk.
- [**read_iops_max**](#diskread_iops_max) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`int`](https://docs.python.org/3/builtins/functions.html#int)`]`) – Vendor-published maximum read IOPS of the disk.
- [**write_iops_max**](#diskwrite_iops_max) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`int`](https://docs.python.org/3/builtins/functions.html#int)`]`) – Vendor-published maximum write IOPS of the disk.
- [**read_throughput_max**](#diskread_throughput_max) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`int`](https://docs.python.org/3/builtins/functions.html#int)`]`) – Vendor-published maximum read throughput of the disk (MB/s).
- [**write_throughput_max**](#diskwrite_throughput_max) ([`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional)`[`[`int`](https://docs.python.org/3/builtins/functions.html#int)`]`) – Vendor-published maximum write throughput of the disk (MB/s).

### attr <code class="doc-parent">Disk.</code><code class="doc-name">size</code> [table_fields.py:330](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L330)

```python
size: int = 0
```

Storage size in GB.

### attr <code class="doc-parent">Disk.</code><code class="doc-name">storage_type</code> [table_fields.py:332](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L332)

```python
storage_type: StorageType
```

[Type](#storagetype) of the storage.

### attr <code class="doc-parent">Disk.</code><code class="doc-name">description</code> [table_fields.py:334](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L334)

```python
description: Optional[str] = None
```

Optional description of the storage, e.g. temp disk.

### attr <code class="doc-parent">Disk.</code><code class="doc-name">read_iops_max</code> [table_fields.py:336](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L336)

```python
read_iops_max: Optional[int] = None
```

Vendor-published maximum read IOPS of the disk.

### attr <code class="doc-parent">Disk.</code><code class="doc-name">write_iops_max</code> [table_fields.py:338](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L338)

```python
write_iops_max: Optional[int] = None
```

Vendor-published maximum write IOPS of the disk.

### attr <code class="doc-parent">Disk.</code><code class="doc-name">read_throughput_max</code> [table_fields.py:340](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L340)

```python
read_throughput_max: Optional[int] = None
```

Vendor-published maximum read throughput of the disk (MB/s).

### attr <code class="doc-parent">Disk.</code><code class="doc-name">write_throughput_max</code> [table_fields.py:342](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L342)

```python
write_throughput_max: Optional[int] = None
```

Vendor-published maximum write throughput of the disk (MB/s).

## attr <code class="doc-name">DISK_SPEED_FIELDS</code> [table_fields.py:346–351](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L346-L351)

```python
DISK_SPEED_FIELDS = ('read_iops_max', 'write_iops_max', 'read_throughput_max', 'write_throughput_max')
```

Speed fields of a `Disk`, matching the `storage_*` server columns.

## class <code class="doc-name">TrafficDirection</code> [table_fields.py:355–361](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L355-L361)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

Direction of the network traffic.

**Attributes:**

- [**IN**](#trafficdirectionin) – Inbound traffic.
- [**OUT**](#trafficdirectionout) – Outbound traffic.

### attr <code class="doc-parent">TrafficDirection.</code><code class="doc-name">IN</code> [table_fields.py:358](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L358)

```python
IN = 'inbound'
```

Inbound traffic.

### attr <code class="doc-parent">TrafficDirection.</code><code class="doc-name">OUT</code> [table_fields.py:360](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L360)

```python
OUT = 'outbound'
```

Outbound traffic.

## class <code class="doc-name">CpuAllocation</code> [table_fields.py:364–372](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L364-L372)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

CPU allocation methods at cloud vendors.

**Attributes:**

- [**SHARED**](#cpuallocationshared) – Shared CPU with other virtual server tenants.
- [**BURSTABLE**](#cpuallocationburstable) – CPU that can temporarily burst above its baseline performance.
- [**DEDICATED**](#cpuallocationdedicated) – Dedicated CPU with known performance.

### attr <code class="doc-parent">CpuAllocation.</code><code class="doc-name">SHARED</code> [table_fields.py:367](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L367)

```python
SHARED = 'Shared'
```

Shared CPU with other virtual server tenants.

### attr <code class="doc-parent">CpuAllocation.</code><code class="doc-name">BURSTABLE</code> [table_fields.py:369](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L369)

```python
BURSTABLE = 'Burstable'
```

CPU that can temporarily burst above its baseline performance.

### attr <code class="doc-parent">CpuAllocation.</code><code class="doc-name">DEDICATED</code> [table_fields.py:371](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L371)

```python
DEDICATED = 'Dedicated'
```

Dedicated CPU with known performance.

## class <code class="doc-name">CpuArchitecture</code> [table_fields.py:375–387](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L375-L387)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

CPU architectures.

**Attributes:**

- [**ARM64**](#cpuarchitecturearm64) – 64-bit ARM architecture.
- [**ARM64_MAC**](#cpuarchitecturearm64_mac) – Apple 64-bit ARM architecture.
- [**I386**](#cpuarchitecturei386) – 32-bit x86 architecture.
- [**X86_64**](#cpuarchitecturex86_64) – 64-bit x86 architecture.
- [**X86_64_MAC**](#cpuarchitecturex86_64_mac) – Apple 64-bit x86 architecture.

### attr <code class="doc-parent">CpuArchitecture.</code><code class="doc-name">ARM64</code> [table_fields.py:378](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L378)

```python
ARM64 = 'arm64'
```

64-bit ARM architecture.

### attr <code class="doc-parent">CpuArchitecture.</code><code class="doc-name">ARM64_MAC</code> [table_fields.py:380](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L380)

```python
ARM64_MAC = 'arm64_mac'
```

Apple 64-bit ARM architecture.

### attr <code class="doc-parent">CpuArchitecture.</code><code class="doc-name">I386</code> [table_fields.py:382](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L382)

```python
I386 = 'i386'
```

32-bit x86 architecture.

### attr <code class="doc-parent">CpuArchitecture.</code><code class="doc-name">X86_64</code> [table_fields.py:384](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L384)

```python
X86_64 = 'x86_64'
```

64-bit x86 architecture.

### attr <code class="doc-parent">CpuArchitecture.</code><code class="doc-name">X86_64_MAC</code> [table_fields.py:386](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L386)

```python
X86_64_MAC = 'x86_64_mac'
```

Apple 64-bit x86 architecture.

## class <code class="doc-name">DdrGeneration</code> [table_fields.py:390–398](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L390-L398)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

Generation of the DDR SDRAM.

**Attributes:**

- [**DDR3**](#ddrgenerationddr3) – DDR3 SDRAM.
- [**DDR4**](#ddrgenerationddr4) – DDR4 SDRAM.
- [**DDR5**](#ddrgenerationddr5) – DDR5 SDRAM.

### attr <code class="doc-parent">DdrGeneration.</code><code class="doc-name">DDR3</code> [table_fields.py:393](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L393)

```python
DDR3 = 'DDR3'
```

DDR3 SDRAM.

### attr <code class="doc-parent">DdrGeneration.</code><code class="doc-name">DDR4</code> [table_fields.py:395](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L395)

```python
DDR4 = 'DDR4'
```

DDR4 SDRAM.

### attr <code class="doc-parent">DdrGeneration.</code><code class="doc-name">DDR5</code> [table_fields.py:397](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L397)

```python
DDR5 = 'DDR5'
```

DDR5 SDRAM.

## class <code class="doc-name">Allocation</code> [table_fields.py:401–409](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L401-L409)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

Server allocation options.

**Attributes:**

- [**ONDEMAND**](#allocationondemand) – On-demand server.
- [**RESERVED**](#allocationreserved) – Reserved server.
- [**SPOT**](#allocationspot) – Spot/preemptible server.

### attr <code class="doc-parent">Allocation.</code><code class="doc-name">ONDEMAND</code> [table_fields.py:404](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L404)

```python
ONDEMAND = 'ondemand'
```

On-demand server.

### attr <code class="doc-parent">Allocation.</code><code class="doc-name">RESERVED</code> [table_fields.py:406](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L406)

```python
RESERVED = 'reserved'
```

Reserved server.

### attr <code class="doc-parent">Allocation.</code><code class="doc-name">SPOT</code> [table_fields.py:408](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L408)

```python
SPOT = 'spot'
```

Spot/preemptible server.

## class <code class="doc-name">PriceUnit</code> [table_fields.py:412–426](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L412-L426)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

Supported units for the price tables.

**Attributes:**

- [**YEAR**](#priceunityear) – Price per year.
- [**MONTH**](#priceunitmonth) – Price per month.
- [**HOUR**](#priceunithour) – Price per hour.
- [**GIB**](#priceunitgib) – Price per gibibyte (GiB).
- [**GB**](#priceunitgb) – Price per gigabyte (GB).
- [**GB_MONTH**](#priceunitgb_month) – Price per gigabyte (GB)/month.

### attr <code class="doc-parent">PriceUnit.</code><code class="doc-name">YEAR</code> [table_fields.py:415](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L415)

```python
YEAR = 'year'
```

Price per year.

### attr <code class="doc-parent">PriceUnit.</code><code class="doc-name">MONTH</code> [table_fields.py:417](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L417)

```python
MONTH = 'month'
```

Price per month.

### attr <code class="doc-parent">PriceUnit.</code><code class="doc-name">HOUR</code> [table_fields.py:419](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L419)

```python
HOUR = 'hour'
```

Price per hour.

### attr <code class="doc-parent">PriceUnit.</code><code class="doc-name">GIB</code> [table_fields.py:421](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L421)

```python
GIB = 'GiB'
```

Price per gibibyte (GiB).

### attr <code class="doc-parent">PriceUnit.</code><code class="doc-name">GB</code> [table_fields.py:423](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L423)

```python
GB = 'GB'
```

Price per gigabyte (GB).

### attr <code class="doc-parent">PriceUnit.</code><code class="doc-name">GB_MONTH</code> [table_fields.py:425](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L425)

```python
GB_MONTH = 'GB/month'
```

Price per gigabyte (GB)/month.

## class <code class="doc-name">PriceTier</code> [table_fields.py:429–458](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L429-L458)

Bases: [`Json`](#json)

Price tier definition.

Infinite bounds (e.g. for an open-ended upper tier) are stored as
`float("inf")` in Python and automatically serialized to the
JSON-safe string `"Infinity"` on export. Both representations are
accepted as input: the model validator converts `"Infinity"` back
to `float("inf")` when loading from JSON.

**Attributes:**

- [**lower**](#pricetierlower) ([`float`](https://docs.python.org/3/builtins/functions.html#float)) – Lower bound of pricing tier, e.g. 100 GB. Unit is defined in the parent object.
- [**upper**](#pricetierupper) ([`float`](https://docs.python.org/3/builtins/functions.html#float)) – Upper bound of pricing tier, e.g. 1 TB. Unit is defined in the parent object.
- [**price**](#pricetierprice) ([`float`](https://docs.python.org/3/builtins/functions.html#float)) – Price in the pricing tier. Currency is defined in the parent object.

### attr <code class="doc-parent">PriceTier.</code><code class="doc-name">lower</code> [table_fields.py:438](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L438)

```python
lower: float
```

Lower bound of pricing tier, e.g. 100 GB. Unit is defined in the parent object.

### attr <code class="doc-parent">PriceTier.</code><code class="doc-name">upper</code> [table_fields.py:440](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L440)

```python
upper: float
```

Upper bound of pricing tier, e.g. 1 TB. Unit is defined in the parent object.

### attr <code class="doc-parent">PriceTier.</code><code class="doc-name">price</code> [table_fields.py:442](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L442)

```python
price: float
```

Price in the pricing tier. Currency is defined in the parent object.

## class <code class="doc-name">Parallelism</code> [table_fields.py:461–467](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L461-L467)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

Parallelism mode of a benchmark run.

**Attributes:**

- [**SINGLE**](#parallelismsingle) – Benchmark run on a single core.
- [**MULTI**](#parallelismmulti) – Benchmark run across multiple cores.

### attr <code class="doc-parent">Parallelism.</code><code class="doc-name">SINGLE</code> [table_fields.py:464](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L464)

```python
SINGLE = 'single'
```

Benchmark run on a single core.

### attr <code class="doc-parent">Parallelism.</code><code class="doc-name">MULTI</code> [table_fields.py:466](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L466)

```python
MULTI = 'multi'
```

Benchmark run across multiple cores.

## class <code class="doc-name">BenchmarkComponentAggregationMethod</code> [table_fields.py:470–475](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L470-L475)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

How component benchmark scores are combined into one composite score.

**Attributes:**

- [**WEIGHTED_GEOMETRIC_MEAN**](#benchmarkcomponentaggregationmethodweighted_geometric_mean) – Weighted geometric mean: 2 ** (Σ wᵢ·log2(normalizedᵢ) / Σ wᵢ). Preserves

### attr <code class="doc-parent">BenchmarkComponentAggregationMethod.</code><code class="doc-name">WEIGHTED_GEOMETRIC_MEAN</code> [table_fields.py:473](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L473)

```python
WEIGHTED_GEOMETRIC_MEAN = 'weighted_geometric_mean'
```

Weighted geometric mean: 2 ** (Σ wᵢ·log2(normalizedᵢ) / Σ wᵢ). Preserves
ratio/percentage linearity and is robust to outliers.

## class <code class="doc-name">BenchmarkComponentNormalizationMethod</code> [table_fields.py:478–483](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L478-L483)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

How each raw benchmark value is scaled to be comparable across benchmarks.

**Attributes:**

- [**MEDIAN_RATIO**](#benchmarkcomponentnormalizationmethodmedian_ratio) – Oriented ratio to the fleet median for that benchmark: raw/median when

### attr <code class="doc-parent">BenchmarkComponentNormalizationMethod.</code><code class="doc-name">MEDIAN_RATIO</code> [table_fields.py:481](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L481)

```python
MEDIAN_RATIO = 'median_ratio'
```

Oriented ratio to the fleet median for that benchmark: raw/median when
higher-is-better, median/raw otherwise. 1.0 == the fleet median.

## class <code class="doc-name">BenchmarkComponentMissingPolicy</code> [table_fields.py:486–500](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L486-L500)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

What to do when a component has no usable measurement for a server.

**Attributes:**

- [**IGNORE**](#benchmarkcomponentmissingpolicyignore) – Omit the component and renormalize weights over the rest (default).
- [**PENALIZE**](#benchmarkcomponentmissingpolicypenalize) – Substitute the component's `penalty` floor as the normalized value and keep
- [**REQUIRE**](#benchmarkcomponentmissingpolicyrequire) – Suppress the whole compound score for that server if the component is

### attr <code class="doc-parent">BenchmarkComponentMissingPolicy.</code><code class="doc-name">IGNORE</code> [table_fields.py:489](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L489)

```python
IGNORE = 'ignore'
```

Omit the component and renormalize weights over the rest (default).
Use when the metric is genuinely optional

### attr <code class="doc-parent">BenchmarkComponentMissingPolicy.</code><code class="doc-name">PENALIZE</code> [table_fields.py:493](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L493)

```python
PENALIZE = 'penalize'
```

Substitute the component's `penalty` floor as the normalized value and keep
its full weight, so the composite collapses toward zero. Use when missing means
failure (e.g. a benchmark that timed out / could not complete).

### attr <code class="doc-parent">BenchmarkComponentMissingPolicy.</code><code class="doc-name">REQUIRE</code> [table_fields.py:498](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L498)

```python
REQUIRE = 'require'
```

Suppress the whole compound score for that server if the component is
missing. Use when the component is load-bearing for the profile's meaning.

## class <code class="doc-name">ScoreComponent</code> [table_fields.py:503–523](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L503-L523)

Bases: [`Json`](#json)

One component's contribution to a composite workload profile score.

**Attributes:**

- [**label**](#scorecomponentlabel) ([`str`](https://docs.python.org/3/builtins/stdtypes.html#str)) – Human-readable, concise description of what the component measures.
- [**weight**](#scorecomponentweight) ([`float`](https://docs.python.org/3/builtins/functions.html#float)) – Relative weight of this component. Weights within a workload sum to 1.0.
- [**weight_share**](#scorecomponentweight_share) ([`float`](https://docs.python.org/3/builtins/functions.html#float)) – The weight of this component as a share of the total weight (0.0 for ignored components).
- [**raw**](#scorecomponentraw) ([`int`](https://docs.python.org/3/builtins/functions.html#int) | [`float`](https://docs.python.org/3/builtins/functions.html#float) | `None`) – The raw benchmark value.
- [**reference**](#scorecomponentreference) ([`int`](https://docs.python.org/3/builtins/functions.html#int) | [`float`](https://docs.python.org/3/builtins/functions.html#float) | `None`) – The reference benchmark value, e.g. the fleet median.
- [**normalized**](#scorecomponentnormalized) ([`float`](https://docs.python.org/3/builtins/functions.html#float) | `None`) – The normalized benchmark value, e.g. the ratio of the raw value to the reference value.
- [**higher_is_better**](#scorecomponenthigher_is_better) ([`bool`](https://docs.python.org/3/builtins/functions.html#bool)) – Whether a higher value is better.
- [**note**](#scorecomponentnote) ([`str`](https://docs.python.org/3/builtins/stdtypes.html#str) | `None`) – Optional note about this component.
- [**impact**](#scorecomponentimpact) ([`float`](https://docs.python.org/3/builtins/functions.html#float) | `None`) – How much this benchmark component raised or lowered the overall workload score. Values are approximate percentages (positive helps, negative hurts the final score), do not add up to the total score, and actual formula depends on the workload's aggregation and normalization methods.

### attr <code class="doc-parent">ScoreComponent.</code><code class="doc-name">label</code> [table_fields.py:506](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L506)

```python
label: str
```

Human-readable, concise description of what the component measures.

### attr <code class="doc-parent">ScoreComponent.</code><code class="doc-name">weight</code> [table_fields.py:508](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L508)

```python
weight: float
```

Relative weight of this component. Weights within a workload sum to 1.0.

### attr <code class="doc-parent">ScoreComponent.</code><code class="doc-name">weight_share</code> [table_fields.py:510](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L510)

```python
weight_share: float
```

The weight of this component as a share of the total weight (0.0 for ignored components).

### attr <code class="doc-parent">ScoreComponent.</code><code class="doc-name">raw</code> [table_fields.py:512](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L512)

```python
raw: int | float | None = None
```

The raw benchmark value.

### attr <code class="doc-parent">ScoreComponent.</code><code class="doc-name">reference</code> [table_fields.py:514](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L514)

```python
reference: int | float | None = None
```

The reference benchmark value, e.g. the fleet median.

### attr <code class="doc-parent">ScoreComponent.</code><code class="doc-name">normalized</code> [table_fields.py:516](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L516)

```python
normalized: float | None = None
```

The normalized benchmark value, e.g. the ratio of the raw value to the reference value.

### attr <code class="doc-parent">ScoreComponent.</code><code class="doc-name">higher_is_better</code> [table_fields.py:518](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L518)

```python
higher_is_better: bool = True
```

Whether a higher value is better.

### attr <code class="doc-parent">ScoreComponent.</code><code class="doc-name">note</code> [table_fields.py:520](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L520)

```python
note: str | None = None
```

Optional note about this component.

### attr <code class="doc-parent">ScoreComponent.</code><code class="doc-name">impact</code> [table_fields.py:522](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L522)

```python
impact: float | None = None
```

How much this benchmark component raised or lowered the overall workload score. Values are approximate percentages (positive helps, negative hurts the final score), do not add up to the total score, and actual formula depends on the workload's aggregation and normalization methods.

## class <code class="doc-name">WorkloadScoreBreakdown</code> [table_fields.py:526–536](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L526-L536)

Bases: [`Json`](#json)

Per-server realized calculation of a composite workload profile score.

**Attributes:**

- [**aggregation**](#workloadscorebreakdownaggregation) ([`BenchmarkComponentAggregationMethod`](#benchmarkcomponentaggregationmethod)) – How the component benchmark scores are combined into one composite score.
- [**normalization**](#workloadscorebreakdownnormalization) ([`BenchmarkComponentNormalizationMethod`](#benchmarkcomponentnormalizationmethod)) – How each raw benchmark value is scaled to be comparable across benchmarks.
- [**coverage**](#workloadscorebreakdowncoverage) ([`float`](https://docs.python.org/3/builtins/functions.html#float)) – The total weight of the components.
- [**components**](#workloadscorebreakdowncomponents) ([`list`](https://docs.python.org/3/builtins/stdtypes.html#list)`[`[`ScoreComponent`](#scorecomponent)`]`) – The components of the workload profile.

### attr <code class="doc-parent">WorkloadScoreBreakdown.</code><code class="doc-name">aggregation</code> [table_fields.py:529](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L529)

```python
aggregation: BenchmarkComponentAggregationMethod
```

How the component benchmark scores are combined into one composite score.

### attr <code class="doc-parent">WorkloadScoreBreakdown.</code><code class="doc-name">normalization</code> [table_fields.py:531](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L531)

```python
normalization: BenchmarkComponentNormalizationMethod
```

How each raw benchmark value is scaled to be comparable across benchmarks.

### attr <code class="doc-parent">WorkloadScoreBreakdown.</code><code class="doc-name">coverage</code> [table_fields.py:533](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L533)

```python
coverage: float
```

The total weight of the components.

### attr <code class="doc-parent">WorkloadScoreBreakdown.</code><code class="doc-name">components</code> [table_fields.py:535](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L535)

```python
components: list[ScoreComponent]
```

The components of the workload profile.

## class <code class="doc-name">Category</code> [table_fields.py:539–553](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L539-L553)

Bases: [`str`](https://docs.python.org/3/builtins/stdtypes.html#str), [`Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)

Workload category for a cloud server type.

**Attributes:**

- [**GENERAL_PURPOSE**](#categorygeneral_purpose) – General-purpose server.
- [**COMPUTE_OPTIMIZED**](#categorycompute_optimized) – Compute-optimized server.
- [**MEMORY_OPTIMIZED**](#categorymemory_optimized) – Memory-optimized server.
- [**STORAGE_AND_DATABASE**](#categorystorage_and_database) – Storage- and database-optimized server.
- [**GPU_ACCELERATED**](#categorygpu_accelerated) – GPU-accelerated server.
- [**BURSTABLE_AND_BUDGET**](#categoryburstable_and_budget) – Burstable and budget-friendly server.

### attr <code class="doc-parent">Category.</code><code class="doc-name">GENERAL_PURPOSE</code> [table_fields.py:542](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L542)

```python
GENERAL_PURPOSE = 'General Purpose'
```

General-purpose server.

### attr <code class="doc-parent">Category.</code><code class="doc-name">COMPUTE_OPTIMIZED</code> [table_fields.py:544](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L544)

```python
COMPUTE_OPTIMIZED = 'Compute Optimized'
```

Compute-optimized server.

### attr <code class="doc-parent">Category.</code><code class="doc-name">MEMORY_OPTIMIZED</code> [table_fields.py:546](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L546)

```python
MEMORY_OPTIMIZED = 'Memory Optimized'
```

Memory-optimized server.

### attr <code class="doc-parent">Category.</code><code class="doc-name">STORAGE_AND_DATABASE</code> [table_fields.py:548](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L548)

```python
STORAGE_AND_DATABASE = 'Storage & Database'
```

Storage- and database-optimized server.

### attr <code class="doc-parent">Category.</code><code class="doc-name">GPU_ACCELERATED</code> [table_fields.py:550](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L550)

```python
GPU_ACCELERATED = 'GPU Accelerated'
```

GPU-accelerated server.

### attr <code class="doc-parent">Category.</code><code class="doc-name">BURSTABLE_AND_BUDGET</code> [table_fields.py:552](https://github.com/SpareCores/sc-crawler/blob/81bb61ea164dda526de4aa6de298810007274f21/src/sc_crawler/table_fields.py#L552)

```python
BURSTABLE_AND_BUDGET = 'Burstable & Budget'
```

Burstable and budget-friendly server.
