Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added a test you can run for all the notebooks. #8

Merged
merged 5 commits into from
Jul 26, 2024

Conversation

Molier
Copy link
Collaborator

@Molier Molier commented Jul 26, 2024

quick py test that runs all the notebooks.

small refactorings as well

  • requirements readability
  • dependency update

@Molier Molier requested a review from JrtPec July 26, 2024 15:43
@JrtPec JrtPec merged commit 9ef14d3 into develop Jul 26, 2024
2 checks passed
@JrtPec JrtPec deleted the refactor-ipynbTestsuit branch July 26, 2024 16:52
JrtPec added a commit that referenced this pull request Jul 26, 2024
* Allow the case where not all participants have offtake, injection or a key

* readmes updated

* added capacity analysis with demo nb

* python compat removal >3.10

* key validation to 3 decimal values

* added poetry as package manager and updated the requirements and dev requirements

* review

* imports

* samples

* add seaborn requirement-dev

* remove rounding from output

* Capacity analysis typechanges to make it more pure and only use inout outputmodels in the demo

* feat: Add PeakDetail model to capacity module

* chore: Ruff import removal

* chore: Update pre-commit hooks with pyupgrade v3.16.0 refactoring to upgrade to python311

* feat: added a test you can run for all the notebooks. (#8)

* chore: Update pre-commit hooks with pyupgrade v3.16.0 refactoring to upgrade to python311

* chore: made requirements more human readable

* feat: Update dependencies for entsoe-py and energyid

* chore: Add test suite for notebook execution

---------

Co-authored-by: Jan Pecinovsky <[email protected]>

* Version Bump

---------

Co-authored-by: Molier <[email protected]>
Co-authored-by: Oscar <[email protected]>
Molier added a commit that referenced this pull request Aug 15, 2024
* Allow the case where not all participants have offtake, injection or a key

* readmes updated

* added capacity analysis with demo nb

* python compat removal >3.10

* key validation to 3 decimal values

* added poetry as package manager and updated the requirements and dev requirements

* review

* imports

* samples

* add seaborn requirement-dev

* remove rounding from output

* Capacity analysis typechanges to make it more pure and only use inout outputmodels in the demo

* feat: Add PeakDetail model to capacity module

* chore: Ruff import removal

* chore: Update pre-commit hooks with pyupgrade v3.16.0 refactoring to upgrade to python311

* feat: added a test you can run for all the notebooks. (#8)

* chore: Update pre-commit hooks with pyupgrade v3.16.0 refactoring to upgrade to python311

* chore: made requirements more human readable

* feat: Update dependencies for entsoe-py and energyid

* chore: Add test suite for notebook execution

---------

Co-authored-by: Jan Pecinovsky <[email protected]>

* Version Bump

---------

Co-authored-by: Molier <[email protected]>
Co-authored-by: Oscar <[email protected]>
Molier added a commit that referenced this pull request Aug 27, 2024
commit 5716cb6
Author: Molier <[email protected]>
Date:   Thu Aug 15 17:48:13 2024 +0200

    chore: Update dependencies: pandera...

commit 75cacb9
Author: Molier <[email protected]>
Date:   Tue Aug 13 16:51:31 2024 +0200

    Refactor capacity input model, add default threshold, update cap analysis logic

    - Refactored the capacity input model in the `models.py` file to include a default value for the `threshold` field. The `threshold` field now has a default value of 2.5 and must be greater than or equal to 0.
    - Updated the `main.py` file to import the `pandera.typing` module for type annotations.
    - Modified the `find_peaks_with_surroundings` method in the `CapacityAnalysis` class to skip peaks that are within a certain time window of previously found peaks.
    - Made other minor code improvements and optimizations.

commit b61c3fb
Author: Molier <[email protected]>
Date:   Tue Aug 13 12:18:04 2024 +0200

    chore: Add basic type checking for Python analysis, small doc refac and removal obs file

commit fe9e685
Author: Molier <[email protected]>
Date:   Tue Aug 13 12:05:01 2024 +0200

    chore: remove pre-commit comment(no strict mypy)

commit a099d9a
Author: Jan Pecinovsky <=>
Date:   Tue Aug 13 10:10:52 2024 +0000

    add threshold to capacity input

commit 8934a0e
Author: Jan Pecinovsky <[email protected]>
Date:   Fri Aug 2 08:22:39 2024 +0000

    version bump

commit 990fef5
Author: Jan Pecinovsky <[email protected]>
Date:   Fri Aug 2 08:19:29 2024 +0000

    Validators on Timeseries data to convert NaN to None for JSON output.

commit a1fafd7
Author: Jan Pecinovsky <[email protected]>
Date:   Fri Jul 26 19:53:34 2024 +0200

    0.0.14. Capacity Analysis. Refactoring. Poetry Package Manager. (#9)

    * Allow the case where not all participants have offtake, injection or a key

    * readmes updated

    * added capacity analysis with demo nb

    * python compat removal >3.10

    * key validation to 3 decimal values

    * added poetry as package manager and updated the requirements and dev requirements

    * review

    * imports

    * samples

    * add seaborn requirement-dev

    * remove rounding from output

    * Capacity analysis typechanges to make it more pure and only use inout outputmodels in the demo

    * feat: Add PeakDetail model to capacity module

    * chore: Ruff import removal

    * chore: Update pre-commit hooks with pyupgrade v3.16.0 refactoring to upgrade to python311

    * feat: added a test you can run for all the notebooks. (#8)

    * chore: Update pre-commit hooks with pyupgrade v3.16.0 refactoring to upgrade to python311

    * chore: made requirements more human readable

    * feat: Update dependencies for entsoe-py and energyid

    * chore: Add test suite for notebook execution

    ---------

    Co-authored-by: Jan Pecinovsky <[email protected]>

    * Version Bump

    ---------

    Co-authored-by: Molier <[email protected]>
    Co-authored-by: Oscar <[email protected]>
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.

2 participants