Skip to content

Releases: peterrrock2/binary-ensemble

v0.3.0

17 Oct 00:23

Choose a tag to compare

This release includes the long awaited python hooks for the BEN package. These hooks are now available in the py-ben python package hosted on pypi.

Ben Changes

  • Introduced notion of "frames" to the decoders to make searching through compressed ensembles much easier.
  • Added a frame subsampler type to make reading through compressed ensembles more intuitive
  • Added more intense fuzzing tests

PyBen

Can be installed with pip install binary-ensemble

  • Added PyBenEncoder and PyBenDecoder class hooks to make interacting with BEN and XBEN files easier
  • Added the following functions so people do not need to use the CLI all of the time to compress files:
    • compress_jsonl_to_ben
    • compress_jsonl_to_xben
    • compress_ben_to_xben
    • decompress_ben_to_jsonl
    • decompress_xben_to_jsonl
    • decompress_xben_to_ben

Full Changelog: v0.3.0...v0.2.0

v0.2.0

13 Jun 21:36
367a3a8

Choose a tag to compare

This release adds a new method into BEN that allows for much better compression of ensembles arising from Markov Chains. For low-rejection chains, the file sizes tend to be halved or so, and for high-rejection chains, the space savings can be an order of magnitude or more.

  • The previous version of BEN is still supported, and now referred to as the BenVariant::Standard. This version saves every single plan without trying to look for repetition. This is still the better option when considering ensembles of unique plans.
  • The new version of BEN is now denoted by BenVariant::MkvChain within the source code.
  • Several structs and implementations have been added to w referred to as the BenVariant::Standard. This version saves every single plan without trying to look for repetition. This is still the better option when considering ensembles of unique plans.
  • The new version of BEN is now denoted by BenVariant::MkvChain within the source code.
  • Several structs and implementations have been added to make creating a encoder for BEN simpler.
  • There is now a pben binary file that allows for the conversion between PCompress files and BEN files.make creating a encoder for BEN simpler.
  • There is now a pben binary file that allows for the conversion between PCompress files and BEN files.

Full Changelog: v0.1.3...v0.2.0

v0.1.3

09 Apr 14:59

Choose a tag to compare

Another hot patch for a demo today that fixes an error in the xz-decompress mode

Full Changelog: v0.1.2...v0.1.3

v0.1.2

09 Apr 14:31

Choose a tag to compare

This is a hot patch that fixes a major bug in the write_ben_file function

Full Changelog: v0.1.1...v0.1.2

v0.1.1

05 Apr 17:56

Choose a tag to compare

What's Changed

  • Added functionality to the ben cli that allows for piping of files into ben
  • The ben cli will now print to the console if an output file is not specified
  • The ben::encode module now has a BenWriter struct with some write implementations that will take care of adding the bBEN STANDARD FILE heading to any outputs in the ben format so that the user does not need to remember to do this themselves.

Full Changelog: v0.1.0...v0.1.1

v0.1.0

26 Mar 14:49

Choose a tag to compare

Initial Release

This is the first release of the binary-ensemble package. Please see the README for more information on what is available and how to use the tool!