A .prop constraint at a time past the experiment's t_end is reported as satisfied and adds no penalty
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 58/100
Línea de trabajo
Start by tracing the interval search mentioned in the report and how qualitative constraints are evaluated for an experiment with t_end. Reproduce the late.prop case with t_end: 5 and t_end: 10; then find the relevant configuration-loading and scoring tests. Done means an unreachable constraint stops with an error naming the constraint time and t_end, rather than being counted as satisfied.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
A constraint whose time lies beyond the simulated range is never evaluated, and PyBNF reports it as satisfied. The fit then optimizes as if the constraint were not there.
Reproduction, from a scratch copy of examples/tutorial/36_estimate_noise/ (decay.bngl, decay.exp), with job_type = check, which scores one parameter set:
edition = 2
model: decay.bngl
bngl_backend = bngsim
job_type = check
noise_model = normal, sigma = fix_at 1
experiment: timecourse, data: decay.exp
experiment: qual, data: late.prop, t_end: 5, n_steps: 50
uniform_var = k 0.05 3.0
output_dir = out
with late.prop holding the single line Obs_A > 1000 at time=8. The model's Obs_A at time 8 is about 1.8, so the constraint is false.
- Without the
qualexperiment:Objective value is 288.77596758417525. - With it,
t_end: 5:Objective value is 288.77596758417525, andSatisfied 1 out of 1 constraints. - With it,
t_end: 10:Objective value is 1286.9444034221583, andSatisfied 0 out of 1 constraints.
So at t_end: 5 the constraint adds nothing and is counted as satisfied. The independent review of the #1030 fix found this. It traced it to the interval search, which finds no crossing in a simulation that ends before the constraint's time, and returns nothing.
A constraint that names a time the simulation never reaches cannot be checked. It should be refused when the configuration loads, naming the constraint, its time and the experiment's t_end. If a constraint's times depend on the fit, so that this can only be known while scoring, the evaluation should stop with that message rather than count the constraint as satisfied.
- Lenguaje dominante
- Python
- Estrellas
- 25
- Forks
- 25
- Merge medio
- 4 h 5 min
- PR fusionados (30 d)
- 10
Preparar el entorno
- Incluye un Dockerfile o un 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 lanl/PyBNF
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
bug minor
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
bug tech debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
bug minor
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
bug silent-incorrectness
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
Todos los issues de lanl/PyBNF
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
software-mansion-labs/Diplomat#20 ·
Los mantenedores suelen responder en 1 día
-
[Windows] Hidden title bar: a maximized window restored from minimized on a secondary monitor gets the primary monitor's work area as its client areaPosiblemente ocupada @lijy91 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
libnativeapi/nativeapi#53 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
View Counts discarded due to field name mismatchPosiblemente ocupada @rsiva0400 la tomó hoy. Abiertosite-bug triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Model version publishes the new UK firm entity as a personPosiblemente ocupada @vahid-ahmadi la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
PolicyEngine/policyengine.py#764 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
spcl/HPCAgent-Bench#264 ·
Los mantenedores suelen responder en 1 día