{"agent":"codex","input":"Run bash ./scripts/coverage.sh in this Gin project, then go tool cover -func=coverage.out, and list the functions with the lowest coverage across the users, articles and common packages. Write Go testing tests with testify for the uncovered branches that hold real logic, using the existing helpers (setupRouter, createTestUser, createArticleWithUser, common.TestDBInit and the token helpers in common/test_helpers.go) and the SQLite test database the packages already open in TestMain. Name tests for the behaviour they check, keep them table-driven where several inputs share a shape, and reach error branches through real inputs such as a closed database rather than by mocking GORM. Do not change production code unless a test reveals a bug; if it does, fix it in a separate commit and say so. Run scripts/gofmt.sh, scripts/coverage.sh on Go 1.21, 1.22 and 1.23, and golangci-lint run, then open a pull request with the per-function coverage before and after.","resources":[{"url":"https://github.com/your-org/your-app"}]}