> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Expansion Ratio • Rust AI Agent SDK

> expansion_ratio: Get expansion ratio (expanded length / original length)

# expansion\_ratio

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**ExpandResult**](../classes/ExpandResult) class in the [**specialized\_agents**](../modules/specialized_agents) module.

Get expansion ratio (expanded length / original length)

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def expansion_ratio(&self) -> f64
```

### Returns

<ResponseField name="Returns" type="f64">
  The result of the operation.
</ResponseField>
