Read 2026-11-03
evidentlyai/evidently: technical due diligence, read from its repository
What Borehole read in evidentlyai/evidently's code and history at 34771fe: its licence, security advisories, releases, review practice, tests, dependencies and operations. Every finding cites the file and line it rests on. The full report also covers the team and asks the questions the code cannot answer.
| Dimension | Rating |
|---|---|
| Architecture & Codebase — including AI provenance | strong |
| Engineering Process & SDLC Maturity | adequate |
| Product & Engineering Maturity | adequate |
| Security & Reliability Posture | adequate |
| Observability & Operations | adequate |
| Fit with the Acquirer | not assessable |
Architecture & Codebase — including AI provenance
strongsrc/evidently/core/metric_types.py is 1,902 lines, 30× this codebase's median file
adequateThe median source file here is 62 lines. 8 files exceed 1,000 lines, the largest being 1,902. Size is not a defect on its own — some problems genuinely live in one place — but these are where merge conflicts, review fatigue and single-owner knowledge concentrate, and they are the first thing that slows an inheriting engineer down.
src/evidently/core/metric_types.py:1 — 1,902 lines (30× median) |
src/evidently/core/datasets.py:1 — 1,773 lines (28× median) |
src/evidently/legacy/utils/visualizations.py:1 — 1,635 lines (26× median) |
src/evidently/ui/workspace.py:1 — 1,519 lines (24× median) |
src/evidently/llm/optimization/prompts.py:1 — 1,271 lines (20× median) |
4% of code blocks appear verbatim in more than one file
adequate2,423 distinct 8-line blocks appear in two or more files. Copy-paste is the cheapest thing a generator does and among the more expensive things to inherit: a fix has to be applied everywhere the block landed, and nothing in the repository records where that is. Tests, fixtures and documentation examples are excluded — those repeat by design — so this is duplication in code that ships. Blocks are matched after normalising whitespace and only across different files.
| identical 8-line block in 8 files: src/evidently/legacy/metrics/regression_performance/abs_perc_error_in_time.py, src/evidently/legacy/metrics/regression_performance/error_bias_table.py, src/evidently/legacy/metrics/regression_performance/error_distribution.py |
| identical 8-line block in 5 files: src/evidently/legacy/metrics/data_drift/column_drift_metric.py, src/evidently/legacy/metrics/data_drift/data_drift_table.py, src/evidently/legacy/metrics/data_drift/text_descriptors_drift_metric.py |
| identical 8-line block in 5 files: src/evidently/legacy/metrics/data_integrity/column_missing_values_metric.py, src/evidently/legacy/metrics/recsys/diversity.py, src/evidently/legacy/metrics/recsys/personalisation.py |
| identical 8-line block in 5 files: src/evidently/legacy/metrics/recsys/diversity.py, src/evidently/legacy/metrics/recsys/novelty.py, src/evidently/legacy/metrics/recsys/personalisation.py |
| identical 8-line block in 5 files: src/evidently/legacy/metrics/recsys/diversity.py, src/evidently/legacy/metrics/recsys/novelty.py, src/evidently/legacy/metrics/recsys/personalisation.py |
Engineering Process & SDLC Maturity
adequateTests are retried until they pass
adequateThe suite is configured to retry failing tests (ui/html-visual-testing/playwright.config.ts). A retry turns a flaky test green without saying why it failed, so a green build means the tests passed eventually. Ask how many retries a typical run needs, and which tests need them.
ui/html-visual-testing/playwright.config.ts:21 — test retry |
6% of recent commits change more than 2,000 lines
adequate31 of 522 commits in the last 24 months changed over 2,000 lines of code, not counting reformatting, renames, vendored or generated code. A change that size is rarely reviewed line by line. Ask how they were reviewed, and what made them that large.
| 31 commits over 2,000 lines |
Product & Engineering Maturity
adequateTests are falling behind the code they cover
adequateIn the first half of this history, 48% of lines written were test lines. In the second half that fell to 18%. The codebase is growing faster than the safety net around it, which is the shape of a system that gets more expensive to change every quarter — and the cost lands on whoever owns it next.
| first half 44,569/91,942 (48.5%); second half 22,109/123,515 (17.9%) |
| history split at 2023-10-19 |
Security & Reliability Posture
adequate1 Dockerfile runs the application as root
adequateNo USER instruction switches away from root, so the process runs with full privileges inside the container. It is a one-line fix and an ordinary expectation, which is why its absence is worth asking about: it usually says more about whether anyone has reviewed the deployment than about this container specifically.
docker/Dockerfile.service — runs as root |
The build runs third-party code it does not pin
adequate8 third-party CI actions are referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day. Tags have been moved to malicious commits in real supply-chain attacks, and a piped script is whatever the server returns that minute. Pinning to a commit is the fix, and it is small.
.github/workflows/deploy-artifacts-to-github-pages.yml:82 — action pinned by tag |
.github/workflows/main.yml:258 — action pinned by tag |
2 outbound calls can wait forever
adequate2 HTTP calls use a client with no timeout (Python `requests` without `timeout=`, or Go's default client). When a dependency slows down, each one holds a worker until the connection gives up, and enough of them take the service down with the dependency.
src/evidently/legacy/ui/demo_projects/bikes.py:38 — outbound call without a timeout |
src/evidently/ui/service/demo_projects/bikes.py:36 — outbound call without a timeout |
4 shell commands built from strings
adequate4 places run a command through a shell (`shell=True`, `os.system`, `exec` with a template) rather than passing arguments. Where any part comes from outside, it is command injection. Ask where each one's input comes from.
ui/replace-playwright-screens.mjs:36 — command run through a shell |
ui/replace-playwright-screens.mjs:38 — command run through a shell |
ui/replace-playwright-screens.mjs:42 — command run through a shell |
1 advisory against this project in the last 24 months, 1 high or critical
adequateThe newest was published on 2026-08-17. A project that publishes advisories is telling its users about its fixes, and the count and pace say how much security work it carries. Whether 1 of them are fixed in the code you ship could not be told from this history: its version is only known to be at least 0.7.22. Answer lives in: the release you run, set against each fixed version. The record is incomplete: NVD: 1 record names evidently with nothing tying it to this repository (CVE-2023-54276).
| 2026-08-17: CVE-2026-75111 (high): Evidently UI fails to properly validate the filename parameter in the dataset materialization endpoint, allowing unauthenticated attackers to read arbitrary fil |
Observability & Operations
adequateNo structured logging library is in use
adequateNothing references a structured logging library. Logs that are written to be read by a person are not searchable by a machine, which means incident response here is proportional to how well someone remembers the codebase rather than to what the tooling can find.
| searched 1,178 files for 10 structured logging libraries; 0 matched |
No error reporter is wired in
adequateNothing in the service initialises an error reporter (Sentry, Rollbar, Bugsnag, Honeybadger or an APM agent). An exception in production reaches a person only if someone is reading the logs, which usually means a customer reports it first.
| no error reporter initialised |
Fit with the Acquirer
not assessableNot rated: structurally not assessable from a repository.
Read more, or read your own
The full report on evidentlyai/evidently: every dimension, the questions for the room, and the audit log.
Survey a repository: free on public repositories. Private code is read on your own machine by a collector whose source you can read first.