A percentage can be calculated correctly and still answer the wrong question. If a team asks how often eligible requests are completed, counting every event row may include retries, ineligible records and unknown outcomes. This independent analysis sample makes those choices visible before anyone shares a result. It uses seven invented rows and a separately checked Python/SQLite fixture. It is not a customer result, a connected Deepnote notebook or a commissioned sponsored post.
State the analysis question
Our question is: among eligible distinct requests with a known outcome, what fraction completed? That sentence defines the unit being counted and the conditions for joining the denominator. A row-level event report answers a different question. Both can be useful, provided the label matches the calculation.
Write the definition beside the result. Include the period, source and rules for repeat events in a real analysis. Do not let a chart title carry the entire explanation. A teammate reviewing a notebook should be able to determine which records entered the calculation and why.
Inspect a small fixture
The invented batch contains four eligible distinct requests with known outcomes: two completed and two incomplete. It also contains a repeated completion event, an ineligible completed request and a request whose eligibility and outcome are unresolved. These rows are useful because a single total would hide several different decisions.
If every event is counted, four of seven rows have a completed flag, or about 57.1%. The defined eligible cohort contains two completions among four requests, or 50%. That difference is a change in the question and denominator. It is not evidence that anyone’s performance improved or declined.
Separate duplicate policy from counting
A repeated identifier needs a deterministic policy and a source reference. For this toy fixture, the repeated event has the same outcome, so the selected cohort keeps one request. Real events may conflict or arrive out of order. In that case a reviewer needs an agreed latest-state or reconciliation rule before treating one row as authoritative.

Do not use DISTINCT as a substitute for that decision. SQLite documents how DISTINCT affects aggregate inputs. Removing duplicate values from one column is not the same as reconstructing a business entity across several events. The grouping key and outcome rule belong in the analysis contract.
Treat missing data as a result to report
An unresolved row remains in the exception summary. The sample excludes it from the known-outcome cohort because the question requires known outcomes. It does not relabel the row as incomplete or quietly discard it. A real report should explain the unresolved count so the reader can assess how incomplete the evidence is.
SQLite’s aggregate documentation distinguishes counting rows and counting non-NULL values. That behavior matters when an outcome field is nullable. Check the function and expression being counted instead of assuming every COUNT statement measures the same population.
Make the analysis reproducible
Python’s sqlite3 module provides a database interface for small, controlled fixtures. Our local check used an in-memory database and compared the raw-row count with the explicitly selected cohort. This verifies the toy arithmetic and query intent in SQLite. It does not establish compatibility with another SQL engine or a production warehouse.
The paired browser desk presents the same dataset and lets readers switch the displayed population. It shows included and held rows and requires the cohort definition to be reviewed before a local sign-off. It uploads nothing and makes no external changes.

Share the decision record
A collaborative notebook can keep the question, fixture, transformations and interpretation together. Deepnote’s writer program welcomes business-relevant Python/SQL and data-team workflow explanations; this independent sample proposes that kind of contribution. It is publicly linked for portfolio review, with no claim of a current sponsorship.
For an actual assignment, agree the editorial scope and compensation arrangement before publishing on its behalf. No reach or payment is guaranteed here. BrandItAI can help frame one reviewable data question, test a synthetic example and make the assumptions visible to the next person who reads the analysis.
