<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Applied AI Insights]]></title><description><![CDATA[Research-led notes on AI systems that deliver value and survive production.]]></description><link>https://insights.applied-ai.com</link><image><url>https://substackcdn.com/image/fetch/$s_!5Rih!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe5d5cd17-5bdf-4b20-88c2-87c65ff40bf6_300x300.png</url><title>Applied AI Insights</title><link>https://insights.applied-ai.com</link></image><generator>Substack</generator><lastBuildDate>Sat, 28 Nov 2026 03:57:21 GMT</lastBuildDate><atom:link href="https://insights.applied-ai.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Stefan Jansen]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[appliedai789@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[appliedai789@substack.com]]></itunes:email><itunes:name><![CDATA[Stefan Jansen]]></itunes:name></itunes:owner><itunes:author><![CDATA[Stefan Jansen]]></itunes:author><googleplay:owner><![CDATA[appliedai789@substack.com]]></googleplay:owner><googleplay:email><![CDATA[appliedai789@substack.com]]></googleplay:email><googleplay:author><![CDATA[Stefan Jansen]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Using coding agents: from a written task to a tested change]]></title><description><![CDATA[Follow a constructed coding task from written requirements through implementation, independent tests and continuation.]]></description><link>https://insights.applied-ai.com/p/using-coding-agents-from-a-written</link><guid isPermaLink="false">https://insights.applied-ai.com/p/using-coding-agents-from-a-written</guid><dc:creator><![CDATA[Stefan Jansen]]></dc:creator><pubDate>Mon, 02 Nov 2026 21:55:43 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/588ad155-21d3-496e-b0ce-0c2427107a97_1200x630.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>Key takeaways</strong></p><ul><li><p>A coding task needs observable success and failure behavior. &#8220;Reject invalid input&#8221; leaves open what happens to files already written.</p></li><li><p>Run the regression test on the original code as well as the patch. In the worked example, detecting an error still allowed a previous export to be overwritten.</p></li><li><p>Keep requirements, code revisions, commands, outcomes and unresolved limits together. Those artifacts let another session inspect the work without trusting a completion message.</p></li><li><p>Use persistent specifications and handoffs when decisions must survive a session. A bounded fix can usually proceed from a short task and its tests.</p></li></ul><p>A coding agent can inspect a repository, edit files and run tests within one interaction. Reviewing the resulting change still requires familiar engineering work. The reviewer needs to check that the task describes the intended behavior, that the test exercises the defect, and that the patch preserves behavior callers depend on.</p><p>Those checks get harder when the work crosses sessions or tools. A summary may say that validation is fixed while omitting which revision passed, which inputs were checked, or whether a failed operation changed an existing file. The next agent then has to reconstruct decisions from code that may already embody the wrong interpretation.</p><p>A small CSV importer makes these distinctions visible. We will follow a written requirement through inspection, a failing command, an incomplete repair, regression tests and a final diff. The example is deliberately constructed. For this article, a Codex assistant wrote the initial implementation, tests and patch and executed them locally. It is a teaching example with real command results, not an independently run agent evaluation, a client case or a measurement of developer productivity.</p><h2>Define what an invalid import must leave unchanged</h2><p>The importer reads inventory rows from a CSV file and writes one JSON object per line. Its inputs are a source path and an output path. A successful export should preserve row order, item names and integer quantities, including zero.</p><p>The bounded task is to reject missing, noninteger or negative quantities and missing required headers. On a validation failure, the command must exit with an error while leaving an existing export byte-for-byte unchanged. If the destination does not exist, a failed validation must not create it.</p><p>That last requirement changes the implementation. Consider this input:</p><pre><code><code>item,quantity
bolts,4
washers,many</code></code></pre><p>The original program opens the destination for writing, converts each quantity with Python&#8217;s <code>int()</code>, and immediately writes that row. It writes the bolts record before discovering that <code>many</code> cannot be converted to an integer. Opening the destination has already truncated the previous export.</p><p>The first local reproduction exercised the command as a caller would. It created a previous export, ran the importer against this CSV and inspected both the exit status and the destination. The command exited with status 2 and an error message. The destination contained only the bolts record.</p><p>A test that checked only the error would have accepted that outcome. The written task instead requires preservation of the destination on invalid input. The test therefore needs to inspect state after failure, as well as the failure signal.</p><p>The contract also states its assumptions. The input is small enough to hold in memory, paths are distinct, and the caller has a writable destination directory. Crash recovery and concurrent writers are outside this task. Without those boundaries, &#8220;safe import&#8221; could imply a substantially different change.</p><h2>Inspect the repository before choosing the repair</h2><p>In an existing repository, the agent first needs the applicable instructions, entry point, callers and test command. It should inspect the current working tree as well. Another person&#8217;s edits may explain behavior that differs from the committed version, and must not be overwritten during a repair.</p><p>Here, the repository surface is intentionally small. A command-line wrapper parses two paths and calls a conversion function. The conversion uses the standard-library CSV parser, so quoted commas and embedded newlines already have defined handling. The patch keeps that parser. Python&#8217;s documentation specifies <code>newline=""</code> when opening CSV files and explains how <code>DictReader</code> maps headers to fields, including missing cells. <a href="https://docs.python.org/3.14/library/csv.html">Python CSV documentation</a></p><p>Inspection identifies both the change and the behavior worth retaining. The defect concerns when the destination is opened relative to validation. Replacing CSV parsing with a string split would expand the patch and introduce a different defect in quoted fields.</p><p>The developer, agent runtime, workflow artifacts and execution environment contribute different things. The developer owns the intended behavior and authorizes the scope. The runtime makes file inspection, editing and command execution available to the model, subject to its configured permissions. The written task preserves decisions. The interpreter and filesystem execute the program and expose its effects.</p><p>Those contributions depend on one another. A task file cannot enforce output preservation. An executed test can check preservation for its inputs, but cannot decide whether the chosen requirement meets the user&#8217;s needs. Birgitta B&#246;ckeler&#8217;s discussion of coding-agent harnesses makes a related distinction between instructions that guide generation and checks that return feedback after an action. Her account also identifies the limits of relying on generated functional tests. <a href="https://martinfowler.com/articles/harness-engineering.html">Harness engineering for coding agent users</a></p><h2>A row-level check still permits a partial export</h2><p>A plausible first repair checks that the headers exist, converts each quantity and rejects negative values before writing that row. The companion example retains this candidate as <code>rejected_streaming.py</code>.</p><p>The candidate was actually executed against the contract tests. It failed six of ten. Header validation now happened before opening the output, but a bad quantity in a later row still left a partial export. Negative quantities produced an error, yet the prior export had already been replaced.</p><p>The candidate confused validating a row before writing that row with validating the import before changing its destination. Both can sound like &#8220;validate before writing&#8221; in a task summary. Naming the operation and the state that must survive removes that ambiguity.</p><p>The corrected implementation collects validated records before opening the destination. Its central change is short:</p><pre><code><code>records = []
with source.open(
    encoding="utf-8", newline=""
) as incoming:
    reader = csv.DictReader(incoming)
    required = {"item", "quantity"}
    if not required.issubset(
        reader.fieldnames or []
    ):
        raise ValueError(
            "required columns: "
            "item, quantity"
        )
    for row in reader:
        quantity = int(
            row["quantity"]
        )
        if quantity &lt; 0:
            raise ValueError(
                "quantity must be "
                "nonnegative"
            )
        records.append({
            "item": row["item"],
            "quantity": quantity,
        })
