compute_entropy
Calculate the Shannon entropy of text to measure randomness or information content per character. Optionally test if entropy exceeds a minimum 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 |