compute_entropy
Calculate Shannon entropy of a text string in bits per character, and check if it passes an optional minimum entropy threshold.
Instructions
Compute the Shannon entropy of a text string (in bits per character)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to compute entropy for | |
| minEntropy | No | Optional: check if text passes this minimum entropy threshold |