ogd.games.AQUALAB package

Subpackages

Submodules

ogd.games.AQUALAB.AqualabLoader module

class ogd.games.AQUALAB.AqualabLoader.AqualabLoader(player_id: str, session_id: str, game_schema: GameSchema, mode: ExtractionMode, feature_overrides: List[str] | None)[source]

Bases: GeneratorLoader

Loader subclass for Aqualab generators

static GetAqualabJobCount(db_export_path: Path = PosixPath('ogd/games/AQUALAB')) int[source]

Function to retrieve the number of jobs in the DBExport file.

Parameters:

db_export_path (Path, optional) – A path to the folder containing DBExport, defaults to Path(“.”)/”ogd”/”games”/”AQUALAB”

Returns:

The number of jobs in the current DBExport

Return type:

int

static GetAqualabTaskCount(db_export_path: Path = PosixPath('ogd/games/AQUALAB')) int[source]

Function to retrieve the total number of tasks in the DBExport file.

Parameters:

db_export_path (Path, optional) – A path to the folder containing DBExport, defaults to Path(“.”)/”ogd”/”games”/”AQUALAB”

Returns:

The total number of tasks in the current DBExport

Return type:

int

property JobMap: Dict[source]

Property returning the “job map” that assigns each job in the DBExport an integer value/index.

Returns:

The “job map” from the current DBExport

Return type:

Dict

Module contents