If a dashboard shows 48 tests for a particular date but the downloaded raw test list shows 51, you may be tempted to edit one of the numbers to make them match. But first you need to confirm whether the two numbers are counting the same device, the same period, and the same type of event. The raw test list here means the list of individual test results stored by the breathalyzer or preserved during integration, and the dashboard is a tool that applies period, subject, and result conditions to that list and shows totals on screen.
For example, the AF-40BT stores up to 10,000 test results and supports Bluetooth smartphone integration. However, you cannot assume that stored test results and the totals in an app or external screen are always calculated the same way. If the time the device took the test, the time the app received the result, and the basis on which the screen divides the day differ, the same result can fall into counts for different dates. Aligning aggregation boundaries does not mean adjusting numbers; it means setting one rule for which results to include in which reporting period.
First define what counts as "one record"
First decide whether one test counts as one record or one transmission to the app or server counts as one record. Even if a test result was created once, multiple transmission records can arise if communication is retried. Conversely, if a result stored on the device has not yet been synced, it may be in the device list but not on the dashboard.
You also need to check whether the dashboard number includes only particular results, such as pass or fail. If some results are hidden on screen or only certain devices, users, or vehicles are selected, the number cannot be compared with a total obtained by counting every raw row. Writing the comparison basis down as a sentence, such as "count each test event once," keeps its meaning from changing even when the person in charge changes.
Compare dates together with times and boundaries
Matching only the period "March 1" is not enough. You need to confirm whether the raw list is sorted by test time or by the time it was synced into the system. The reliability of the time recorded on the device and the time information included in the raw list should be handled within the scope confirmed in the actual device and app display and export functions, and you must not assign dates by guessing unconfirmed times.
The end time of the reporting period also matters. For example, which records at the boundary are counted differs depending on whether the March 1 report runs from 00:00 on March 1 up to just before 00:00 on March 2, or includes the end time itself. When two reports are adjacent, fix one inclusion rule for the start and end so that the same result is not included in both or left out of both.
| Condition to align | What to check on the dashboard | What to match in the raw list |
|---|---|---|
| What is counted | Whether it is test results or transmission records | Whether the same result was counted twice |
| Date basis | The date and time zone the screen uses | Which basis to compare: test time or receipt time |
| Period boundaries | How start and end times are included | Whether results at the boundary time are included |
| Query scope | Selected devices and result conditions | Whether only the same devices and results remain |
Find the results that sit on the boundary in a list
As a hypothetical example, suppose a worker tested at 11:59 p.m. and the smartphone sync completed after midnight. If the raw list is aggregated by test time, this result may fall into the previous day's count. If the dashboard divides the day by sync completion time, it may be included in the next day's count. The observed phenomenon here is a difference in daily totals, and the interpretation is not an error in the reading but a difference in the basis for dividing dates.
A possible action is to choose one basis that fits the purpose of the report and re-extract both the dashboard and the raw list with that basis applied. To understand the actual testing activity on a given day, the test time basis may be suitable; to check the volume registered in the system, the receipt time basis may be needed. The completion criterion is not that the totals of the two lists happen to match, but that the result sitting on the boundary is included in only one reporting period according to the chosen basis.
Compare inclusion and exclusion lists, not totals
If a difference remains even after aligning the conditions, do not look only at the total; compare, line by line, the results included on the dashboard and the results remaining in the raw list. If the device or integration system provides identifiers that can distinguish results, use them first. If there is no stable identifier, compare using combinations you can actually confirm, such as test time, selected subject, and result display, but also record the limitation that identical results are hard to identify conclusively.
Splitting the comparison results into three groups makes it easier to narrow down the cause. For results that are in the raw list but not on screen, look at filters, sync delays, and differences in the query subject. For results that appear only on screen, look at the query period and whether entries are displayed twice. For results that are in both but with different dates, check the time basis and the period boundary rules. Changing concentration readings or arbitrarily deleting rows does not resolve differences in aggregation rules.
Recalculate with data from the same moment
A dashboard may newly include late-synced results depending on when it is queried, and a raw file's contents may also differ depending on when it was exported. So if the time you viewed the screen and the time the file was created differ greatly, what is being compared can differ even with the same period and filters. In comparison work, it is good to record the query conditions and file creation time together.
If changing the aggregation rule alters the numbers in a report already shared, rather than overwriting the old number, record which results moved to which date and link the reason for the change. That way, you can review whether a mismatch between the dashboard and raw test counts is actually a difference arising from different aggregation boundaries, rather than hastily interpreting it as someone's testing problem. The key is to apply the same test event, the same time basis, the same period boundaries, and the same query scope, and then match the result lists as well.