Skip to content

UI does not correctly display multiplayer battles #42

@Benezivas

Description

@Benezivas

When running a battle with the --ui option that runs between at least two teams, the ui only renders one pairing.

Example:

battle testsproblem --generators=testsproblem/generator,testsproblem/generator --solvers=testsproblem/solver,testsproblem/solver --team_names=foo,bar --ui

Output:

Battle Type: Iterated Battle
╔═════════╦═════════╦══════╦══════╦══════╦══════╦══════╦══════╦══════╗
║   GEN   ║   SOL   ║  R1  ║  R2  ║  R3  ║  R4  ║  R5  ║  CAP ║  AVG ║
╟─────────╫─────────╫──────╫──────╫──────╫──────╫──────╫──────╫──────╢
║      bar║      foo║     5║     5║     5║     5║     5║     5║     5║
╚═════════╩═════════╩══════╩══════╩══════╩══════╩══════╩══════╩══════╝

The logs state that all battles actually run (in this case, the battle in which foo generators and bar solves). This seems to be an issue with the ui rendering only.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions