---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/context/thrift/relevance/functions/scaledRelevanceFloor.md
---

# Function: scaledRelevanceFloor()

```ts
function scaledRelevanceFloor(utilization: number): number;
```

Defined in: [src/batteries/context/thrift/relevance.ts:84](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/context/thrift/relevance.ts#L84)

Scale the relevance floor between [RELEVANCE\_FLOOR\_MIN](../variables/RELEVANCE_FLOOR_MIN.md) (empty window, permissive) and
[RELEVANCE\_FLOOR\_MAX](../variables/RELEVANCE_FLOOR_MAX.md) (full window, strict) by a convex curve on window utilization — see
[RELEVANCE\_FLOOR\_CURVE](../variables/RELEVANCE_FLOOR_CURVE.md) for why convex.

## Parameters

| Parameter     | Type     | Description                                                                                                                                                                                                                                                       |
| ------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `utilization` | `number` | How full the window already is, as a fraction in `[0, 1]` (values outside the range are clamped). Typically `olderTurnsTokens / historyBudget` — how much of the OLDER-turn budget is already spent by turns kept unconditionally (e.g. the `keepRecent` window). |

## Returns

`number`

The minimum shared-content-word fraction (see [relevanceToQuery](relevanceToQuery.md)) a turn must clear
to survive selection at this utilization level.
