You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Code Quality] refactor: delete experimentStateJSON/experimentRunRecord and reuse exported ExperimentState/ExperimentRunRecord #48438
pkg/cli/audit_report_experiments.go defines two unexported structs (experimentStateJSON at line 35, experimentRunRecord at line 42) that are byte-identical to the exported ExperimentState and ExperimentRunRecord defined in pkg/cli/experiments_command.go (lines 35, 41). Both are in the same cli package.
This is dead duplication — experimentStateJSON is used in exactly one place (audit_report_experiments.go:92). Fixing it takes roughly 15 minutes.
Activity