check_snippet
Statically analyze Python code using CuPy or nvmath-python to detect nonexistent functions, modules, or enum members, invalid arguments, and missing required parameters without running it.
Instructions
Statically check Python code that uses CuPy / nvmath-python without running it: reports functions, modules and enum members that do not exist (with the closest real names), unknown or positional-only keyword arguments, too many positional arguments and missing required arguments.
Args:
code: Python source code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |