Check that the grid's hash agree with the stored hash (if present)
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 66/100
Línea de trabajo
Empieza en src/pineko/evolve.py alrededor de la línea 79, donde se almacena el hash de la grid, y rastrea cómo la ruta de la grid y la carpeta theory llegan hasta ese punto para poder localizar un archivo de hash .txt hermano. Lee la función circundante y las pruebas existentes en tests/ antes de añadir la comparación. Hecho significa que un hash almacenado que no coincida o falte lanza un error claro en lugar de un crash confuso más abajo, mientras que un hash coincidente continúa como antes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
most of the time (not always, true) in the same folder where the grid is, there will be a .txt file with the grid hash that was used to upload the grid to the server.
Check that they match before storing the grid hash
https://github.com/NNPDF/pineko/blob/bf7ae6ccd147c89432fdb2a292520b6e07e19bb8/src/pineko/evolve.py#L79
otherwise crash badly.
I just tried to check which grids were used for the ATLASPHT15-ATLASPHT15_Et_1bin... and it says grid_hash: ced13299a56fb1da97065eeaf8507696 but that doesn't exist in theories_slim so no idea what grid was used as input, which is weird, if I run the pineko code manually I get the same hashes that are stored online so either it was a different grid or something went awry.
- Lenguaje dominante
- Python
- Estrellas
- 2
- Forks
- 0
- Merge medio
- 10 d 34 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 NNPDF/pineko
-
Overwrite if encounters stale symlinks to ekosPosiblemente ocupada @ashishsoni-ai la tomó hace 4 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
-
Improve GitHub workflowsAbiertobenchmarks/unit tests
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 20/100
-
Check whether IC from theory card is usedQuizá libre de nuevo @kamillaurent la tomó hace 58 días y no hay ningún pull request abierto. Abierto
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 46/100
Todos los issues de NNPDF/pineko
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
GoogleCloudPlatform/professional-services-data-validator#1899 ·
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
mohanraj00/entelos#200 ·
Los mantenedores suelen responder en 1 día
-
Dead url in mise.tomlAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
-
sweep
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
bketelsen/truenas-mcp#77 ·
Los mantenedores suelen responder en 1 día
-
Console writes URL credentials to the local log, though AGENTS.md says secrets never reach diskAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
sandbox-quantum/switch#2163 ·
Los mantenedores suelen responder en 1 día