Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add test coverage for DuckDBVortexLoader

Đang mở
#13 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
data, testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
28
Fork
17
Merge trung bình
5 giờ 7 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của uberdeveloper/fastbt

Tất cả issue của uberdeveloper/fastbt

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.