Library of common types, protocols (a.k.a. structural subtypes), and utilities to support AI test and evaluation