## aggregate.GridAudit


The cells an audit built and the one it chose, from [audit_grid](aggregate.audit_grid.md#prospicio.aggregate.audit_grid) or


Usage


``` python
aggregate.GridAudit()
```


[audit_portfolio_grid](aggregate.audit_portfolio_grid.md#prospicio.aggregate.audit_portfolio_grid).


## Attributes

| Name | Description |
|----|----|
| [best](#best) | The chosen cell. |
| [cells](#cells) | Every cell built, the center first, as dicts: `d_step` and |
| [grew](#grew) | Whether the chosen cell has twice the center's points. |
| [log2](#log2) | The chosen [log2](aggregate.GridAudit.md#prospicio.aggregate.GridAudit.log2). |
| [probed](#probed) | False when the center met the target and nothing else was built. |
| [reason](#reason) | Why that cell was chosen. |
| [selected](#selected) | The index of the chosen cell in [cells](aggregate.GridAudit.md#prospicio.aggregate.GridAudit.cells). |
| [step](#step) | The chosen step. |

------------------------------------------------------------------------


#### best


The chosen cell.


`best: dict`


------------------------------------------------------------------------


#### cells


Every cell built, the center first, as dicts: `d_step` and


`cells: list[dict]`


`d_log2` (the moves from the center, in doublings), [step](esg.Scenarios.md#prospicio.esg.Scenarios.step), [log2](aggregate.GridAudit.md#prospicio.aggregate.GridAudit.log2), [score](models.GamFit.md#prospicio.models.GamFit.score), the six terms ([severity_mean](aggregate.Ruin.md#prospicio.aggregate.Ruin.severity_mean) to `aggregate_skew`, `None` when skipped), [tail_mass](aggregate.CompoundReport.md#prospicio.aggregate.CompoundReport.tail_mass) (the mass beyond the grid), [aliasing_error](aggregate.CompoundReport.md#prospicio.aggregate.CompoundReport.aliasing_error), `defective` (mass lost, so never chosen while a sound cell exists), [selected](aggregate.GridAudit.md#prospicio.aggregate.GridAudit.selected) and `note`.


------------------------------------------------------------------------


#### grew


Whether the chosen cell has twice the center's points.


`grew: bool`


------------------------------------------------------------------------


#### log2


The chosen [log2](aggregate.GridAudit.md#prospicio.aggregate.GridAudit.log2).


`log2: int`


------------------------------------------------------------------------


#### probed


False when the center met the target and nothing else was built.


`probed: bool`


------------------------------------------------------------------------


#### reason


Why that cell was chosen.


`reason: str`


------------------------------------------------------------------------


#### selected


The index of the chosen cell in [cells](aggregate.GridAudit.md#prospicio.aggregate.GridAudit.cells).


`selected: int`


------------------------------------------------------------------------


#### step


The chosen step.


`step: float`
