Integrity
Is code
![](https://mintlify.s3-us-west-1.amazonaws.com/openlayer-44/images/tests/integrity/integrity_icon.png)
Definition
The is code test allows you to check if a specified column contains executable code. Currently, Python and JS code are supported.
Taxonomy
- Category: Integrity.
- Task types: LLM.
- Availability: and .
Why it matters
- If the LLM is used for code generation or understanding, it is important to ensure that the code is valid and executable.
- For code generation with LLMs, it is particularly important to ensure that the generated code is valid, and not a hallucination.
Was this page helpful?