TabbycatDebate/tabbycat

View on GitHub
tabbycat/adjallocation/preformed/dumb.py

Summary

Maintainability
A
0 mins
Test Coverage
B
83%
from .base import BasePreformedPanelAllocator, register


@register
class DumbPreformedPanelAllocator(BasePreformedPanelAllocator):
    """Allocates panels to debates arbitrarily."""

    key = "dumb"

    def allocate(self):
        return self.debates, self.panels