---
title: "FitGrade"
sidebar_label: "FitGrade"
description: "Kotlin binding reference: FitGrade."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.modelverse](../index.md)/[FitGrade](index.md)

# FitGrade

[common]\
enum [FitGrade](index.md) : [Enum](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-enum/index.html)&lt;[FitGrade](index.md)&gt; 

How comfortably a model's need sits in a device's memory, read from the memory share at the admitted context: at most 60 percent is [PERFECT](PERFECT/index.md), at most 85 [GOOD](GOOD/index.md), at most 98 [MARGINAL](MARGINAL/index.md), above it [TOO_TIGHT](TOO_TIGHT/index.md) (no room left for the allocator), and a need no context of the device holds is [DOES_NOT_FIT](DOES_NOT_FIT/index.md). [word](word.md) is the library's own spelling, the one the command line's `check` verb prints.

## Entries

| | |
|---|---|
| [PERFECT](PERFECT/index.md) | [common]<br>[PERFECT](PERFECT/index.md) |
| [GOOD](GOOD/index.md) | [common]<br>[GOOD](GOOD/index.md) |
| [MARGINAL](MARGINAL/index.md) | [common]<br>[MARGINAL](MARGINAL/index.md) |
| [TOO_TIGHT](TOO_TIGHT/index.md) | [common]<br>[TOO_TIGHT](TOO_TIGHT/index.md) |
| [DOES_NOT_FIT](DOES_NOT_FIT/index.md) | [common]<br>[DOES_NOT_FIT](DOES_NOT_FIT/index.md) |

## Types

| Name | Summary |
|---|---|
| [Companion](Companion/index.md) | [common]<br>object [Companion](Companion/index.md) |

## Properties

| Name | Summary |
|---|---|
| [name](../../io.clika.runtime/PaddingSide/LEFT/index.md) | [common]<br>val [name](../../io.clika.runtime/PaddingSide/LEFT/index.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) |
| [ordinal](../../io.clika.runtime/PaddingSide/LEFT/index.md) | [common]<br>val [ordinal](../../io.clika.runtime/PaddingSide/LEFT/index.md): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) |
| [word](word.md) | [common]<br>val [word](word.md): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) |

## Functions

| Name | Summary |
|---|---|
| [valueOf](valueOf.md) | [common]<br>fun [valueOf](valueOf.md)(value: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)): [FitGrade](index.md)<br>Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) |
| [values](values.md) | [common]<br>fun [values](values.md)(): [Array](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html)&lt;[FitGrade](index.md)&gt;<br>Returns an array containing the constants of this enum type, in the order they're declared. |