go.charczuk.com@v0.0.0-20240327042549-bc490516bd1a/experiments/matchmaker/pkg/sim/simulation_results.go (about)

     1  /*
     2  
     3  Copyright (c) 2024 - Present. Will Charczuk. All rights reserved.
     4  Use of this source code is governed by a MIT license that can be found in the LICENSE file at the root of the repository.
     5  
     6  */
     7  
     8  package sim
     9  
    10  import "time"
    11  
    12  type SimulationResults struct {
    13  	GamesPlayed   int
    14  	GamesLobsided int
    15  	GamesTied     int
    16  
    17  	QueueTimeMean time.Duration
    18  	QueueTimeP95  time.Duration
    19  	WinrateP20    float64
    20  	WinrateMean   float64
    21  	WinrateP80    float64
    22  
    23  	PlayerNaturalSkillToRatingCorrelation float64
    24  
    25  	Players []*Player
    26  
    27  	PlayerTop10    []*Player
    28  	PlayerBottom10 []*Player
    29  
    30  	PlayerCountsByRank []Tag
    31  }