Skip to content

Diego/proto 2855 add outlier detection #1172

Diego/proto 2855 add outlier detection

Diego/proto 2855 add outlier detection #1172

Triggered via pull request December 13, 2024 19:35
Status Failure
Total duration 3m 8s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
lint: x/emissions/keeper/keeper.go#L1065
var-naming: don't use underscores in Go names; var last_median should be lastMedian (revive)
lint: x/emissions/keeper/keeper.go#L1088
var-naming: don't use underscores in Go names; var outlier_threshold_multiplier should be outlierThresholdMultiplier (revive)
lint: x/emissions/keeper/keeper.go#L1100
var-naming: don't use underscores in Go names; var threshold_mad should be thresholdMad (revive)
lint: x/emissions/types/genesis.go#L10
types.GenesisState is missing fields LastMedianInferences, LastMadInferences (exhaustruct)
lint: x/emissions/keeper/keeper_test.go#L5132
len: use s.Require().Len (testifylint)
lint
issues found
custom-linters
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636