Commit 5f929dba authored by Mitar's avatar Mitar
Browse files

Add core primitives.

parent aba105ed
Pipeline #109068778 passed with stages
in 22 minutes and 1 second
......@@ -129,6 +129,10 @@ FIXED_PACKAGE_VERSIONS = {
},
}
D3M_PRIMITIVES = {
'd3m.primitives.evaluation.compute_scores.Core',
}
parser = argparse.ArgumentParser(description="Run primitive annotation validation.")
parser.add_argument(
'-d', '--devel', action='store_true',
......@@ -183,7 +187,7 @@ def get_all_primitives_for_interface_version(interface_version):
return {
PRIMITIVE_ANNOTATION_REGEX.search(file_path).groupdict()['python_path']
for file_path in glob.glob('{interface_version}/*/*/*/primitive.json'.format(interface_version=interface_version))
}
} | D3M_PRIMITIVES
def make_hashable(obj):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment