Rafael/bump v2.5.0rc1#185
Merged
ricardoevvargas merged 40 commits intopetrobras:other_improvementsfrom Apr 8, 2026
Merged
Conversation
…s_features and data_visualization/plot_multiple_series. Tests in tests/test_pipeline.py and tests/test_downloader.py ran without any warnings.
…add type checks, and preserve NaN plotting behavior.
…DME with reference to it
Luizahelena/workflow errors
Enable Coveralls integration and add coverage badge
[docs] Add versioning guide documentation
Exclude Jupyter notebooks from mypy and black checks
Update Notebook Structure & notebook support
Collaborator
|
Hi, @rafaelpadilla. I hope this PR will result in another significant contribution from the Federal University of Rio de Janeiro to the 3W Project. We will evaluate it ASAP and will let you know here if we have any questions and/or requests for adjustments. On behalf of the 3W Community, I thank you for this PR. |
Although `load_data` returns Dict[str, DataFrame | Path], the "signal" key always holds a DataFrame, since it is produced by `read_parquet`. This change clarifies that invariant for mypy.
Contributor
Author
|
Hi @ricardoevvargas . The points raised in this PR have been addressed and the related issues were fixed. |
Collaborator
|
Hi, @rafaelpadilla. Thank you. Once again and on behalf of the 3W Community, I thank you for this PR. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Overview
This pull request introduces improvements focused on repository organization, versioning strategy, test stability, and observability of code quality.
Given the scope and impact of these changes, this pull request suggests a bump to v2.5.0.
Summary of Changes
1. Repository restructuring and notebook retrocompatibility
A comprehensive reorganization of the repository was performed to improve clarity, maintainability, and support boundaries for notebooks:
Notebook relocation and structure cleanup
3W/docs/notebooks/→3W/toolkit/demos/3W/dataset/demos/3W/demos/AfranioMelo/→3W/dataset/demos/AfranioMelo/3W/demos/AndreMachado/→3W/dataset/demos/AndreMachado/3W/demos/yantavares/→3W/dataset/demos/yantavares/3W/overviews/_baseline/→3W/dataset/demos/_basic/3W/problems/→3W/benchmarks/, for improved clarity and better understanding of its purpose.This folder will host all project benchmarks going forward. It is temporarily removed, as the existing benchmark will be rewritten and reintroduced in a new PR in the near future.3W/dataset/folds/3W/docs/to.pdffiles onlyRetrocompatibility adjustments
3W/overviews/_baseline/main.ipynb(now3W/dataset/demos/_basic/main.ipynb) to address the usage of the obsolete functions3W/benchmarks/using toolkit APIs, preserving original evaluation logic and outputs.Notebook fixes
3W/overviews/_baseline/main.ipynb(now3W/dataset/demos/_basic/main.ipynb) was pointing to a deprecated function 'get_all_labels_and_files', which is now replaced with methods from theParquetDataset` classNotebook
3W/resources/introduction_to_3w_dataset_v2.0.0/introduction_to_3w_dataset_2.0.0.ipynbrequirednbformatpackage that was not included in project dependencies. Nownbformatwill be added on the toolkit installation and this problem won't happen again.2. Versioning strategy (Semantic Versioning)
A formal versioning strategy based on Semantic Versioning (SemVer) was defined and documented:
VERSIONING.mdwith clear guidelines for version bumpsREADME.mdto reference the versioning guide3. Handling of missing metrics in sklearn_models
Defined and implemented consistent behavior for scenarios where requested evaluation metrics are not available in
sklearn_models:4. Code coverage integration (Coveralls)
Integrated Coveralls to improve visibility into test coverage:
pytest-covto generatecoverage.xmlREADME.mdThis change improves observability of code quality without impacting core library behavior.
Final Notes
These changes establish a stronger foundation for the project by:
Together, these improvements contribute to a more maintainable, scalable, and transparent development process.
Thank you for reviewing this delivery.
🎉🥳🎊🚀✨
By creating this pull request, I confirm that I have read and fully accept and agree with one of the Petrobras' Contributor License Agreements (CLAs):
Our CLAs are based on the Apache Software Foundation's CLAs: