Redesigned experiment configuration
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
Línea de trabajo
Start by reading the configuration loader, experiment invocation CLI, and output directory handling; the issue does not name their files. Trace how an experiment type is selected and where execution results are written, then identify the tests covering configuration loading and invocation. Done means named experiments can be selected individually or with --all, overrides follow the listed precedence, each run gets its own directory, and postprocessing accepts --run-dir.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Based on the feedback of @lijiaheng09 - to be discussed.
Currently, SeBS has multiple independent experiment configurations, but does not allow to have multiple configurations for the same experiment. SeBS should support multiple configurations of the same experiment type, loading experiments from different configuration files, and storing each execution in its own results directory. The current example.json includes settings for all experiment types, although the loader already allows unused type-specific sections to be omitted. Output handling creates another problem: experiments append a fixed directory named after their type, such as perf-cost; different configurations and repeated executions can therefore write into the same directory.
We should separate the three concepts of an experiment type, experiment ID (named by the user), and the run ID, which is generated automatically and encodes the date. Example below:
{
"schema_version": 2,
"defaults": {
"deployment": "aws-us-east",
"architecture": "x64",
"system_variant": "package",
"runtime": {
"language": "python",
"version": "3.11"
},
"output_root": "./results"
},
"deployments": {
"aws-us-east": {
"provider": "aws",
"region": "us-east-1",
"resources": {
"use_function_url": true,
"function_url_auth_type": "NONE"
}
},
"aws-eu-west": {
"provider": "aws",
"region": "eu-west-1",
"resources": {
"use_function_url": true,
"function_url_auth_type": "NONE"
}
}
},
"experiments": {
"html-us": {
"type": "perf-cost",
"parameters": {
"benchmark": "110.dynamic-html",
"modes": ["cold", "warm", "burst", "sequential"],
"input_size": "test",
"repetitions": 50,
"concurrent_invocations": 50,
"memory_sizes": [128, 256]
}
},
"thumbnail-eu": {
"deployment": "aws-eu-west",
"output_root": "./thumbnail-results",
"type": "perf-cost",
"parameters": {
"benchmark": "210.thumbnailer",
"modes": ["cold", "warm", "burst", "sequential"],
"input_size": "test",
"repetitions": 50,
"concurrent_invocations": 50,
"memory_sizes": [128, 256, 1024]
}
}
}
}
In this example:
html-usinherits the deployment, runtime, architecture, system variant, and output root fromdefaults.thumbnail-euoverrides the deployment reference and output root.- Both entries use the
perf-costimplementation with independent parameters. - Unused deployment profiles and experiment types can be omitted.
update_code,update_storage, anddownload_resultsdefault tofalseand can be supplied in defaults or individual experiment entries.
To resolve different configurations, we could have the following order:
- Built-in defaults.
- File-level defaults.
- Experiment-specific values.
- Explicit CLI overrides. CLI options that were not supplied must not override configuration values.
The CLI usage would change from experiment type to explicit experiment name. When a file contains multiple experiments, we require an explicit experiment ID or --all:
sebs experiment invoke html-us --config study/suite.json
sebs experiment invoke --all --config study/suite.json
For output directories, we should allocate a fresh directory for every execution:
<output_root>/<experiment_id>/<run_id>/
For the example configuration stored at study/suite.json, results would be placed under:
study/results/html-us/20261021T120000Z-a81f/
study/thumbnail-results/thumbnail-eu/20261021T120000Z-b92e/
Postprocessing should select an existing run directly:
sebs experiment process --run-dir \
study/results/html-us/20261021T120000Z-a81f
- Lenguaje dominante
- Python
- Estrellas
- 200
- Forks
- 112
- Merge medio
- 25 min
- PR fusionados (30 d)
- 3
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de spcl/serverless-benchmarks
-
azure enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
spcl/serverless-benchmarks#345 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
spcl/serverless-benchmarks#329 ·
-
[storage] Remove the MinIO SDK dependencyQuizá libre de nuevo @modelpath-dev la tomó hace 40 días y no hay ningún pull request abierto. Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
spcl/serverless-benchmarks#328 · 2 comentarios ·
-
benchmark enhancement good first issue
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
spcl/serverless-benchmarks#321 ·
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 50/100
spcl/serverless-benchmarks#320 ·
Todos los issues de spcl/serverless-benchmarks
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
spcl/HPCAgent-Bench#264 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ShaftHQ/chaosengine-harness#190 ·
Los mantenedores suelen responder en 1 día
-
Breadcrumb does not return to the benchmark list after interacting with Stages and monitoringAbiertoui
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 Medio día Aptitud para principiantes 62/100
dataforgoodfr/democracy-watch#155 ·
Los mantenedores suelen responder en 1 día
-
bot-triaged module: correctness (silent) module: fft triage review
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día