bulk

package
v1.0.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2026 License: MIT Imports: 13 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	BulkSimDefaultTopResults          = 5
	BulkSimCullingCoefficient         = 1.35
	BulkSimCombinationLogMin  float64 = 10
)
View Source
const (
	BulkRankingBlockIterations       = rounds.BlockIterations
	BulkRankingMinCompareIterations  = 100                    // The first look.
	BulkRankingResultFloorIterations = rounds.FloorIterations // No shown row and no baseline stops before this, except at the cap.
	BulkRankingMaxIterations         = 40000                  // The cap per lane.
	BulkRankingTopResultIterations   = 10000                  // What the estimate counts per shown row, a typical stop, and the horizon the narrow step projects to before the result floor.
	BulkRankingLookGuard             = 0.9                    // Standard errors added to the cull multiplier, for the look after every block.
	BulkRankingSettleZ               = 3.0                    // Two shown rows are in settled order past this many paired standard errors.
	BulkRankingMaxValues             = 16000000               // The values the shown rows and the baseline may hold, through the cap; past 16,000 lanes the result floor holds the cap above it.
)

The ranking's walk tests (ranking_test.go) hold BulkRankingLookGuard and BulkRankingSettleZ to their stated error rates at these block and look sizes.

View Source
const BulkSimPairedIntervalConservatism = math.Sqrt2

The factor by which two candidates' marginal half-widths added together overstate the standard error of their difference. m(C) keeps it, so pairing removes only the variance the shared seeds cancel.

Variables

View Source
var BulkSimItemSlotNames = map[BulkSimItemSlot]string{
	BulkSimItemSlotHead:       "ItemSlotHead",
	BulkSimItemSlotNeck:       "ItemSlotNeck",
	BulkSimItemSlotShoulder:   "ItemSlotShoulder",
	BulkSimItemSlotBack:       "ItemSlotBack",
	BulkSimItemSlotChest:      "ItemSlotChest",
	BulkSimItemSlotWrist:      "ItemSlotWrist",
	BulkSimItemSlotHands:      "ItemSlotHands",
	BulkSimItemSlotWaist:      "ItemSlotWaist",
	BulkSimItemSlotLegs:       "ItemSlotLegs",
	BulkSimItemSlotFeet:       "ItemSlotFeet",
	BulkSimItemSlotFinger:     "ItemSlotFinger",
	BulkSimItemSlotTrinket:    "ItemSlotTrinket",
	BulkSimItemSlotMainHand:   "ItemSlotMainHand",
	BulkSimItemSlotOffHand:    "ItemSlotOffHand",
	BulkSimItemSlotRanged:     "ItemSlotRanged",
	BulkSimItemSlotHandWeapon: "ItemSlotHandWeapon",
}

Functions

func BulkRankingClose added in v1.0.24

func BulkRankingClose(request *proto.BulkRankingCloseRequest)

func BulkRankingDecide added in v1.0.24

func BulkRankingDecide(request *proto.BulkRankingDecideRequest) (result *proto.BulkRankingDecideResult)

Decides the session's next round, block `round` of every live lane in lane order. A round the session cannot decide, or a block's error, ends the run: the session is closed and the result says why. The round that ends the ranking carries the result and closes the session.

func BulkRankingOpen added in v1.0.24

func BulkRankingOpen(request *proto.BulkRankingOpenRequest) (result *proto.BulkRankingOpenResult)

func BulkSimAsync

func BulkSimAsync(request *proto.BulkSimRequest, progress chan *proto.ProgressMetrics, requestId string)

func EnsureBulkSimCandidatesGenerated

func EnsureBulkSimCandidatesGenerated(request *proto.BulkSimRequest) error

func GetBulkSimBaselineGear

func GetBulkSimBaselineGear(request *proto.BulkSimRequest) *proto.EquipmentSpec

The raid's single bulk player's equipment, or nil.

Types

type BulkSimCandidate

type BulkSimCandidate struct {
	Index int32
	Gear  *proto.EquipmentSpec
}

type BulkSimItemSlot

type BulkSimItemSlot int
const (
	BulkSimItemSlotHead BulkSimItemSlot = iota
	BulkSimItemSlotNeck
	BulkSimItemSlotShoulder
	BulkSimItemSlotBack
	BulkSimItemSlotChest
	BulkSimItemSlotWrist
	BulkSimItemSlotHands
	BulkSimItemSlotWaist
	BulkSimItemSlotLegs
	BulkSimItemSlotFeet
	BulkSimItemSlotFinger
	BulkSimItemSlotTrinket
	BulkSimItemSlotMainHand
	BulkSimItemSlotOffHand
	BulkSimItemSlotRanged
	BulkSimItemSlotHandWeapon
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL