Dockingjudge docs

Example config

debug_mode: true
enable_lock: true
sandbox: simple

Configuration reference

SandboxType

Bases: StrEnum

Sandbox types.

SIMPLE class-attribute instance-attribute

SIMPLE = 'simple'

BUBBLEWRAP class-attribute instance-attribute

BUBBLEWRAP = 'bubblewrap'

Config dataclass

Config(debug_mode=True, enable_lock=True, sandbox=SIMPLE)

Judgelet config.

PARAMETER DESCRIPTION
debug_mode

run in debug or release mode.

TYPE: bool DEFAULT: True

enable_lock

if set to True, then only one solution at a time could be executed on this judgelet.

TYPE: bool DEFAULT: True

sandbox

what sandbox type to use.

TYPE: SandboxType DEFAULT: SIMPLE

debug_mode class-attribute instance-attribute

debug_mode = True

enable_lock class-attribute instance-attribute

enable_lock = True

sandbox class-attribute instance-attribute

sandbox = SIMPLE
search