unilab.utils.support_matrix¶
Generate backend support matrix content from registry, configs, and tests.
Functions
|
|
|
|
|
|
|
|
|
Classes
EntrypointSpec(entrypoint_id: 'str', label: 'str', config_dir: 'str', task_glob: 'str', generic_tested: 'bool' = False) |
|
SupportCell(env_name: 'str', level: 'EvidenceLevel') |
|
SupportRow(entrypoint_label: 'str', task_slug: 'str', task_label: 'str', cells: 'dict[str, SupportCell]') |
- class unilab.utils.support_matrix.EvidenceLevel[source]¶
Bases:
IntEnum- MISSING = 0¶
- REGISTERED = 1¶
- CONFIGURED = 2¶
- TESTED = 3¶
- BENCHMARKED = 4¶
- RECOMMENDED = 5¶
- __new__(value)¶
- class unilab.utils.support_matrix.EntrypointSpec[source]¶
Bases:
objectEntrypointSpec(entrypoint_id: ‘str’, label: ‘str’, config_dir: ‘str’, task_glob: ‘str’, generic_tested: ‘bool’ = False)
- class unilab.utils.support_matrix.SupportCell[source]¶
Bases:
objectSupportCell(env_name: ‘str’, level: ‘EvidenceLevel’)
- Parameters:
env_name (
str)level (
EvidenceLevel)
-
level:
EvidenceLevel¶
- __init__(env_name, level)¶
- Parameters:
env_name (
str)level (
EvidenceLevel)
- class unilab.utils.support_matrix.SupportRow[source]¶
Bases:
objectSupportRow(entrypoint_label: ‘str’, task_slug: ‘str’, task_label: ‘str’, cells: ‘dict[str, SupportCell]’)
-
cells:
dict[str,SupportCell]¶
-
cells:
- unilab.utils.support_matrix.repo_root(root=None)[source]¶
- Parameters:
root (
Path|None)- Return type:
Path
- unilab.utils.support_matrix.build_support_rows(root=None)[source]¶
- Parameters:
root (
Path|None)- Return type: