# helia_aot.platforms.presentation

Shared registered-platform facts for discovery and documentation.

## helia_aot.platforms.presentation.platform_record

`function` · `python`

```python
platform_record(platform: SocPlatform) -> dict[str, Any]
```

The configuration a resolved platform gives a conversion, and where each value came from.

Provisional: importable, but outside the compatibility promise; a minor release can change or remove it.

The keys of :func:`describe_platform` and :func:`with_catalog_facts` (``target``, and each memory's ``regions``
and ``dma_boundary``), plus ``schema`` (this record's version), ``facts``, ``boot``, ``addons``,
``core_lineage`` and ``catalog`` (the catalog identity, ``identity_record``), which are None or empty for a
platform without a binding. A platform derived from its catalog target (``facts`` ``catalog``) also has
``min_alignment_origin`` (``policy`` or ``caller``), ``min_alignment_derived``, each memory's ``derived_bytes``
and ``reserved``, ``left_out`` (``{region, memory, reason}`` per region no budget uses) and, when
the enabled set differs from the derived one, ``derived_capabilities``. Provisional.

**Parameters**

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| platform | SocPlatform | Required | A platform ``resolve_platform`` returned. |

**Returns**

| Name | Type | Description |
| --- | --- | --- |
|  | dict[str, Any] | dict[str, Any]: The record, JSON data independent of the platform. |

**Raises**

| Name | Description |
| --- | --- |
| InvalidConfigError | If a built-in bound on use has a side-loaded source that cannot be loaded, naming it. |

Source: `helia_aot/platforms/presentation.py:85`
