-
Notifications
You must be signed in to change notification settings - Fork 80
[BUG] Something went wrong with multi-index if backtest (issue #461) #771
Merged
Merged
Changes from 33 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
5e74031
Update base.py
mvakhmenin cb9685c
Merge pull request #1 from mvakhmenin/patch-1
mvakhmenin 53d3811
Update base.py
mvakhmenin 3633a0c
Update base.py
mvakhmenin b93ead7
Update base.py
mvakhmenin e966f63
Update base.py
mvakhmenin 461ffa2
Update base.py
mvakhmenin 95c90cc
Merge branch 'master' into master
mvakhmenin 3dec66b
Update base.py
mvakhmenin 7414e14
Update base.py
mvakhmenin a5a6677
Update base.py
mvakhmenin c400082
Update base.py
mvakhmenin ea3490f
Update base.py
mvakhmenin 8165d76
Merge branch 'tinkoff-ai:master' into master
mvakhmenin 1231261
Update base.py
mvakhmenin b9fb9e1
Merge branch 'master' into master
martins0n 3eedf50
Update base.py
mvakhmenin 051d856
Update base.py
mvakhmenin c080fb6
Update base.py
mvakhmenin 4a88a62
Update conftest.py
mvakhmenin 41f100a
Update conftest.py
mvakhmenin 935f648
Update test_pipeline.py
mvakhmenin b2aaa81
Update test_pipeline.py
mvakhmenin 9f5f01c
Update test_pipeline.py
mvakhmenin 2e576fe
Update test_pipeline.py
mvakhmenin 701a92f
Update test_pipeline.py
mvakhmenin 0381843
Update test_pipeline.py
mvakhmenin 2c8b632
Update test_pipeline.py
mvakhmenin abc1312
Update CHANGELOG.md
mvakhmenin 6eb031d
make format
mvakhmenin b505d72
Merge branch 'master' into master
martins0n b938d01
Update conftest.py
mvakhmenin 3dc128d
Update conftest.py
mvakhmenin 539295c
Merge branch 'master' into master
martins0n 9f2bddd
Merge branch 'master' into master
martins0n File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We dont need specify
ascending
order here.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@martins0n
Checks failed with the following error. I cannot understand, what should I do
ImportError while loading conftest '/home/runner/work/etna/etna/tests/test_ensembles/conftest.py'. tests/test_ensembles/conftest.py:16: in <module> from etna.models import ProphetModel E ImportError: cannot import name 'ProphetModel' from 'etna.models' (/home/runner/work/etna/etna/etna/models/__init__.py) Error: Process completed with exit code 4.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's ok, will fix it today or next day
You can make futher changes and test locally, via command
poetry run pytest tests -v --cov=etna -m "not long" --cov-report=xml
and run linters viamake lint
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mvakhmenin We've merged updates to master branch. You can rebase on updated
master
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@martins0n
Tests fail without ascending order
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mvakhmenin We don't expect such ordering anyway, it've just happened by chanse.
it's better to change fixtures in conftest to make tests pass
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@martins0n
I do not understand, what's the problem with lint
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can run linters locally and fix issues with command:
make format
andmake lint
Current error could be fixed with
make format
I guess.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can find more information about contributing in guide