sdk/python/Testing/PyEditdistance
Testing

PyEditdistance

Third-party Python package module — editdistance. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.distance()Neutral
#
Signature
distance(a, b)

distance function.

.distance_le_than()Neutral
#
Signature
distance_le_than(a, b, thr)

distance_le_than function.

.eval()Neutral
#
Signature
eval(a, b)

eval function.

.eval_criterion()Neutral
#
Signature
eval_criterion(a, b, thr)

eval_criterion function.

Fully-Qualified Names

FQNField
editdistancefqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import editdistance