MCPcopy Create free account
hub / github.com/NVlabs/ACID / agreement

Function agreement

ACID/src/utils/plushsim_util.py:449–465  ·  view source on GitHub ↗

Proportion of shared values between two sorted lists at given depth. >>> _round(agreement("abcde", "abdcf", 1)) 1.0 >>> _round(agreement("abcde", "abdcf", 3)) 0.667 >>> _round(agreement("abcde", "abdcf", 4)) 1.0 >>> _round(agreement("abcde", "abdcf", 5)) 0.8 >>> _

(list1, list2, depth)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

overlapFunction · 0.85
rbo_extFunction · 0.85

Calls 1

raw_overlapFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…