Skip to content

Commit

Permalink
Merge pull request #44 from Benezivas/develop
Browse files Browse the repository at this point in the history
Release 3.0.1
  • Loading branch information
Benezivas authored Jan 20, 2022
2 parents 6342f3e + f7db490 commit a21f51d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion algobattle/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__title__ = 'Algorithmic Battle'
__version__ = '3.0.0'
__version__ = '3.0.1'
__author__ = 'Jan Dreier, Henri Lotze'
__license__ = 'MIT'
4 changes: 2 additions & 2 deletions algobattle/battle_wrappers/averaged.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ def format_as_utf8(self, match_data: dict) -> str:
+ '║{:>6.2f}║{:>6d}║{:>3d}/{:>3d} ║'.format(latest_approx_ratio,
match_data['approx_inst_size'],
curr_iter,
match_data['approx_iters']) + '\r'
formatted_output_string += '\n╚═════════╩═════════╩' \
match_data['approx_iters']) + '\r\n'
formatted_output_string += '╚═════════╩═════════╩' \
+ ''.join(['══════╩' for i in range(match_data['rounds'])]) \
+ '══════╩══════╩════════╝' + '\n\r'

Expand Down
4 changes: 2 additions & 2 deletions algobattle/battle_wrappers/iterated.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ def format_as_utf8(self, match_data: dict) -> str:
formatted_output_string += '║{:>9s}║{:>9s}'.format(pair[0], pair[1]) \
+ ''.join(['║{:>6d}'.format(match_data[pair][i]['solved'])
for i in range(match_data['rounds'])]) \
+ '║{:>6d}║{:>6d}║'.format(match_data[pair][curr_round]['cap'], avg) + '\r'
formatted_output_string += '\n╚═════════╩═════════╩' \
+ '║{:>6d}║{:>6d}║'.format(match_data[pair][curr_round]['cap'], avg) + '\r\n'
formatted_output_string += '╚═════════╩═════════╩' \
+ ''.join(['══════╩' for i in range(match_data['rounds'])]) \
+ '══════╩══════╝' + '\n\r'

Expand Down

0 comments on commit a21f51d

Please sign in to comment.