brainscore_core.plugin_management.metadata_utils

Functions

get_existing_meta_ids(benchmark_instances)

Extract existing metadata IDs from benchmark instances.

process_data_metadata(data_info, existing_id)

Process data metadata and update or create record.

process_metric_metadata(metric_info, existing_id)

Process metric metadata and update or create record.

process_stimuli_metadata(stimulus_data, ...)

Process stimulus metadata and update or create record.

update_benchmark_instances(...)

Update benchmark instances with new metadata IDs.

update_or_create_meta_record(model_class, ...)

Generic helper function to update or create metadata records.

Classes

BenchmarkMetaResult(benchmark_identifier, ...)

A class to hold benchmark metadata results and provide the expected interface.