Skip to content

Releases: mscarey/nettlesome

0.7.0

04 Dec 04:29
Compare
Choose a tag to compare
v0.7.0

v0.7.0

0.6.0

19 Oct 23:23
Compare
Choose a tag to compare
  • replace NumberRange with IntRange and FloatRange
  • replace Marshmallow serializers with Pydantic
  • Entity and Predicate models don't allow extra fields
  • add equal sign as default value for QuantityRange sign
  • fix bug: bool(Term) returned False if the Term's "length" was 0
  • remove custom reprs that can be replaced by Pydantic's BaseModel repr

0.5.0

02 May 08:08
Compare
Choose a tag to compare
  • change Doctrine class name to Assertion
  • change Predicate param name from template to content
  • add Marshmallow schemas
  • add APISpec for documenting Marshmallow schemas

0.4.0

08 Apr 08:19
Compare
Choose a tag to compare
  • Fact constructor accepts truth param
  • allow alternate methods to specify context for .implies()
  • add string expansion to ContextRegister.from_lists
  • all Explanation.from_context calls expand strings
  • disallow repeated Terms in TermSequence
  • fix bug: _context_registers method yielded same ContextRegister repeatedly
  • add DuplicateTermError
  • fix bug: FactorGroup.union used duplicative TermSequence
  • ContextRegister.from_lists works with unequal length lists
  • add contradicts_same_context method
  • add repr method for subclasses of Comparable to inherit

0.3.0

19 Mar 19:22
Compare
Choose a tag to compare
  • add FactorMatch NamedTuples to be listed in Explanation
  • remove FactorGroup.comparison method. Instead use implies, contradicts, etc.
  • Factor "explanations" methods yield Explanation, not ContextRegister
  • add FactorGroup.explanations_implied_by method
  • fix bug: shares_all_factors passed without checking all factors
  • fix bug: two empty FactorGroups should have same meaning

v0.2.2

10 Mar 08:34
Compare
Choose a tag to compare
  • fix: non-generic Entities with different names don't have same meaning