Investigate PI Web API summary timestamp alignment
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
- 22/100
Línea de trabajo
Start from the investigate-pi-summary-timestamps branch, where the demo and offline tests already exist, and read the summary timestamp handling in PIHandlerWeb alongside tagreader's MIN/MAX/AVG/RNG/STD/VAR/INT/RAW/SNAPSHOT output. Reproduce the timestamp comparison demo against a live PI server across timeTypes and intervals; the deployed run currently fails at datasource discovery with HTTP 401, so access must be resolved first. Done means documented public timestamp semantics, regression tests for extrema and partial data, and verified behavior on a live server before implementation changes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
PIHandlerWeb currently shifts MAX summary timestamps back one sampling interval when the first returned timestamp is later than the requested start. This assumes the server returns interval-end timestamps. PI summary timestamp calculation can instead return the actual time of an extremum for both MIN and MAX, so a whole-interval shift may mislabel the data; MIN can likewise remain off the interval grid.
Investigation
- Run the timestamp comparison demo on a PI server using numeric tags, multiple time windows, and multiple intervals. Compare the raw responses for the default timeType, EarliestTime, and MostRecentTime with tagreader output for MIN, MAX, AVG, RNG, STD, VAR, INT, RAW, and SNAPSHOT.
- Confirm which timeType values the deployed PI Web API accepts and whether it supports a midpoint directly. Empty responses and pagination are inconclusive, not passing results.
- Decide and document the intended public timestamp semantics. Evaluate requesting EarliestTime for all summaries instead of shifting MAX locally, including cache and backward compatibility implications. Preserve actual event timestamps when required by the chosen contract.
- Add regression tests for extrema within intervals, extrema on boundaries, missing or partial data, and all affected summary types. Validate behavior on a live server before changing the implementation.
Evidence and status
A demo and offline tests are available on investigate-pi-summary-timestamps. Offline tests pass, but the live attempt returned HTTP 401 during datasource discovery, so deployed behavior is not yet verified.
References: PI Web API summary parameters and PI summary timestamp semantics.
- Lenguaje dominante
- Python
- Estrellas
- 56
- Forks
- 21
- Merge medio
- 1 d 1 h
- PR fusionados (30 d)
- 19
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 equinor/tagreader-python
-
Extra tests are no longer neededQuizá libre de nuevo @einarsi la tomó hace 32 días y no hay ningún pull request abierto. Abierto
Dificultad 2/5 Menos de una hora Aptitud para principiantes 55/100
equinor/tagreader-python#473 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
equinor/tagreader-python#393 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
equinor/tagreader-python#389 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
equinor/tagreader-python#388 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
equinor/tagreader-python#378 ·
Los mantenedores suelen responder en 1 día
Todos los issues de equinor/tagreader-python
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
comet-ml/opik#9877 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
[Resource]: FlavianAbiertoresource-submission validation-passed
Dificultad 1/5 Menos de una hora Aptitud para principiantes 80/100
hesreallyhim/awesome-claude-code#3736 · 1 comentario ·
-
area: trackers bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Review: WordPress copy/snapshot download media with no size cap and a hostname-only origin checkAbiertoperformance product:quill
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Community-Access/quill#2634 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día