[OpenSTEF 4.0] Improved timezone handling/verifications
I maintainer di solito rispondono entro 2 giorni
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
Direzione di ricerca
Start with the BenchmarkTarget fields benchmark_start, benchmark_stop and train_start in the openstef-beam benchmark code, and trace where naive datetimes get converted into timezone-aware ones. The issue proposes a design choice (enforce timezones everywhere versus infer them from data) that a maintainer should settle before any edit. Done would be a clear error or warning for a missing timezone plus a functional test covering mixed timezones in backtesting.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is your feature request related to a problem? Please describe.
While working on a benchmark script in openstef-beam, I found that not specifying a timezone within the datetime in any of the benchmark_start, benchmark_stop or train_start fields of BenchmarkTarget caused timezone errors further downstream that were difficult to trace back. To me it was not clear this was needed, and feels a bit unintuitive providing a timezone for a configuration like when the benchmark stops. Thinking a bit further ahead, I can foresee quite some timezone related issues, which can be quite frustrating to the user. Lets think a bit about how we can make OpenSTEF 4.0 timezone robust!
Describe the solution you'd like
There are different ways to go about this, but I would like to start by proposing the following:
- We could enforce the usage of timezones everywhere, and for any place a timezone is not provided, a warning is logged or an error is thrown at front, making it clear for the user where a timezone might be missing
- Lets add some (functional?) tests that verify basic OpenSTEF operations (e.g. backtesting) work as expected with complex timezone situations, like when different timezones are provided for measurements and features.
Describe alternatives you've considered
We could also allow timezone unaware datetimes for certain fields like benchmark_start, and then infer the timezone based on the data. I think this will fail though when the user uses multiple different timezones within a single dataset.
- Lingua principale
- Python
- Stelle
- 169
- Fork
- 59
- Merge medio
- 4g 15h
- PR unite (30g)
- 8
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un 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 OpenSTEF/openstef
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 2 giorni
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 2 giorni
-
Add support for LightGBM importance_type hyperparameterForse già presa @divya234-hue l’ha presa 20 giorni fa. Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 2 giorni
-
chore github-actions
Difficoltà 3/5 1-2 giorni Idoneità per principianti 67/100
I maintainer di solito rispondono entro 2 giorni
-
Add RMSEForse già presa @SANJANAKUMARI83 l’ha presa 1 giorno fa. Apertaenhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 57/100
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di OpenSTEF/openstef
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
software-mansion-labs/Diplomat#20 ·
I maintainer di solito rispondono entro 1 giorno
-
[Windows] Hidden title bar: a maximized window restored from minimized on a secondary monitor gets the primary monitor's work area as its client areaForse già presa @lijy91 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
libnativeapi/nativeapi#53 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
View Counts discarded due to field name mismatchForse già presa @rsiva0400 l’ha presa oggi. Apertasite-bug triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Model version publishes the new UK firm entity as a personForse già presa @vahid-ahmadi l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
PolicyEngine/policyengine.py#764 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
spcl/HPCAgent-Bench#264 ·
I maintainer di solito rispondono entro 1 giorno