Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix wrong type in annealing without initial #1619

Merged
merged 1 commit into from
Sep 25, 2020

Conversation

tienne-B
Copy link
Member

As the initial allocation is given by an allocator (Hungarian) if None in the method, initial could be a tuple, when it's only expecting a list of AdjudicatorAllocations. This commit ignores the warnings (second element of the allocate function), and also does some optimisations.

Should this allocator be outright deprecated? It was written >10 years ago without much change (other than changing the default initial to basically supersede this allocator).

As the initial allocation is given by an allocator (Hungarian) if None
in the method, initial could be a tuple, when it's only expecting a list
of AdjudicatorAllocations. This commit ignores the warnings (second
element of the allocate function), and also does some optimisations.
@philipbelesky philipbelesky merged commit ce86c36 into TabbycatDebate:develop Sep 25, 2020
@philipbelesky philipbelesky deleted the bug/annealing branch September 25, 2020 08:54
@philipbelesky
Copy link
Member

I'll defer the question of redundancy to @czlee, but I can't imagine a future use case that requires it to be maintained.

@czlee
Copy link
Member

czlee commented Oct 16, 2020

Hello, sorry I'm late getting to this. I think it'd be fair to say we don't care for maintaining it. It's mostly there as a historical relic. I think @qlim might've just been experimenting with different allocation algorithms. Some other tab systems use simulated annealing.

@qlim
Copy link
Collaborator

qlim commented Oct 16, 2020

Think this emulated the original tabbie allocation algo. Don't think it was ever used at a tournament while I was maintaining! :D

tienne-B referenced this pull request Nov 2, 2020
The simulated annealing adjudicator allocator is deprecated, only
available through the command line, and depends on the Hungarian
allocation, making its use moot. It seems also to have never been used,
just comparing algorithms.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants