0.7.2
What's Changed
Added
- Target enums
mypy
for targets and intervals- Tests for code blocks in README and user guides
hypothesis
strategies and roundtrip tests for targets, intervals, and dataframes- De-/serialization of target subclasses via base class
- Docs building check now part of CI
- Automatic formatting checks for code examples in documentation
- Deserialization of classes with classmethod constructors can now be customized
by providing an optionalconstructor
field SearchSpace.from_dataframe
convenience constructor
Changed
- Renamed
bounds_transform_func
target attribute totransformation
Interval.is_bounded
now implements the mathematical definition of boundedness- Moved and renamed target transform utility functions
- Examples have two levels of headings in the table of content
- Fix orders of examples in table of content
DiscreteCustomConstraint
validator now expects dataframe instead of seriesignore_example
flag builds but does not execute examples when building documentation- New user guide versions for campaigns, targets and objectives
- Binarization of dataframes now happens via pickling
Fixed
- Wrong use of
tolerance
argument in constraints user guide - Errors with generics and type aliases in documentation
- Deduplication bug in substance_data hypothesis
- Use pydoclint as flake8 plugin and not as a stand-alone linter
- Margins in documentation for desktop and mobile version
Interval
s can now also be deserialized from a bounds iterableSubspaceDiscrete
andSubspaceContinuous
now have de-/serialization methods
Removed
- Conda install instructions and version badge
- Early fail for different Python versions in regular pipeline
Deprecations
Interval.is_finite
replaced withInterval.is_bounded
- Specifying target configs without explicit type information is deprecated
- Specifying parameters/constraints at the top level of a campaign configuration JSON is
deprecated. Instead, an explicitsearchspace
field must be provided with an optional
constructor
entry.
Merged Pull Requests
- Ditch Conda by @Scienfitz in #53
- Hypothesis for parameters by @AdrianSosic in #6
- Mypy for targets by @AdrianSosic in #54
- Mypy for intervals by @AdrianSosic in #55
- Documentation tests by @AdrianSosic in #59
- Fix type alias and generic in documentation by @AVHopp in #67
- Hypothesis for targets and intervals by @AdrianSosic in #56
- Fix typo in userguide by @nicornk in #70
- Update Actions by @Scienfitz in #71
- Finish Constraints User Guide by @Scienfitz in #72
- Formatting test for user guide code blocks by @AdrianSosic in #77
- Use pydoclint as flake8 plugin by @AVHopp in #75
- Adjust margins in documentation by @AdrianSosic in #81
- Build but do not execute examples when ignoring them by @AVHopp in #82
- Campaign user guide by @AVHopp in #61
- Interval convenience deserialization by @AdrianSosic in #85
- Finish Target / Objective User Guide by @Scienfitz in #76
- Change docs publishing trigger by @Scienfitz in #90
- Config and serialization enhancement by @AdrianSosic in #86
- Release 0.7.2 by @AdrianSosic in #98
New Contributors
Full Changelog: 0.7.1...0.7.2