with destination.open(
    "w", encoding="utf-8"
) as outgoing:
    for record in records:
        line = json.dumps(record)
        outgoing.write(line + "\n")</code></code></pre><p>The tradeoff is memory proportional to the imported records. That is acceptable under this example&#8217;s explicit size assumption. A large-file importer could instead validate into a temporary output and replace the destination after success, with additional decisions about filesystem behavior, cleanup and durability. That alternative was not implemented or tested here.</p><p>The final diff adds header and quantity validation and moves destination writing after the input loop. The two positional arguments, JSON-lines representation and CSV reader remain. Reviewing that diff is still necessary even with passing tests. A patch that also changed the output schema or added a dependency would need an explanation beyond the stated defect.</p><h2>Make the tests detect the original behavior</h2><p>The tests invoke the command in a subprocess with real CSV files in temporary directories. They inspect exit codes, error messages, destination bytes and decoded JSON records. They do not replace the converter with a mock or merely check that validation code exists.</p><p>The same ten tests produced these local outcomes:</p><ul><li><p><strong>Original implementation:</strong> seven failures. Invalid imports changed the destination, and negative quantities were accepted.</p></li><li><p><strong>Streaming validation candidate:</strong> six failures. Header checking improved one case, while quantity failures still changed the destination.</p></li><li><p><strong>Corrected implementation:</strong> all ten passed.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!PHxj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff28c12dc-9b67-45d0-8fe2-d78bad4b205d_333x284.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!PHxj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff28c12dc-9b67-45d0-8fe2-d78bad4b205d_333x284.png 424w, https://substackcdn.com/image/fetch/$s_!PHxj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff28c12dc-9b67-45d0-8fe2-d78bad4b205d_333x284.png 848w, https://substackcdn.com/image/fetch/$s_!PHxj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff28c12dc-9b67-45d0-8fe2-d78bad4b205d_333x284.png 1272w, https://substackcdn.com/image/fetch/$s_!PHxj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff28c12dc-9b67-45d0-8fe2-d78bad4b205d_333x284.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!PHxj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff28c12dc-9b67-45d0-8fe2-d78bad4b205d_333x284.png" width="333" height="284" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f28c12dc-9b67-45d0-8fe2-d78bad4b205d_333x284.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:284,&quot;width&quot;:333,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Executed teaching example: the same ten CLI tests on three implementations.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Executed teaching example: the same ten CLI tests on three implementations." title="Executed teaching example: the same ten CLI tests on three implementations." srcset="https://substackcdn.com/image/fetch/$s_!PHxj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff28c12dc-9b67-45d0-8fe2-d78bad4b205d_333x284.png 424w, https://substackcdn.com/image/fetch/$s_!PHxj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff28c12dc-9b67-45d0-8fe2-d78bad4b205d_333x284.png 848w, https://substackcdn.com/image/fetch/$s_!PHxj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff28c12dc-9b67-45d0-8fe2-d78bad4b205d_333x284.png 1272w, https://substackcdn.com/image/fetch/$s_!PHxj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff28c12dc-9b67-45d0-8fe2-d78bad4b205d_333x284.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Figure 1. The same ten CLI tests distinguish a validation error from preserving the destination. These are executed results from the constructed importer exercise, not a coding-agent productivity comparison.</p><p>The positive cases cover ordered rows, a quoted comma, zero, a quoted multiline item and a header-only input that replaces an old export with an empty file. The rejection cases cover a later noninteger value with both existing and absent destinations, a negative value, a decimal, a blank quantity, a short row and a missing required header.</p><p>The test inputs matter. A malformed row passed directly to an internal helper might miss how the CSV reader actually represents missing cells. These tests supply CSV text to the real entry point. They exercise the parser and writer together.</p><p>The three positive-output tests also failed when temporary copies of the producer were deliberately changed to write wrong quantities or retain an old export on empty input. These limited mutation checks show that those assertions can detect incorrect output. They do not establish exhaustive test coverage.</p><p>The two content tests also require decoded quantities to have Python&#8217;s <code>int</code> type. Dictionary equality alone would accept <code>4.0</code> in place of <code>4</code>. A producer changed to serialize float quantities failed both revised tests; it passed the earlier value-only checks.</p><p>The companion replay reruns the original, rejected and corrected versions and checks the expected outcomes. It retains the complete final diff, raw test logs and interpreter identity. The recorded replay used Python 3.13.5 on Linux; the initial direct reproduction used Python 3.14.4. Neither the failure counts nor the test runner&#8217;s elapsed times estimate how coding agents perform on other repositories.</p><h2>Preserve decisions when the work crosses sessions</h2><p>For this task, a short contract, regression tests and a diff carry most of the required context. Creating a milestone and several planning documents would add little. The change has one observable failure, one implementation boundary and a focused command to rerun.</p><p>Persistent specifications help when several interpretations would lead to different behavior, when a change spans components, or when people must review requirements before implementation. A plan then records dependencies and separately checkable changes. A handoff records the remaining work and the evidence already obtained. These artifacts serve different purposes; repeating the same status across all of them creates opportunities for disagreement.</p><p>I maintain <a href="https://github.com/stefan-jansen/coding-agent-toolkit">coding-agent-toolkit</a> and <a href="https://github.com/stefan-jansen/coding-agent-plugins">coding-agent-plugins</a>, which provide workflow instructions and supporting installation components. They are one implementation of this approach. A repository issue, a task file and ordinary Git history can serve the same purposes for a bounded fix.</p><p>The toolkit&#8217;s <a href="https://github.com/stefan-jansen/coding-agent-plugins/blob/c14862fe4e997b76b0316c077eac99fa40644698/workflow/skills/handoff/SKILL.md">handoff contract</a> pairs prose with read-only checks and expected values. Its <a href="https://github.com/stefan-jansen/coding-agent-plugins/blob/c14862fe4e997b76b0316c077eac99fa40644698/workflow/skills/continue/SKILL.md">continuation contract</a> compares current state with those expectations and reports drift. That is documented behavior, not a cross-agent experiment performed for this article.</p><p>A concrete handoff for the importer would name the exact revision or file hashes, the interpreter identity, the replay command, its observed results and the remaining output-write limitation. A successor should compare the current files with that revision before relying on the saved result. If the code or tests changed, the earlier pass belongs to the earlier files.</p><h2>Passing tests leaves a review decision</h2><p>The corrected importer satisfies the tested validation contract. It still writes directly to the destination after validation. A disk error or interruption during writing could leave partial output. Large inputs could exhaust memory. Concurrent writers, hostile paths and broader CSV schema policies were not tested.</p><p>A reviewer must decide whether those exclusions fit the real application. If preserving the last accepted export through a process crash is required, the task and its tests need to cover that failure too. If callers accept untrusted paths, security review has additional work. Maintainability also requires judgment about the surrounding repository, which a synthetic example cannot supply.</p><p>The same reasoning applies to agent-generated tests. When one assistant writes the task interpretation, implementation and assertions, it can repeat a mistaken assumption across all three. Running tests on defective code demonstrates sensitivity to the tested defect. It does not independently validate the requirement. Human review, caller examples and existing integration tests can challenge assumptions the new tests share with the patch.</p><p>For your next bounded coding-agent task, state the required result and what a failed operation must leave unchanged. Preserve a command that exposes the original behavior, then inspect the corrected diff and the inputs the tests cover. If the work must resume elsewhere, carry those artifacts and the unresolved limits with it. The next reviewer should be able to reproduce the evidence and identify the remaining decision.</p>]]></content:encoded></item><item><title><![CDATA[What AI decision models do, and when to use them]]></title><description><![CDATA[A new set of models returns bounded judgments for software. The practical questions are how those judgments are produced, checked and used.]]></description><link>https://insights.applied-ai.com/p/what-ai-decision-models-do-and-when</link><guid isPermaLink="false">https://insights.applied-ai.com/p/what-ai-decision-models-do-and-when</guid><dc:creator><![CDATA[Stefan Jansen]]></dc:creator><pubDate>Mon, 02 Nov 2026 21:54:49 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/980a7721-f0c7-4b7a-9ea0-183182d9784e_1200x630.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>Key takeaways</h2><ul><li><p>Decision models accept evidence and a question, then return a bounded answer or probabilities. Some let applications supply the question and answer categories at runtime.</p></li><li><p>The interface does not imply one architecture. Specialized encoders, adapted language-model backbones and single-token classifiers can implement related behavior.</p></li><li><p>A probability estimates an outcome. It does not establish correctness for an individual case, authenticate a requester or authorize an action.</p></li><li><p>Compare decision models with rules, trained classifiers and constrained generation on the same workload. Count errors, review and maintenance alongside inference.</p></li></ul><h2>When software needs a category rather than a written response</h2><p>Consider a support application routing incoming messages to billing, technical support or cancellation queues. The input is the customer&#8217;s message; the output is a category, with an additional route for ambiguous requests. Account lookup, subscription changes and the eventual reply happen later. Generating a paragraph to express the routing choice can add work when the application only needs a label.</p><p>Decision models target these bounded judgments. The recent releases are worth examining because repeated classification, relevance and screening calls can consume time and inference budget inside larger AI systems. A model designed for those calls may be a better component than a generator configured to write a tiny JSON object. Equally, an existing classifier or rule may already do the job.</p><p>The distinction requires more than a product label. Some offerings change the model&#8217;s inference computation; others specialize an existing architecture or expose a different API. This article explains what to inspect, where these models fit, and why their outputs still need a separate policy for taking action.</p><h2>Runtime-defined questions extend the familiar classifier interface</h2><p>A conventional classifier learns a mapping to defined targets, such as billing, technical support and cancellation. A decision model may instead receive the question and descriptions of the permitted answers with each request. The application can ask whether a passage answers a question, choose which department should receive a message, or rate a defect against specified severity levels.</p><p>The distinction is not whether the output contains numbers. Classifiers already return class probabilities. It is whether the model can apply a supplied question or label meaning without training a new prediction head for every task. That capability still needs evaluation on each task; the ability to accept a new question does not demonstrate that the model answers it accurately.</p><p>TypeSafe&#8217;s <a href="https://docs.typesafe.ai/introduction">Jev documentation</a> describes choices, scores and yes/no judgments against shared input. <a href="https://developers.openai.com/api/docs/guides/decisions">OpenAI&#8217;s Decisions API</a>, <a href="https://developers.openai.com/api/docs/changelog">generally available as of October 22, 2026</a>, similarly provides predicate, choice and score outputs. These are documented interfaces, not evidence that the providers perform equally well.</p><p>Runtime labels also predate the current releases. The <a href="https://arxiv.org/html/2508.07662v1">GLiClass paper</a>, published in 2025, describes a classifier that processes text and label representations, with several architectural variants. Its <a href="https://github.com/Knowledgator/GLiClass">released implementation</a> accepts candidate labels and includes training and serving code. Such models belong in the comparison even if their developers do not use the same branding.</p><p>The permitted answer set needs care. If a message involves both cancellation and a disputed charge, choosing one exclusive category discards information. Separate judgments or a multi-label classifier may fit better. Adding an &#8220;other&#8221; option lets a model select it; that option does not guarantee detection of every unsupported input. Missing evidence needs explicit handling too.</p><h2>A finite-answer interface can use different inference architectures</h2><p><a href="https://www.liquid.ai/blog/d1-open">Liquid AI&#8217;s October 7 open d1 release</a> provides a clear example. The company describes d1-3B as derived from a decoder-only vision-language model and d1-omni-600M as derived from a bidirectional encoder with additional modality encoders. Both return answers in a single forward pass rather than generating text. The omni checkpoint is described as experimental.</p><p>Their common interface therefore does not identify a common backbone. Nor does a decoder-derived model have to retain the inference procedure of a chat model. Inspect the prediction head, attention behavior and supported serving implementation rather than assuming that a familiar model name settles the computation.</p><p><a href="https://engineering.salesforce.com/solving-real-time-ai-classification-for-agentforce-how-single-token-prediction-delivers-30x-faster-agent-responses/">Salesforce&#8217;s HyperClassifier account</a> describes another approach. It trains the model to predict a special token representing a class and caches repeated prompt computations. Salesforce says it uses the specialist for intent and routing inside Agentforce. Its reported speed improvement is a vendor result for its implementation, not a transferable speed ratio for every classifier.</p><p>Output length is only part of latency. A model must still process the input, and a hosted call may spend time waiting for service capacity or crossing the network. Compare end-to-end latency at realistic input lengths and concurrency. A comparison against a generator producing an explanation does not establish the same advantage against a cached, one-token classifier.</p><p>Constrained generation remains a legitimate alternative. A schema can restrict a generated response to permitted fields or categories while retaining a general model&#8217;s other capabilities. <a href="https://developers.openai.com/api/docs/guides/structured-outputs">Structured-output documentation</a> explicitly warns that schema-conforming outputs can still contain mistakes. A specialized decision endpoint also needs substantive evaluation; a valid category can be the wrong category.</p><h2>Probabilities, confidence scores and correct answers differ</h2><p>An answer probability is a model estimate. Calibration asks whether those estimates agree with observed frequencies across cases. Predictions assigned a probability near 0.8 should correspond to the relevant outcome roughly that often in the population being evaluated. A single prediction cannot establish calibration.</p><p><a href="https://proceedings.mlr.press/v70/guo17a.html">Guo and colleagues</a> showed that classification accuracy and calibration can differ and evaluated post-processing calibration methods on image and document classification. Their 2017 study does not determine how well a new decision model is calibrated on your workload. It establishes why accuracy alone is insufficient when software uses probabilities to allocate review or select actions.</p><p>API fields named &#8220;confidence&#8221; require a second check. TypeSafe&#8217;s <a href="https://docs.typesafe.ai/confidence">confidence documentation</a> defines its Choice confidence as a transformation of the largest option probability relative to an even distribution. The transformation depends on the number of answer options as well as the largest probability. That statistic summarizes the distribution; it is not an independently observed likelihood of correctness. A threshold expressed in that confidence field is not interchangeable with the same numerical threshold on the selected option&#8217;s probability.</p><p>With three options and a largest probability of 0.8, the documented Choice formula returns confidence 0.7: <code>(0.8 - 1/3) / (1 - 1/3)</code>. Neither number establishes that this particular routing decision is correct. Calibration tests whether the probabilities predict error frequencies on relevant cases.</p><p>Validate the estimate that the policy actually uses. Inspect errors among accepted cases, the proportion sent for review and performance on relevant input groups. Keep threshold selection separate from the final evaluation. Calibration or a low accepted-case error rate on yesterday&#8217;s documents does not guarantee either property after the workload changes.</p><h2>A routing decision and a business action need different evidence</h2><p>Return to the hypothetical cancellation request. A model might identify cancellation correctly even when the sender has not authenticated, the message names the wrong account, or the subscription has already ended. Those facts require application state and checks outside the classification itself.</p><p>For the routing task, suppose a wrong assignment incurs $20 of extra handling and a perfect manual routing review costs $2, with all other costs equal. Under these invented assumptions, automatic routing costs less when its error probability is below 10%. At a calibrated error estimate of 5%, expected error cost is $1; at 15%, it is $3. Actual review can also make errors, and delay costs can vary by queue. The comparison must use those costs and the probability of the routing error being priced.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!GOGv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc328f5d5-b67f-49f7-bf99-7fb28256d273_333x317.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!GOGv!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc328f5d5-b67f-49f7-bf99-7fb28256d273_333x317.png 424w, https://substackcdn.com/image/fetch/$s_!GOGv!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc328f5d5-b67f-49f7-bf99-7fb28256d273_333x317.png 848w, https://substackcdn.com/image/fetch/$s_!GOGv!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc328f5d5-b67f-49f7-bf99-7fb28256d273_333x317.png 1272w, https://substackcdn.com/image/fetch/$s_!GOGv!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc328f5d5-b67f-49f7-bf99-7fb28256d273_333x317.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!GOGv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc328f5d5-b67f-49f7-bf99-7fb28256d273_333x317.png" width="333" height="317" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c328f5d5-b67f-49f7-bf99-7fb28256d273_333x317.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:317,&quot;width&quot;:333,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Hypothetical routing: $20 error loss versus $2 perfect review.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Hypothetical routing: $20 error loss versus $2 perfect review." title="Hypothetical routing: $20 error loss versus $2 perfect review." srcset="https://substackcdn.com/image/fetch/$s_!GOGv!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc328f5d5-b67f-49f7-bf99-7fb28256d273_333x317.png 424w, https://substackcdn.com/image/fetch/$s_!GOGv!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc328f5d5-b67f-49f7-bf99-7fb28256d273_333x317.png 848w, https://substackcdn.com/image/fetch/$s_!GOGv!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc328f5d5-b67f-49f7-bf99-7fb28256d273_333x317.png 1272w, https://substackcdn.com/image/fetch/$s_!GOGv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc328f5d5-b67f-49f7-bf99-7fb28256d273_333x317.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Figure 1. Hypothetical routing costs depend on the probability of a wrong assignment. The break-even error rate is 10% under the stated $20 error cost and $2 perfect-review cost. These are invented inputs, not model measurements or recommended thresholds.</p><p>Cancellation execution is a separate operation. It requires an authenticated request, the correct subscription and current application state. A message that also disputes a charge may need a billing handoff; the cancellation label does not authorize a refund. A routing probability cannot be reused as the probability that this entire resolution will be correct.</p><p>Repeated judgments also do not automatically constitute an agent. An agent selects actions over time, uses tools and receives new observations. A decision model can classify those observations or help choose a next step, but the surrounding system still defines allowed actions, retains state and checks outcomes.</p><p>The system must also handle contradictory judgments. Separately computed yes/no estimates do not establish statistical independence. Overlapping categories can have consistent marginal probabilities, but known implication, exclusion or intersection relations constrain the estimates. For example, under the same evidence, the probability that a request concerns both billing and cancellation cannot exceed the probability that it concerns billing.</p><h2>Compare specialists where repeated semantic judgments consume work</h2><p>Decision models deserve a test when a workflow repeatedly needs a bounded interpretation of varied text or images, especially when labeled examples are scarce or category definitions change. Routing, relevance filtering and screening are plausible candidates. Eligibility for automatic handling must be demonstrated, not inferred from those examples.</p><p>For a stable target with training data, include a task-trained encoder or another classifier. If the input supplies an explicit category or a fixed rule determines the answer, use ordinary code. If the operation requires new text, field extraction, retrieval or extended reasoning, compare a generator or a larger system that actually performs those operations. Forcing every operation into predefined choices can hide omitted evidence or an inadequate task definition.</p><p>Keep the comparison practical. Use the same permitted information and count failures and unresolved cases. Measure accepted-case errors, coverage, latency and review effort. Include training, hosting, integration and maintenance, and inspect the license and data-handling terms before selecting local or hosted deployment. Open weights do not imply identical commercial permissions.</p><p>Choose among adequate methods by their complete cost and required outcomes. A decision model can justify replacing a generative call when it reduces total work without worsening the quality the application needs. Start with one repeated judgment, specify what would make its answer wrong, and test the model together with the policy that will consume it.</p>]]></content:encoded></item><item><title><![CDATA[Redesigning workflows for AI: tasks, exceptions and responsibility]]></title><description><![CDATA[Reconstruct how work gets done, simplify what you can, and specify who may act.]]></description><link>https://insights.applied-ai.com/p/redesigning-workflows-for-ai-tasks</link><guid isPermaLink="false">https://insights.applied-ai.com/p/redesigning-workflows-for-ai-tasks</guid><dc:creator><![CDATA[Stefan Jansen]]></dc:creator><pubDate>Mon, 02 Nov 2026 21:54:26 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/88e00bc3-b18c-4561-9587-f28ff272e028_1200x630.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>Key takeaways</h2><ul><li><p>Reconstruct a bounded piece of work from actual cases. Procedures, interviews, observation and system records reveal different parts of it.</p></li><li><p>Separate missing information from uncertain judgment and missing authority. Each calls for a different change.</p></li><li><p>Compare task automation with removing a handoff, improving data access or simplifying a rule. AI may help with only part of the redesigned workflow.</p></li><li><p>Specify what people receive at a handoff, what they may decide and what happens when they cannot resolve the case. Plan for the work and learning opportunities that remain.</p></li></ul><p>An invoice clerk can find the purchase order, read the supplier&#8217;s explanation and draft a convincing account of a discrepancy. The invoice may still be unpayable. Someone must establish whether the goods arrived, decide which record needs correcting and have permission to make that correction. Making the explanation faster leaves those dependencies intact.</p><p>This is the problem with treating an existing task description as the specification for AI. A task such as &#8220;resolve invoice discrepancy&#8221; can include retrieving records, interpreting evidence, negotiating a correction and exercising delegated authority. Different people may perform those activities, sometimes through arrangements absent from the procedure.</p><p>Workflow redesign starts by reconstructing those arrangements. The aim is to decide which work to keep, remove or change before deciding how much to delegate to software. A bounded invoice example will show how to investigate the current arrangement, compare alternatives and specify human/software handoffs. The proposed redesign is a design argument, not a report of measured improvement.</p><h2>Bound the workflow around an obligation</h2><p><strong>Hypothetical example.</strong> A company receives an invoice for 100 units against a purchase order for 100. Its purchasing system records receipt of 80. Assume this business unit requires receipt confirmation for the billed quantity and permits no quantity variance on this order. Invoice validation places a quantity hold. All quantities, roles and local policies in this example are invented.</p><p>Define the workflow from detection of that discrepancy to a recorded disposition. Record whether the discrepancy led to corrected receipt evidence and renewed validation, a supplier credit and corrected invoice, or a dispute assigned to an owner. A dispute remains open work until settlement. A completed summary does not discharge the obligation.</p><p>In the existing arrangement, accounts payable opens a spreadsheet entry, copies the invoice and purchase-order details, and emails the buyer. The buyer asks the receiving team about the missing units. Accounts payable chases the buyer and updates the spreadsheet. A finance approver reviews the explanation before accounts payable resubmits the invoice for validation. Payment execution is outside this example.</p><p>The ordinary correction is straightforward. The receiving team confirms that the remaining goods arrived but were not recorded, enters the receipt through its authorized process, and accounts payable reruns validation. If the remaining goods never arrived and the supplier agrees, the supplier issues a credit that reduces the billed quantity for the affected line by 20 units. Accounts payable records the quantity correction, and validation runs again. Other holds can still prevent payment.</p><p>The mechanism resembles documented practice. Oracle&#8217;s invoice-validation documentation describes quantity and price discrepancies, correction and revalidation. Its hold documentation also permits manual release for some hold types. The hypothetical company&#8217;s stricter rule is a local design choice, not a universal accounting requirement or a claim about Oracle defaults. <a href="https://docs.oracle.com/en/cloud/saas/financials/26a/fappp/how-invoices-are-validated.html">Oracle, How Invoices Are Validated</a>; <a href="https://docs.oracle.com/en/cloud/saas/financials/26a/fappp/types-of-holds.html">Types of Holds</a>; <a href="https://docs.oracle.com/en/cloud/saas/financials/26a/fappp/using-payables-invoice-to-pay.pdf#page=131">Quantity-correction FAQ, p. 125</a>.</p><h2>Reconstruct cases using sources that can disagree</h2><p>Begin with a resolved discrepancy and follow it backward through the records and people involved. Then examine a case that took another route, an unresolved case and a case that someone reopened. This is a practical starting sample, not a claim of statistical coverage. Include the staff who inherit incomplete work, rather than interviewing only the process owner.</p><p>Each source answers different questions:</p><ul><li><p><strong>Procedures</strong> identify required evidence, assigned roles and stated controls. They may describe an earlier system or omit how workers choose among permitted actions.</p></li><li><p><strong>Interviews</strong> elicit reasons, local vocabulary, disputed responsibilities and cases worth examining. Recall and incentives shape the account. Ask the worker to show a particular case rather than describe an ideal sequence.</p></li><li><p><strong>Observation</strong> reveals interruptions, consultations and judgments made while work happens. A short observation period misses rare events, and being observed can change behavior.</p></li><li><p><strong>Event logs</strong> show recorded transitions and times. Establish whether a timestamp means arrival, entry or later synchronization. An interval between events can include waiting, active work or an unrecorded conversation.</p></li><li><p><strong>Process mining</strong> uses event data to reconstruct paths or compare recorded behavior with a model. It can reveal repeated loops and variants across more cases than direct observation, but depends on how events are linked and recorded.</p></li></ul><p>The Process Mining Manifesto treats event quality as foundational and warns that recorded traces are incomplete samples of possible behavior. Its discussion of merging data also addresses events associated with several business objects. An invoice can span purchase-order lines and receipts; choosing the invoice header as the sole case identifier can conceal that structure. <a href="https://www.tf-pm.org/upload/1580737614108.pdf">IEEE Task Force on Process Mining, Process Mining Manifesto</a>.</p><p>Reconcile disagreements before drawing a clean sequence. Suppose the procedure assigns receipt questions to the buyer, but the buyer forwards every question to receiving. Observation shows that accounts payable already knows which receiving clerk handles each site. The buyer&#8217;s step might contribute commercial judgment, or it might merely forward messages. Inspect the cases to distinguish those functions.</p><p>This concern predates AI. Lucy Suchman&#8217;s 1983 study used recorded office conversations to examine an accounts-payable auditing procedure and the evidence workers assembled from documents and other people. It offers a detailed case, not an estimate of how often procedures omit work today. <a href="https://doi.org/10.1145/357442.357445">Office Procedure as Practical Action</a>.</p><p>Keep a concise record of what remains uncertain. &#8220;Receiving confirmed delivery by phone; no receipt entered&#8221; records a disagreement between evidence sources. Replacing it with &#8220;delivery confirmed&#8221; would erase the next person&#8217;s reason to investigate.</p><h2>Distinguish tacit judgment from unavailable information</h2><p>When an experienced clerk says that an invoice &#8220;doesn&#8217;t look right,&#8221; ask what they inspect next. They may recognize a supplier&#8217;s reused invoice number, know that a particular site enters receipts late, or notice a unit-price pattern associated with cases rather than individual items. Following the next action can expose cues that a general interview misses.</p><p>Some discoveries are information problems. A case-to-unit conversion can be defined in master data. A receiving clerk&#8217;s site assignment can be maintained in a directory. Other discoveries involve judgment, such as deciding whether conflicting delivery evidence warrants a supplier dispute. A description of the judgment may help another worker without becoming a complete decision rule.</p><p>Tacit knowledge also does not establish a permanent limit on AI. In <em>Generative AI at Work</em>, Brynjolfsson, Li and Raymond studied a staggered assistant rollout among 5,172 customer-support workers. Less experienced and lower-skilled workers benefited more, and the authors found suggestive evidence of convergence in communication patterns. Workers retained discretion over suggestions. That supports the possibility of conveying some expertise through assistance, within that setting; it does not establish autonomous invoice-resolution capability. <a href="https://arxiv.org/abs/2304.11771v2">Generative AI at Work, revised working paper</a>.</p><p>For the invoice redesign, retain examples of the cues people used, the evidence they sought and the alternatives they rejected. Mark where the account remains incomplete. Do not treat a well-written explanation as proof that all relevant knowledge has been captured, or treat an unexplained intuition as proof that the task must remain unchanged.</p><h2>Compare automation with removing or changing work</h2><p>Consider the alternatives separately before combining them into a redesign.</p><p>Automating the existing email task would let software retrieve the discrepancy and draft a request to the buyer. The same buyer-to-receiving dependency would remain. That may help if writing and retrieval consume effort, but it would leave the forwarding and chasing work in place.</p><p>Improving data access could let accounts payable see receipt status without asking the buyer. The necessary change would be an authorized view of purchasing and receiving records. Conventional integration may be sufficient. A model cannot compensate reliably for a missing record of physical delivery.</p><p>Removing the forwarding handoff would route missing-receipt questions directly to receiving. Keep the buyer involved when price, contractual terms or a supplier disagreement requires commercial judgment. This changes the allocation of work. It requires receiving to accept the queue, rather than simply changing the recipient on an automated email.</p><p>Simplifying a rule could remove a redundant approval. In this hypothetical arrangement, suppose case review establishes that finance routinely repeats the same quantity comparison after an authorized receipt correction, without making another decision. The process owner could propose removing that repeat check for this case class. Finance must confirm that the step supplies no separate control before approving the change. A model&#8217;s confidence is no basis for relaxing the receipt requirement.</p><p>AI assistance has a narrower proposed role. It could summarize a long supplier correspondence, identify conflicting explanations and draft an evidence request for staff review. Structured quantity comparisons, routing by an approved site directory and enforcing permissions belong in conventional software. An agent that chooses retrieval steps would need an additional justification if the sources and sequence are already known.</p><p><strong>Hypothetical responsibility comparison.</strong> The proposal changes who assembles evidence and who receives missing-receipt work. It preserves the authority to attest receipt and change commercial terms.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!kEPj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14210d8f-2d1d-4fe3-979d-ebc2bb8aabad_333x284.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!kEPj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14210d8f-2d1d-4fe3-979d-ebc2bb8aabad_333x284.png 424w, https://substackcdn.com/image/fetch/$s_!kEPj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14210d8f-2d1d-4fe3-979d-ebc2bb8aabad_333x284.png 848w, https://substackcdn.com/image/fetch/$s_!kEPj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14210d8f-2d1d-4fe3-979d-ebc2bb8aabad_333x284.png 1272w, https://substackcdn.com/image/fetch/$s_!kEPj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14210d8f-2d1d-4fe3-979d-ebc2bb8aabad_333x284.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!kEPj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14210d8f-2d1d-4fe3-979d-ebc2bb8aabad_333x284.png" width="333" height="284" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/14210d8f-2d1d-4fe3-979d-ebc2bb8aabad_333x284.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:284,&quot;width&quot;:333,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Hypothetical receipt questions go directly to receiving after redesign.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Hypothetical receipt questions go directly to receiving after redesign." title="Hypothetical receipt questions go directly to receiving after redesign." srcset="https://substackcdn.com/image/fetch/$s_!kEPj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14210d8f-2d1d-4fe3-979d-ebc2bb8aabad_333x284.png 424w, https://substackcdn.com/image/fetch/$s_!kEPj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14210d8f-2d1d-4fe3-979d-ebc2bb8aabad_333x284.png 848w, https://substackcdn.com/image/fetch/$s_!kEPj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14210d8f-2d1d-4fe3-979d-ebc2bb8aabad_333x284.png 1272w, https://substackcdn.com/image/fetch/$s_!kEPj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F14210d8f-2d1d-4fe3-979d-ebc2bb8aabad_333x284.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Figure 1. The proposed missing-receipt route sends the question directly to receiving. The buyer remains responsible for commercial disputes. Removing a forwarding step changes work allocation; it does not establish a saving or change receipt-entry authority.</p><h3>Assemble evidence</h3><p><strong>Existing arrangement: </strong>Accounts payable copies records</p><p><strong>Proposed arrangement: </strong>Software retrieves linked records; AI may draft a cited summary</p><h3>Confirm missing receipt</h3><p><strong>Existing arrangement: </strong>Buyer forwards questions to receiving</p><p><strong>Proposed arrangement: </strong>Receiving owns the receipt question and authorized entry</p><h3>Resolve commercial dispute</h3><p><strong>Existing arrangement: </strong>Buyer investigates after email referral</p><p><strong>Proposed arrangement: </strong>Buyer receives cases needing commercial judgment</p><h3>Resolve quantity hold</h3><p><strong>Existing arrangement: </strong>Finance repeats comparison; accounts payable revalidates</p><p><strong>Proposed arrangement: </strong>Approved rule removes duplicate review; accounts payable revalidates</p><p>Each alternative needs evidence for its proposed change. Removing a handoff depends on knowing what it contributes. Removing an approval depends on its control purpose. Adding AI depends on whether its assistance improves the retained task.</p><p>Compare feasible alternatives on the same class of cases and required dispositions. Include investigation, review and chasing across all affected roles, delays and unresolved work, control consequences, and the effort to introduce and maintain each arrangement. Separate differences observed in cases from assumptions about the proposed workflow. If retrieval and drafting consume substantial effort while changing responsibilities is currently infeasible, assistance within the existing arrangement may be a reasonable first change.</p><h2>Specify the evidence and authority at each handoff</h2><p>The proposed workflow creates a shared discrepancy record instead of maintaining a spreadsheet and disconnected forwarding chain. Each record identifies the invoice line, purchase-order line, supplier, business unit, receipts, the continuing discrepancy owner and the assignee of the next action. Accounts payable remains responsible for the unresolved discrepancy while receiving investigates a receipt question or the buyer handles a commercial dispute. Routing changes the next-action assignment without transferring that continuing responsibility.</p><p>The redesign must define whether quantities represent units or cases, whether receipt means physical arrival or accepted goods, and how reversals and credits affect the balance. Otherwise a correct comparison of incompatible fields can produce the wrong instruction.</p><p>Local variation needs an explicit boundary. One site may require inspection acceptance before payment eligibility; another may use receipt alone. Route according to the applicable approved rule. Do not infer permission from whichever site has the most historical examples.</p><p>Software retrieves records within its authorized business unit and prepares the missing-evidence request. An AI summary points to the correspondence passages it uses and separates supplier statements from system records. Read access to those materials grants no right to enter a receipt, change a purchase order or release a hold. Receiving retains receipt-entry authority; the buyer retains authority over commercial changes. The software account lacks those write permissions.</p><p>At a site requiring inspection acceptance, suppose the supplier says the remaining 20 units were delivered, and receiving confirms arrival but reports damage and refuses acceptance. The summary must preserve both delivery and nonacceptance, along with any dispute about the remedy. The acceptance requirement for payment eligibility remains unmet. Receiving investigates the goods; the buyer handles the supplier dispute; accounts payable retains ownership of the invoice&#8217;s open status. No generated explanation closes the discrepancy. A request containing changed bank details belongs to a separate supplier-verification process and cannot be resolved through this queue.</p><p>At the human handoff, supply the original evidence, the discrepancy, actions already taken and the decision requested. Name the recipient&#8217;s authority and the destination for a rejected or inconclusive case. In this proposal, receiving gets a receipt question, not a generic instruction to &#8220;approve the AI.&#8221; If receiving cannot determine what arrived, accounts payable keeps responsibility for the open discrepancy, keeps the invoice on hold and assigns the next investigation action to a named person or team.</p><p>Specify time as well as role. The process owner sets a response window and escalation route before the queue starts. Accounts payable monitors overdue items and invokes that route. An absent approver cannot be treated as consent. If a receipt or invoice changes during review, the workflow checks the current record before revalidation and returns material conflicts for review.</p><p>The specification should also name who can stop the automated intake or return cases to manual handling when retrieval fails. Accounts payable needs access to the evidence and pending queue during that interruption. A fallback that depends on the unavailable summary service would leave the same work inaccessible.</p><h2>Design the human work that remains</h2><p>The redesigned receiving queue creates a staffing obligation. Removing the buyer&#8217;s forwarding step does not establish that receiving has time to investigate discrepancies. Accounts payable may spend less time copying records while receiving handles a more visible workload. Review both teams&#8217; responsibilities before treating the change as a saving.</p><p>Incentives can change the recorded process too. If accounts payable is rewarded only for closing cases, and receiving only for throughput, both teams may have reasons to avoid a disputed invoice. In this example, distinguish a routed case, an awaiting-response case and a resolved discrepancy. Give the next-action assignee a way to challenge a mistaken assignment while accounts payable keeps the discrepancy visible as pending work.</p><p>Expertise requires attention after routine tasks move to software. Bainbridge&#8217;s <em>Ironies of Automation</em> describes how automation can leave operators with difficult abnormal situations while reducing opportunities to exercise the skills needed for intervention. It concerns industrial control, not an observed outcome of today&#8217;s invoice agents. <a href="https://www.sciencedirect.com/science/article/pii/0005109883900468">Ironies of Automation</a>.</p><p>For this proposal, use periodic joint case review and supervised investigation to preserve familiarity with the records and decisions. That is a design recommendation, not a demonstrated cure for skill loss. AI assistance might also help staff learn; whether the new arrangement does so depends on the work people actually perform and the feedback they receive.</p><p>Before building, walk a resolved case and a disputed case through the proposed arrangement with the people who would do the work. Require each participant to show the evidence available, the permitted action, its assignee and the continuing discrepancy owner. If receiving cannot accept the queue or finance cannot explain the proposed approval removal, revise the allocation first. The resulting specification should make the changed work understandable even with the AI component switched off.</p>]]></content:encoded></item><item><title><![CDATA[What LLM and agent benchmark scores actually tell you]]></title><description><![CDATA[How to use published results to choose candidates, inspect the comparison and identify the tests your own workflow still needs.]]></description><link>https://insights.applied-ai.com/p/what-llm-and-agent-benchmark-scores</link><guid isPermaLink="false">https://insights.applied-ai.com/p/what-llm-and-agent-benchmark-scores</guid><dc:creator><![CDATA[Stefan Jansen]]></dc:creator><pubDate>Mon, 02 Nov 2026 21:53:42 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/79dcfef6-aa42-43c8-bc17-21be2bb41995_1200x630.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>Key takeaways</h2><ul><li><p>A knowledge test, a coding task and an interactive support task measure different capabilities. Choose evidence that resembles the work you want done.</p></li><li><p>Agent scores depend on the model, its surrounding software, tools, execution limits and grader. A leaderboard cannot isolate the model when those conditions differ.</p></li><li><p>A benchmark can reject valid work or accept incomplete work. Recent coding audits and web-agent studies show why the evaluator needs inspection too.</p></li><li><p>A task-completion time horizon measures difficulty in human work time at a stated success rate, not how long an agent can operate reliably without supervision.</p></li><li><p>Use public results to shortlist systems. Test the complete configuration on your own inputs, permissions and resource limits before treating the score as evidence for deployment.</p></li></ul><h2>Choosing a model from scores means choosing which evidence to trust</h2><p>Suppose you are choosing a model for an internal research assistant. The candidates report strong results on knowledge questions, coding and tool use. Your assistant will need to retrieve current documents, resolve inconsistent instructions and produce an answer someone can check. A correct answer must use the applicable source version, cover the question and expose unresolved conflicts. Which scores help select a system for that particular job?</p><p>The difficulty is that the scores describe different experiments. Some supply all the necessary information in a prompt. Others require the system to find it. Some grade an answer, while others inspect changed files or a simulated database. A model that knows the answer may still select the wrong document or send the wrong argument to a tool.</p><p>Public benchmarks can save substantial selection effort. They expose capabilities and failures across tasks that one organization could not afford to construct. But using them requires reading beyond the score. The cases below show what to inspect, which differences can change the result, and where a local evaluation must begin.</p><h2>Answer accuracy and successful tool use are different measurements</h2><p><a href="https://arxiv.org/abs/2009.03300v3">MMLU</a> evaluates multiple-choice questions across 57 subjects. It tests broad knowledge and problem solving in that answer format. It does not require the model to authenticate a customer, navigate an application or check that a requested change happened.</p><p>Agent benchmarks add software that interprets model outputs and carries out actions. This surrounding software is often called the harness. It controls such things as which tools are available, what observations reach the model, how errors are returned and when execution stops. The tested configuration includes that software as well as the model.</p><p>Consider <a href="https://arxiv.org/html/2506.07982v1">tau2-bench&#8217;s original June 2025 paper</a>. In its telecom environment, the support agent and a simulated customer have different tools. The agent can inspect service records; the customer can change phone settings. Success requires coordinating their actions, with telecom tasks graded by assertions about the resulting state. A model answering a troubleshooting question has not completed this experiment.</p><p>The distinction helps select evidence. Knowledge questions can identify inadequate subject understanding. Interactive tasks can test whether a configured agent uses tools and communicates under their rules. Neither establishes that the agent will handle your identity checks, missing documents or escalation process. A simulated customer also leaves interaction with real customers to be tested.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!p8pd!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ca6896f-32cc-441a-b041-63ca861afc4f_333x284.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!p8pd!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ca6896f-32cc-441a-b041-63ca861afc4f_333x284.png 424w, https://substackcdn.com/image/fetch/$s_!p8pd!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ca6896f-32cc-441a-b041-63ca861afc4f_333x284.png 848w, https://substackcdn.com/image/fetch/$s_!p8pd!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ca6896f-32cc-441a-b041-63ca861afc4f_333x284.png 1272w, https://substackcdn.com/image/fetch/$s_!p8pd!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ca6896f-32cc-441a-b041-63ca861afc4f_333x284.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!p8pd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ca6896f-32cc-441a-b041-63ca861afc4f_333x284.png" width="333" height="284" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0ca6896f-32cc-441a-b041-63ca861afc4f_333x284.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:284,&quot;width&quot;:333,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Benchmark evidence has different units and boundaries.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Benchmark evidence has different units and boundaries." title="Benchmark evidence has different units and boundaries." srcset="https://substackcdn.com/image/fetch/$s_!p8pd!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ca6896f-32cc-441a-b041-63ca861afc4f_333x284.png 424w, https://substackcdn.com/image/fetch/$s_!p8pd!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ca6896f-32cc-441a-b041-63ca861afc4f_333x284.png 848w, https://substackcdn.com/image/fetch/$s_!p8pd!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ca6896f-32cc-441a-b041-63ca861afc4f_333x284.png 1272w, https://substackcdn.com/image/fetch/$s_!p8pd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ca6896f-32cc-441a-b041-63ca861afc4f_333x284.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Figure 1. Read each score as the result of its stated experiment. Answer accuracy, configured task completion and human-duration horizons do not establish the same capability.</p><h2>A task horizon measures human work time, not autonomous operating time</h2><p><a href="https://metr.org/time-horizons/">METR&#8217;s time-horizon evaluation</a> relates agent success to estimated human completion time for the tasks. A 50% horizon marks the human-duration point where the fitted success probability reaches one half. It does not measure the agent&#8217;s runtime or promise that every task of that duration is equally tractable.</p><p>METR&#8217;s <a href="https://metr.org/blog/2026-1-29-time-horizon-1-1/">January 2026 update</a> expanded the suite from 170 to 228 tasks. Such measurements help track progress beyond short questions. Their relevance to a deployment still depends on the work represented: primarily well-specified software, machine-learning and cybersecurity tasks, with limited prior context for the human baseline.</p><p>Do not read a working day on that scale as a working day inside your company. Identify the task distribution and success threshold before using a horizon to plan an automation trial. As checked on October 22, 2026, the dashboard was last updated September 8 and said it was no longer actively updated. It warned that estimates above 16 hours were unreliable with its task suite.</p><h2>Execution limits can change which coding agent appears better</h2><p>In February 2026, <a href="https://www.anthropic.com/engineering/infrastructure-noise">Anthropic varied infrastructure limits on Terminal-Bench 2.0</a>, keeping the model, harness and tasks constant. Success differed by six percentage points between strict resource enforcement and uncapped execution.</p><p>From strict enforcement to three times the specified resources, infrastructure errors declined while task-success differences remained within noise. Many interrupted attempts would have failed even without the interruption. At larger budgets, success increased faster than infrastructure errors declined; the extra resources enabled approaches using larger dependencies or more memory. Improving execution stability and enabling more resource-intensive solutions are different effects of additional resources.</p><p>This result does not establish a six-point uncertainty allowance for every coding benchmark. It establishes that execution conditions affected this comparison. Before interpreting a small lead, inspect memory, time limits and their enforcement, alongside prompts and tools. If an evaluator cannot report those conditions, the result provides weaker evidence for choosing between closely scored systems.</p><p>Even with matched conditions, a small lead needs an uncertainty check. Inspect the task count, variation across repeated runs and reported uncertainty in the difference between systems evaluated on the same tasks. Ask whether the estimate covers repeated execution on a fixed task set, sampling different tasks, or changes from optimizing the system. In <a href="https://arxiv.org/html/2407.01502v1">AI Agents That Matter</a>, Appendix B reports repeated-run error bars that exclude optimization and resampling variability. Those intervals cannot describe every source of variation in a new evaluation.</p><p>For an application with a strict response deadline or restricted network access, test within those limits. A permissive benchmark configuration can still be a valid capability test, but it answers a different operational question.</p><h2>Real repository issues do not automatically supply fair tests</h2><p>Repository benchmarks have an advantage over answer-only tests. Generated code must execute. Their tests can still disagree with the task a developer was asked to complete.</p><p><a href="https://openai.com/index/why-we-no-longer-evaluate-swe-bench-verified/">OpenAI&#8217;s February 2026 SWE-bench Verified audit</a> examined 138 tasks that its model did not consistently solve. It reported material issues in 59.4% of that selected subset. One example required an unmentioned function name in the tests, rejecting otherwise valid implementations. The percentage describes the audited difficult subset, not a random estimate for the entire benchmark.</p><p>OpenAI then recommended SWE-Bench Pro. Its <a href="https://openai.com/index/separating-signal-from-noise-coding-evaluations/">July audit of Pro&#8217;s public split</a> identified problems there too, including tests that reject acceptable solutions and tests that allow incomplete fixes. It retracted the earlier recommendation. Harder tasks had not eliminated the measurement problem.</p><p>Repairs are underway. The September preprint <a href="https://arxiv.org/html/2609.08149v1">SWE-Bench Pro Verified</a>, from Shanghai AI Laboratory and collaborating researchers, proposes revised tasks and restrictions on access to solutions. It is a separate release, not proof that every previously reported Pro score has been corrected. Its authors also acknowledge remaining task-quality and isolation limits.</p><p>Separately, <a href="https://labs.scale.com/leaderboard/swe_bench_pro_public_v2">Scale&#8217;s September 22 public V2 update</a> reduced the set from 731 to 642 tasks and describes restricted network access, regrading on pristine images and checks that reference patches pass while empty patches fail. Those are maintainer-reported repairs, not our independent validation. The update still identifies patch-controlled code executed by the verifier as an unresolved risk. Its V2 protocol and the separate Verified proposal should not be conflated, nor should old Pro scores be relabeled V2.</p><p>These cases support checking a few instructions, reference solutions and tests before relying on a result. A wrong rejection conceals capability. A weak test can reward a patch that leaves the requested behavior unfinished. Benchmark names and labels such as &#8220;Verified&#8221; cannot replace that inspection.</p><h2>Training exposure and access to the solution need different controls</h2><p>A published problem may appear in model training. OpenAI&#8217;s Verified audit found examples of tested models reproducing reference patches or task-specific details. That evidence supports concern about exposure on those examples. It does not establish that every correct answer was memorized or that exposure was deliberate.</p><p>An agent can also find a solution while taking the test. Later Git commits, a reference patch inside its container or a reachable public repository can reveal the answer. This is execution-time leakage, even if the model never saw the task during training.</p><p>The two problems require different controls. New or withheld tasks can reduce training overlap. Repository reconstruction, hidden evaluator files and restrictions on solution access address leakage during execution. The Pro Verified proposal addresses the latter through its environment controls; it does not certify the contents of model training data.</p><p>Restrictions need to match the claim. If the test is meant to measure independent issue resolution, downloading the known fix defeats that purpose. If the product is intended to find and apply documented fixes, finding one can be legitimate work. Evaluate that product for correct applicability, permissions and execution rather than calling every successful lookup cheating.</p><h2>A grader can change the ranking without changing the agent</h2><p>Automated grading makes large evaluations possible. Neither rules nor model judges are automatically authoritative.</p><p>In <a href="https://arxiv.org/html/2504.08942v2">AgentRewardBench</a>, researchers compared web-agent evaluations with expert labels. They describe a rule rejecting an answer that correctly names Acadia National Park because the response includes an explanation instead of the exact configured string. Table 3 also shows a selection consequence. On WebArena, expert annotations rank the GPT-4o agent above Qwen2.5-VL, whereas rule-based scores reverse that pair on the same collected trajectories.</p><p>The size and direction of grading errors depend on the systems and tasks. In this study, rule-based scores were generally below expert-annotated success, with a zero tie for Llama 3.3 on VisualWebArena. The GPT-4o judge generally overestimated success, with two exceptions in WorkArena++. Neither pattern establishes a universal direction of grader bias.</p><p>The appropriate correction depends on the task. Answer equivalence can prevent a false rejection. Checking resulting records can reveal a failed action despite a convincing completion message. A grader that receives only that message cannot inspect a database change it never sees.</p><p>Read what the evaluator observes and how its decisions were checked. Expert-written tasks establish a different kind of evidence from expert validation of the grader. Agreement between two model judges also leaves open whether both accept the same incorrect answer. For local use, inspect false acceptances and false rejections on the failures and valid alternatives your work actually contains.</p><h2>Repeated attempts improve discovery, but still require selection and payment</h2><p>The original <a href="https://arxiv.org/html/2406.12045v1">tau-bench paper</a> considers independent trials of the same task under fixed conditions. It distinguishes <code>pass@k</code>, the chance that at least one of k trials succeeds on a task, from <code>pass^k</code>, the chance that all k trials succeed, averaged across tasks. Finding one successful answer and repeatedly resolving the same request are different uses. Adaptive retries that use feedback from earlier attempts change those conditions.</p><p>A system allowed several attempts also needs a way to choose its final answer. An evaluation that can identify the successful attempt from a hidden reference does not give the deployed system that reference. Measure the actual selection procedure, including its mistaken choices and checking effort.</p><p>The study <a href="https://arxiv.org/html/2407.01502v1">AI Agents That Matter</a> makes the case for comparing accuracy with inference cost and shows why developers&#8217; procurement questions differ from model researchers&#8217; questions. Its 2024 prices are not a current buying guide. Retain token usage and tool calls so costs can be recomputed for the configuration being considered.</p><p>For workflow selection, extend the accounting to failures, review and repair. Include unfinished requests as well as delivered answers. Otherwise a low cost per successful output can conceal work transferred to staff or left in a queue.</p><h2>Read a published result in the order your decision needs</h2><p>Before putting a system on your shortlist, record the following:</p><ol><li><p><strong>Work and inputs.</strong> What does each task require, and what evidence is supplied? Check the domain, language, document formats and how tasks were selected. A deliberately difficult test diagnoses limitations without estimating their frequency in ordinary intake.</p></li><li><p><strong>Execution conditions.</strong> Identify the model and harness versions, tools, permissions, environment, resource limits and number of attempts. Distinguish controlled model comparisons from comparisons of different complete systems.</p></li><li><p><strong>Success and scoring.</strong> Inspect valid alternatives, mandatory requirements, grader-visible evidence and checks against independent labels. Find the denominators for failures, refusals, invalid outputs and grader errors. Inspect task counts, repeated-run variation and uncertainty in shared-task score differences, including which sources of variation the estimate covers.</p></li><li><p><strong>Transfer and cost.</strong> Name the conditions your workflow changes. Ask which outcomes remain untested and whether published costs include the effort needed to finish every request.</p></li></ol><p>Missing information need not disqualify an otherwise promising candidate. It limits the decision the evidence supports. A score with an opaque harness might justify a small local trial, but not a conclusion about why the model wins.</p><p>Build that trial around representative requests, with held-out examples and independent references. Compare the actual configured systems under the same service requirements, including the existing process. Add targeted cases for consequential failures, keeping their results separate from ordinary-request rates.</p><p>The result of reading a benchmark should be a specific next test or selection decision. Broad knowledge evidence can narrow model candidates. A tool-use result can justify trying a system in a sandbox. Neither grants permission to act on business records. That permission needs evidence about the system, data and constraints that will actually be used.</p>]]></content:encoded></item><item><title><![CDATA[Measuring the costs and benefits of AI-assisted work]]></title><description><![CDATA[How to compare delivered outcomes and the full cost of keeping AI-assisted work running.]]></description><link>https://insights.applied-ai.com/p/measuring-the-costs-and-benefits</link><guid isPermaLink="false">https://insights.applied-ai.com/p/measuring-the-costs-and-benefits</guid><dc:creator><![CDATA[Stefan Jansen]]></dc:creator><pubDate>Mon, 02 Nov 2026 21:52:41 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/101c1830-80dd-4579-b09b-bc47474a507e_1200x630.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>Key takeaways</h2><ul><li><p>Measure benefits where work is completed and used. Faster extraction or generation does not establish an improvement in the full workflow.</p></li><li><p>Include setup, checking, correction, fallback and maintenance, including work shifted to other departments. Compare the existing process on the same basis, with its errors and delays.</p></li><li><p>Saved staff time can create capacity without reducing spending. More output also requires demand and capacity to finish the subsequent work; do not count the same hours twice.</p></li><li><p>Test improvements in methods, inputs, verification and handoffs against observed errors and delays. Further investment in AI or workflow redesign needs evidence of a worthwhile improvement.</p></li></ul><h2>Introduction</h2><p>A faster task can improve a workflow, but the saving has to survive checking, correction and the work that follows. A document extractor might produce fields sooner while leaving staff with more discrepancies to resolve. A coding assistant might generate a change quickly while increasing the effort needed to get it accepted.</p><p>For someone deciding whether to expand a pilot, the unanswered questions are where the saved time goes, what new work the system creates, and whether the organization gets more completed work, lower spending or better service. A tool can shift effort from producing an output to checking it. Faster production can also leave approval queues and downstream delays unchanged.</p><p>This article follows a hypothetical invoice workflow to show how to assess those effects. It compares the costs of complete operating plans, distinguishes saved time from cash savings and additional output, and examines what published productivity studies can establish. The aim is to help you decide what evidence would justify an investment, including whether better inputs, checks or handoffs would improve the process more than another model change.</p><h2>Measure completed invoice processing, not extraction alone</h2><p>Consider a hypothetical invoice workflow. Staff receive a PDF, extract the supplier, amounts and purchase-order reference, and check the invoice against internal records. They resolve discrepancies and decide how the invoice should be handled.</p><p>For a valid payable invoice, processing is complete when it is correctly recorded in the accounting system, approved and included in the appropriate payment run. A documented, justified rejection of a duplicate invoice or invalid charge is another completed disposition. A false rejection of a valid invoice is an error; an invoice still under investigation remains unresolved. Successful, timely payment is a downstream outcome. Inclusion in a run does not establish that payment occurred. Claims about payment benefits must include that subsequent work and its failures.</p><p>An AI extractor could shorten the first step. That leaves several possible outcomes. If staff can check its output quickly and the rest of the process can accept more work, invoices may reach payment sooner. If extraction errors require reopening documents and contacting suppliers, correction may consume the saving. If reviewers already have a queue, faster extraction may simply add candidates to it. Each outcome would require a different investment decision.</p><p>Checking also involves different questions. Arithmetic can establish that line items sum to a stated total. Matching a purchase order can establish that a reference exists. Neither check establishes that the goods arrived or that a disputed charge should be paid. A plan must specify which properties software can establish, which evidence staff need, and who can authorize the next action.</p><p>The whole incoming workload includes invoices that pass checks, require correction, are rejected or remain unresolved. Staff effort and elapsed time answer different questions. An invoice waiting for approval consumes little active effort but can still miss its payment deadline. Follow completed records into actual use; an accurate extraction that never enters the accounting system has delivered only an intermediate result.</p><p>The incumbent needs the same scrutiny. Manual entry can introduce errors, reviewers can miss discrepancies, and established approval routes can delay payment. Comparing an AI plan with a faultless manual process would misstate the choice. Record the incumbent&#8217;s remaining errors and incomplete work alongside those of each alternative.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jzPQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9f5c934-981e-4a32-94f6-103228880675_333x420.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jzPQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9f5c934-981e-4a32-94f6-103228880675_333x420.png 424w, https://substackcdn.com/image/fetch/$s_!jzPQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9f5c934-981e-4a32-94f6-103228880675_333x420.png 848w, https://substackcdn.com/image/fetch/$s_!jzPQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9f5c934-981e-4a32-94f6-103228880675_333x420.png 1272w, https://substackcdn.com/image/fetch/$s_!jzPQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9f5c934-981e-4a32-94f6-103228880675_333x420.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!jzPQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9f5c934-981e-4a32-94f6-103228880675_333x420.png" width="333" height="420" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d9f5c934-981e-4a32-94f6-103228880675_333x420.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:420,&quot;width&quot;:333,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Figure 1. Work and cost categories along the valid payable-invoice route in the hypothetical process. Processing on this route ends at correct recording, approval and inclusion in a payment run. Documented justified rejection completes a different route, not shown. A claim about successful payment includes the downstream execution step and its costs and failures. No measured savings are shown.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Figure 1. Work and cost categories along the valid payable-invoice route in the hypothetical process. Processing on this route ends at correct recording, approval and inclusion in a payment run. Documented justified rejection completes a different route, not shown. A claim about successful payment includes the downstream execution step and its costs and failures. No measured savings are shown." title="Figure 1. Work and cost categories along the valid payable-invoice route in the hypothetical process. Processing on this route ends at correct recording, approval and inclusion in a payment run. Documented justified rejection completes a different route, not shown. A claim about successful payment includes the downstream execution step and its costs and failures. No measured savings are shown." srcset="https://substackcdn.com/image/fetch/$s_!jzPQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9f5c934-981e-4a32-94f6-103228880675_333x420.png 424w, https://substackcdn.com/image/fetch/$s_!jzPQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9f5c934-981e-4a32-94f6-103228880675_333x420.png 848w, https://substackcdn.com/image/fetch/$s_!jzPQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9f5c934-981e-4a32-94f6-103228880675_333x420.png 1272w, https://substackcdn.com/image/fetch/$s_!jzPQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9f5c934-981e-4a32-94f6-103228880675_333x420.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><em>Figure 1. Work and cost categories along the valid payable-invoice route in the hypothetical process. Processing on this route ends at correct recording, approval and inclusion in a payment run. Documented justified rejection completes a different route, not shown. A claim about successful payment includes the downstream execution step and its costs and failures. No measured savings are shown.</em></p><h2>Software, predictive ML, assistance and delegation need a common comparison</h2><p>For the invoice example, choose a common budget period that includes implementation and subsequent operation. Use the same expected volume, document mix, deadlines and quality requirements. Include difficult invoices and periods of heavy demand. A plan that handles only a subset needs an operating route for the remainder, with its cost included in the comparison.</p><p>A conventional software plan might use document templates, optical character recognition and explicit matching rules. It could suit suppliers whose formats change little. A predictive machine-learning plan might learn to identify fields from labeled examples. Its feasibility depends partly on whether those examples represent the documents it will receive and whether staff can maintain the labels and model as formats change.</p><p>Generative assistance could propose fields from more varied documents, with staff checking and acting on the suggestions. Bounded delegation could allow software to record invoices that meet specified conditions and send exceptions to a separate queue. Delegation describes who acts and under what authority; it can use conventional rules, predictive models or generative models. The methods can also be combined within a plan.</p><p>Shortlist methods that can meet the requirements, then compare their full cost over the chosen period. A simpler method can cost more if it requires extensive setup or frequent repair. A language model&#8217;s ability to extract a field does not establish that it is the appropriate method. Stable formats may make rules cheaper to maintain; changing formats may make those rules expensive. Either conclusion needs evidence from the expected workload.</p><p>Feasibility comes before expected returns. A plan needs sufficient review and fallback capacity, access to the required data, and permission to perform its assigned actions. It also needs to respect limits on severe losses. An attractive average return cannot make an unauthorized payment acceptable or fund a rollout the organization cannot afford. Narrowing a plan&#8217;s scope may make it feasible, provided the excluded work remains in the cost and outcome comparison.</p><p>Use screening estimates to shortlist plans before building them. Start with observed incumbent costs, available prices and estimates of implementation and operating effort. State the assumptions and use ranges where costs or benefits are uncertain. Pilot shortlisted plans when the choice depends on uncertain behavior, such as review effort, exception rates or downstream delays. Scale measurement effort to the commitment, reversibility and consequences of the change, including the downstream work affected. A small trial may be enough for a cheap, reversible change; costly or difficult-to-reverse delegation needs stronger evidence before expansion. Screening estimates help choose what to test. They do not establish realized savings.</p><h2>Cheap extraction can transfer work to reviewers and other departments</h2><p>Setup includes preparing data, creating labels where needed, connecting systems, defining acceptance conditions and configuring permissions. Staff need to learn the revised process. During the transition, the organization may run both processes and reconcile their outputs. Count the time spent on this work, including by staff outside the team running the pilot. Past expenditure on the incumbent is already incurred; its future operating and maintenance costs still belong in the comparison.</p><p>Recurring costs include software licences or subscriptions, model inference charges and any compute or hosting the organization supplies. Pricing may depend on seats, volume or input length; retries can increase usage charges. Operating effort starts with obtaining usable inputs and includes execution, checking, correction, rejected attempts and fallback. A successful extraction still costs resources if it follows several failed attempts. An abstention may be a sound decision, but the invoice still needs processing. Counting only successful AI attempts would omit both their preceding costs and the work returned to staff.</p><p>Acceptance needs a defined meaning. Some records may enter the accounting system automatically, some may pass human review unchanged, and others may enter after correction. Track those routes separately, and check whether accepted records meet the required conditions. Passing the workflow&#8217;s checks and being correct are different properties when the checks miss defects. Human review can also miss errors or introduce new ones.</p><p>Maintenance continues after launch. Supplier formats change, source records become stale, interfaces change and model updates can alter outputs. Someone must monitor failures, investigate incidents and recheck behavior after changes. Fallback also needs maintenance. A manual route that lacks trained staff or cannot absorb an outage is an incomplete operating plan.</p><p>Performance can improve during operation as well as deteriorate. Staff may learn to use the system, or corrections may become reusable training labels if a process actually captures and uses them. Count correction effort once, identifying any reusable investment, and add the separate costs of curation and training. Measure early and later performance on comparable work, recording system versions and staff experience with the tool. Use observed learning and drift to revise the operating forecast; anticipated improvement remains an assumption until measured.</p><p>These costs can move between departments. Faster invoice entry might increase the number of exceptions sent to procurement. A reviewer may need information from a warehouse before approving payment. Include that effort and those delays within the outcome being assessed. A pilot&#8217;s own dashboard can improve while the organization&#8217;s total work increases.</p><p>Unresolved work remains part of the measurement period&#8217;s result. Report how much arrived, how much met the required outcome and what remains pending, alongside remaining errors and deadlines. A plan that produces cheap accepted records by setting difficult invoices aside has changed its coverage, which must be part of the decision.</p><h2>Saved staff time is not automatically a spending reduction</h2><p>Released hours can create usable capacity. If staff spend less time entering invoices while payroll stays the same, they may have time for other work. Small savings scattered across staff and shifts may be difficult to consolidate or redeploy. Cash savings require a change in expenditure, such as lower overtime or contractor spending. Avoided future hiring can also affect the comparison, but it needs a credible account of the demand and staffing the incumbent would otherwise require.</p><p>Additional output requires work that someone wants and capacity to finish it. In the invoice example, staff might process a backlog, handle more incoming invoices or resolve discrepancies earlier. More extraction capacity will not produce more processed invoices if approval remains the limiting step. Measure the output after the relevant handoffs, and account for the resources needed there. If demand is limited, the organization may instead use the time for other work or reduce workload pressure.</p><p>Keep cash flows and the value of staff time separate. An hourly wage can help describe the scale of effort, but multiplying released hours by that wage does not demonstrate a spending reduction. Valuing redeployed time requires specifying what staff would otherwise have done and what the alternative use produces. Treat the proposed use of that time as an assumption until the organization observes it.</p><p>Avoid counting the same benefit twice. Hours used to deliver additional output cannot also be credited in full as labor spending eliminated. A plan can produce both benefits if it allocates different portions of released capacity to each. Record the allocation and the actual spending change, rather than crediting the entire saving to both.</p><h3>A worked comparison separates capacity from cash</h3><p>Suppose both plans correctly process the same 1,000 invoices each month, with the same deadlines, justified rejections and unresolved workload. The following figures are invented, not prices or measured savings. Staff hours include checking, correction, fallback and routine upkeep across all affected teams.</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!kRTz!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3b9aec1-2f21-484d-8165-16a2e79aeb9a_333x207.png 424w, https://substackcdn.com/image/fetch/$s_!kRTz!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3b9aec1-2f21-484d-8165-16a2e79aeb9a_333x207.png 848w, https://substackcdn.com/image/fetch/$s_!kRTz!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3b9aec1-2f21-484d-8165-16a2e79aeb9a_333x207.png 1272w, https://substackcdn.com/image/fetch/$s_!kRTz!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3b9aec1-2f21-484d-8165-16a2e79aeb9a_333x207.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!kRTz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3b9aec1-2f21-484d-8165-16a2e79aeb9a_333x207.png" width="333" height="207" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e3b9aec1-2f21-484d-8165-16a2e79aeb9a_333x207.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:207,&quot;width&quot;:333,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Invented comparison for the same 1,000 monthly invoices: existing process 50 staff hours, $0 external monthly charges and $0 new setup; AI-assisted process 25 hours, $300 external monthly charges and $6,000 new setup.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Invented comparison for the same 1,000 monthly invoices: existing process 50 staff hours, $0 external monthly charges and $0 new setup; AI-assisted process 25 hours, $300 external monthly charges and $6,000 new setup." title="Invented comparison for the same 1,000 monthly invoices: existing process 50 staff hours, $0 external monthly charges and $0 new setup; AI-assisted process 25 hours, $300 external monthly charges and $6,000 new setup." srcset="https://substackcdn.com/image/fetch/$s_!kRTz!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3b9aec1-2f21-484d-8165-16a2e79aeb9a_333x207.png 424w, https://substackcdn.com/image/fetch/$s_!kRTz!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3b9aec1-2f21-484d-8165-16a2e79aeb9a_333x207.png 848w, https://substackcdn.com/image/fetch/$s_!kRTz!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3b9aec1-2f21-484d-8165-16a2e79aeb9a_333x207.png 1272w, https://substackcdn.com/image/fetch/$s_!kRTz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3b9aec1-2f21-484d-8165-16a2e79aeb9a_333x207.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p><em>Table 1. Hypothetical operating plans for the same monthly work. Hours include checking, correction, fallback and upkeep; costs are invented.</em></p><p>The $6,000 is additional cash expenditure for integration services and temporary staff cover for all internal setup, training and transition work, including parallel running. Assume that cover fully replaces the work displaced during implementation, leaving no additional internal capacity loss to value separately. No imputed staff-time valuation is included in the cash total.</p><p>The comparison charges implementation once, then includes twelve full operating months at the stated monthly performance, with stable volume and no discounting. Transition is complete before those months begin; its resources are included in the $6,000. The candidate releases 300 staff hours during operation. If redeployed hours produce $40 each in net incremental value after any additional resources needed for that other work, their assumed value is $12,000. External operation costs $3,600 and implementation costs $6,000, leaving $2,400 of net planning value. Break-even requires at least $32 of usable value per released hour (<code>$9,600 / 300</code>). The hourly value is an assumption about an alternative use, not an observed return.</p><p>If payroll stays unchanged and the hours cannot be used productively, this plan adds $9,600 of cash expenditure without the assumed benefit. The same technical result can therefore be attractive as a capacity investment and unattractive as a spending-reduction proposal. A decision needs the organization&#8217;s actual staffing and demand conditions.</p><p>Quality and service outcomes can justify expenditure even when payroll remains unchanged. Correctly processed invoices, shorter approval delays and fewer unresolved disputes have value. Correct and timely payments are downstream outcomes to track separately. Where a monetary estimate is credible, state how it was derived. Where it is not, report the outcome in its own units and compare the cost of meeting the requirement. A mission objective need not be assigned an invented price to be included in an investment decision.</p><p>Apply the same discipline to failures. Count correction effort as operating work. If a corrected invoice still incurs a late-payment charge, that charge is a separate remaining loss. Charging the correction effort again as an identical failure loss would duplicate the cost. Likewise, if an outcome valuation already accounts for defective work, deducting the same defects again would understate its value. Declare the accounting boundaries before calculating a net benefit.</p><h2>Support and coding studies do not supply a universal AI return</h2><p><em>Generative AI at Work</em>, by Erik Brynjolfsson, Danielle Li and Lindsey Raymond, appeared in the <em>Quarterly Journal of Economics</em> in 2025. It studies chat-based technical support for one business-process software company, including workers at third-party providers. The assistant used GPT-3 adapted on support conversations labeled with outcomes such as resolution success and handling time. The study uses data from 5,172 customer-support workers, but the resolutions-per-hour measure covers the subset with call-quality data because some subcontractors did not consistently report those outcomes. The estimated average gain in that measure is approximately 15%. Rollout occurred mainly in fall 2020 and winter 2021. A small randomized pilot preceded the main, observational analysis of the staggered rollout, which compares changes over time as workers gained access.</p><p>The assistant suggested responses; workers could edit or ignore them. Less experienced and lower-skilled workers improved both speed and quality. The most experienced and highest-skilled workers saw small speed gains and small quality declines. <a href="https://doi.org/10.1093/qje/qjae044">Published record</a>, <a href="https://danielle.li/assets/docs/GenerativeAIatWork.pdf">author-hosted published paper</a>.</p><p>Resolved issues are an operational outcome, so this study establishes more than faster response generation. Its result still does not supply a complete return estimate covering investment and maintained operation. Nor does its average describe every worker or support setting.</p><p>METR&#8217;s <em>Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity</em>, by Joel Becker and colleagues, presents a contrasting result. In its July 25, 2025 revision, 16 developers worked on 246 real tasks in mature repositories they knew well. Tasks were randomized to allow or disallow AI tools from February-June 2025, mainly Cursor with Claude 3.5/3.7 Sonnet. Allowing AI increased completion time by 19%, with a reported 95% confidence interval of 2%-39% longer. On average, developers had forecast a 24% reduction in completion time and afterward estimated a 20% reduction despite the measured slowdown. <a href="https://arxiv.org/pdf/2507.09089v2">METR study, version 2</a>.</p><p>The outcome includes developers&#8217; reported active work before and after pull-request review, including requested changes. Some post-review times were imputed for unfinished review processes. It excludes other reviewers&#8217; effort and does not measure a complete software-delivery return.</p><p>METR&#8217;s February 24, 2026 design update adds a further limit. The investigators describe changes in who participated and which tasks developers submitted, alongside lower participation pay and difficulties reporting time when agents ran concurrently. Based on participant conversations, they believe AI likely speeds developers up more in early 2026 than in early 2025, while calling the data very weak evidence for the size of the increase. The update also reports changes in task choice and work quality, so time differences may not represent value differences. It does not establish a reliable current causal productivity rate. <a href="https://metr.org/blog/2026-02-24-uplift-update/">Investigators&#8217; update</a>.</p><p>The support and developer studies concern different interventions, populations and outcomes. Their percentages should not be averaged into a general AI productivity estimate. Together, they support measuring the work people actually complete in the selected setting. Neither substitutes for observing the costs, remaining errors and downstream outcomes of a maintained operating plan.</p><h2>Automatic action needs enforced permissions and capacity to handle exceptions</h2><p>Assistance leaves staff to interpret suggestions and act. That can be an effective use of their judgment, or it can consume time on decisions software could handle adequately. An inexpensive automated check that establishes a required property can reduce recurring effort. Its value depends on what it checks, what happens when it fails and which defects it leaves undetected.</p><p>For the same workload and quality requirement, cheaper generation increases the share of total cost spent on checking and correction if those costs change little. Count that effort when judging how far lower generation prices reduce the cost of accepted work. Input quality, implementation costs or downstream capacity may matter more to the next investment.</p><p>Delegation changes the operating plan. In the invoice example, software might record a defined class of matched invoices without individual approval of every entry. Payment authority can remain in the existing payment process. The delegated action needs explicit permissions and enforced conditions. Exceptions need a staffed route, and corrections need a defined procedure. Recoverable record entry and an irreversible transfer expose the organization to different losses, even if both are technically possible.</p><p>DeepMind&#8217;s 2018 account of autonomous data-centre cooling illustrates this design distinction. Operators reported that implementing the earlier system&#8217;s recommendations required too much effort and supervision. The later system selected actions using predictions and operating constraints; a local control system checked the proposed actions before implementation. Operators could exit AI control, with fallback to existing rules. The team deliberately narrowed optimization boundaries to prioritize safety and reliability, accepting a tradeoff with possible energy savings. <a href="https://deepmind.google/blog/safety-first-ai-for-autonomous-data-centre-cooling-and-industrial-control/">DeepMind&#8217;s historical account</a>.</p><p>This is a first-party account of non-LLM control, with operators retaining control of the operating boundaries. It illustrates how constraints, automated checks and fallback can support automatic action. It provides no general estimate of generative-agent returns or the net economic gain from delegation.</p><p>Compare assistance and delegation on the effort and losses each leaves behind. Individual human approval need not be required where authorization and adequate checks permit automatic action. Conversely, a high average success rate may still leave unacceptable exposure to a rare severe error. Specify limits on individual and cumulative actions, the conditions for stopping, and the capacity to recover or reroute work. Include the resources required to enforce those conditions. Measure the exception and recovery work against the individual approvals removed.</p><h2>Choose the next investment from measured errors, delays and review effort</h2><p>Organizational changes can affect what a technology delivers. In <em>The Productivity J-Curve</em>, Brynjolfsson, Daniel Rock and Chad Syverson model how unmeasured complementary investments can cause productivity growth to be underestimated initially, as resources build capabilities whose output is not counted. Growth can be overestimated later, when those capabilities contribute to measured output without being fully counted as inputs. Their historical empirical analysis concerns investments including computer hardware and software. The working paper describes process changes, worker training and other intangible investments. <a href="https://www.aeaweb.org/articles?id=10.1257/mac.20180386">Published record</a>, <a href="https://www.nber.org/system/files/working_papers/w25148/w25148.pdf">January 2020 working-paper revision</a>.</p><p>For AI workflows, the inference is to examine which complementary work a plan actually needs and when benefits could be realized. In the invoice example, cleaner supplier records could reduce matching exceptions, and clearer approval authority could shorten delays. Those changes may help an AI-assisted process, or they may improve the incumbent enough to change the investment choice. The comparison horizon needs to include the required investment and the period in which its benefits are expected, with that expectation stated explicitly.</p><p>Complementary investment does not guarantee that a weak pilot will become profitable. Further spending needs a specific account of what will improve and evidence that the improvement is achievable. Include that spending in the plan. The cost of redesign can exceed the value it makes available, and a technically effective tool can remain a poor choice for the organization.</p><p>Choose the next change from observed failures and delays. If extraction errors cause most correction work, compare a better method with better inputs. If accepted records are accurate but checking consumes the saving, test a cheaper check against the properties it must establish. If invoices wait after checks are complete, investigate the handoff or approval process. Verification is one candidate investment among methods, inputs and process design. Its priority depends on the workflow&#8217;s measured constraints.</p><p>For a pilot, define completion and quality requirements before collecting data. Where feasible, randomly assign comparable incoming work to the incumbent and candidate process during the same period. Shared queues can make one route affect the other; assigning teams or periods may be more appropriate. Where randomization is impractical, compare matched workloads or periods and report differences in case mix, staffing, seasonality and learning. Such comparisons depend on assumptions about those differences and leave more uncertainty about what caused the result.</p><p>Use the same completion boundary, cost categories and follow-up period for each route, including rejected attempts and unresolved work. For invoices, link arrival, approval and payment-run timestamps to logs of staff effort and usage charges, including work in other departments. Independently audit a sample of accepted records against the source evidence to estimate defects the normal checks missed. Where rejection is a material route, also audit rejected invoices for justified decisions and false rejections, keeping cases still under investigation separate. Before expanding the plan, check that review, fallback and downstream capacity can support the proposed volume.</p><p>Invest further when the measured improvement and a credible account of maintained operation justify it. Revise or stop when they do not. The next decision should name the change being tested, the outcome it should improve and the resources it will require.</p><h2>Further reading</h2><p>For the fuller economic framework, see <a href="https://applied-ai.com/services/ai-strategy/ai-work-economics-white-paper/">The economics of AI-assisted work</a>. For monitoring costs, outcomes and changes after rollout, see <a href="https://applied-ai.com/services/workflow-automation/operations-reevaluation/">Operating AI systems and deciding when to reevaluate them</a>.</p>]]></content:encoded></item><item><title><![CDATA[Evaluating an AI-assisted workflow]]></title><description><![CDATA[Define acceptable work, validate the checks, and account for every incoming request.]]></description><link>https://insights.applied-ai.com/p/evaluating-an-ai-assisted-workflow</link><guid isPermaLink="false">https://insights.applied-ai.com/p/evaluating-an-ai-assisted-workflow</guid><dc:creator><![CDATA[Stefan Jansen]]></dc:creator><pubDate>Mon, 02 Nov 2026 21:52:15 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/75cfccf2-266e-452d-a087-8686f91174c8_1200x630.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>Key takeaways</h2><ul><li><p>A success score can overlook required procedure or permission, or reject a valid result. Establish what completion means for the actual service.</p></li><li><p>Validate the checks against independently assessed cases, including outputs accepted and withheld. Detecting planted errors does not establish performance on routine work.</p></li><li><p>Follow flags, retries and interrupted writes through to their outcomes. Detecting a defect does not establish that the workflow prevents or resolves it.</p></li><li><p>Count every eligible request, including justified no-action decisions and unfinished work. Report correct completion, human effort and waiting time alongside the model&#8217;s score.</p></li></ul><h2>Introduction</h2><p>A high benchmark score does not establish that an AI-assisted service is ready for routine use. A system can supply correct fields while skipping a required approval. It can flag an error but leave the request unfinished, or deliver the faulty result anyway. An evaluator can also reject valid work. Each failure calls for a different repair, and a single success rate can conceal them.</p><p>For the person deciding whether to deploy the workflow, the question is which work it can be allowed to complete, under what conditions, and with how much human involvement. This article explains how to build the evidence for that decision. It examines what success scores recognize, whether checks detect the errors that matter, what happens after a failed attempt, and how to account for work still waiting on people.</p><p>Consider a hypothetical support service receiving scanned address-change forms through authenticated customer accounts. The forms use varied layouts and may contain handwritten corrections. The AI component reads the document and proposes the shipping-address fields. Ordinary application code supplies the account identity, enforces permissions and writes accepted changes. A structured online form could eliminate the document-reading step; the evaluation concerns the document intake that remains, not a claim that address changes inherently need AI.</p><p>The service can apply an authorized update and confirm it, close an already satisfied request without a change, or ask for missing information. The example&#8217;s rules and later counts are invented. They let us follow output correctness, permission and completion through one fixed task.</p><h2>Correct fields do not prove the request was completed properly</h2><p>Preparing a recommendation and completing a record change require different evidence. A recommendation can be complete when it identifies the customer, supplies the proposed address, and points to the supporting document. If a requested change is needed, the request remains unfinished until an authorized actor applies it and confirms the resulting record. An already satisfied request can close without a write when the workflow verifies the current record and the policy permits that outcome.</p><p>For the hypothetical update service, substantive correctness means that the intended customer&#8217;s shipping address agrees with the submitted request. Acceptable formatting may vary. An address with an expanded street abbreviation can be correct even if it differs from a stored reference string. An address that omits an apartment number can be wrong while satisfying every schema rule.</p><p>Required procedure concerns how the work happens. Suppose this service requires the workflow to check the current record before writing, retain the source document, and read the record after the update. A final address match cannot establish that the workflow performed those steps. The evaluation needs the corresponding observations and action records.</p><p>Authority limits which changes the workflow may make. Here, the customer&#8217;s authenticated submission approves the requested shipping-address change. The service owner separately permits automatic execution for unambiguous account matches; an authorized staff reviewer must resolve and approve exceptions before a write. Staff approval must stay within the customer&#8217;s request. Changing a billing address or another customer&#8217;s record falls outside that permission. A technically successful write outside that permission fails the acceptance conditions.</p><p>These distinctions apply to assistants, fixed workflows, and agents. An assistant may stop at a recommendation. A fixed workflow follows predefined steps. An agent may choose tools or ask follow-up questions. Each needs evaluation at the point where its work will be used; systems that act also need evidence about what they changed and whether they were authorized.</p><p>The owner should decide which requirements each outcome must satisfy and which can be managed across the service, such as waiting time or review capacity. In this example, good field accuracy cannot compensate for an unauthorized write.</p><h2>Success labels can overlook violations or reject valid work</h2><p>An evaluation can label work successful while omitting a requirement the owner needs. The <em><a href="https://arxiv.org/html/2603.03116v1#S5">Beyond Task Completion</a></em> preprint examines simulated support trajectories that reach the benchmark&#8217;s goal but receive procedural-violation flags. Its manual airline audit covers all 131 flagged successes. Confirmation rates ranged from 93.8% to 95.2% across the three agent models. Auditing only flags cannot estimate violations missed among unflagged runs.</p><p>For the address workflow, a grader that compares only the final shipping-address field would miss a required approval step. Improving that grader means supplying the approval evidence and checking the requirement. Averaging an authority failure with several correct fields would still violate this example&#8217;s acceptance rule.</p><p>An evaluation can also reject valid work. <em><a href="https://arxiv.org/html/2504.08942v2#S4.SS3">AgentRewardBench</a></em> describes a web agent that correctly names Acadia National Park in an explanatory answer. The rule grader rejects it because the answer differs from the configured exact string. In Table 3&#8217;s comparison across WebArena, VisualWebArena and WorkArena++, rule-based estimates were at or below expert success rates. The GPT-4o judge generally overestimated success, with two exceptions in WorkArena++.</p><p>Inspect the task instructions, grader inputs, reference labels, and acceptance rule before interpreting the score. A missing requirement calls for a broader evaluation. A false rejection calls for recognizing valid alternatives.</p><h2>Detecting a defect does not establish that delivery was prevented</h2><p>Reliable automated checks can reduce evaluation cost. Choose checks that can establish the required property from available evidence, accounting for their implementation, operation and review costs. A schema validator can check that an address has required fields. An authorization service can check a request&#8217;s permission against the intended write. A comparison with the resulting record can check what changed.</p><p>Checking permission, enforcing it, and auditing the result are separate jobs. In this example, the record-management API must enforce the owner&#8217;s execution scope and refuse writes without evidence linking the actual change to the authenticated customer&#8217;s request and any required staff approval. The producer must have no write path that bypasses this enforcement. Test attempts with missing approval, a wrong account, or an unauthorized field, and inspect the resulting records even when the API reports refusal.</p><p>Begin checker, permission and interruption tests offline, using replayed requests and copied records. A shadow run can assess proposals alongside the incumbent process while staff control the writes. A bounded live pilot under the owner&#8217;s interim authorization can then establish how automatic execution, review queues and staff response behave together on current intake.</p><p>A checker that sees only extracted fields cannot establish whether the extraction omitted text from the original document. A checker that reads only the producer&#8217;s explanation cannot establish whether the record changed. Giving a model a longer prompt does not supply either missing observation. Specify what each checker sees and which defect classes that evidence can reveal.</p><h3>Validate the checker on accepted and withheld candidates</h3><p>The evaluation also needs reference judgments established independently of the checker&#8217;s labels. For the hypothetical workflow, reviewers could inspect the original form, authenticated request, approval record, and before-and-after account state against written criteria. Reviewers should assess candidates before seeing the checker&#8217;s verdict where practical. Record accepted address equivalences, adjudicate disagreements with reasons, and preserve unresolved judgments.</p><p>Sample naturally occurring candidates across the intake, including those cleared for delivery and those withheld, both flagged and unflagged. Inspecting only flags estimates how often flags are justified and overlooks escaped defects. Inspecting only cleared candidates overlooks false rejection and its workload consequences. If difficult cases are oversampled, retain the sampling probabilities so estimates for the incoming population can be weighted appropriately. Keep initial and repaired candidates identifiable, and state which population each error rate describes. Keep a held-out sample that was not used to tune the checker or its prompt.</p><p>With a material defect defined as the positive class, sensitivity is the fraction of defective candidates the checker flags. Specificity is the fraction of acceptable candidates it leaves unflagged. Report both by the defect classes that affect the decision, with sample counts and uncertainty. If a sample contains no defects of a class, it does not estimate sensitivity for that class. Agreement with a success label is not automatically sensitivity to a consequential defect.</p><p>Deliberately planted challenges answer a different question. An address with a removed apartment number can test whether a checker detects that omission. The challenge should reproduce an error the actual extraction pipeline can produce, and the checker should see the evidence it would receive in operation. Such tests can examine rare defects that natural samples contain too few of to estimate sensitivity. Keep challenge results separate from natural-error estimates. Detecting every planted omission does not establish how often omissions occur or how often other defects escape.</p><p>Published evaluator validation can guide this work, provided its measurement matches the intended use. <em><a href="https://arxiv.org/html/2408.08067v2#S4.SS2">RAGChecker</a></em> diagnoses retrieval and generation in retrieval-augmented generation systems. Its meta-evaluation compares metric differences with human preferences on 280 response pairs; annotators also see GPT-4 critiques. Those critiques can influence the reference judgments, which is one reason to document what reviewers see. The study validates response comparison; catching material defects before delivery requires a different measurement.</p><p><em><a href="https://arxiv.org/html/2311.09476v2#S3.SS3">ARES</a></em> demonstrates another use of automated judging. It combines specialized judges with human-labeled data to correct aggregate estimates and construct confidence intervals for RAG system assessment. The paper reports useful transfer across some query and document shifts. Its judges did not generalize to the tested larger shifts involving language, code, or extraction. The result supports cheaper aggregate measurement under conditions where the judges and reference labels have been validated.</p><h3>Follow a flag through to the final result</h3><p>A detected defect prevents delivery only if the delivery policy acts on it. Suppose a checker flags a proposed update to the wrong account before any write. The workflow withholds the update, resolves the account match, obtains staff approval within the customer&#8217;s request, and checks the repaired candidate. It then applies the change and reads the target record. Only that confirmed outcome completes the request. The initial flag, repair attempt, and checking effort remain in the evaluation record.</p><p>If the workflow merely logs the warning and applies the wrong update, the checker detected the defect but the delivery policy failed. If it withholds the update indefinitely, it prevented that write but left a service request unresolved. Evaluate the final result, including any new defect introduced during repair. A flag count alone measures neither outcome.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!rfSc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F837b7cea-1ed6-4244-a2b7-7523ce95a6ba_333x333.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!rfSc!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F837b7cea-1ed6-4244-a2b7-7523ce95a6ba_333x333.png 424w, https://substackcdn.com/image/fetch/$s_!rfSc!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F837b7cea-1ed6-4244-a2b7-7523ce95a6ba_333x333.png 848w, https://substackcdn.com/image/fetch/$s_!rfSc!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F837b7cea-1ed6-4244-a2b7-7523ce95a6ba_333x333.png 1272w, https://substackcdn.com/image/fetch/$s_!rfSc!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F837b7cea-1ed6-4244-a2b7-7523ce95a6ba_333x333.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!rfSc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F837b7cea-1ed6-4244-a2b7-7523ce95a6ba_333x333.png" width="333" height="333" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/837b7cea-1ed6-4244-a2b7-7523ce95a6ba_333x333.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:333,&quot;width&quot;:333,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Figure 1. Three possible outcomes after a checker flags a hypothetical address update. Confirmed repair, an unfinished request and faulty delivery require different accounting; detecting the defect alone does not establish completion.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Figure 1. Three possible outcomes after a checker flags a hypothetical address update. Confirmed repair, an unfinished request and faulty delivery require different accounting; detecting the defect alone does not establish completion." title="Figure 1. Three possible outcomes after a checker flags a hypothetical address update. Confirmed repair, an unfinished request and faulty delivery require different accounting; detecting the defect alone does not establish completion." srcset="https://substackcdn.com/image/fetch/$s_!rfSc!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F837b7cea-1ed6-4244-a2b7-7523ce95a6ba_333x333.png 424w, https://substackcdn.com/image/fetch/$s_!rfSc!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F837b7cea-1ed6-4244-a2b7-7523ce95a6ba_333x333.png 848w, https://substackcdn.com/image/fetch/$s_!rfSc!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F837b7cea-1ed6-4244-a2b7-7523ce95a6ba_333x333.png 1272w, https://substackcdn.com/image/fetch/$s_!rfSc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F837b7cea-1ed6-4244-a2b7-7523ce95a6ba_333x333.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><em>Figure 1. Three possible outcomes after a checker flags a hypothetical address update. Confirmed repair, an unfinished request and faulty delivery require different accounting; detecting the defect alone does not establish completion.</em></p><h2>Repeated attempts and interrupted writes need separate recovery tests</h2><p>Repeated attempts can improve the chance of producing a satisfactory candidate. They also create selection work. A system that generates several addresses needs a rule for choosing among them, and that rule can choose the wrong one even when a correct candidate exists.</p><p>The original <em><a href="https://arxiv.org/html/2406.12045v1#S3">tau-bench</a></em> paper adopts <code>pass@k</code> from code generation to measure the chance that at least one of <code>k</code> independent trials of a task succeeds. It introduces <code>pass^k</code> for the chance that all <code>k</code> trials succeed, averaged across tasks. Both concern repeated same-task trials. A production selector or recovery procedure needs its own evaluation.</p><p>For the address workflow, test the actual attempt limit, selection rule, and escalation route. Compare the final delivered results with a single-attempt policy under the same intake and resource constraints. Include failed attempts in the cost and elapsed time. Retrying an extraction that repeatedly loses the apartment number may reproduce the same mistake. A second checker reading the same incomplete extraction may miss it too. Measure joint misses and what the additional check catches; different model names do not establish independent errors.</p><p>Task difficulty also affects the interpretation. Suppose half the tasks have a 90% single-trial success probability and half have 10%. Repeating one randomly selected task twice gives a 41% chance of two successes: <code>(0.9&#178; + 0.1&#178;) / 2</code>. Drawing two independent tasks instead gives 25%: <code>((0.9 + 0.1) / 2)&#178;</code>. The first experiment measures repeated performance on the same task; the second concerns independently arriving requests. In general the corresponding quantities are <code>E_t[p(t)^k]</code> and <code>E_t[p(t)]^k</code>, under the stated independence assumptions.</p><p>A service forecast therefore needs evidence about independence and the stability of the incoming mix. A shared outage can correlate outcomes; changing arrivals can alter the marginal success probability. Test those conditions directly before using a repeated-trial score as an operating forecast.</p><p>Recovery also changes when a system writes state. Suppose the update succeeds but its confirmation times out. A retry must first establish what happened in the record system. Record the requested change and reconcile externally recorded state before issuing another write. Test interruption before the write, after the write, and during confirmation using the configured recovery policy. If an unauthorized change happened before repair, retain the incident even when the final address is correct.</p><h2>Include no-action decisions and unfinished requests in completion rates</h2><p>Accurate results on easy requests can coexist with an unfinished review queue. Define the eligible incoming population before running the evaluation, including cases that later require review or additional information. Record out-of-scope arrivals separately with the reason for exclusion. Do not remove an eligible case from the denominator because the workflow refused it or exhausted its attempt budget.</p><p>Choose an intake window and a follow-up horizon. For illustration, suppose the owner authorizes a bounded pilot after the offline checks. The address service receives 100 eligible requests during a week and follows each for two business days after arrival. The following invented counts demonstrate accounting only. They are not pilot results or proposed performance targets.</p><p>For this ledger, any staff intervention needed to complete a change, including review, repair or approval, counts as human fallback even if software performs the write. The automated route requires no such intervention before completion.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!XBru!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff835e8d9-7197-427f-a21f-f812dbace29b_333x344.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!XBru!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff835e8d9-7197-427f-a21f-f812dbace29b_333x344.png 424w, https://substackcdn.com/image/fetch/$s_!XBru!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff835e8d9-7197-427f-a21f-f812dbace29b_333x344.png 848w, https://substackcdn.com/image/fetch/$s_!XBru!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff835e8d9-7197-427f-a21f-f812dbace29b_333x344.png 1272w, https://substackcdn.com/image/fetch/$s_!XBru!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff835e8d9-7197-427f-a21f-f812dbace29b_333x344.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!XBru!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff835e8d9-7197-427f-a21f-f812dbace29b_333x344.png" width="333" height="344" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f835e8d9-7197-427f-a21f-f812dbace29b_333x344.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:344,&quot;width&quot;:333,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Hypothetical 100-request ledger: 72 automated changes, 10 human-fallback changes, 8 no-change closures, 6 awaiting review and 4 awaiting customer information. These counts are not measured results or audited success.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Hypothetical 100-request ledger: 72 automated changes, 10 human-fallback changes, 8 no-change closures, 6 awaiting review and 4 awaiting customer information. These counts are not measured results or audited success." title="Hypothetical 100-request ledger: 72 automated changes, 10 human-fallback changes, 8 no-change closures, 6 awaiting review and 4 awaiting customer information. These counts are not measured results or audited success." srcset="https://substackcdn.com/image/fetch/$s_!XBru!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff835e8d9-7197-427f-a21f-f812dbace29b_333x344.png 424w, https://substackcdn.com/image/fetch/$s_!XBru!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff835e8d9-7197-427f-a21f-f812dbace29b_333x344.png 848w, https://substackcdn.com/image/fetch/$s_!XBru!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff835e8d9-7197-427f-a21f-f812dbace29b_333x344.png 1272w, https://substackcdn.com/image/fetch/$s_!XBru!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff835e8d9-7197-427f-a21f-f812dbace29b_333x344.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><em>Table 1. Invented counts illustrate request accounting, not performance. The 90 reported closures need independent auditing; ten requests remain unfinished.</em></p><p>The delivery policy reports 90 closed requests: 82 completed-change requests and eight no-action closures. Reported closure coverage is 90/100; independently validated success remains unknown. Audit both changes and no-action closures against the acceptance conditions. A conflicting request wrongly closed as a duplicate is an escaped failure. Keep audited defects as attributes of the cases, including any violations during requests that were later repaired or remain unfinished.</p><p>A request that is flagged, repaired, reviewed, and completed occupies one final-disposition row. Its intermediate events remain available for diagnosing failure and measuring effort. A handoff that finishes a change by the horizon counts as human fallback. A handoff that is still waiting counts as unfinished. Report late resolutions when follow-up continues, while preserving the original deadline result.</p><p>Closing without a change needs evidence too. If the requested address is already present and the policy permits closure, no action can be correct. If the form conflicts with the current record and the workflow refuses to investigate, the request remains unresolved even if the policy marks it closed. The <em><a href="https://arxiv.org/html/2605.07769v1#S3.SS2">FixedBench</a></em><a href="https://arxiv.org/html/2605.07769v1#S3.SS2"> study</a> tests coding agents on already resolved and partially repaired issues. Instructions encouraging abstention reduce unnecessary edits, but also increase abstention on partially repaired issues that still need work. That tradeoff supports separate labels for correct no-action and unmet obligations.</p><p>Report quality among the 90 reported closures and successful-completion coverage over all 100 eligible requests. With a complete audit, divide closures meeting the acceptance conditions by 90 for closure quality and by 100 for successful-completion coverage. For escaped defects in reported closures, divide defective closures, including wrongful no-action, by 90. Dividing that same numerator by 100 reports the share of eligible intake with a defective closure. A defect rate restricted to the 82 completed-change requests counts affected requests among those 82; it does not measure defects per individual write. The ledger does not count write events. Report the ten pending requests separately.</p><p>Also report the share of all 100 eligible requests affected by any harmful or unauthorized action, including unfinished requests and those later repaired. Count each affected request once in that measure, even if several actions occurred. A correct final address does not erase an earlier unauthorized change. Report action-event counts separately if needed; a rate per action requires an inventory of the relevant action events, including actions during unfinished and repaired requests. Neither 90 closures nor 82 completed-change requests supplies that denominator.</p><p>These formulas use counts established by a complete audit. If only a sample was audited, estimate the relevant population counts or proportions under the audit&#8217;s sampling design, with weighting where needed and uncertainty. Do not divide raw defects found in the sample by 90, 82 or 100 and present the result as the corresponding population defect rate. Report the sampling method and sample counts, and leave unaudited outcomes unverified.</p><p>Ten completed-change requests used human fallback, but that count is not total human involvement. Closures and unfinished requests may also consume staff time. Measure operational labor across all routes, including review, corrections and requests for missing information; report evaluation and audit labor separately. Record customer effort supplying clarifications separately from staff labor. Measure active labor and waiting time separately, plus the queue remaining at the horizon. Compare the configured workflow with the incumbent process on comparable requests, including the incumbent&#8217;s errors and unresolved work under the same resource budget.</p><h2>Use the evaluation to set an operating scope</h2><p>The evaluation should support a specific operating decision. The invented ledger supports examining the ten pending requests and the demand for human fallback. Its counts alone cannot justify wider permission to write. That decision also needs independent outcome audits, authorization-enforcement tests, recovery evidence, and measured labor and waiting times.</p><p>For the hypothetical service, the owner might permit routine automatic shipping-address changes within the tested class of authenticated requests with an unambiguous account match and the required approval evidence. Conflicting or incomplete requests would take the defined review or information-request route. That scope is defensible only if the evaluation supports its acceptance conditions and the service can complete the resulting human work within the agreed time and capacity.</p><p>Set the decision criteria before inspecting the final results. They should cover escaped defects by consequence, completed work, appropriate no-action outcomes, unresolved requests, waiting time, and human effort. The owner chooses thresholds from the actual service obligation and tolerable consequences. A favorable average score cannot override a requirement designated mandatory for each resolved request.</p><p>Scale the evaluation effort to the consequences and reversibility of mistakes. A narrow rollout with monitoring, rollback and post-delivery audits may be adequate for readily reversible, low-consequence actions. Actions whose consequences cannot be undone need stronger evidence before delivery. In either setting, count every eligible request, enforce authorization for writes, and follow flags through to final outcomes. Scale sample sizes, independent adjudication, planted challenges, interruption scenarios and release-record detail to the failures the owner must be able to detect and the uncertainty the decision can tolerate.</p><p>Preserve a short release record with the eligible population, input period, follow-up horizon, and comparator. Identify the producer, parser, tools, checker, prompts, permissions, and delivery-policy versions. Record the final outcomes, reference-label method, checker findings, resource limits, and uncertainty supporting the decision. Include exclusions and evidence that was too sparse to support a conclusion. Keep that record with the configuration whose use it supports.</p><p>Sparse evidence can justify a narrower scope. If the evaluation supports recommendations but cannot establish authorized execution and reliable recovery, retain the recommendation boundary. If review demand exceeds capacity, revise the routing policy or restrict the service volume and evaluate the revised process. Report those limits as part of the decision.</p><p>Name what would require re-evaluation. A changed document format can invalidate extraction evidence. New permissions can change which actions are acceptable. A checker or model update can change which defects escape, and growing review delays can make the service miss its obligations. Preserve cases that reveal those changes and recheck the affected acceptance conditions before expanding the supported claim.</p><h2>Further reading</h2><p>For the broader evaluation framework, see <a href="https://applied-ai.com/services/workflow-automation/evaluating-ai-assisted-systems/">Evaluating AI-assisted systems</a>. For how evaluation fits into discovery, design and delivery, see <a href="https://applied-ai.com/services/workflow-automation/ai-workflow-implementation/">Implementing AI in business workflows</a>.</p>]]></content:encoded></item><item><title><![CDATA[When to use generative AI, a task-specific model, or ordinary code]]></title><description><![CDATA[Choose an approach by what it can deliver and the full cost of making it work.]]></description><link>https://insights.applied-ai.com/p/when-to-use-generative-ai-a-task</link><guid isPermaLink="false">https://insights.applied-ai.com/p/when-to-use-generative-ai-a-task</guid><dc:creator><![CDATA[Stefan Jansen]]></dc:creator><pubDate>Mon, 02 Nov 2026 21:51:44 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/0cc3ba91-f286-4d9d-b8cb-909d188272ca_1200x630.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>Key takeaways</h2><ul><li><p>Choose the most cost-effective approach that meets the task&#8217;s quality, coverage, timing and risk requirements. Include development, integration, checking, correction, exceptions and maintenance.</p></li><li><p>Ordinary code suits explicit rules and structured inputs. Task-specific models learn recurring predictions or classifications. Generative models handle varied language and produce new text or other content. A system can combine them.</p></li><li><p>Low setup effort can make a general-purpose model attractive. Repeated review and correction can reverse that advantage at operating scale.</p></li><li><p>Compare complete solutions on the same workload. Measure useful completed work, errors and human effort, including cases the system cannot finish.</p></li></ul><h2>Introduction</h2><p>A general-purpose language model can make a new application look inexpensive to build. Describe the task, provide a few examples and it may produce a convincing result. Training a dedicated model or writing detailed rules can look slow by comparison.</p><p>But a demonstration leaves several costs unresolved. Someone must supply the right information, connect the output to existing systems, decide whether it is correct and handle the cases that fail. An answer that takes seconds to generate may still require an expert to repeat most of the task before using it. Conversely, maintaining rules for many changing document formats may cost more than checking a model&#8217;s output.</p><p>The choice is therefore an investment and operating decision. Which approaches can do the required work, and what will it cost to obtain acceptable results over the period the system will be used? This article compares the main options, explains where their costs arise and shows how to make that comparison without assuming that newer, smaller or simpler is necessarily better.</p><h2>Quality and risk requirements determine which solutions are feasible</h2><p>Cost-effectiveness requires a defined result. Routing a support request to a queue, forecasting product demand and preparing a sourced technical explanation are different tasks. A method suitable for one may be unable to produce the output another requires.</p><p>Specify the information available at the time of the decision, the required output and how that output will be used. Include the expected volume, response time and cases the system must cover. Distinguish errors by their consequences. A routing mistake that someone can correct is different from an incorrect payment or an unsupported statement sent to a customer.</p><p>Some requirements are constraints rather than costs to trade away. A solution that cannot meet a privacy restriction, a required error limit or a deadline is infeasible even if its model calls are cheap. For the remaining candidates, compare total costs at the required quality. If one produces a more valuable result, such as covering more cases or supporting a new service, include that additional benefit explicitly.</p><p>The current process belongs in the comparison too. It may already use search, templates, rules and specialist judgment. Compare a proposed system with that working process, not with a person doing every step manually from scratch.</p><h2>Code, task-specific models and generation incur different kinds of work</h2><h3>Ordinary code fits inputs and rules that can be specified directly</h3><p>Use software directly where the task has explicit inputs, transformations and rules. Reading named fields, calculating a price, checking a permitted value and applying a stated eligibility rule do not inherently require a learned model. Search and database queries may also retrieve the needed information without generating an answer.</p><p>Consider a hypothetical order import. An authenticated supplier submits a CSV file with a fixed schema containing product IDs and quantities. The product catalog and quantity limits are available in a database. The required result is a validated order or a list of rejected rows. Parsing, lookups and explicit rules provide a direct implementation. There is no unstructured request to interpret.</p><p>That advantage depends on stable assumptions. If suppliers regularly change formats, someone must update and test the importers. If staff resolve many rejected rows manually, that effort belongs in the cost of the code-based solution. Deterministic execution can consistently repeat a mistaken rule. The specification and implementation still need testing.</p><h3>Task-specific models fit recurring predictions with measurable targets</h3><p>A task-specific model learns a defined relationship from examples. Options include regression and tree-based models for structured data, and text classifiers or extractors for language. A language model need not generate prose. The <a href="https://aclanthology.org/N19-1423/">BERT paper</a> describes adapting a pretrained encoder for classification and token-level tasks.</p><p>Consider a second hypothetical task. Incoming support tickets must be assigned to an established set of queues. Historical tickets have adjudicated queue labels, and genuinely ambiguous requests can go to a triage team. Compare a rules-based router, a trained classifier and a general-purpose language model on the same held-out tickets. The output is a queue assignment, not an open-ended response.</p><p>The dedicated model needs representative training examples, label definitions, deployment and monitoring. Its investment may repay at sustained volume if it meets the routing requirements with less recurring processing or review. Changing queues, products or customer language can require new labels and retraining. Stable output categories help, but they do not establish that a dedicated model will be cheaper or more accurate.</p><h3>Generative AI fits varied interpretation and open-ended outputs</h3><p>Generative models can produce drafts, summaries, code and proposed structured outputs from varied instructions and context. They can be useful when writing a complete set of rules would be difficult, labeled examples are scarce or the requested output changes between tasks. A pretrained model can offer a practical starting point without a task-specific training project.</p><p>Suppose an engineer needs a draft comparison of three technical proposals. The source packet is fixed, each consequential claim must cite a passage, and an engineer will approve the final recommendation. A generative model can organize the comparison and draft the explanation. Search can locate passages, but it does not by itself write the required synthesis. The relevant comparison includes the engineer&#8217;s current reading and drafting process, as well as any narrower automation of recurring parts.</p><p>The question is how much checking and rewriting remains. Accurate quotations do not establish that the draft interpreted a limitation correctly or considered contrary evidence. Supplying sources and asking for citations helps make review possible; those instructions do not prove the draft is sound. The model&#8217;s flexibility is valuable only if the completed result justifies the integration, processing and review work.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!SaYF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64c96727-13dd-4254-ac3b-6ee2d9c35f28_333x305.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!SaYF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64c96727-13dd-4254-ac3b-6ee2d9c35f28_333x305.png 424w, https://substackcdn.com/image/fetch/$s_!SaYF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64c96727-13dd-4254-ac3b-6ee2d9c35f28_333x305.png 848w, https://substackcdn.com/image/fetch/$s_!SaYF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64c96727-13dd-4254-ac3b-6ee2d9c35f28_333x305.png 1272w, https://substackcdn.com/image/fetch/$s_!SaYF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64c96727-13dd-4254-ac3b-6ee2d9c35f28_333x305.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!SaYF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64c96727-13dd-4254-ac3b-6ee2d9c35f28_333x305.png" width="333" height="305" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/64c96727-13dd-4254-ac3b-6ee2d9c35f28_333x305.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:305,&quot;width&quot;:333,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Ordinary code: explicit inputs and rules; examine rule changes and exceptions. Task-specific ML: stable target and labeled examples; examine labels, training and monitoring. Generative AI: varied language or open-ended output; examine context, checking and correction.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Ordinary code: explicit inputs and rules; examine rule changes and exceptions. Task-specific ML: stable target and labeled examples; examine labels, training and monitoring. Generative AI: varied language or open-ended output; examine context, checking and correction." title="Ordinary code: explicit inputs and rules; examine rule changes and exceptions. Task-specific ML: stable target and labeled examples; examine labels, training and monitoring. Generative AI: varied language or open-ended output; examine context, checking and correction." srcset="https://substackcdn.com/image/fetch/$s_!SaYF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64c96727-13dd-4254-ac3b-6ee2d9c35f28_333x305.png 424w, https://substackcdn.com/image/fetch/$s_!SaYF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64c96727-13dd-4254-ac3b-6ee2d9c35f28_333x305.png 848w, https://substackcdn.com/image/fetch/$s_!SaYF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64c96727-13dd-4254-ac3b-6ee2d9c35f28_333x305.png 1272w, https://substackcdn.com/image/fetch/$s_!SaYF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64c96727-13dd-4254-ac3b-6ee2d9c35f28_333x305.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button class="pencraft pc-reset pencraft icon-container restack-image buttonBase-tqxFUX" tabindex="0" type="button"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button class="pencraft pc-reset pencraft icon-container view-image buttonBase-tqxFUX" tabindex="0" type="button"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><em>Table 1. Typical starting conditions and characteristic costs to investigate. Methods can overlap and be combined; costs are not exclusive and the table is not a performance ranking.</em></p><p>The table highlights typical starting conditions and characteristic costs, rather than exhaustive requirements or exclusive costs. Integration, evaluation, exception handling and maintenance apply across approaches.</p><h3>Combine methods where their responsibilities differ</h3><p>These categories can overlap within a model as well as within a system. A generative model can itself be specialized for a task. A support system might use a classifier to route a request, generation to interpret an unusual explanation and ordinary code to calculate a remedy and enforce permissions. A document system might use optical character recognition, an extractor, database reconciliation and a generated review memo.</p><p>Each additional component creates integration and maintenance work. One general model can sometimes be easier to operate than several specialized paths. A hybrid is justified by its measured contribution, not by the number of techniques it combines.</p><h2>Compare setup costs with recurring costs over a realistic operating period</h2><p>A low-effort prototype and an inexpensive operating process are different achievements. Compare each feasible solution over a common period and expected workload. Separate costs that occur once from those that recur per item or after a change.</p><p>Include development and rollout time within that period, the workload each alternative can actually serve once available, and the cost of continuing the current process until the replacement takes over. Earlier availability can add value, but a quick prototype does not establish that integration and rollout will also be quick.</p><p>Include the following work:</p><ul><li><p><strong>Build and integrate:</strong> clarify requirements, obtain data, label training and evaluation examples, implement the approach and connect existing systems.</p></li><li><p><strong>Process the workload:</strong> run software, models, retrieval and any retries, including infrastructure or provider charges.</p></li><li><p><strong>Check and resolve:</strong> review outputs, correct mistakes, answer clarification requests and finish exceptions or handoffs.</p></li><li><p><strong>Maintain and reevaluate:</strong> update rules, data, models, sources and integrations, then check that the changed system still meets its requirements.</p></li></ul><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xi1h!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f4c62ae-eef0-4f84-b6a4-192a756e56be_333x218.png 424w, https://substackcdn.com/image/fetch/$s_!xi1h!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f4c62ae-eef0-4f84-b6a4-192a756e56be_333x218.png 848w, https://substackcdn.com/image/fetch/$s_!xi1h!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f4c62ae-eef0-4f84-b6a4-192a756e56be_333x218.png 1272w, https://substackcdn.com/image/fetch/$s_!xi1h!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f4c62ae-eef0-4f84-b6a4-192a756e56be_333x218.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!xi1h!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f4c62ae-eef0-4f84-b6a4-192a756e56be_333x218.png" width="333" height="218" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8f4c62ae-eef0-4f84-b6a4-192a756e56be_333x218.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:218,&quot;width&quot;:333,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Figure 1. Compare complete costs over the same operating period. Setup, recurring work and maintenance all count; the diagram shows cost categories, not their relative amounts.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Figure 1. Compare complete costs over the same operating period. Setup, recurring work and maintenance all count; the diagram shows cost categories, not their relative amounts." title="Figure 1. Compare complete costs over the same operating period. Setup, recurring work and maintenance all count; the diagram shows cost categories, not their relative amounts." srcset="https://substackcdn.com/image/fetch/$s_!xi1h!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f4c62ae-eef0-4f84-b6a4-192a756e56be_333x218.png 424w, https://substackcdn.com/image/fetch/$s_!xi1h!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f4c62ae-eef0-4f84-b6a4-192a756e56be_333x218.png 848w, https://substackcdn.com/image/fetch/$s_!xi1h!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f4c62ae-eef0-4f84-b6a4-192a756e56be_333x218.png 1272w, https://substackcdn.com/image/fetch/$s_!xi1h!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f4c62ae-eef0-4f84-b6a4-192a756e56be_333x218.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p><em>Figure 1. Compare complete costs over the same operating period. Setup, recurring work and maintenance all count; the diagram shows cost categories, not their relative amounts.</em></p><p>Measure staff effort as well as cash spending. Released staff time may have value without reducing payroll. Avoid counting the same review work both in a per-item estimate and again as a separate operating cost. Include the consequences of remaining errors where they can reasonably be estimated, while retaining requirements that cannot responsibly be reduced to a monetary average.</p><p>Volume can change the result. A dedicated model with substantial setup work may become worthwhile when its recurring saving per item repays that investment. A short-lived or low-volume task may favor a general-purpose model even at a higher per-item cost. That comparison depends on the expected life of the task, maintenance differences and whether the estimated saving survives actual use.</p><p>There is no general cost ordering from code to task-specific models to generation. Rules can be expensive to maintain, a classifier can be expensive to label, and a generator can be expensive to verify. Simplicity matters through those costs and operational requirements, rather than as an independent reason to reject a more capable approach.</p><h2>Verification effort can change which method is economical</h2><p>The useful unit of comparison is a method together with the checks and exception handling needed to use its output. Structural checks can reject a missing field or an invalid category. They cannot establish whether a summary omitted the decisive condition or whether a proposed action matches the customer&#8217;s request.</p><p>Some tasks provide inexpensive independent checks. An order total can be recalculated from trusted prices and quantities. Other tasks require semantic judgment or new evidence. Reviewing a synthesis may mean returning to several sources and assessing whether the explanation represents them fairly. The cost of that review can exceed the cost of producing the draft.</p><p>Human review and model-based review both need evaluation. In <a href="https://proceedings.mlr.press/v267/kim25e.html">Correlated Errors in Large Language Models</a>, Kim and colleagues used a judge model&#8217;s own multiple-choice answers as reference labels to score other models. Shared wrong answers could then count as correct, inflating scores. Agreement between models is therefore not sufficient evidence that an output is correct. This cited result concerns benchmark judging; it supplies no error rate for the examples here.</p><p>A review threshold also changes the operating plan. Sending uncertain classifications to people can reduce errors in automatically accepted work while increasing the manual queue. Test the threshold&#8217;s effect on errors and workload rather than treating a confidence score as a guarantee. <a href="https://proceedings.mlr.press/v70/guo17a.html">Guo and colleagues</a> explain the distinction between classification accuracy and probability calibration; neither certifies an individual decision.</p><p>A stronger model may be cost-effective if it reduces difficult corrections, produces more checkable outputs or completes more of the required work. A narrower method may win if its output can be checked cheaply and its exceptions remain manageable. Both conclusions require evidence from the intended task.</p><h2>Test complete alternatives before choosing one</h2><p>Use representative cases with agreed expected results and consequences for errors. Keep evaluation cases separate from those used to fit models, write prompts or choose review thresholds. Include difficult inputs and unsupported cases, not only the examples that make a demonstration look successful.</p><p>Estimate operating error rates, review frequency and costs from cases that reflect the expected input mix. Additional challenge cases can test coverage and failure handling, but a test set enriched with difficult cases does not represent their frequency in routine work. Report those results separately or weight them to the expected mix before using them to estimate operating costs.</p><p>Compare feasible alternatives under the same requirements and access to information. Let each use appropriate checks and exception handling, then count the work those arrangements create. Record correct completion, consequential errors, unresolved cases, coverage, latency and human effort. An accurate automated subset with a large unfinished queue can be a poor solution to the complete task.</p><p>Start with a comparison proportionate to the decision. Eliminate methods that cannot meet the requirements, test the credible alternatives and investigate the assumptions that could change the result. A small internal drafting aid does not need the same evidence as a system making consequential external changes.</p><p>Choose the approach that delivers the required outcome most cost-effectively over its expected use. Record the assumptions behind that choice and when to revisit them, including changed inputs, growing volume, rising review effort or new capabilities.</p><h2>Further reading</h2><p>For the broader strategy and implementation choices, see <a href="https://applied-ai.com/services/ai-strategy/strategy-capability-development/">Developing an AI strategy and the capabilities to deliver it</a>. For a fuller treatment of costs, benefits and investment decisions, see <a href="https://applied-ai.com/services/ai-strategy/ai-work-economics-white-paper/">The economics of AI-assisted work</a>.</p>]]></content:encoded></item></channel></rss>