K-DIC: digital image correlation (DIC) for laboratory measurements
K-DIC: the author’s own 2D DIC software, BSD-3-Clause, written independently from published methods.
Stage: not released; a laboratory release (Lab Release 1.0, with the engine at version 0.1.0) is being prepared, and nothing of its code is public. The paper on how K-DIC is being developed and how it is to be verified was reframed on 23 Nov 2026 as a method paper with K-DIC as the worked case. Sections 1 to 3 are drafted and accepted by the author; Sections 4 to 6 wait for results.
Target journal: not yet chosen. Engineering-software and measurement journals are checked first, software-engineering journals second.
Working title: “A framework for independent verification of digital image correlation software developed by AI coding agents” (typed by the author on 23 Nov 2026; it may still change).
What is AI-checked only: everything on this page except the author’s quoted words and the drafts the author read. No verification step has a finished result yet, no physical verification test of K-DIC has been run (one demonstration day, on 11 Nov 2026, pulled three printed specimens once with no independent reference; it is a demonstration, not a verification result), and no result has been checked by a person.
In one sentence
The print wording of the main claim, which the author accepted on 23 Nov 2026 (the term “oracle tester” chosen by the author on 25 Nov 2026):
DIC software written by AI coding agents can be trusted, within stated limits, when it passes five verification steps carried out by an oracle tester that is independent of the agent that wrote it.
Here an oracle tester is a tester that holds the true answers and is kept apart from the agent that wrote the code.
The author’s own sentence behind it (23 Nov 2026): “This paper shows that DIC software developed by AI can be trusted when it follows the steps or tiers we proposed because out protocoles and tiers have actual empirical results (we tested and obtained ourselves the real data)”. The claim is held as a hypothesis. By the author’s own rule it is printed only when “all steps must be completely finished with saved files as evidences” (the author, 23 Nov 2026).
Mindmap
Figures
No figure yet. K-DIC has no verification result to show, and its test images and their answers stay private; the diagrams below show the structure of the method.
Research question and objectives
What K-DIC is. K-DIC: the author’s own 2D DIC software, BSD-3-Clause, written independently from published methods.
DIC tracks the speckle pattern on a specimen’s surface between camera images and turns the movement into displacement and strain fields, without contact. Around K-DIC sit a capture tool for the lab’s cameras, which records raw images with frame and timing records, and a portable demonstration kit. K-DIC was written by AI coding agents. AI reviewers on other models checked the code, and the author made the decisions; the AI lead’s technical rulings go to the author for review. Development has run since 21 Oct 2026 and is not finished. Checks by people are planned before the release: two lab members, a second lab PC and a clean install on a laptop.
Why the paper exists. The author’s opening line for the Introduction (23 Nov 2026): “ai can now write softwares and no one is responsible for ai-generated works.” When one AI agent writes both a program and its tests, a passing test suite is no longer an outside check. A laboratory that measures with such software still has to say why its numbers are right.
Research question (AI-drafted wording from the author’s claim, not yet confirmed by the author): can DIC software written by AI coding agents be trusted for laboratory measurement, and what evidence, gathered by whom, earns that trust?
Objectives (each from a decision the author made in the author’s own words between 17 and 24 Nov 2026):
- Define a framework of five verification steps: (1) images with known answers; (2) public benchmark images;
- comparison with other DIC programs; (4) a physical experiment; (5) comparison with a simulation.
- Define the oracle tester, the role that judges each step, in three parts: answers the coding agents neither produced nor can read; an independent examiner, another AI model, whose finding counts only when a script reproduces it against those answers; and a person who fixes the pass criteria before the results are seen and signs the evidence of each step.
- Apply the framework to K-DIC and record openly every error found, which step caught it, and how the program was corrected and tested again.
- Test the steps themselves with four experiments (the author, 24 Nov 2026: “all four experiments”): planted mistakes by kind and size; a replay of earlier builds that carried real errors; known-answer tests written by an outside person, compared with the agents’ own; and what each step catches that the others miss.
- Keep one test case outside the correction loop and use it once, at the end, against an instrument that took no part in the earlier steps.
- The source code will be released publicly under the BSD 3-Clause licence at version 1.0.
Readers. The author named two (23 Nov 2026): “person who developed software using agentic coding … and researcher who want to use softwares in experiments for measurements (e.g. dic).” Both should be able to follow the framework for their own program.
Argument map
The map below is drawn from the argument map of this paper (status: its short page, with the thesis, the reasons, what backs each and the two weakest links, was confirmed by the author on 23 Nov 2026 with “all fine”; the full map is an AI draft the author has not read). The thesis wording and the choice of objections and refuting tests are the author’s; the wording of claims, warrants and rebuttals is AI-drafted structure, not yet confirmed by the author.
The author chose the four objections and their order (23 Nov 2026): “yes, r1 first then r2, r3 and r4”. The author accepted two results as refuting tests of the thesis: “i think A and B is good idea” (A, a planted mistake passes all five steps; B, a fresh case fails against a separate instrument).
| ID | Claim | Warrant (why the evidence would prove it) | Strongest counter-argument | Planned rebuttal |
|---|---|---|---|---|
| C1 | An AI agent’s own tests can pass while the program’s output is wrong. | If errors that passed the agents’ tests of their date are caught from outside, the agent cannot be its own judge (the author: “builder shouldnt ask [the coding agent] to verify itself”). | Nothing here is special to AI; the five steps are ordinary good practice for any DIC program. | Concede the principles; show the error table, each real error with the step that caught it and whether the agents’ tests had passed it, and compare outside-written tests with the agents’ own. |
| C2 | The five steps, judged by an independent oracle tester, catch mistakes above a stated size. | A procedure that cannot fail a defective program gives no reason to trust a passing one. | The judges are AI too, and planted mistakes may be the easy ones. | The three-part oracle tester (answers the agents cannot read; a finding counts only when a script reproduces it; a person fixes criteria and signs); mistakes reported by kind and size, every miss in full. |
| C3 | A pass carries over to a case that was never used for fixing. | A test the program was corrected against until it passed is no longer an independent judge. | The program was fixed until it passed. | One case is kept outside the correction loop and opened once, after the last correction, against an instrument that took no part in the earlier steps. |
| C4 | To be shown: K-DIC meets the pass marks of the five steps within stated limits. The marks are frozen before the final verification run, though some were set while earlier results were visible. That run checks steps 1 and 2 with the strict way of analysing; the default robust way is checked separately on synthetic bad-image pictures, where four cases ship written as failing. | The worked case shows the framework can be carried out and what a pass means in practice. | One program built by one team is not a framework. | The scope is stated once and plainly: the framework is shown on one program; that it holds for other programs is not claimed. |
| C5 | The development is recorded openly, with prompt logs, error logs and each fix and re-test. | A reader judges a result better when the errors and corrections on the way to it are shown (the author: “so that development is fully transparent and trustworthy”). | Many records are AI-written, and an AI’s account of its own work is not evidence. | Raw sources first; every number carries a label (raw, AI-written or human); only records that exist and can be released are claimed. |
Logical and reasoning structure
Assumptions, and what would break each
| Assumption | What would break it |
|---|---|
| The known answers are right and independent of the program. | Answers made by a generator that shares code or interpolation with the program; a hand calculation that contradicts a script’s verdict. |
| The coding agents cannot read the answers or the held-out cases. | Any route by which test answers reach the agents’ working context. |
| Public benchmark images show agreement with accepted practice, not detection. | Nothing breaks it, but it limits step 2: the images are public and may have been seen in training, so they are called external and re-runnable, never unseen. |
| The physical reference is finer than the accuracy being claimed. | A reference coarser than the claim; then the wording can only be “agreed within the stated accuracy of that reference”. |
| Motion in the physical test stays in the image plane. | Out-of-plane motion, which two-dimensional DIC reads as false strain (the DIC good-practice guide). |
| The pass criteria are fixed before the results are seen. | Criteria loosened after results; the criteria were in fact developed while earlier results were visible, which the paper states as a limit. |
| The person who signs a step checks what is signed. | A signature without a check of the files, the dates and a recomputed sample. |
| The simulation reference shares no error with the program. | A warping tool that shares code with K-DIC (step 5a); a material constant entering the beam comparison (step 5b). |
The inference chain
AI-drafted structure from the argument map; the author confirmed the short page that carries it.
- AI can now write software, and nobody answers for it (the author’s premise).
- An agent’s own tests can pass while the output is wrong (to be shown; weakest link 1).
- So the checker must be independent of the agent, and trust comes from testing outputs (the author: “checker is an oracle tester. trust comes from testing what software outputs”).
- Five steps do that testing, from exact known answers up to a physical experiment and a simulation comparison.
- The steps are able to fail, and a pass carries over to a fresh case (to be shown by tests A and B; weakest link 2).
- Only then: a DIC program written by AI that passes the five steps can be trusted within the limits the tests covered. This is an induction, graded by how well steps 2 and 5 are shown, never a deduction: tests show defects, not their absence.
Pre-mortem: results that would falsify each claim
| Claim | Falsifying result | Source of the test |
|---|---|---|
| C1 | Every real error in the program’s history was already caught by the agents’ own tests of its date. | AI proposal from the research design |
| C1 | Known-answer tests written by an outside person catch no more of those errors than the agents’ tests. | AI proposal; adopted as an experiment by the author on 24 Nov 2026 |
| C2 | A planted mistake passes all five steps (test A). | Accepted by the author, 23 Nov 2026 |
| C2 | A step declared a detection step catches nothing the other steps miss. | AI proposal; adopted as an experiment on 24 Nov 2026 |
| C3 | The case kept outside the correction loop fails against the separate instrument (test B). | Accepted by the author, 23 Nov 2026 |
| C4 | K-DIC misses a pass criterion fixed beforehand, in any of the five steps. | The author’s rule that all five steps are finished with saved evidence |
| C5 | The logs that the paper says exist cannot be released or do not show the corrections. | AI proposal |
Evidence
Kind labels used here: measured; simulation, AI-run; AI-checked; checked by a person; none yet.
| Claim | Evidence planned | Evidence in hand | Kind | Status |
|---|---|---|---|---|
| C1 | Error table: each real error, the build that carried it, the step that caught it, whether the agents’ tests of that date passed it, what was changed, whether it was tested again. Outside-written known-answer tests scored against the agents’ own. | None held by the paper yet. | None yet | Not yet available |
| C2 | Copies of the program, each with one planted mistake, run through all steps; results by kind and size, every miss in full. A table of each step’s declared role and its own catches. | None. | None yet | Planned; design not fixed |
| C3 | One case kept outside the correction loop, measured once against a separate instrument. | None. Which case and which instrument: not yet decided. | None yet | Planned |
| C4 | Step 1, known-answer images; step 2, public benchmark images; step 3, other DIC programs on the same images; step 4, rigid-shift and loaded tests on the lab’s universal testing machine against a certified reference (reference instruments still to be bought); step 5a, a virtual experiment with a finite element field; step 5b, a metal beam in four-point bending. | Step 1: the final verification run, with the strict way of analysing, has not been made. The default robust way was checked by AI-run tests on synthetic bad-image pictures; four cases miss a pass mark and ship written as failing. Step 2: input images in hand; the final verification run on them has not been made. Step 3: three open-source DIC programs were run on the same test images by AI (runs ended on 23 and 24 Nov 2026; jobs that timed out or failed are recorded, not scored); the side-by-side comparison with K-DIC is planned, for information only, and is not proof of accuracy. Steps 4 and 5: planned, nothing run; the 11 Nov 2026 demonstration is not a step 4 result. | None yet | Not yet available |
| C5 | A list of what was recorded during development (prompt logs, error logs, version history, review findings, signed tester sheets) and where a reader can find it. | Which logs exist and may be released is not yet known. | None yet | Not yet available |
Recorded so far
Every recorded result in the design files, with its kind and date. None of them is a result of the five steps.
| Date | What was recorded | Kind |
|---|---|---|
| 17 Nov 2026 | The measures of the study were approved by the author (in one word: “approve”) and frozen as version 1.0, with a file hash taken at once. Later additions are dated amendments, never edits. A registration record of the hashes was prepared for the author to deposit with an outside registry; the deposit is the author’s step. | Checked by a person (approval); the hash record is AI-prepared |
| 17 Nov 2026 | The planning set had one review on a different AI model; its high findings were fixed. | AI-checked |
| 18 Nov 2026 | Size of the program as developed between 21 Oct and 17 Nov 2026: 31,027 non-blank lines in 189 Python files. A development snapshot, not the version that goes to the final verification run. | AI-checked (an automated count) |
| 18 Nov 2026 | An AI review of the planned physical test design on a different model found one critical finding, a travel limit that bounds the testing machine’s motion toward the camera and the length gauge. It was fixed and re-checked once. No person with authority over the machine has reviewed the design yet. | AI-checked |
| 18 Nov 2026 | The 25 references kept for the paper were checked against bibliographic indexes: all exist, none looks invented, none is retracted. | AI-checked |
| 18 Nov 2026 | The author read a full draft and the figure designs, and asked for a shorter text, a section on the principles of DIC and how K-DIC applies them, full detail of the physical tests, and simpler figures. | Checked by a person (the drafts, not results) |
| 23 Nov 2026 | The author accepted Sections 1 to 3 of the reframed draft and the framework figure (“1 ok; 2 ok”). | Checked by a person (the drafts, not results) |
| 24 Nov 2026 | Abstract, limitations and conclusions drafted with blanks for every result. | AI-written; not yet read by a person |
Not yet available: every result of steps 1 to 5, the four experiments on the steps, the case kept back, the error table, and any count from the development record.
Claim-driven writing plan
The author’s six-section outline (23 Nov 2026): “2. framework; steps; oracle tester, 3. how dic works and how agent built the program 4. empirical verification 5. analysis of emprical results;biases,errors,hallucinations,etc. ; recommendations; limitations; 6. conclusion”. The draft is written in final form: the finished study in the past tense, with a blank for every result that does not exist yet, each such sentence marked and listed.
Section theses
The theses below are AI-drafted from the outline and the decisions, not yet confirmed by the author.
| Section | Thesis |
|---|---|
| 1 Introduction | Laboratory standards say what must be shown (software checked before use, verification kept apart from validation, uncertainty stated), but not how to show it when an AI agent wrote both the code and its tests; this framework is the how, shown on one DIC program. |
| 2 Framework (methods) | Trust in agent-written measurement software comes from testing its outputs in five steps, judged by an oracle tester the writing agent cannot read or shape, and from testing the steps themselves. |
| 3 DIC and K-DIC (methods) | K-DIC applies the standard principles of subset-based DIC, and it was built by AI coding agents under a recorded process in which AI reviewers on other models checked the code and the author decided. |
| 4 Empirical verification (results) | K-DIC met, or did not meet, criteria frozen before the final verification run in each of the five steps (some were set while earlier results were visible); the steps caught planted and real mistakes that the agents’ own tests passed; the case kept back gave the final verdict. |
| 5 Analysis (discussion) | The errors found show why the agent cannot judge itself (answered first), and the claim holds only for one program, with AI judges bounded by scripts and a person, and with one case kept out of the fixing loop. |
Paragraph logic map for Methods and Results
Drafted for this page from the design files; the manuscript’s own map for Sections 4 and 5 is not yet written.
| Paragraph | Role | One claim | Depends on |
|---|---|---|---|
| 2.1 a | Framework | Five steps stand between agent-written code and a laboratory measurement. | Introduction gap |
| 2.1 b | Steps | Each step answers a different question, from exact answers to a physical reference. | 2.1 a; steps table |
| 2.2 a | Oracle tester | The judge is a role in three parts, not one actor. | 2.1 a |
| 2.2 b | Independence | Independence is stated as conditions a reader can check. | 2.2 a |
| 2.2 c | Signing | A person fixes the criteria before results and signs each step’s evidence. | 2.2 a |
| 2.3 a | Correction loop | A failed check starts a loop of find, fix and test again, and one case stays outside it. | 2.2 |
| 2.3 b | Testing the steps | Four experiments show whether the steps can fail and what each adds. | 2.3 a |
| 3.1 | Principles | Subset matching, shape functions and strain definitions as used by K-DIC, with a schematic of the variables. | none |
| 3.2 | How K-DIC applies them | Each principle maps to a part of the program. | 3.1 |
| 3.3 | How it was built | Agents wrote the code; people reviewed and decided; the record of prompts, errors and fixes was kept. | 2.2 c |
| 4.1 | Baseline | Step 1 on images with exact answers. | 2.1; criteria record |
| 4.2 | Conformance | Step 2 on public benchmark images, and step 3 against other programs. | 4.1 |
| 4.3 | Physical | Step 4, rigid shift against a certified reference, then loaded specimens. | 4.1; test design |
| 4.4 | Simulation | Step 5a, the virtual experiment, and 5b, the beam in four-point bending. | 4.3 |
| 4.5 | Planted mistakes | Which steps caught each mistake, by kind and size. | 2.3 b |
| 4.6 | Real errors | The error table from the replay of earlier builds, with the agents’ tests of each date. | 2.3 b; 3.3 |
| 4.7 | Final judge | The case kept back, opened once against a separate instrument. | 2.3 a; all of 4 |
Planned figures and tables, each with a claim-caption
| Item | Claim-caption | State |
|---|---|---|
| Framework figure | Five verification steps, judged by an oracle tester that the writing agent cannot read, stand between agent-written code and a laboratory measurement. | Drawn; accepted by the author on 23 Nov 2026 |
| Table of steps | Each step answers a different question and has a declared role, detection or conformance. | Drafted |
| Schematic of DIC variables | The displacement and strain that K-DIC reports follow from matching a subset between a reference image and a deformed image. | Asked for by the author on 18 Nov 2026; planned |
| Test set-up figures (plan view, front view, instrumentation, specimen geometry) | The physical test measures in-plane rigid shift against a reference that does not depend on K-DIC. | Designed in an earlier draft |
| Instruments table and plain test matrix | Every instrument of the physical tests, and every test case with its parameters, is stated before the tests. | Designed; instruments still to be bought are marked |
| Planted-mistake table (kind, size, steps that caught it, steps that did not, caught by the agents’ tests, caught by the outside tests) | The steps catch mistakes that the agents’ own tests let through, above a stated size. | Columns fixed before any result; values not yet available |
| Error table (what was wrong, build, step that caught it, passed by the agents’ tests of that date, what was changed, tested again) | Real errors that the agents’ tests passed were caught by outside checks. | Columns fixed; values not yet available |
| Step-role table (step, declared role, mistakes caught by this step only) | Each detection step catches something the others miss. | Columns fixed; values not yet available |
| Results of steps 4 and 5 | K-DIC agrees with the physical and simulated references within the stated accuracy of those references. | Not yet available |
Claim-driven workflow, applied
The seven phases
| Phase | What this line has done | Check that guards it | Where it stands |
|---|---|---|---|
| 1 Thesis statement | Thesis first agreed on 17 Nov 2026 (a process paper), reframed on 23 Nov 2026 (a method paper); print wording accepted. | Only the author’s own words count as a decision; each is recorded with its date. | Done |
| 2 Claim list | Claims drafted in the argument map; the author chose the refuting tests, the objections and the scope lines. | Each claim must be provable from data the project can obtain; claims without a source are marked missing. | In progress |
| 3 Claim-to-evidence map | Evidence planned per claim; the four experiments on the steps adopted on 24 Nov 2026. | Measures frozen with a hash on 17 Nov 2026; every later change is a dated amendment. | In progress |
| 4 Paragraph logic map | Sections 1 to 3 written and accepted; no paragraph map yet for Sections 4 and 5. | At most four sentences per paragraph, one point each. | In progress |
| 5 Figure specs and skeletons | Framework figure specified before it was drawn; table columns for Section 4 fixed before any result; every result a blank. | Final-form checklist: every sentence written as done but not yet true is listed, and the submission gate stays red until each has evidence. | In progress |
| 6 Generate figures and iterate | Framework figure built and accepted; result figures not started. | Approval carries over only while image and caption are unchanged (the accepted files are recorded by hash). | In progress |
| 7 Two coherence passes | Not yet run for the reframed draft. | Read paragraphs without figures, then captions without paragraphs. | Not started |
Data tiers for this line (planned)
| Tier | Contents |
|---|---|
| Tier 0, raw | Camera frames with frame and timing records; the testing machine’s own displacement and load records; synthetic images with exact answers; public benchmark image sets; held-out images, which are never published; the development record (version history, review findings, prompt and error logs); signed one-page sheets for every test session run by a person. |
| Tier 1, processed | K-DIC displacement and strain fields per run, with the program’s stated uncertainty; per-step verdict records against the frozen criteria; the criteria file with its hash and date. |
| Tier 2, figure inputs | Rows of the error table, the planted-mistake table and the step-role table; comparison series for steps 4 and 5. |
Checks from the method note that apply
| Check | How it applies here |
|---|---|
| One number register; each rebuild compares numbers | No register yet, on purpose: no count is taken until the records exist. Each draft rebuild already compares its numbers with the previous version. |
| Facts frozen before style passes; hedges diffed | Applied at the builds of the earlier drafts: no hedge lost, and numbers removed or added are declared. |
| References mapped by title and first author; only held sources cited | Applied: only held, identity-checked sources are cited; no preprint, and no standard whose text is not held. |
| Two sources disagree | Applies: the year of one cited paper differs between the citation (2016) and a reference list that prints it (2015); neither is quoted as if both agreed. |
| Approval carries over only while unchanged | Applies to the accepted framework figure and Sections 1 to 3; changed sentences go back to the author. |
| Style checker with hard limits | Applied to every section. |
| The final check is a person | The author reads every version; results of automated tools are labelled apart from measured or human-validated evidence. |
What it will not claim
These limits come from the author’s choices (scope lines chosen on 23 Nov 2026) and the risk register; their wording here is AI-drafted.
- Not all software. The paper covers DIC software written by AI, not AI-written software in general (the author: “(1). focus on dic developed by ai”).
- One program, one team. The framework is shown on K-DIC; the same result for other programs is not claimed.
- Not the AI tool. The paper tests what the program outputs; it does not judge or certify the AI tool that wrote it.
- Not error-free. “Trusted” means within the limits the tests covered; the errors found are shown.
- No contest with human-written code. No claim that AI-built software is better, faster or cheaper.
- Not a certificate. Passing the five steps does not replace a laboratory’s own duties; the people who use the software stay responsible for its results.
- Not without people. No claim that agents developed the software without people.
- Strain is not physically validated unless a strain reference is added; the lab’s physical tests can show in-plane displacement against a certified reference, and loaded printed specimens show consistency among programs only.
- Sub-pixel accuracy is not physically shown unless the reference can resolve it; it rests on the known-answer and benchmark images.
- Criteria were not fixed blind. They were developed while earlier results were visible, and the list of measures was drafted after summary counts were seen; both are stated next to the words “fixed beforehand”.
- Public benchmark images are not unseen. The agents and the models could have read them.
- No probability that the program is free of defects is offered; a chosen list of planted mistakes is not a sample of real defects.
- Held-out images, answers and mark values are never published.
References
Published sources that the design files cite and hold. Details are given as the files record them; the full reference list lives in the manuscript.
- Stanier, S. A., Blaber, J., Take, W. and White, D. (2016). Improved image-based deformation measurement for geotechnical applications. Canadian Geotechnical Journal 53(5), 727-739. Cited for the recovery of lost points in a long image series, which K-DIC applies. (A held reference list prints the year as 2015.)
- International Digital Image Correlation Society (2025). A Good Practices Guide for Digital Image Correlation, Edition 2 (Edition 1, 2018, also held).
- Reu and co-authors. The first DIC Challenge paper (held as the accepted manuscript), on synthetic images for code verification and their limits for experimental validation.
- Sutton, M. A., Orteu, J.-J. and Schreier, H. W. (2009). A book on image correlation for shape, motion and deformation measurement. Springer.
- JCGM 100:2008. The guide to the expression of uncertainty in measurement (also published as ISO/IEC Guide 98-3).
- Further held method sources named in the design files: a review of two-dimensional DIC (2009); Pan (2010) on the equivalence of correlation criteria; Schreier and co-authors (2000) on systematic errors from intensity interpolation; Luu and co-authors (2011) on B-spline interpolation; Pan, Li and Tong (2013) on the inverse-compositional solver; Baker and Matthews (2004), “Lucas-Kanade 20 years on”; Oberkampf (2002) on validation experiments; an OIML document on software in legal metrology; and a metrology institute’s guide, “Software Support for Metrology”.
Text last changed: 2026-11-25

