feat: attach user-defined metadata to Nexus YAML manifest files
Les mainteneurs répondent en général sous 1 jour
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 45/100
Piste de recherche
The payload names no source files, so start by finding the nexus validate entry point and the schema or parser for the benchmark, instance, experiment package and binding YAML formats. Add an optional flat string-to-string metadata field, with keys and values capped at 4096 characters, to all four. Done when a manifest containing metadata passes nexus validate, and a manifest with an over-long key or value is rejected.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Is your feature request related to a problem? Please describe.
There is no supported way to attach arbitrary key-value annotations to a Nexus manifest YAML files.
To work around this, I need to store that context outside Nexus (in README.md files, custom YAML/JSON files, etc) and must manually associate these files with the nexus YAML manifests.
Describe the solution you'd like.
Add an optional top-level metadata field to benchmark, benchmark instance, experiment, and binding YAML files. The field accepts a flat string-to-string dictionary. Both keys and values are strings of up to 4 096 characters. The field is optional and may be omitted entirely.
Example benchmark.yaml with the new field:
benchmarkIdentifier: inference_serving
title: Inference Serving Benchmark
metadata:
data_source_version: "v2.1.0"
owning_team: "platform-perf"
Example instance.yaml with the new field:
instanceIdentifier: small_model_8b
benchmarkIdentifier: inference_serving
metadata:
region: "us-south"
endpoint-url: "http://ibm.com/my-endpoint/"
Example experiment_package.yaml with the new field:
experiment_package:
requirement_specifier: https://github.com/IBM/my-experiment.git
experiments:
- my_experiment
metadata:
author: IBM
Example binding YAML with the new field:
instanceBindingIdentifier: my_binding
instanceReference: inference_serving/small_model_8b
metadata:
run_label: "nightly-2025-07-01"
The nexus validate command should accept files that include this field without reporting a validation error.
Describe alternatives you've considered.
Using YAML comments (# key: value) to store annotations: this is unstructured and not accessible to the CLI or any downstream tooling; it cannot be queried or validated.
Using the existing description string field on benchmark and instance: this is a hack that misues the description field, conflating human-readable text with machine-readable tags.
- Langage dominant
- Python
- Étoiles
- 4
- Forks
- 8
- Merge moyen
- 16 h 12 min
- PR mergées (30 j)
- 23
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de IBM/algorithm-nexus
-
bug: Experiment package validation does not report the proper errorPeut-être pris @christian-pinto l’a pris aujourd’hui. Ouvertebug
IBM/algorithm-nexus#344 · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
security
Difficulté 3/5 Une demi-journée Accessibilité débutants 35/100
IBM/algorithm-nexus#340 ·
Les mainteneurs répondent en général sous 1 jour
-
bug: Do not allow extra files to be placed in the experiment folderPeut-être pris @christian-pinto l’a pris il y a 6 jours. Ouvertebug
IBM/algorithm-nexus#338 · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
feat: Update experiment submission documentation to allow for additional operation.yamlPeut-être pris @christian-pinto l’a pris il y a 6 jours. Ouverteenhancement
IBM/algorithm-nexus#337 · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
docs: improve readmeOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 68/100
IBM/algorithm-nexus#276 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de IBM/algorithm-nexus
Issues similaires
-
question
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
conda-forge/vc-feedstock#132 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
limitlessprojects/Go-Hybrid#3342 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
UKGovernmentBEIS/inspect_ai#6268 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
LSSTDESC/rail_sompz#42 ·
-
All tests fail with 'EXITED with status 3' on pytest 9.2.0 (TestReport._id is not marshallable)Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
pytest-dev/pytest-forked#113 ·