Two ways to leave records out of an analysis, and open questions about Label.withholds
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
Línea de trabajo
Start with Label.withholds and AnalysisSpec.exclude_labels in the wind_up package, and with wind_up.labels.USES, to see how each exclusion reaches the v0 method. The open decision is which mechanism a site-wide label should use, and the maintainers need to settle that before any change. Done means that decision is recorded, the Label docstring says whether a withheld record still counts as running for wake exposure, and the withholds type annotation accepts a plain set under mypy.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
There are two ways to leave records out of an analysis: Label(withholds={"uplift", ...}) (withholds the record of every turbine carrying the label, references included) and AnalysisSpec.exclude_labels (drops only the subjects' records). Both end up reaching the v0 method as the same kind of exclusion. Nothing says which to reach for, and a label flagging a condition that is true on every turbine at once (e.g. a site-wide curtailment or icing event) could plausibly be meant either way.
Two smaller points on the same field:
Label.withholdsonly names two uses (wind_up.labels.USES = ("uplift", "northing")); it's not stated anywhere whether a withheld record still counts as "running" for another turbine's wake exposure. Worth a sentence in theLabeldocstring either way.withholdsis typedfrozenset[str]; passing a plainset(e.g.withholds={"northing"}) works at runtime but fails mypy.AbstractSet[str]orCollection[str]would accept both without changing behaviour.
Related to #188 (a label withholding from every use), but distinct: that one is about covering future uses automatically, this one is about the overlap between Label.withholds and AnalysisSpec.exclude_labels, and the waking question.
- Lenguaje dominante
- Python
- Estrellas
- 29
- Forks
- 13
- Merge medio
- 1 d 6 h
- PR fusionados (30 d)
- 33
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 resgroup/wind-up
-
The v0-through-v1 path derives ShutdownDuration its own way, silently overriding a user's definitionAbiertov1
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Let a Label withhold its records from every usePosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertov1
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Running both uplift bases through the v0 method multiplies its cost instead of sharing one runAbiertov1
Dificultad 4/5 3-5 días Aptitud para principiantes 30/100
Los mantenedores suelen responder en 1 día
-
v1
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
Los mantenedores suelen responder en 1 día
Todos los issues de resgroup/wind-up
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
bug (unverified)
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
scikit-hep/awkward#4581 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
ci-cd priority: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
LearningCircuit/local-deep-research#9163 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Specifically suppress IsEnoughWorkspace, instead of all MIopen warnings in denoiser/config.pyAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
supersonic-lumina/ENM156#50 ·
Los mantenedores suelen responder en 2 días