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

Release 1.1.0 #344

Merged
merged 17 commits into from
Nov 25, 2024
Merged

Release 1.1.0 #344

merged 17 commits into from
Nov 25, 2024

Conversation

vankesteren
Copy link
Member

  • Improvements to documentation and developer experience
  • Added more demo datasets
  • Export to TOML in addition to JSON
  • Improved warnings

vankesteren and others added 17 commits September 5, 2024 11:11
* Improving / simplifying dev experience

- only use ruff for linting, which is now in a really good state to replace pydocstyle, flake8, pylint, etc
- separate github actions
- separate dependencies into test, check, extra, docs, and dev (which is everything)
- process: create changes, run ruff check, run mypy, run pytest, and you're good to commit!

* Update actions titles & setup-python version

There's a deprecation warning in setup-python@v4

* add lint and type check on PR matrix before test

* another round of simplification but now using jobs

* Allow all checks to run in parallel

* split dev and scheduled CI

* add pylint rules back in through ruff pyproject.toml

* Add all pylint rules, move dev status to beta

* Add pydocstyle checks

* Update contributing guide for new dev flow

Also update sphinx requirement in pyproject.toml

* simplify doc build command

* Make sphinx-build happy

* no separate requirements.txt for docs

* Fix weird formatting

* Remove blank lines at the end of docstrings
Adds more tests, and fixes several typing issues. Now, all data types should be correctly stored and be reusable.
* Add new dataset and make regex more used

* Fix linting issue

* Automatically add new datasets to tests

---------

Co-authored-by: Erik-Jan van Kesteren <[email protected]>
* Change the representation of MetaVar/MetaFrame

* Remove old code
* Add support for simplified configuration file.
* Rename methods:
   * MetaFrame.export -> MetaFrame.save
   * MetaFrame.to_json -> MetaFrame.save_json
   * MetaFrame.from_json -> MetaFrame.load_json
* Add support for TOML GMF files. They work almost exactly the same as the JSON GMF files. Some comments are automatically included to make the file more easily understandable.
Lower the frequency of this warning. Only if we are quite certain
about the uniqueness, a warning will be issued. We now have an exception for unique key columns: if they are consecutive and metasyn is quite certain in it being the best fit, they will be chosen.
We don't know the actual time zone, so this seems a better solution.
Also fix some quirkiness in the NA distribution fitting.
* Update paper with more examples

- added hospital data example
- added drug use data example

* Small fix in hospital dataset description
* General readthedocs documentation rewrite to make things easier to find.
* Fix bug in assigning privacy
@vankesteren vankesteren merged commit 5a816c2 into main Nov 25, 2024
22 checks passed
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