Skip to content

Releases: HighDiceRoller/icepool

v1.4.0

01 Feb 09:01
Compare
Choose a tag to compare

v1.4.0

  • Rename keep_counts to keep_counts_ge. Add le, lt, gt, eq, and ne variants.
  • Add count_subset evaluation that counts how many times the right side is contained in the left.
  • Add ImplicitConversionError as subclass of TypeError.
  • Add binary multiset operators to Deck.
  • Add modulo_counts / % operation on multisets.
  • Rebind generators and evaluate when fully bound non-generator expressions are given to an evaluator.
  • Fix Symbols intersection.
  • Fix argument order in __rfloordiv__.

v1.3.0

31 Dec 07:51
Compare
Choose a tag to compare

v1.3.0

  • Fix Symbols operator priority with Population, AgainExpression.
  • Added experimental map_to_pool and explode_to_pool methods.
  • Split compair into compare_lt etc.
  • Constructing a mixture of dice now effectively uses the old lcm_joint method, which reduces the denominator more aggressively.

v1.0.0

22 Jul 22:55
Compare
Choose a tag to compare

v1.0.0

Improve some error messages.

v0.29.0

30 Apr 23:53
Compare
Choose a tag to compare

v0.29.0

  • Add HTML and BBCode options for population formatting.
  • Renamed apply to map and the decorator version to map_function.
  • The above now uses guess_star.
  • Add default of 1 die for Die.pool().

v0.27.1

10 Apr 05:16
Compare
Choose a tag to compare

If this goes well, it may become v1.0.0.

v0.25.3

29 Jan 03:01
Compare
Choose a tag to compare
* Tuple outcomes can now be compared with single outcomes.

* Add `.keep, .highest, lowest, .middle` variants of `apply_sorted`.
* Recommend `multiset_function` be used as a decorator, add `update_wrapper`.
* Add `keep_outcomes, drop_outcomes` methods to expressions.
* Add `any` evaluation to expresions.

0.25.0

23 Jan 08:24
Compare
Choose a tag to compare

0.25.0

Expanded multiset processing with multiset expressions.

  • OutcomeCountGenerator, OutcomeCountEvaluator renamed to MultisetGenerator, MultisetEvaluator.
  • multiset_function is an easy way to create joint evaluators.
  • Pool indexing is now relative rather than absolute.
  • Renamed pool.sorted_roll_counts to pool.keep and pool.keep_tuple.
  • Die versions of sum_highest etc. renamed to just highest; these always return dice.
  • MultisetExpression (including generators like Pool) have highest() returning an expression.
  • Die operators now does mixed vector-scalar binary operations by broadcasting the scalar.
  • Add middle() methods.
  • Remove *generators argument from evaluator.order(), evaluator.final_outcome().
  • *generators argument of evaluator.alignment replaced with the union of all generator outcomes.
  • Removed suits.
  • Stop using __class_getitem__, which is intended for typing only.

gh-pages-milestone-1.0

04 Jun 03:52
Compare
Choose a tag to compare

gh-pages for Milestone 1.

0.14.1

04 Jun 20:35
Compare
Choose a tag to compare

This corresponds to Milestone 1.

m1a0

31 May 01:10
Compare
Choose a tag to compare
m1a0 Pre-release
Pre-release

Draft gh-pages for Milestone 1.