Skip to content

feat: Golang Local Evaluation V2 #43

feat: Golang Local Evaluation V2

feat: Golang Local Evaluation V2 #43

Triggered via pull request December 21, 2023 05:20
Status Failure
Total duration 32s
Artifacts

build.yml

on: pull_request
Lint files
22s
Lint files
Build binary
12s
Build binary
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint files: internal/evaluation/engine.go#L420
func `parseFloat64` is unused (unused)
Lint files: pkg/experiment/local/assignment_service.go#L10
const `flagTypeHoldoutGroup` is unused (unused)
Lint files: pkg/experiment/local/client.go#L188
func `(*Client).doRules` is unused (unused)
Lint files: internal/evaluation/selectable.go#L35
S1034: assigning the result of this type assertion to a variable (switch s := s.(type)) could eliminate type assertions in switch cases (gosimple)
Lint files: internal/evaluation/selectable.go#L37
S1034(related information): could eliminate this type assertion (gosimple)
Lint files: internal/evaluation/selectable.go#L39
S1034(related information): could eliminate this type assertion (gosimple)
Lint files: internal/evaluation/selectable.go#L41
S1034(related information): could eliminate this type assertion (gosimple)
Lint files: internal/evaluation/engine.go#L270
S1005: unnecessary assignment to the blank identifier (gosimple)
Lint files: internal/evaluation/engine_test.go#L29
ineffectual assignment to err (ineffassign)
Lint files: cmd/xpmt/main.go#L140
SA1019: client.Flags is deprecated: This function returns an old data model that is no longer used. (staticcheck)