go-ai/cmd/security
Snider eaf26d3f93
Some checks failed
Security Scan / security (push) Successful in 10s
Test / test (push) Failing after 37s
refactor(ax): round 5 AX sweep — single-letter vars, missing Ugly test
- ai/metrics.go: ev → event in Summary(), e → entry in sortedMap()
- cmd/metrics/cmd_test.go: tc → testCase, add TestCmd_ParseDuration_Ugly
  covering boundary inputs (leading whitespace, trailing whitespace,
  float value, wrong case unit, very large count, alpha-only numeric)
- cmd/security/cmd_jobs.go: f → finding in buildJobIssueBody loops
- cmd/embed-bench/main.go: m → registeredModel, v → value, q → queryCase,
  r → rankedResult across modelAvailable(), avg(), and main() query loops

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 07:26:39 +01:00
..
cmd.go refactor: remove init() + RegisterCommands pattern 2026-02-21 22:07:10 +00:00
cmd_alerts.go refactor(ax): round 2 AX sweep — usage examples, predictable names, dead code 2026-03-31 06:21:51 +01:00
cmd_deps.go refactor(ax): round 3 AX sweep — remove redundant section comments, add usage examples 2026-03-31 06:25:33 +01:00
cmd_jobs.go refactor(ax): round 5 AX sweep — single-letter vars, missing Ugly test 2026-03-31 07:26:39 +01:00
cmd_scan.go refactor(ax): round 3 AX sweep — remove redundant section comments, add usage examples 2026-03-31 06:25:33 +01:00
cmd_secrets.go refactor(ax): round 3 AX sweep — remove redundant section comments, add usage examples 2026-03-31 06:25:33 +01:00
cmd_security.go refactor(ax): round 4 AX sweep — test naming, variable names, usage examples 2026-03-31 06:44:11 +01:00