Investigate PI Web API summary timestamp alignment
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 22/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 56
- Fork
- 21
- Merge medio
- 1g 1h
- PR unite (30g)
- 19
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di equinor/tagreader-python
-
Extra tests are no longer neededForse di nuovo libera @einarsi l’ha presa 32 giorni fa e non c’è nessuna pull request aperta. Aperta
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 55/100
equinor/tagreader-python#473 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
equinor/tagreader-python#393 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
equinor/tagreader-python#389 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
equinor/tagreader-python#388 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
equinor/tagreader-python#378 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di equinor/tagreader-python
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
comet-ml/opik#9877 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
[Resource]: FlavianApertaresource-submission validation-passed
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
hesreallyhim/awesome-claude-code#3736 · 1 commento ·
-
area: trackers bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Review: WordPress copy/snapshot download media with no size cap and a hostname-only origin checkApertaperformance product:quill
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Community-Access/quill#2634 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno