# Finding an answer again: time the check too

An owned trial on fictional documents shows timing boundaries: search, source checking and an explicit rejection outcome.

L00P.AI · 1.0 · 2026-11-18

https://www.l00p.ai/en/resources/series/ponowne-znalezienie-odpowiedzi-mierz-takze-sprawdzenie/

## 01 / A fast result does not finish the task

A leader returns to a question the team has already answered. Search supplies a paragraph, but the source and version still need checking. Only then can the information be reused. Measure that whole route and record unsuccessful attempts. Time to the first result alone does not establish the cost of recovering knowledge.

This article extends the [knowledge loop](/en/resources/series/kolo-wiedzy-od-nagrania-do-ponownego-uzycia/) with a narrow timing protocol. We ran a local trial using fictional documents we created. We did not measure human work, a production library or monetary cost. The organisational cost of finding an answer again remains unmeasured.

## 02 / Define completion before starting

Record the question and acceptance criterion before timing. Our example asks where a fictional box is stored. The expected document has identifier guide-07, revision 2, section storage and answer “Shelf C / Półka C”. As authors of the test data, we defined those values. They are not an independent check of a real-world fact.

The script first reads every document in the case and searches for an exact query token. It then opens the sole matching file again and compares its identifier, revision, section and answer with the predefined reference. No result or multiple candidates cause rejection. There is no semantic retrieval or language model.

## 03 / What the clock includes

![Start before reading. Search, then check source and version. Stop after the decision: acceptance or a rejection reason. Total is the sum of both intervals; data setup and reporting are outside timing.](https://www.l00p.ai/wydawnictwo/ponowne-znalezienie-odpowiedzi-mierz-takze-sprawdzenie/czas-en-v1.svg)

```text
START -> READ AND SELECT -> REREAD AND CHECK -> STOP
               |                  |
         none / multiple    stale / wrong / no section
               +-------------> REJECTION

TOTAL TIME = SEARCH TIME + CHECK TIME
OUTCOME = ACCEPTED or SPECIFIC REJECTION REASON
```

Timing starts before directory enumeration and stops after the decision. It includes UTF-8 reads, JSON parsing, selection and, when there is one candidate, a separate read and check. With no candidate or an ambiguous result, checking consists of the rejection decision alone. Data creation, loading the reference and writing the report happen outside the timed interval.

We used differences between perf_counter_ns readings in Python 3.11.11. The clock reported QueryPerformanceCounter, monotonic behaviour and 100 ns resolution. Nanosecond units do not establish that accuracy for the whole trial. The Python 3.11 documentation describes a clock for short durations; the page read concerns revision 3.11.18, rather than the executed 3.11.11.

## 04 / Results of seven cases

On 18 November 2026 we ran 30 repetitions of seven cases: a correct document, stale revision, wrong answer, missing section, no result, two candidates and a correct query containing Polish characters. Each case has 12 background documents and zero, one or two documents carrying the query token. Case order was shuffled within each repetition using recorded seed 20261118.

The 210 attempts produced 60 acceptances of correct cases and 150 expected rejections. Every outcome matched the planned data condition. These are controlled cases with deliberately inserted faults: 150 rejections are not a library failure rate. Thirty repetitions of one case do not mean thirty users or different questions.

For the ordinary correct document, median total time was 0.851 ms, minimum 0.6854 ms and maximum 1.697 ms. All 30 attempts were accepted. Rejection timings were preserved separately. We do not compare a correct result and a missing result as two ways of completing the same task: rejection supplies no answer.

This was one process on one Windows workstation. The operating-system cache was not flushed; first reads were retained and later reads may have used cached data. The result does not establish network latency, human speed or an improvement over a previous workflow. There was no comparative trial.

## 05 / Record for the next real task

```text
Question and permitted data scope:
Expected answer, version and source location:
Who defined the criterion and on what evidence:
Start: ready question / first action:
First candidate: time and identifier:
End: opened source and confirmed version / rejection:
Search time + check time = total:
Outcome and rejection reason:
Interruptions, cache, access conditions and device:
Attempt count, raw timings and inference limits:
```

For human work, choose material you are permitted to use and define unambiguous start and completion events. Record interruptions and incomplete cases separately. When comparing workflows, keep questions and conditions comparable; account for learning the answer by performing the task earlier. Do not convert the milliseconds above into wages or savings. Such an assessment requires separate measurement of working time, task frequency and assumed costs.

## 06 / Provenance and correction trigger

Sources: the published knowledge loop, our protocol and raw results dated 18 November 2026, and documentation for the [Python clock](https://docs.python.org/3.11/library/time.html#time.perf_counter_ns) and [median](https://docs.python.org/3.11/library/statistics.html#statistics.median). Private evidence preserves the code, fictional data, clock conditions and SHA-256 hashes. Trial inputs remained unchanged during execution. No recordings, client data or third-party illustrations were used.

Codex performed the agent editorial and management functions: it created the data, protocol, script, PL/EN text and checks of its own results. There was no independent second-model review or user study. A change to acceptance criteria, script, data or timing boundary requires a new trial while preserving the old result. Which source must you open before treating a retrieved answer as ready to use?

Full knowledge-loop address: [L00P.AI](https://www.l00p.ai/zasoby/serie/kolo-wiedzy-od-nagrania-do-ponownego-uzycia/).
