[OpenSTEF 4.0] Doctests do not fully test documentation examples
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- documentation, testing
Direzione di ricerca
Start with the docstring example in packages/openstef-beam/src/openstef_beam/benchmarking/target_provider.py around line 98, which calls the removed concat_featurewise. Run poe doctests to confirm it passes despite the broken call, then find why that module's docstring is not collected (doctest config or the poe task definition). Done when the doctest run fails on the stale reference, and the example is either fixed or left for a follow-up.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
Within the example code within the docstring of TargetProvider, a function concat_featurewise is used that does not exist (anymore). https://github.com/OpenSTEF/openstef/blob/db7276249b67450e66bf4d92e1bbf24a58b9d0e3/packages/openstef-beam/src/openstef_beam/benchmarking/target_provider.py#L98
This example will therefore not work, and the documentation example should probably be updated to be something like return VersionedTimeSeriesDataset.concat(datasets, mode="inner"). This issue ticket is not about updating the example, but that the doctests does not detect this issue.
Expected behavior
I would expect running poe doctests would detect that the function concat_featurewise from the example does not exist and fail the tests, as to me this is exactly what the doctests are for: notifying the programmer after a change that the documentation examples need to be updated.
Screenshots
- 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
-
Test OpenSTEF builds across operating systems and Python versionsForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertachore 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
-
Quick Installation step 2 installs from the plugin manager, but the plugin isn't published yetAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
jenkinsci/user-guide-ai-chatbot-plugin#132 ·
I maintainer di solito rispondono entro 6 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
gh-sync ship audits cards before writing station done, so every ship reports false STATUS findingsApertaharness
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
mruangutai/harness#2455 ·
I maintainer di solito rispondono entro 1 giorno
-
stripthink leaves thinking text in place when the chat template opens the think tag in the promptForse già presa @MaiAditya l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
I maintainer di solito rispondono entro 1 giorno
-
xcorr sizes its bin array from the largest observed m/z, so one out-of-range peak kills the runForse già presa @BioGeek l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
instadeepai/winnow#312 ·