Releases: forrestrice/bridge-bots
Releases · forrestrice/bridge-bots
bridgebots core v0.0.12
[0.0.12] - 2023-4-18
Added
parse_handviewer_urlto the lin module which parses a BBO handviewer URL to a BridgebotsDealRecord
bridgebots core v0.0.11
[0.0.11] - 2023-3-25
Added
parse_lin_strto parse a string instead of a LIN file
Changed
build_lin_strnow takes an enum type of LIN to build rather than a string- Upgraded marshmallow and fixed warnings
bridgebots_tools v0.0.5
[0.0.5] - 2023-03-03
Changed
- Fixed a bug in the practice tool that caused headers to be written to the csv in append mode
[0.0.4] - 2022-11-11
Changed
- Added all csv report output fields to the deal practice tool
bridgebots_tools v0.0.3
[0.0.3] - 2022-4-03
Added
- New tool
compare_contracts_csv_reportfor comparing sets of contracts' performance. - New tool
practice_dealsfor creating sets of practice deals as a LIN file with accompanying links to see how it was played by others. - New fields in csv output.
deal_hashuniquely identifies a deal,trump_fitandtrump_hcpprovide information about trump strength.
Changed
- Refactored much of the logic in
csv_reportto be shared withcompare_contracts_csv_report
bridgebots_tools v0.0.2
[0.0.2] - 2022-2-10
Added
- Scores for declarer and defender. HCP and Shape for declarer, dummy, lho, and rho.
Changed
- CSV writer now ignores extra keys. This means output columns can now be reduced by commenting out lines in the
_CSV_HEADERSlist.
bridgebots core v0.0.10 and bridgebots_tools v0.0.1
Core
[0.0.10] - 2022-1-29
Added
board_nameis now an optional parameter of board_record. Added board name parsing to the lin module.
Changed
DealRecordis now a frozen dataclass like other record classes.- Fixed a bug where the last record in a multi-board LIN file would sometimes be ignored.
Tools
[0.0.1] - 2022-1-29
Added
- First release of bridgebots_tools. Created csv_report which can covert files or directories of LIN and PBN records into a CSV report. See the Readme for details.
bridgebots core v0.0.9
[0.0.9] - 2022-1-16
Added
parse_pbnnow handles files which used shared deals for multiple board records.parse_pbnnow handles files that end with a single newline.
bridgebots core v0.0.8
[0.0.8] - 2022-1-15
Added
Direction.offset Can be used to get the Direction an arbitrary number of steps away
Changed
- Bridgebots now supports python 3.7! Several small backwards compatibility changes were made.
- Fixed several edge case bugs for LIN parsing. Improved error messages.
BiddingSuit.NO_TRUMP.abbreviation()now returnsNTby default.Ncan be returned by setting the flagverbose_no_trump=False
bridgebots core v0.0.7
[0.0.7] - 2021-11-27
Added
- Utility method
calculate_scoreto compute the scoring of a hand Contractdataclass for programmatic interaction with contracts Issue #6
Changed
- Methods which take each suit as an argument specify arguments in descending suit order (Spades, Hearts, Diamonds, Clubs) to match common convention. Issue #7
- Consolidated all submodule imports under
__init__.py. Users can now simplyimport bridgebots. Issue #8 - All Record classes (BoardRecord, DealRecord, etc) now implemented as dataclasses. Issue #9
bridgebots core v0.0.6
Bridgebots core is ready for external use! Package published to pypi.