Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add test coverage for DuckDBVortexLoader

Aperta
#13 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
python
Ambito
data, testing

Direzione di ricerca

Start with tests/backtest/test_data.py and the DuckDBVortexLoader implementation in src/fastbt/backtest/data.py; inspect the existing parquet fixture and DataSource protocol tests. Restore a fixture that converts the parquet fixture to vortex format, then parametrize the loader tests for both implementations. Check the project’s test dependency setup to decide how the vortex extension is provided, and run the data tests to confirm both loaders pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

The DuckDBVortexLoader class in src/fastbt/backtest/data.py currently ships without test coverage. The vortex test fixtures were removed from tests/backtest/test_data.py during the v0.8.0 release cleanup.

TODO

  • Add back a vortex_path fixture that converts the parquet test fixture to vortex format
  • Parametrize the loader fixture to run all DataSource protocol tests against both DuckDBParquetLoader and DuckDBVortexLoader
  • Consider whether vortex extension should be a test dependency or optional

Context

The loader has an identical API to DuckDBParquetLoader, so test parametrization should be straightforward once the fixture is restored.

Lingua principale
Python
Stelle
28
Fork
17
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di uberdeveloper/fastbt

Tutte le issue di uberdeveloper/fastbt

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.