Borehole · Project · free tier
evidentlyai/evidently
Free reading: not for reliance
34771fe · 2,798 commits · 1,238 files
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.

DimensionRating
Architecture & Codebase — including AI provenancestrong
Engineering Process & SDLC Maturityadequate
Product & Engineering Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsadequate
Fit with the Acquirernot assessable

Architecture & Codebase — including AI provenance

strong
01.6

src/evidently/core/metric_types.py is 1,902 lines, 30× this codebase's median file

adequate

The 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.

Evidence
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)
01.7

4% of code blocks appear verbatim in more than one file

adequate

2,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.

Evidence
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

adequate
02.16

Tests are retried until they pass

adequate

The 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.

02.24

6% of recent commits change more than 2,000 lines

adequate

31 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.

Evidence
31 commits over 2,000 lines

Product & Engineering Maturity

adequate
04.4

Tests are falling behind the code they cover

adequate

In 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.

Evidence
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

adequate
05.6

1 Dockerfile runs the application as root

adequate

No 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.

Evidence
docker/Dockerfile.service — runs as root
05.27

The build runs third-party code it does not pin

adequate

8 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.

Evidence
.github/workflows/deploy-artifacts-to-github-pages.yml:82 — action pinned by tag
.github/workflows/main.yml:258 — action pinned by tag
05.13

2 outbound calls can wait forever

adequate

2 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.

Evidence
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
05.21

4 shell commands built from strings

adequate

4 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.

Evidence
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
05.65

1 advisory against this project in the last 24 months, 1 high or critical

adequate

The 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).

Evidence
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

adequate
06.2

No structured logging library is in use

adequate

Nothing 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.

Evidence
searched 1,178 files for 10 structured logging libraries; 0 matched
06.9

No error reporter is wired in

adequate

Nothing 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.

Evidence
no error reporter initialised

Fit with the Acquirer

not assessable

Not 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.