Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add test coverage for DuckDBVortexLoader

Open
#13 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
58/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
python
Domain
data, testing

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Python
Stars
28
Forks
17
Avg merge
8h 50m
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from uberdeveloper/fastbt

All issues in uberdeveloper/fastbt

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.