SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias MetricsDistributions

    MetricsDistributions: Message<"soulfire.v1.MetricsDistributions"> & {
        botPositions: BotPosition[];
        dimensionCounts: { [key: string]: number };
        foodHistogram: number[];
        gameModeCounts: { [key: string]: number };
        healthHistogram: number[];
    }

    Current-state distributions computed from the latest bot data. These are not time-series; they reflect the current instant.

    Type Declaration

    • botPositions: BotPosition[]

      XZ positions of online bots for scatter plot rendering.

      from field: repeated soulfire.v1.BotPosition bot_positions = 5;

    • dimensionCounts: { [key: string]: number }

      Number of bots in each dimension (e.g., "minecraft:overworld" -> 5).

      from field: map<string, uint32> dimension_counts = 3;

    • foodHistogram: number[]

      Food level histogram with 10 buckets of width 2: [0,2), [2,4), ..., [18,20].

      from field: repeated uint32 food_histogram = 2;

    • gameModeCounts: { [key: string]: number }

      Number of bots in each game mode (e.g., "SURVIVAL" -> 10).

      from field: map<string, uint32> game_mode_counts = 4;

    • healthHistogram: number[]

      Health histogram with 10 buckets of width 2: [0,2), [2,4), ..., [18,20]. Each entry is the count of bots whose health falls in that bucket.

      from field: repeated uint32 health_histogram = 1;

    from message soulfire.v1.MetricsDistributions