Skip to content

Release: Windows path compatibility, issue templates, and dependency updates#370

Closed
MDUYN wants to merge 11 commits intomainfrom
dev
Closed

Release: Windows path compatibility, issue templates, and dependency updates#370
MDUYN wants to merge 11 commits intomainfrom
dev

Conversation

@MDUYN
Copy link
Copy Markdown
Collaborator

@MDUYN MDUYN commented Mar 11, 2026

Changes

Issue Templates

  • Added GitHub issue templates: New Test, Test Improvement/Fix, New Feature
  • Updated Test Improvement template to accept file or directory paths

Bug Fixes

Dependencies (merged Dependabot PRs)

  • werkzeug 3.1.5 → 3.1.6
  • flask 3.1.2 → 3.1.3
  • cryptography 46.0.3 → 46.0.5
  • protobuf 6.33.1 → 6.33.5
  • minimatch + serve-handler (docusaurus)
  • svgo 3.3.2 → 3.3.3 (docusaurus)
  • ajv 8.17.1 → 8.18.0 (docusaurus)

Tests

  • 150 tests passing, 0 failures

MDUYN added 11 commits March 11, 2026 11:43
…_ratio test expectations

- Replace hardcoded forward-slash paths with os.path.join() in test files
- Fix test_win_rate assertions: all-winning trades correctly return inf, not 0.0
- Use existing OHLCV data files instead of downloading

Closes #369
…in tests/domain (#371)

- test_backtest.py: Replace hardcoded forward-slash path to non-existent
  backtest_data/ CSV with os.path.join to existing test_data/ohlcv/ file
- test_polars.py: Update datetime64[ns] assertion to datetime64[us] for
  newer pandas compatibility
- test_backtest_save.py: Fix test_save_without_metrics to assert metrics.json
  is NOT created when no pre-computed metrics are provided (matching actual
  BacktestRun.save() behavior)
…ltered_out tests in tests/infrastructure (#373)

- Replace all f-string forward-slash path concatenation with os.path.join()
  in test_csv_ohlcv_data_provider.py (11 occurrences)
- Skip 2 failing filtered_out metadata tests in test_backtest_service.py
  (framework does not currently set filtered_out flag when window filter
  removes a backtest)
…s-paths

fix: Use existing OHLCV data files and make Windows path compatible in tests/domain (#371)
…s-paths-infrastructure

fix: Windows-compatible paths in tests/infrastructure (#373)
@MDUYN
Copy link
Copy Markdown
Collaborator Author

MDUYN commented Mar 11, 2026

Closing in favor of a new release PR that excludes squad files

@MDUYN MDUYN closed this Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Test Fix]: Use existing ohlcv data files and make windows path compatible

1 participant