Releases: HighDiceRoller/icepool
Releases · HighDiceRoller/icepool
v1.4.0
v1.4.0
- Rename
keep_counts
tokeep_counts_ge
. Addle
,lt
,gt
,eq
, andne
variants. - Add
count_subset
evaluation that counts how many times the right side is contained in the left. - Add
ImplicitConversionError
as subclass ofTypeError
. - 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
v1.3.0
- Fix
Symbols
operator priority withPopulation
,AgainExpression
. - Added experimental
map_to_pool
andexplode_to_pool
methods. - Split
compair
intocompare_lt
etc. - Constructing a mixture of dice now effectively uses the old
lcm_joint
method, which reduces the denominator more aggressively.
v1.0.0
v1.0.0
Improve some error messages.
v0.29.0
v0.29.0
- Add HTML and BBCode options for population formatting.
- Renamed
apply
tomap
and the decorator version tomap_function
. - The above now uses
guess_star
. - Add default of 1 die for
Die.pool()
.
v0.27.1
If this goes well, it may become v1.0.0.
v0.25.3
* 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
0.25.0
Expanded multiset processing with multiset expressions.
OutcomeCountGenerator
,OutcomeCountEvaluator
renamed toMultisetGenerator
,MultisetEvaluator
.multiset_function
is an easy way to create joint evaluators.Pool
indexing is now relative rather than absolute.- Renamed
pool.sorted_roll_counts
topool.keep
andpool.keep_tuple
. Die
versions ofsum_highest
etc. renamed to justhighest
; these always return dice.MultisetExpression
(including generators likePool
) havehighest()
returning an expression.Die
operators now does mixed vector-scalar binary operations by broadcasting the scalar.- Add
middle()
methods. - Remove
*generators
argument fromevaluator.order()
,evaluator.final_outcome()
. *generators
argument ofevaluator.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
gh-pages for Milestone 1.
0.14.1
This corresponds to Milestone 1.
m1a0
Draft gh-pages for Milestone 1.