Skip to content

Moving _check_endings call to make_future #413

Merged
merged 11 commits into from
Dec 24, 2021
Merged

Moving _check_endings call to make_future #413

merged 11 commits into from
Dec 24, 2021

Conversation

alex-hse-repository
Copy link
Collaborator

@alex-hse-repository alex-hse-repository commented Dec 24, 2021

IMPORTANT: Please do not create a Pull Request without creating an issue first.

Before submitting (must do checklist)

  • Did you read the contribution guide?
  • Did you update the docs? We use Numpy format for all the methods and classes.
  • Did you write any new necessary tests?
  • Did you update the CHANGELOG?

Type of Change

  • Examples / docs / tutorials / contributors update
  • Bug fix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves an existing feature)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Proposed Changes

Related Issue

Closing issues

closes #399

@alex-hse-repository alex-hse-repository added the enhancement New feature or request label Dec 24, 2021
@alex-hse-repository alex-hse-repository added this to the etna 1.5.0 milestone Dec 24, 2021
@alex-hse-repository alex-hse-repository self-assigned this Dec 24, 2021
@codecov-commenter
Copy link

codecov-commenter commented Dec 24, 2021

Codecov Report

Merging #413 (79b93fa) into master (7e43eb9) will increase coverage by 0.12%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #413      +/-   ##
==========================================
+ Coverage   87.09%   87.22%   +0.12%     
==========================================
  Files          98       99       +1     
  Lines        4945     5002      +57     
==========================================
+ Hits         4307     4363      +56     
- Misses        638      639       +1     
Impacted Files Coverage Δ
etna/datasets/tsdataset.py 93.25% <100.00%> (+0.48%) ⬆️
etna/transforms/sklearn.py 95.32% <0.00%> (-1.15%) ⬇️
etna/transforms/utils.py 100.00% <0.00%> (ø)
etna/models/prophet.py 98.31% <0.00%> (+0.02%) ⬆️
etna/transforms/change_points_trend.py 99.04% <0.00%> (+0.04%) ⬆️
etna/transforms/detrend.py 98.33% <0.00%> (+0.15%) ⬆️
etna/transforms/log.py 97.82% <0.00%> (+0.26%) ⬆️
etna/transforms/add_constant.py 97.61% <0.00%> (+0.32%) ⬆️
etna/transforms/stl.py 94.02% <0.00%> (+0.48%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7e43eb9...79b93fa. Read the comment docs.

@@ -58,6 +59,12 @@ def ts_with_regressors():
return TSDataset(df=TSDataset.to_dataset(df), df_exog=TSDataset.to_dataset(df_exog_all_segments), freq="D")


@pytest.fixture()
def ts_with_regressors_diff_endings(ts_with_regressors):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it not the same as in tests/conftest.py?
it's better to rename ts_diff_endings -> ts_with_regressors_diff_endings

@@ -35,6 +35,14 @@ def ts_with_large_regressors_number(random_seed) -> TSDataset:
return ts


@pytest.fixture()
def ts_with_regressors_diff_endings(ts_with_large_regressors_number):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have this fixture above or rename it if it's not the same

@martins0n martins0n merged commit 690db0f into master Dec 24, 2021
@martins0n martins0n deleted the issue-399 branch December 24, 2021 11:09
martins0n pushed a commit that referenced this pull request Dec 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Moving _check_endings call to the end of transform loop
3 participants