Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .agents/project-standards.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,10 @@ alias and constructor from the public package.
- The project aims for complete coverage on core internal data-structure
packages: `internal/list`, `internal/sortedlist`, `internal/deque`,
`internal/heap`, and `internal/prioritymap`.
- CI requires at least 95% coverage across library packages and 100% coverage
for changed lines. The cross-implementation benchmark harness under
`internal/benchmarks` remains part of build and test verification but is
excluded from the published coverage percentage.
- Internal test files should mirror the implementation method order as much as
practical. This makes coverage gaps easy to map back to code.
- Prefer direct assertions over helper-heavy test DSLs.
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ CI builds and tests every package with the minimum supported Go release and the
latest stable release. The published coverage report measures library packages;
the cross-implementation benchmark harness under `internal/benchmarks` remains
part of the build and test suite but is excluded from the coverage percentage.
Codecov requires at least 95% project coverage and 100% coverage for changed
lines.

## Status

Expand Down
10 changes: 10 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
coverage:
status:
project:
default:
target: 95%
threshold: 0%
patch:
default:
target: 100%
threshold: 0%