Skip to content

Tags

Tags give the ability to mark specific points in history as being important
  • 0.12.1
    012c2d20 · 0.12.1 ·
    * Removed `Die.keep()`. Use `Die.pool(...).sum()`.
    * `highest`/`lowest` returns empty die if any of the input dice are empty.
  • 0.12.0
    2ee1ec3b · 0.12.0 ·
    * Free-function form of `lowest`, `highest` now selects between algorithms for better performance and generality.
    * Removed `die.lowest, `die.highest`.
    * `die.min_outcome`, `die.max_outcome` no longer take arguments beyond `self`.
    * No more (public) `repeat_and_sum`, as this is redundant with `@` and `die.keep()`.
    * No more public `die.keep_lowest_single()`, `die.keep_highest_single()`.
    * `count_dice` arguments are now keyword-only.
    * `die.zero()` no longer reduces weights to 1.
    * Update PyPi classifiers.
  • 0.11.0
    188499bd · 0.11.0 ·
    * Removed `min_outcome` parameter from die construction.
    * Operations on tuple outcomes are now performed recursively, to match the fact that die expansion on construction is recursive.
    * Renamed `Die.reduce()` to `Die.reduce_weights()`.
    * Added `reduce()` and `accumulate()` functions analogous to the functions of the same name from functools/itertools.
    * Add CSV output.
    * Renamed `Die.markdown()` to `Die.format_markdown()`.
    * Added `star` parameter to `sub`, `explode`, `reroll`, `reroll_until` methods. If set, this unpacks outcomes before giving them to the supplied function.
    * Added experimental `JointEval` class for performing two evals on the same roll of a pool.
  • 0.10.3.a0
    Test PyPi workflow.
  • 0.10.2
    0f2b4390 · 0.10.2 ·
    Restore some vector/element-wise functionality.
    
    * Operators other than `[]` are performed element-wise on tuples.
    * Rename `DicePool` to just `Pool`. Merge the old factory function into the constructor.
  • 0.10.1
    43a34d89 · 0.10.1 ·
    Bugfixes.
    
    * Fix denominator_method='reduce' in die creation.
    * Fix outcomes consisting of empty tuple `()`.
    * `apply()` with no dice produces an empty die.
  • 0.10.0
    18e4867f · 0.10.0 ·
    Retired the `EmptyDie` / `ScalarDie` / `VectorDie` distinction.
    
    * There is now only one `Die` class; it behaves similarly to how `ScalarDie` used to.
    * There is no more `ndim`.
    * The `[]` operator now forwards to the outcome, acting similar to what `VectorDie.dim[]` used to do.
    * Removed `PoolEval.bind_dice()`. It was cute, but I'm not convinced it was worth spending API on.
  • 0.9.1
    c9355d47 · 0.9.1 ·
  • 0.9.0
    6fdb859d · 0.9.0 ·
  • 0.8.0
    dfe7c06c · 0.8.0 ·
  • 0.7.0
    3fa624e5 · 0.7.0 ·