Schema-Validated LLM Workflows: A Benchmark Protocol and Comparative Evaluation Across Six Python Implementations
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
Schema-Validated LLM Workflows: A Benchmark Protocol and Comparative Evaluation Across Six Python Implementations Sidney Shapiro1 , Sanad Al-Khatib2 , Aurora Pinzón Arzola3 , Emiliano Sebastian Gonzalez Venegas4 , and Daniel Pearson1
arXiv:2611.27106v1 [cs.SE] 20 Nov 2026
1
Dhillon School of Business, University of Lethbridge, Canada 2 Al Hussein Technical University, Jordan 3 Universidad de Guanajuato, Mexico 4 Universidad de Guadalajara, Mexico
Abstract Large language models are increasingly used to extract records, generate SQL, summarize reports, answer policy questions, and route operational work. At these software boundaries, parseable output is necessary but does not establish task correctness. We present a reproducible benchmark protocol, a public executable artifact, and a confirmatory live-API evaluation that separate structural validity from task-specific correctness across five businessworkflow tasks and six Python implementation conditions: PydanticAI, LangGraph, DSPy, CrewAI, Agno, and a framework-free SDK reference. We hypothesize that (H1) schema validity and task quality are separable, (H2) structuredoutput binding paths are heterogeneous under a shared model and lowest-commondenominator contract, and (H3) condition×task interactions concentrate failures rather than shifting all tasks equally. Confirmatory analysis uses distinct task instances (100 extraction and 50 per other task, with three nested replicates) under a frozen analysis plan, yielding a 5,400-row primary matrix with equivalence margins and Holm-adjusted contrasts against the SDK reference. In the eligible confirmatory run, overall schema validity was 0.684 and mean automated quality was 0.638. PydanticAI, LangGraph, and DSPy retained near-ceiling schema validity with mean quality 0.91–0.94, while the plain SDK, Agno, and CrewAI conditions were substantially lower in this package and model configuration. Schema-valid rows still produced many task-score flags, especially in extraction and compliance QA, and quality residuals show strong condition×task interactions (including a workflow collapse for CrewAI). Labeled ablations address retry budgets and feature-using mechanisms; primary contrasts remain system-configuration findings, not causal attributions to marketed library features.
1
Introduction
Business workflows are a natural deployment target for large language models (LLMs). Analysts and operations teams use them to extract fields from documents, translate questions into SQL, summarize evidence, answer policy questions, and route requests through tools. These outputs are rarely consumed only as prose: they are parsed, stored, joined with enterprise data, or used to trigger actions. A fluent response that omits a field can break a pipeline, while a well-formed object can still contain the wrong amount, query, citation, or decision. Reliable deployment therefore requires several distinct controls. Provider-native structured output constrains the generated representation. Application validation checks that the returned value satisfies a runtime schema and business rules. Framework mechanisms can add retries, typed dependencies, tools, state, and trace capture. Task-specific evaluation then checks whether the accepted value is correct for its source and intended use. Conflating these layers gives schema
1
conformance credit for factual accuracy or gives a framework credit for behavior supplied by the provider API. This paper’s primary contribution is a protocol that keeps those layers separable under matched business-workflow inputs, together with a confirmatory evaluation of six Python implementation conditions. We use schema-validated to mean that an output has passed a declared runtime contract. We use structural validity for parseability and schema conformance, and task-specific correctness for agreement with source facts, SQL results, citations, or workflow ground truth. These definitions are intentionally narrower than end-to-end “type safety”: runtime validation can reject malformed values, but it cannot prove factual or procedural correctness. We also use implementation condition, rather than framework, when referring collectively to PydanticAI, LangGraph, DSPy, CrewAI, Agno, and the framework-free SDK reference. Working hypotheses. We test three claims that follow from that separation. First, structural validity and task correctness are separable: schema-valid objects can still fail deterministic task scorers (H1). Second, under a shared model and lowest-common-denominator structured-output contract, implementation binding paths are heterogeneous relative to an SDK baseline (H2). Third, gaps are interactive rather than purely additive: some tasks compress condition differences while others expose adapter failures (H3). Mechanism attribution—whether validators, retries, typed dependencies, or orchestration cause those gaps—is reserved for labeled ablations (RQ4). Figure 1 (Section 2) summarizes the evaluation path: task input → provider constraint and implementation condition → shared record and dual scoring (structural and task-specific). Existing structured-output benchmarks distinguish schema adherence from value correctness, including recent evidence that constraints can raise validity while increasing wrong-valid-schema answers [Geng et al., 2025, Yang et al., 2026, Singh et al., 2026, Ray, 2026]. Agent benchmarks emphasize tools, state, cost, and traces, with growing attention to full paths and deterministic validators rather than final-answer heuristics alone [Liu et al., 2024, Ma et al., 2024, Michelakis et al., 2025, Gurram, 2026]. What remains difficult is a matched comparison that connects both perspectives to common business-workflow tasks and preserves enough evidence to attribute failures. The confirmatory design commits a primary matrix of six conditions, three nested replicates, and distinct instances (100+50+50+50+50), for 5,400 execution rows. Effective sample size is the number of distinct instances, not the row total. Equivalence margins, Holm multiplicity against the SDK reference, and simulation-based power are frozen in config/analysis_plan.json before eligible live runs. Pydantic is a common Python runtime-validation layer for typed data models and JSON Schema generation [Pydantic, 2026a]. PydanticAI extends that model to LLM applications through structured outputs, typed dependencies, tools, validators, retries, and observability [Pydantic, 2026b,d]. Other libraries emphasize different mechanisms: LangGraph exposes stateful orchestration [LangChain, 2026], DSPy optimizes language-model programs against metrics [Khattab et al., 2024], CrewAI organizes role- and task-based execution [CrewAI, 2026], and Agno provides a compact typed-agent interface [Agno, 2026]. Provider APIs can now enforce JSON Schemas directly, so a plain SDK reference is necessary to measure how much additional behavior the application layer contributes [OpenAI, 2024]. The paper makes three contributions: 1. A controlled benchmark protocol for five business-workflow tasks that separates structural validity, task-specific correctness, operational cost, and engineering burden, with harnessboundary revalidation and attempt-level provenance. 2. An executable comparison artifact with shared schemas and prompts, normalized trial records, framework adapters, hardened scorers, audit artifacts, frozen power/equivalence
2
Task input and ground truth
−→
Provider constraint and implementation condition
−→
Shared record and evaluation ↓ Structural scorer + task-specific scorer + cost and audit fields
Figure 1: Layered evaluation path (conceptual figure). Provider constraints, framework behavior, application validation, and task scoring are distinct mechanisms. Feature-using ablations exercise validators, typed dependencies, stateful orchestration, and optimization beyond the lowest-common-denominator structured-output path. settings, and pre-specified ablation and stress conditions, released at https://github. com/ULDataProfessor/schema-validated-llm-workflows. 3. A confirmatory 5,400-row evaluation of six implementation conditions on distinct, labelderivable instances, testing separability, binding-path heterogeneity, and condition×task interaction under a frozen analysis plan. The remainder of the paper defines the reliability layers and related evidence, states the research questions and hypotheses, describes the benchmark and frozen analysis plan, reports confirmatory results and ablations, and discusses technical and business implications. The final sections consolidate validity threats, artifact and ethical considerations, and the claim boundary.
2
Reliability Layers
Pydantic turns Python annotations into runtime data contracts. A model defines fields, validation rules, serialization behavior, and a JSON Schema that can be shared with an external system [Pydantic, 2026a]. For an LLM workflow, this contract governs whether application code accepts a returned value. It does not establish that the value is supported by a source document or appropriate for the business decision. Provider-native structured-output modes move part of this control into generation. JSON Schema modes and tool interfaces can constrain responses to a declared representation, reducing malformed JSON and missing-field failures [OpenAI, 2024, 2026, Anthropic, 2026]. Because the provider may already deliver ceiling-level conformance for a narrow schema, any applicationframework comparison must keep provider enforcement visible as part of the treatment. PydanticAI integrates Pydantic-backed outputs with dependencies, tools, output validators, retry behavior, and observability hooks [Pydantic, 2026b,d,c,e]. The relevant empirical question is not whether these features exist, but whether exercising them changes an observed failure: for example, whether an output validator rejects unsafe SQL, a typed dependency makes a policy version auditable, or retry feedback repairs an otherwise rejected object. A condition that uses only provider-native output tests a much narrower mechanism. Figure 1 locates the layers in the benchmark. Structural and task-specific scoring remain separate after every implementation returns. This shared evaluation boundary is necessary because a framework-native “success” may mean only that an API call completed. The comparison conditions occupy different parts of this path. LangGraph emphasizes explicit state and recoverable orchestration [LangChain, 2026]; DSPy emphasizes metric-driven optimization [Khattab et al., 2024, Stanford NLP, 2026]; CrewAI emphasizes role and task decomposition [CrewAI, 2026]; Agno provides a structured-output interface [Agno, 2026]; and the plain SDK reference exposes provider behavior with minimal framework abstraction. A fair protocol must therefore distinguish a matched lowest-common-denominator condition from 3
feature-using ablations. The former supports controlled execution comparisons; the latter are needed to attribute effects to validators, optimization, graph state, or typed tools.
3
Related Work
Structured-output research increasingly distinguishes representation from value correctness. JSONSchemaBench, StructEval, SOB, LLMStructBench, and ExtractBench measure schema coverage, parseability, and leaf- or field-level accuracy as separable outcomes [Geng et al., 2025, Yang et al., 2026, Singh et al., 2026, Tenckhoff et al., 2026, Ferguson et al., 2026]. Recent measurements sharpen the same point operationally: hard schema constraints can raise validity while increasing wrong-but-schema-valid answers, so production reports should track validity, answer accuracy, executable accuracy, and wrong-valid-schema rate separately [Ray, 2026]. Instructor, Guardrails, TypeChat, LMQL, guided decoding, SchemaRL, and SLOT place enforcement at different points—provider decoding, grammar constraints, post-hoc structuring, reinforcement against validators, or application repair [Liu and Contributors, 2024, Guardrails AI, 2026, Microsoft, 2026, Beurer-Kellner et al., 2023, Willard and Louf, 2023, Lu et al., 2025, Li et al., 2025]. Empirically, verify-and-retry against an external validator can cover more real-world JSON Schemas than brittle constrained-decoding stacks alone [Lee et al., 2025], and software-engineering studies of structured-output control likewise treat the binding layer as an engineering choice rather than a solved default [Song et al., 2026]. This work motivates our separation of final schema validity from task-specific scoring and our attention to where enforcement runs. Agent-evaluation research broadens the unit of analysis beyond the final answer. AgentBench, AgentBoard, BFCL, and TauBench show that tool calls, state transitions, cost, and implementation details affect observed reliability [Liu et al., 2024, Ma et al., 2024, Patil et al., 2025, Yao et al., 2025]. Path- and validator-centric evaluations go further: CORE scores full tool-use trajectories rather than terminal state alone [Michelakis et al., 2025], and deterministic structured validation of tool traces can overturn rankings based on string heuristics or LLM judges while exposing schema-valid but wrong arguments and fabricated tool use [Gurram, 2026]. Surveys similarly caution that framework abstractions, orchestration, and evaluation infrastructure can be part of the measured system rather than neutral plumbing [Mohammadi et al., 2025, Yehudai et al., 2026, Kapoor et al., 2025]. We therefore record implementation condition, task, sample, retries, latency, token counts when exposed, parsed output, task scores, and errors in a common row, and we score executed workflow evidence rather than proposal-only success. The task families draw on established data and business benchmarks. SQL generation follows execution-based evaluation traditions from Spider, BIRD, and Spider 2.0 [Yu et al., 2018, Li et al., 2023, Lei et al., 2025, Kim et al., 2025]. Document extraction follows form and invoice benchmarks such as FUNSD, SROIE, and DocILE [Jaume et al., 2019, Huang et al., 2019, Šimsa et al., 2023]. Compliance question answering and report summarization inherit grounding and hallucination concerns from retrieval-augmented generation and factuality research [Lewis et al., 2020, Ji et al., 2023]. Finally, benchmark cards and evaluation cards motivate explicit provenance and scope metadata [Sokol et al., 2025, Ghosh et al., 2026]. Security and AI-management guidance likewise emphasizes traceable controls, monitoring, and safe handling of model output rather than one-time approval [National Institute of Standards and Technology, 2024, OWASP Foundation, 2025, International Organization for Standardization, 2023]. The gap lies between these literatures. Structured-output benchmarks usually isolate schema adherence or constrained-decoding engines, while agent benchmarks emphasize tools and trajectories; business-task evaluations often report correctness without comparing the engineering boundary that accepted the output. This study connects schema enforcement, task-specific 4
Benchmark family
Typical unit of analysis
Gap relative to this protocol
Constrained decoding / JSON Schema benches (e.g., JSONSchemaBench, StructEval, SOB) Validity–correctness studies (e.g., Constraint Tax) Agent tool/state benches (e.g., AgentBench, CORE, tooltrace validators) Business-task evals (SQL, extraction, factuality) This protocol
Schema coverage, parseability, constraineddecoding engines
Rarely compares application-boundary implementations on matched business tasks with shared task scorers.
Paired validity vs. answer/executable accuracy Tools, trajectories, path or state success
Strong on metric separation; not a multiframework business-workflow harness.
Task correctness on domain data
Often report correctness without comparing the engineering boundary that accepted the output. Connects structural validity, task scoring, cost, and mechanism ablations under a frozen confirmatory plan.
Implementation condition × business task under shared schemas, scorers, and provenance
Often omit a shared schema-validity surface and an SDK reference that isolates provider enforcement.
Table 1: Related-work contrast. Structured-output benches emphasize decoding engines; validity– correctness studies separate metrics; agent benches emphasize tools and paths; this protocol compares application implementations on matched workflow contracts. scoring, and implementation cost under matched workflow inputs across six Python conditions, with a confirmatory matrix under a frozen analysis plan and labeled ablations for mechanism claims.
4
Research Questions and Hypotheses
The confirmatory study is organized around four questions and three pre-specified hypotheses about schema-validated business workflows. The hypotheses are stated at the systemconfiguration level: they concern matched integration paths under a shared model, harness, and scorers, not causal claims about marketed library features unless a labeled ablation activates that feature. RQ1: Execution coverage. Can every configured implementation–task path complete live API execution and emit a row that can be scored and aggregated by the shared reporting pipeline? RQ2: Measurement divergence. Under schema-validated execution, can an output recorded as schema valid still receive a lower task-specific score, and which candidate discrepancies does the deterministic audit procedure surface? RQ3: Comparative effects. After hardening the task instances, controls, and attempt-level instrumentation, how do implementation conditions differ on structural validity and task-specific correctness for matched workflow inputs? RQ4: Mechanisms and cost. Which observed differences can be attributed to provider enforcement, application validation, retry feedback, typed dependencies, optimization, or orchestration, and what latency, token, implementation, and maintenance costs accompany them? 5
Question
Current evidence
Admissible claim
RQ1
Hardened runners, provenance, and live execution paths across 30 implementation–task cells Structural flags, deterministic task scores, effective design counts Eligible confirmatory matrix under frozen power/equivalence settings Labeled ablation/stress rows and mechanism tables
Configured paths complete and enter the reporting pipeline under pinned model/package settings.
RQ2 / H1
RQ3 / H2– H3 RQ4
Schema validity can coexist with lower automated task scores; flags are candidates until human review. Instance-clustered paired contrasts vs plain SDK; condition×task residuals describe interactions. Causal attribution only for conditions that activate the claimed mechanism.
Table 2: Research-question and hypothesis evidence boundary for the confirmatory study. H1 (separability). Structural validity and task-specific correctness are separable outcomes: non-trivial rates of schema-valid rows will still fall below the automated quality threshold, especially on extraction and compliance tasks where fluent objects can omit entities or unsupported claims. H2 (binding-path heterogeneity). Under a shared model and lowest-common-denominator structured-output contract, implementation conditions will not be interchangeable. Typed or structured-binding paths (PydanticAI, LangGraph, DSPy in this package state) will outperform a plain SDK baseline and weaker adapter bindings on schema validity and automated quality. H3 (condition×task interaction). Performance gaps are not uniform additive shifts. Condition and task will interact: some tasks (e.g., summarization) compress differences, while others (e.g., workflow routing) amplify adapter failures even when the same condition succeeds elsewhere. RQ1 and RQ2 are answered by execution evidence and diagnostic contingency tables that report effective design counts alongside row counts. RQ3 is answered by the eligible confirmatory matrix under the frozen analysis plan in Table 6, with H1–H3 evaluated against that matrix. RQ4 requires labeled feature-using ablations and must not be inferred from LCD structured-output conditions alone. In particular, workflow claims require executed tool/state evidence, and DSPy optimization claims require the held-out optimized ablation rather than the untuned primary condition. Table 2 makes the evidence boundary explicit.
5
Benchmark Design
5.1
Design Overview
The benchmark uses matched inputs: each implementation condition receives the same task record, output schema, model family, and nominal retry limit. Framework-specific code binds these objects using the library’s native interface. The unit for comparative analysis is a distinct task instance, with repeated provider calls nested within that instance. The row field seed is treated as a replicate identifier unless a provider seed is actually set and verified. All six confirmatory conditions use explicit structured outputs. The primary matrix therefore compares integration paths under provider- or library-mediated schema enforcement; it does 6
Task
Input
Required output
Structured extraction SQL generation
Synthetic invoices and complaints Question and SQLite schema
Report summarization Compliance QA
Synthetic tabular and narrative report Synthetic policy and question
Workflow decision
Synthetic support request
Typed fields, optional values, confidence, and error state Query, explanation, referenced tables and columns, or refusal Headline, revenue summary, risks, recommendations, and outlook Answer, quoted citations, confidence, unsupported-claim list, and review flag Classification, proposed tool, extracted entities, recommendation, and review flag
Table 3: Task families in the current artifact. Condition
Confirmatory LCD mechanism
Interpretation limit
PydanticAI
Agent with a Pydantic output_type Provider JSON Schema response format followed by Pydantic parsing Structured model call wrapped in a small retry graph Untuned typed signature and Predict with application coercion One agent and one task with output_pydantic One agent with a Pydantic output schema
Validators/typed deps reserved for labeled ablations. Framework-free reference for provider enforcement plus local parsing.
Plain SDK
LangGraph DSPy
CrewAI Agno
Does not test a stateful business process or human interrupt. Does not test metric-driven optimization.
Does not test delegation or multi-agent coordination. Does not test tools, teams, or workflow state.
Table 4: Mechanisms exercised by the confirmatory lowest-common-denominator matrix. not compare typed output with unconstrained text. Mechanism claims require separate labeled conditions that change provider enforcement, application validation, validators, tools, graph state, or optimization while preserving the common scoring boundary.
5.2
Tasks
Table 3 summarizes the five task families. The name workflow decision is used because the LCD condition predicts a classification, tool name, and review flag; the confirmatory scorer additionally executes shared tool stubs and checks state-path evidence when present.
5.3
Implementation Conditions
Table 4 describes what the confirmatory LCD matrix exercises. This prevents framework capability from being inferred from features that were not active in the primary run.
5.4
Structural and Task-Specific Outcomes
For implementation condition f , task t, and rows Df,t , final schema validity is FinalValid(f, t) =
X 1 ⊮[vi = 1], |Df,t | i∈D f,t
7
(1)
Task
Confirmatory primary score
Hardening in the artifact
Extraction
Macro-average of normalized field matches Result-set equality under readonly checks Source-fact coverage with unsupported-content penalty Answer/citation support with unsupported-claim penalty Decision fields plus tool execution and state-path match
Distinct layouts/templates with template_id; label-derivability tests Separate fresh DBs for predicted vs gold; reject non-SELECT writes Forbidden-term penalty in quality score; blinded review packet Claim-grounding scores beyond empty-list exact match Shared tool stubs and expected state paths scored on every row
SQL Summarization Compliance QA Workflow
Table 5: Task-specific confirmatory scorers and hardening implemented in the executable artifact. where vi is the harness-boundary schema-valid flag after independent revalidation. Zero-retry success additionally requires the observed provider-call count to equal one (or recorded retries ri = 0 when calls are unavailable): ZRS(f, t) =
X 1 ⊮[vi = 1 ∧ ci = 1], |Df,t | i∈D
(2)
f,t
where ci is observed provider_calls. Task-specific scores are computed after the runner returns. Table 5 lists the confirmatory primary scores. Efficiency fields include elapsed time and provider token counts when exposed. Engineering fields include runner file count, nonblank lines, optional dependencies, and framework-specific markers. They describe the artifact surface, not developer productivity or maintainability.
5.5
Normalized Record and Scoring Boundary
Each call is serialized to a common row containing implementation condition, task, sample identifier, replicate label, harness-boundary schema validity, observed provider calls, latency, token counts, parsed output, a raw-output field when exposed, task sub-scores, a primary diagnostic score, an error string, and an optional trace-event list. The harness distinguishes runner-reported acceptance from independent revalidation against the committed task schema and attaches provenance hashes for configuration and scorers.
5.6
Fairness Rules
The protocol fixes shared task content, model settings, a maximum provider-call budget, schemas, and scoring code within each comparison. It randomizes or counterbalances condition order within matched input blocks and archives every deviation required by a library. DSPy optimization uses a development split and reports tuning calls separately; stateful and tool-using conditions report the additional actions they perform rather than being forced into a lowest-common-denominator label. Feature-using ablations are labeled separately from the primary matrix.
6
Experimental Setup and Analysis Plan
6.1
Confirmatory Configuration
The confirmatory run uses openai:gpt-4o-mini, six implementation conditions, five task families, and three nested replicates on distinct label-derivable instances (100 extraction and 50
8
per other task): 6 conditions × 3 replicates × (100 + 50 + 50 + 50 + 50) task rows = 5,400.
(3)
Effective sample size for comparative estimands is the number of distinct instances, not the nominal row total. The term seed in the row schema is retained for backward compatibility and interpreted as a replicate identifier unless a provider seed is actually set and verified. Eligibility required: (1) a common maximum number of observed provider calls; (2) attemptlevel retry and validation events; (3) uniform propagation of supported model settings; (4) independently revalidated outputs; (5) randomized or counterbalanced condition order within input blocks; (6) read-only SQL execution on separate fresh databases; and (7) stronger grounding and hallucination measures. Separately labeled feature-using ablations (validators, typed dependencies, retry budgets, orchestration, DSPy optimization) answer RQ4 and are not required to report the LCD confirmatory matrix. The eligible run confirmatory-5400-v1 satisfies the primary-matrix gate under the frozen analysis plan. Automated task scores are computed from stored parsed objects under deterministic scorers. Rows below the 0.99 quality threshold are reported as metric-flagged candidates, not confirmed semantic errors, until blinded human adjudication is complete.
6.2
Estimands and Hypotheses
The primary unit is a distinct task instance. Repeated calls are averaged within instance for continuous outcomes and retained as nested Bernoulli observations for structural outcomes. Each condition is compared with the framework-free SDK reference on the same instances; PydanticAI–Agno is the pre-specified secondary contrast for schema-oriented interfaces. Other pairwise comparisons are exploratory. The primary structural estimands are the paired difference in independently verified firstcall validity and final validity after a common call budget. The task estimand is a paired difference in the pre-specified task score after the metric hardening described in Table 5. Cost estimands include provider calls, tokens with a coverage indicator, and elapsed time after blocking or adjustment for randomized execution order. Failed calls remain in the intention-torun denominator. H1 is evaluated with schema-valid × quality-flag contingencies by task. H2 is evaluated with condition means and paired contrasts versus the SDK. H3 is evaluated with condition×task quality residuals after removing additive main effects. Confidence intervals resample distinct instances. Within each task, comparisons against the SDK reference use a Holm adjustment; unadjusted intervals and secondary diagnostics remain in the artifact. Equivalence margins and simulation-based power were frozen in benchmark/config/analysis_plan.json before launch. Table 6 summarizes approximate MDEs and equivalence power.
6.3
Engineering Outcomes
Static runner counts are reported in Appendix B rather than in the primary results, because adapter LOC and API-marker tallies describe artifact surface area only. Maintainability claims require a blinded schema-change exercise with recorded completion time, defects, and reviewer ratings. Traceability claims require populated attempt and process events; empty trace_events fields are not evidence of trace completeness.
7
Failure Classification
The protocol classifies evidence by the first observable layer at which a run departs from the intended contract: 9
Task
Instances
Approx. MDE (quality)
Equiv. power @ 0
Extraction SQL generation
100 50
0.024 0.034
0.999 0.986
Summarization
50
0.034
0.986
Compliance QA Workflow
50 50
0.034 0.034
0.986 0.986
Notes 3 nested replicates Distinct DB per instance Unsupported-content penalty Claim grounding Executed tool/state scoring
Table 6: Frozen instance-clustered power diagnostics from config/analysis_plan.json. MDEs are approximate paired mean differences for quality_score at 80% power (sd = 0.15, α = 0.05). Equivalence margins are ±0.05. These values replace nominal 5,400-row arithmetic as the confirmatory sample-size story. Transport or compatibility. Authentication, rate limits, timeouts, unsupported provider schemas, missing dependencies, or incompatible package APIs prevent an evaluable response. These are deployment failures, but they are not task-correctness errors. Parse or schema. A response cannot be decoded, fails the declared runtime model, or exhausts the common repair budget. Confirmatory records must distinguish provider rejection, framework-native validation, and independent benchmark revalidation. Task discrepancy. A schema-valid object differs from deterministic ground truth or receives a lower task-specific score. A threshold rule can select candidate discrepancies for audit; the label confirmed error is reserved for deterministic checks with valid ground truth or completed human adjudication. Process or state. A system chooses an unauthorized or incorrect tool, skips a review gate, loses state, or reports success without a supporting tool outcome. This category requires executed actions and process traces; the current single-call workflow-decision task can only flag proposed-decision mismatches. Silent degradation. A run is accepted by the application boundary but lacks enough evidence to support its disposition. Examples include a quote that appears in the source but does not entail the answer, an unsupported summary claim, or a valid object whose raw request/attempt evidence is missing. This taxonomy is diagnostic rather than mutually exclusive. One row may contain both a task discrepancy and a process flag. Counts are therefore reported per category with overlap made explicit, and deterministic selection rules are preserved alongside the selected examples.
8
Results
8.1
Confirmatory Primary Matrix (RQ1–RQ3)
The eligible confirmatory run confirmatory-5400-v1 completed 5,400 unique execution rows under the frozen analysis plan: six implementation conditions, five tasks, distinct instance counts of 100 + 50 + 50 + 50 + 50, and three nested replicates, with pilot=false. Every row carries a template_id, harness-boundary schema revalidation flags, observed provider_calls, and scorer/provenance hashes. RQ1 is therefore answered affirmatively for the configured matrix: all 30 implementation–task cells entered the shared reporting pipeline. Overall schema validity was 0.684 and mean automated quality was 0.638. Tables 7 and 8 show that these averages conceal a sharp two-regime pattern. PydanticAI and LangGraph 10
Condition
Extract
SQL
Summary
Compliance
Workflow
Overall
PydanticAI LangGraph DSPy Plain SDK Agno CrewAI
100.0 100.0 99.3 33.3 33.3 32.0
100.0 100.0 100.0 33.3 33.3 33.3
100.0 100.0 100.0 64.0 63.3 64.0
100.0 100.0 100.0 35.3 35.3 35.3
100.0 100.0 100.0 33.3 34.0 0.0
100.0 100.0 99.8 38.8 38.8 32.8
Task mean
66.3
66.7
81.9
67.7
61.2
68.4
Table 7: Confirmatory schema-validity rates (%) by implementation condition and task. Overall is row-weighted across the 5,400-row matrix.
Condition
Extract
SQL
Summary
Compliance
Workflow
Overall
PydanticAI LangGraph DSPy Plain SDK Agno CrewAI
0.921 0.922 0.890 0.307 0.307 0.292
0.873 0.880 0.760 0.293 0.287 0.280
0.992 1.000 1.000 0.640 0.631 0.640
0.973 0.976 0.981 0.345 0.345 0.345
0.928 0.941 0.944 0.308 0.313 0.000
0.935 0.940 0.911 0.367 0.365 0.308
Task mean
0.607
0.562
0.817
0.661
0.572
0.638
Table 8: Confirmatory mean automated quality by implementation condition and task. Quality metrics are task-specific (field accuracy, execution, grounding, etc.) under the shared scorers. achieved ceiling schema validity (100%) with mean quality 0.935–0.940; DSPy was nearly identical (99.8% schema validity; quality 0.911). Plain SDK and Agno clustered near 39% schema validity and quality ≈ 0.36, while CrewAI was lowest overall (32.8% schema validity; quality 0.308), including a complete structural collapse on the workflow task (0% schema-valid). These contrasts support H2 at the system-configuration level: under a shared model and LCD structured-output contract, binding paths are not interchangeable. They are not causal attributions to named library features; feature-using ablations are required for mechanism claims (RQ4).
8.2
Hypothesis Checks: Separability and Interactions
Table 9 evaluates H1. Across tasks, large numbers of schema-valid rows still fall below the 0.99 automated quality threshold—especially extraction (642 flags among 1,194 schema-valid rows) and compliance QA (370 among 609). Summarization is the exception: high schema validity coincides with few flags and the highest mean quality (0.817). Schema acceptance therefore cannot be read as task success. Table 10 evaluates H3 using additive residuals qf t − q̄f − q̄t + q̄. Positive cells outperform what condition and task means alone would predict; negative cells underperform. Two patterns stand out. First, summarization shows large positive residuals for the weaker binders (Plain SDK, Agno, CrewAI) and negative residuals for the strong binders: when the task is easier, the binding gap compresses. Second, CrewAI’s workflow residual (−0.243) and DSPy’s SQL residual (−0.076) show that failures concentrate in particular condition–task cells rather than as uniform level shifts. Interaction, not only main effects, is part of the confirmatory story. 11
Task
Rows
Designs
Schema-valid
Flagged (q < 0.99)
compliance_qa extraction multi_step sql_generation summarization
900 1800 900 900 900
50 100 50 50 50
609 1194 551 600 737
370 642 175 94 9
Mean q 0.661 0.606 0.572 0.562 0.817
Table 9: RQ2 contingency: schema-valid rows versus metric-flagged task discrepancies, with effective design counts (distinct sample_id).
Condition
Extract
SQL
Summary
Compliance
Workflow
PydanticAI LangGraph DSPy Plain SDK Agno CrewAI
+0.017 +0.013 +0.011 -0.028 -0.027 +0.015
+0.014 +0.015 -0.076 +0.002 -0.003 +0.047
-0.122 -0.120 -0.091 +0.094 +0.087 +0.152
+0.015 +0.013 +0.047 -0.045 -0.043 +0.014
+0.058 +0.066 +0.098 +0.006 +0.014 -0.243
Table 10: Condition×task interaction residuals for mean quality after removing additive condition and task effects (qf t − q̄f − q̄t + q̄). Positive cells outperform the additive baseline; negative cells underperform.
8.3
Paired Contrasts versus the SDK Reference
Paired instance-clustered contrasts versus the plain SDK (900 pairs, 300 clusters) are archived under inferential/. Pre-specified quality contrasts reinforce the two-regime pattern: PydanticAI minus plain SDK had mean difference 0.568 with 95% bootstrap CI [0.550, 0.585] (550/17/333 a-better/b-better/ties); LangGraph 0.573 [0.556, 0.590]; DSPy 0.544 [0.522, 0.566]. Agno was statistically compatible with the SDK (−0.002 [−0.006, 0.002]), while CrewAI was worse (−0.059 [−0.073, −0.045]). Analogous JSON summaries are retained with the result bundle.
8.4
Ablations for Mechanism Evidence (RQ4)
Labeled ablations test whether the confirmatory gap is explained by retries, domain validators, or typed dependencies rather than by the LCD binding path alone. Table 11 reports zero-retry versus final-after-budget conditions across all six implementations. Strong binders already succeed on the first call; weaker binders consume additional provider calls under the retry budget without matching the confirmatory-scale quality of PydanticAI/LangGraph/DSPy. Retries are therefore a cost center for fragile adapters, not a substitute for a reliable structured-output binding. Tables 12 and 13 isolate feature flags on PydanticAI. Enabling domain output validators leaves schema validity at ceiling and yields small quality lifts on compliance and workflow (Table 12). Typed dependencies are visible in traces and produce a modest overall quality increase relative to prompt-only context (Table 13). These mechanism increments are an order of magnitude smaller than the confirmatory gap between strong and weak binders, which supports treating H2 as primarily a binding-path finding while reserving larger RQ4 claims for broader feature-using and secondary-model campaigns.
12
Condition
Metric
PydanticAI
LangGraph
DSPy
Plain SDK
Agno
CrewAI
Zero-retry
schema quality provider_calls
100.0 0.925 1.00
100.0 0.934 1.00
80.0 0.741 1.00
100.0 0.926 1.00
80.0 0.730 1.00
60.0 0.555 1.00
After retry budget
schema quality provider_calls
100.0 0.923 1.00
100.0 0.934 1.00
80.0 0.741 1.60
100.0 0.926 1.00
80.0 0.739 1.60
60.0 0.555 2.20
Table 11: Updated zero-retry versus final-after-budget ablation (pilot matrix: 5 samples × 5 tasks, one replicate). Retry budget increases mean provider calls for weaker binders without closing the confirmatory-scale gap to strong binders.
Condition
Task
Schema%
Quality
Calls
Validators off
SQL Compliance Workflow
100.0 100.0 100.0
0.867 0.966 0.920
1.00 1.00 1.00
Validators on
SQL Compliance Workflow
100.0 100.0 100.0
0.867 0.973 0.933
1.00 1.00 1.00
Table 12: PydanticAI domain-validator ablation (15 instances × 3 replicates per cell). Enabling output validators yields small quality gains on compliance and workflow under an already ceiling schema-validity regime.
9
Discussion
9.1
From Hypotheses to Discriminating Contrasts
The confirmatory matrix was designed to test separability, binding-path heterogeneity, and interaction—not to crown a framework winner. After hardening (distinct instances, observed call budgets, boundary revalidation, and executed workflow scoring), the matrix produced discriminating structural and quality contrasts under a shared model and scoring boundary, consistent with H1–H3. The same run also validates the protocol machinery itself: instance-level analysis, nested replicates, frozen power and equivalence settings, harness-boundary validation, and attempt-level provenance. Nominal 5,400-row arithmetic is tied to that frozen plan rather than treated as effective N by itself. The pattern that PydanticAI, LangGraph, and DSPy retained higher recorded schema validity than the plain SDK, Agno, and CrewAI conditions in this package state is a system-level finding supporting H2. It should not be read as a claim that any library’s marketed features caused the difference: the primary matrix remains an LCD structured-output comparison, and CrewAI/Agno adapters remain sensitive to dependency and API surface changes. Feature-using ablations (validators, typed dependencies, stateful graphs, optimized DSPy) are the correct attribution step for RQ4.
13
Condition
Task
Schema%
Quality
Calls
Typed-deps trace
Prompt-only context
Compliance Workflow
100.0 100.0
0.973 0.911
1.00 1.00
0% 0%
Typed dependencies
Compliance Workflow
100.0 100.0
0.974 0.933
1.00 1.00
100% 100%
Table 13: PydanticAI typed-dependency ablation (15 instances × 3 replicates). Typed deps are observable in traces; quality differences remain small relative to the confirmatory LCD gap versus weaker binders.
9.2
What the Technology Stack Is Doing
The six conditions are best read as different ways of binding the same business contract to a model call, not as interchangeable “agent frameworks.” Modern APIs can constrain generation to a JSON Schema. That layer is necessary and powerful, but it is still a generation constraint: it increases the chance of a parseable object; it does not prove that invoice totals, SQL predicates, policy citations, or routing decisions are correct. The plain SDK reference exists to measure this baseline without application-framework mediation. Pydantic models, and agent wrappers built around them (here, PydanticAI), turn the contract into code the rest of the system can import, validate, and reject. In practice this changes the failure mode: instead of silently accepting a loosely shaped dict, the application can fail closed, retry with validation feedback, or route to review—consistent with evidence that external validate-and-retry loops can be more robust than relying on constrained decoding alone for complex schemas [Lee et al., 2025]. Near-ceiling schema validity in the confirmatory matrix for PydanticAI is therefore evidence that the typed boundary held under our harness—not evidence that field values were true. LangGraph-style graphs make control flow explicit: retry loops, conditional branches, tool nodes, and later human interrupts become inspectable state transitions. In the LCD confirmatory matrix the LangGraph adapter is still primarily a structured-call-plus-retry wrapper, so the high structural scores speak to reliable structured binding under that wrapper rather than to long-running stateful processes. Graphs buy auditability and recoverable control when the workflow itself is multi-step; they are overkill if the only need is a single validated object. DSPy, by contrast, treats prompts and intermediate structure as tunable programs evaluated against metrics. Untuned DSPy in the primary matrix behaves as another structured-output integration path; optimized holdouts are required before claiming that compilation or few-shot bootstrapping improved reliability. CrewAI and Agno emphasize role/task composition or a compact agent surface. Their lower confirmatory schema-validity and quality under this package state illustrate a different risk: framework convenience layers can change how schemas are passed, how tools are exposed, or how retries are counted. The lesson is not that those libraries cannot be made reliable, but that “supports structured output” in documentation is not the same as “survives a shared harness boundary.” Adapter and dependency pin choices are part of the reliability story. A central design choice in this artifact is independent revalidation at the benchmark boundary. Framework-reported success, provider acceptance, and application-schema acceptance can diverge. Path-aware agent evaluation makes the same point for tool sequences: terminal success can hide unsafe or inefficient intermediate actions [Michelakis et al., 2025]. Teams shipping business workflows need the same discipline: log what the provider returned, what the local schema accepted, and what the task scorer or reviewer decided, as three separate events.
14
9.3
What Lower Task Scores Still Show
Even among schema-valid rows, Table 9 shows metric-flagged discrepancies, especially in extraction and compliance QA. Runtime acceptance and automated task scoring continue to disagree. Blinded human adjudication of the confirmatory audit packet is required before interpreting flags as confirmed semantic error rates. The same divergence is now a recurring theme in structuredoutput measurement: Constraint Tax shows hard schemas can inflate wrong-valid-schema rates even as validity approaches 100% [Ray, 2026], and tool-agent audits show schema-valid wrong arguments can propagate into downstream failures that final-answer heuristics miss [Gurram, 2026]. Technically, this split is expected. Extraction and compliance are where fluent, schemashaped objects can still omit entities, invent unsupported claims, or miss grounding spans. Summarization’s much lower flag rate in the same matrix suggests that some task contracts are easier for current scorers—or easier for models under schema constraints—than others. Deployment teams should therefore budget evaluation effort by task risk, not by a single global “structured output works” dashboard, and should report validity and task correctness as separate operating metrics.
9.4
Implications for Engineering Practice
For engineering practice, the confirmatory picture supports a layered stack rather than a framework beauty contest. Start from an explicit schema and an SDK (or minimal) structuredoutput path so provider behavior is visible; add application validation when rejected or repaired objects are cheaper than silent corruption; add orchestration when the business process itself needs state, tools, approvals, or recoverable retries; and keep task-level scorers, audit logs, and review queues beside schema checks. Extra retries, graph nodes, and optimization loops consume tokens and latency and should be justified by measured lifts under a common call budget. Empty traces or framework-native “success” flags without boundary revalidation are weak evidence for production readiness. Practitioner guidance remains partially hypothesis-level for mechanism choice, but the confirmatory evidence already supports layered caution: schema acceptance is not task correctness; SDK references are necessary baselines; and framework adoption should be justified by measured gains on the team’s contracts. Section 10 develops the corresponding business-process mapping, stack selection narrative, and operating-model reading for analytics and risk owners.
10
Business Implications
The confirmatory matrix is a technical evaluation, but the tasks are business interfaces. Documents become records, questions become queries, policies become answers, and requests become routing decisions. Once an LLM output crosses that boundary, the organization is no longer debating model eloquence; it is deciding whether a value may enter a ledger, warehouse, case system, or approval queue. This section translates the evidence into deployment guidance for analytics, operations, and risk owners without upgrading system-configuration contrasts into vendor rankings.
10.1
Where Schema-Validated Workflows Show Up
Table 14 maps each benchmark family to a familiar enterprise process. The mapping is deliberate: these are not toy prompts, but the kinds of interfaces where a wrong field can post an invoice, a wrong predicate can leak a join, or a wrong escalation flag can leave a customer request unreviewed.
15
Task family
Business process
What “good” must mean operationally
Extraction SQL generation
Accounts payable / intake automation Self-serve analytics
Summarization
Management reporting
Compliance QA
Policy / controls advisory
Workflow decision
Tier-1 support / case routing
Fields are present and match the source document before posting. Query executes under least privilege and returns the intended grain. Claims are supported by the report; fluency is not enough. Answers cite the governing text and abstain when unsupported. Tool choice and human-review flags match operating procedure.
Table 14: Benchmark task families as business interfaces. Schema validity is an admission control for these processes, not a substitute for process controls. In all five cases the expensive failure is rarely an unparsable string. It is a well-formed object that looks operationally complete and therefore travels farther into the enterprise than a crash ever would. That is why schema dashboards can improve while process risk does not: the system has gotten better at admitting candidates, not necessarily better at admitting truth.
10.2
What the Confirmatory Evidence Means for Buyers and Builders
Under the claim boundary in Section 4, three business readings follow from the confirmatory run. Parseable is not postable. Overall schema validity of 0.684 with mean automated quality of 0.638, and frequent metric flags among schema-valid extraction and compliance rows, means finance and risk teams should not treat “JSON mode succeeded” as an approval to write to ERP, data warehouse, or case systems. Recent validity–correctness measurements make the same warning in different language when they urge separate reporting of schema validity and answer or executable accuracy [Ray, 2026]. Application schemas reduce malformed writes. Task checks and review queues still decide whether a record is trustworthy. Integration paths also differ under the same model. Near-ceiling structural performance for PydanticAI, LangGraph, and DSPy versus materially lower performance for the plain SDK, Agno, and CrewAI conditions in this package state shows that the binding layer between model and contract is itself a business risk factor. Procurement language that stops at “supports structured output” is therefore incomplete. Architecture reviews should ask how schemas are passed, how retries are counted, whether acceptance is revalidated at the application boundary, and whether an SDK baseline exists against which framework ceremony can be judged. Baselines prevent false confidence. Keeping an SDK reference is a governance practice as much as a research design. If a framework appears to win only because the baseline never enforced the same schema, the organization has bought ceremony rather than reliability. Conversely, if a typed or orchestrated path measurably reduces rejects, repair loops, or review burden on the team’s own contracts, the framework cost has a business justification that can be stated in operating terms rather than in vendor preference.
10.3
Choosing a Stack Without Buying a Slogan
Stack selection should begin with the contract and the system of record, not with a framework shortlist. An invoice line, SQL result set, policy answer with a citation span, or routing decision with a review flag is a business object first. Writing that schema—and naming where a rejected or uncertain object goes—clarifies whether the immediate need is shape control, process state, or metric-driven prompt search.
16
When the process is essentially one validated object and failures can fail closed, provider structured output plus an SDK path is often the right first experiment. It establishes what the model and provider already deliver before any orchestration tax is paid. Application validation and typed agents become valuable when silent shape drift is costly: posting, entitlements, and downstream joins are exactly the settings where fail-closed validation and explicit repair beat logging-only checks. Orchestration graphs earn their keep when the process needs state—repair loops, tool execution, approvals, or resumable work—not merely when structured extraction feels hard. Schemas address that class of problem first; graphs address durable control flow. Optimization loops such as DSPy are a second cycle around a contract that already has a stable metric and labeled examples. Without those, optimization amplifies the wrong objective with great efficiency. Multi-agent wrappers are optional composition after the contract boundary is proven. Role and task frameworks can help divide labor, but they must still survive the same schema and task gates that a single typed call would face. Across all of these choices, human review should be budgeted by task risk. In this study, extraction and compliance QA warranted more metric flags than summarization; high-impact writes should keep sampling review even when schema dashboards look green.
10.4
Operating Model: Controls, Cost, and Accountability
Business value appears when technical layers map cleanly onto operating controls. Provider constraints and application schemas are preventive controls: they decide what may enter the pipeline. Task scorers, audit packets, and human review are detective controls: they decide what may be trusted after entry. Retries and routing are corrective controls: they decide how the organization recovers when prevention fails. Confusing these roles produces a familiar failure mode in which dashboards report structural success while incorrect amounts or unsupported policy claims still move work downstream. Cost follows the same map. Extra provider calls, graph nodes, and optimization runs are operating expenses, not free reliability. They should be authorized against measured lifts on reject rates, repair time, or review burden under a declared call budget—the same discipline used in the frozen analysis plan. Empty traces and framework-native success flags without boundary revalidation are weak evidence for audit or change-control purposes, because they do not reconstruct what was accepted, why it was accepted, or what business check still remained open. Accountability should stay with the process owner. The benchmark does not certify unsupervised financial, compliance, or customer decisions. Schema-validated workflows are safest when they accelerate drafting and structuring work that still sits inside existing approval, logging, and least-privilege regimes. In that framing, the technology is an assistant to a controlled process rather than a substitute for one.
10.5
Limits of the Business Reading
These implications inherit the study’s limits: synthetic tasks, a primary model family, packagesensitive adapters, incomplete mechanism ablations, and unreviewed human-audit packets for semantic-error prevalence. They are decision aids for designing controls and evaluation programs. They are not a league table of vendors, and they are not a license to remove human oversight from high-impact workflows.
11
Threats to Validity and Limitations
Table 15 consolidates the main limitations of the confirmatory study and its ablations. Internal validity is limited by system-level attribution. A condition includes provider settings, framework APIs, adapter code, prompts, retry logic, and scorer behavior. Researcher familiarity 17
Threat
Consequence for this paper
Mitigation in the confirmatory design
Construct-limited scores
Automated flags are not humanconfirmed semantic error rates.
Implementation mismatch
The LCD matrix uses only a subset of each library’s advertised mechanisms. CrewAI/Agno surfaces can change with package versions. Clean templates may not represent document noise or production tools.
Deterministic scorers plus blinded audit packets; flags reported as candidates. Labeled feature-using ablations for RQ4; attribute results to concrete configurations. Pin versions in run provenance; retain SDK baseline. Stratify harder synthetic cases; report licensed public-data extensions separately. Pin versions; optional secondarymodel ablation subset. Expand ablations before mechanismlevel product claims.
Adapter fragility Synthetic data
Single model and time period Incomplete mechanism coverage
Provider behavior and library integrations can change. Retry/validator/typed-deps ablations do not exhaust RQ4.
Table 15: Primary validity threats, their effect on confirmatory claims, and mitigations. may also make one adapter more idiomatic than another. Confirmatory claims therefore refer to versioned implementation conditions and use feature ablations rather than treating a package name as the causal intervention. Construct validity is limited by the automated metrics. Exact or normalized field matching is suitable for deterministic synthetic fields, but policy entailment, summary factuality, and workflow completion require richer evidence. LLM judges can introduce position, verbosity, and self-preference biases [Zheng et al., 2023]; they should triage cases rather than replace deterministic checks and blinded human adjudication. The current human-audit packet is unreviewed. Conclusion validity for the confirmatory matrix rests on instance-clustered estimands, distinctinstance effective sample sizes, frozen equivalence margins, and Holm multiplicity as committed in config/analysis_plan.json. Ablation pilots with smaller per-cell n support directional mechanism evidence, not the same precision as the primary matrix. External validity is limited to synthetic business tasks, the primary model family, and the package state recorded in eligible run provenance. Results do not generalize to long-lived agents, human-shared control, production databases, regulated decisions, or adversarial inputs. Schema validation also does not address prompt injection, unsafe authorization, data leakage, or supply-chain risk [OWASP Foundation, 2025]. The benchmark evaluates one application boundary; it is not a security or deployment certification.
12
Artifact, Data, and Ethical Considerations
12.1
Availability and Provenance
The public code artifact is available at https://github.com/ULDataProfessor/ It contains the benchmark code, synthetic-data schema-validated-llm-workflows. generator, task schemas, prompts, six adapters, deterministic scorers, no-API tests, frozen analysis settings, and protocol documentation. The arXiv source archive rebuilds this manuscript and is not a substitute for that repository. Live result directories remain local by default (they are gitignored) and may be redistributed separately when redacted; cloning the repository alone is therefore sufficient to rerun the pipeline, but not to replay a specific archived result bundle without that bundle.
18
Eligible confirmatory and ablation runs record provenance fields in meta.json (command arguments, timestamps, package versions, git state, and configuration hashes). Claims that depend on a cited run should reference that run identifier and its archived aggregate records.
12.2
Data and Privacy
The current tasks use synthetic invoices, complaints, reports, policies, SQL databases, and support requests. They do not intentionally contain real customers, employees, accounts, or confidential organizational facts. No human-subject interaction was performed, and the empty human-audit worksheet is not human-participant data. Model traces can contain prompts, source documents, tool arguments, and generated text. A public release should retain metric-critical fields and cryptographic links to redacted payloads when full text cannot be redistributed. Redaction must be explicit: a reserialized parsed object is not a substitute for a raw provider response unless it is labeled as such. Future public-data extensions require dataset-specific licensing, privacy review, acquisition dates, and reproducible conversion scripts.
12.3
Responsible Interpretation
The benchmark does not certify any condition for unsupervised financial, compliance, or operational use. Schema-valid fields can appear authoritative after entering a database even when they are unsupported. High-impact deployments should combine runtime schemas with domain validation, least-privilege tools, abstention, review queues, audit logs, and monitoring. Full-matrix API calls also carry financial and environmental costs; token and call counts should be reported so that additional runs are proportionate to their evidentiary value.
13
Conclusion
Schema-validated LLM workflows need two measurements that practice often collapses into one: whether an output satisfies a runtime contract, and whether that accepted value is correct for the business task. This paper contributes a protocol that keeps those layers separable, a public executable artifact across six Python implementation conditions, and a confirmatory 5,400-row live-API matrix under a frozen analysis plan powered on distinct instances. The confirmatory evidence supports the working hypotheses at the system-configuration level. Structural validity and task quality diverge (H1), especially on extraction and compliance. Binding paths are heterogeneous under a shared LCD contract (H2): PydanticAI, LangGraph, and DSPy remain near ceiling while the plain SDK, Agno, and CrewAI conditions do not. Gaps are interactive (H3): summarization compresses differences, while particular cells—notably CrewAI on workflow routing—fail far beyond additive expectations. Practically, teams should treat provider-native JSON modes, application schemas, and task evaluators as complementary controls; keep an SDK baseline; and justify framework adoption with measured gains on their own contracts. Labeled ablations begin the RQ4 program (retry budgets; validators and typed dependencies on PydanticAI). Completed human adjudication of metric-flagged candidates, broader maintainability or stress claims, and full mechanism attribution remain open. For business deployment, Section 10 frames the same evidence as process controls: schemas as admission gates, task checks and review as detective controls, and framework choice as a measured investment rather than a default.
19
References Agno. Structured Output for Agents. https://docs.agno.com/input-output/ structured-output/agent, 2026. Accessed 2026-06-12. Anthropic. Structured outputs. https://platform.claude.com/docs/en/ build-with-claude/structured-outputs, 2026. Accessed 2026-06-12. Luca Beurer-Kellner, Marc Fischer, and Martin Vechev. Prompting is programming: A query language for large language models. arXiv preprint arXiv:2212.06094, 2023. CrewAI. CrewAI Documentation: Tasks. https://docs.crewai.com/en/concepts/tasks, 2026. Accessed 2026-06-12. Nick Ferguson, Josh Pennington, Narek Beghian, Aravind Mohan, Douwe Kiela, Sheshansh Agrawal, and Thien Hang Nguyen. ExtractBench: A benchmark and evaluation methodology for complex structured extraction. arXiv preprint arXiv:2602.12247, 2026. doi: 10.48550/ arXiv.2602.12247. Saibo Geng, Hudson Cooper, Michal Moskal, Samuel Jenkins, Julian Berman, Nathan Ranchin, Robert West, Eric Horvitz, and Harsha Nori. Generating structured outputs from language models: Benchmark and studies. arXiv preprint arXiv:2501.10868, 2025. doi: 10.48550/arXiv. 2501.10868. Avijit Ghosh, Anka Reuel, Jenny Chim, Wm. Matthew Kennedy, Srishti Yadav, Jennifer Mickel, Yanan Long, Andrew Tran, et al. Evaluation cards: An interpretive layer for AI evaluation reporting. arXiv preprint arXiv:2606.09809, 2026. doi: 10.48550/arXiv.2606.09809. Guardrails AI. The guard. https://guardrailsai.com/guardrails/docs/concepts/guard, 2026. Accessed 2026-06-12. Bhaskar Gurram. Measuring what tool-using LLM agents actually do: Structured validation, causal error propagation, and fabricated tool use. arXiv preprint arXiv:2604.16706, 2026. doi: 10.48550/arXiv.2604.16706. Zheng Huang, Kai Chen, Jianhua He, Xiang Bai, Dimosthenis Karatzas, Shijian Lu, and C. V. Jawahar. ICDAR2019 competition on scanned receipt OCR and information extraction. In 2019 International Conference on Document Analysis and Recognition, 2019. doi: 10.1109/ ICDAR.2019.00244. International Organization for Standardization. ISO/IEC 42001:2023 Artificial Intelligence Management System. https://www.iso.org/standard/42001, 2023. Accessed 2026-06-12. Guillaume Jaume, Hazim Kemal Ekenel, and Jean-Philippe Thiran. FUNSD: A dataset for form understanding in noisy scanned documents. arXiv preprint arXiv:1905.13538, 2019. doi: 10.48550/arXiv.1905.13538. Ziwei Ji, Nayeon Lee, Rita Frieske, Tiezheng Yu, Dan Su, Yan Xu, Etsuko Ishii, Ye Jin Bang, Andrea Madotto, and Pascale Fung. Survey of hallucination in natural language generation. ACM Computing Surveys, 55(12), 2023. doi: 10.1145/3571730. Sayash Kapoor, Benedikt Stroebl, Zachary S. Siegel, Nitya Nadgir, and Arvind Narayanan. AI Agents That Matter. Transactions on Machine Learning Research, 2025. URL https: //openreview.net/forum?id=Zy4uFzMviZ.
20
Omar Khattab, Arnav Singhvi, Paridhi Maheshwari, Zhiyuan Zhang, Keshav Santhanam, Sri Vardhamanan A, Saiful Haq, Ashutosh Sharma, Thomas T. Joshi, Hanna Moazam, Heather Miller, Matei Zaharia, and Christopher Potts. DSPy: Compiling declarative language model calls into state-of-the-art pipelines. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=sY5N0zY5Od. Heegyu Kim, Taeyang Jeon, Seunghwan Choi, Seungtaek Choi, and Hyunsouk Cho. FLEX: Expert-level false-less EXecution metric for text-to-SQL benchmark. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 4448–4475. Association for Computational Linguistics, 2025. doi: 10.18653/v1/2025.naacl-long.228. URL https://aclanthology.org/2025.naacl-long.228/. LangChain. LangGraph Overview. https://docs.langchain.com/oss/python/langgraph/ overview, 2026. Accessed 2026-06-12. Ivan Lee, Loris D’Antoni, and Taylor Berg-Kirkpatrick. Good-enough structured generation: A case study on JSON schema. In Deep Learning For Code in the Agentic Era (DL4C) Workshop at NeurIPS, 2025. URL https://ivanyeelee.com/assets/pdf/good-enough-struct.pdf. Fangyu Lei, Jixuan Chen, Yuxiao Ye, Ruisheng Cao, Dongchan Shin, Hongjin Su, Zhaoqing Suo, Hongcheng Gao, Wenjing Hu, Pengcheng Yin, Victor Zhong, Caiming Xiong, Ruoxi Sun, Qian Liu, Sida Wang, and Tao Yu. Spider 2.0: Evaluating language models on real-world enterprise text-to-SQL workflows. arXiv preprint arXiv:2411.07763, 2025. Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, Sebastian Riedel, and Douwe Kiela. Retrieval-augmented generation for knowledge-intensive NLP tasks. In Advances in Neural Information Processing Systems, 2020. Jinyang Li, Binyuan Hui, Ge Qu, Jiaxi Yang, Binhua Li, Bowen Li, Bailin Wang, Bowen Qin, Rongyu Cao, Ruiying Geng, Nan Huo, Xuanhe Zhou, Chenhao Ma, Guoliang Li, Kevin C. C. Chang, Fei Huang, Reynold Cheng, and Yongbin Li. Can LLM already serve as a database interface? a big bench for large-scale database grounded text-to-SQLs. arXiv preprint arXiv:2305.03111, 2023. Xiaoxi Li, Zhong Zhang, and Fangming Chen. SLOT: Structuring the output of large language models. arXiv preprint arXiv:2505.04016, 2025. Jason Liu and Contributors. Instructor: A library for structured outputs from large language models, 3 2024. URL https://github.com/567-labs/instructor. Documentation accessed 2026-06-12. Xiao Liu, Hao Yu, Hanchen Zhang, Yifan Xu, Xuanyu Lei, Hanyu Lai, Yu Gu, Hangliang Ding, Kaiwen Men, Kejuan Yang, Shudan Zhang, Xiang Deng, Aohan Zeng, Zhengxiao Du, Chenhui Zhang, Sheng Shen, Tianjun Zhang, Yu Su, Huan Sun, Minlie Huang, Yuxiao Dong, and Jie Tang. AgentBench: Evaluating LLMs as agents. In International Conference on Learning Representations, 2024. Yaxi Lu, Haolun Li, Xin Cong, Zhong Zhang, Yesai Wu, Yankai Lin, Zhiyuan Liu, Fangming Liu, and Maosong Sun. Learning to generate structured output with schema reinforcement learning. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 4905–4918, 2025.
21
Chang Ma, Junlei Zhang, Zhihao Zhu, Cheng Yang, Yujiu Yang, Yaohui Jin, Zhenzhong Lan, Lingpeng Kong, and Junxian He. AgentBoard: An analytical evaluation board of multi-turn LLM agents. In Advances in Neural Information Processing Systems, Datasets and Benchmarks Track, 2024. Panagiotis Michelakis, Yiannis Hadjiyiannis, and Dimitrios Stamoulis. CORE: Full-path evaluation of LLM agents beyond final state. arXiv preprint arXiv:2509.20998, 2025. doi: 10.48550/arXiv.2509.20998. Microsoft. TypeChat Documentation. https://microsoft.github.io/TypeChat/docs/faq/, 2026. Accessed 2026-06-12. Mahmoud Mohammadi, Yipeng Li, Jane Lo, and Wendy Yip. Evaluation and benchmarking of LLM agents: A survey. In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2, 2025. doi: 10.1145/3711896.3736570. National Institute of Standards and Technology. Artificial intelligence risk management framework: Generative artificial intelligence profile. Technical Report NIST AI 600-1, National Institute of Standards and Technology, 2024. URL https://nvlpubs.nist.gov/nistpubs/ ai/NIST.AI.600-1.pdf. Accessed 2026-06-12. OpenAI. Introducing structured outputs in the api. https://openai.com/index/ introducing-structured-outputs-in-the-api/, 2024. Accessed 2026-06-12. OpenAI. Structured model outputs. https://developers.openai.com/api/docs/guides/ structured-outputs, 2026. Accessed 2026-06-12. OWASP Foundation. OWASP Top 10 for LLMs and Gen AI Apps 2025. https://genai.owasp. org/llm-top-10/, 2025. Accessed 2026-06-12. Shishir G. Patil, Huanzhi Mao, Fanjia Yan, Charlie Cheng-Jie Ji, Vishnu Suresh, Ion Stoica, and Joseph E. Gonzalez. The berkeley function calling leaderboard (BFCL): From tool use to agentic evaluation of large language models. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 48371– 48392. PMLR, 2025. URL https://proceedings.mlr.press/v267/patil25a.html. Pydantic. Pydantic Validation Documentation. https://pydantic.dev/docs/validation/ latest/get-started/, 2026a. Accessed 2026-06-12. Pydantic. Pydantic AI Documentation. https://pydantic.dev/docs/ai/overview/, 2026b. Accessed 2026-06-12. Pydantic. Pydantic AI: Dependencies. https://pydantic.dev/docs/ai/core-concepts/ dependencies/, 2026c. Accessed 2026-06-12. Pydantic. Pydantic AI: Output. https://pydantic.dev/docs/ai/core-concepts/output/, 2026d. Accessed 2026-06-12. Pydantic. Pydantic AI: Function tools. https://pydantic.dev/docs/ai/tools-toolsets/ tools/, 2026e. Accessed 2026-06-12. Jaideep Ray. The constraint tax: Measuring validity–correctness tradeoffs in structured outputs for small language models. arXiv preprint arXiv:2605.26128, 2026. doi: 10.48550/arXiv.2605. 26128.
22
Štěpán Šimsa, Milan Šulc, Michal Uřičář, Yash Patel, Ahmed Hamdi, Matěj Kocián, Matyáš Skalický, Jiří Matas, Antoine Doucet, Mickaël Coustaty, and Dimosthenis Karatzas. DocILE benchmark for document information localization and extraction. arXiv preprint arXiv:2302.05658, 2023. doi: 10.48550/arXiv.2302.05658. Abhinav Kumar Singh, Harsha Vardhan Khurdula, Yoeven D. Khemlani, and Vineet Agarwal. The structured output benchmark: A multi-source benchmark for evaluating structured output quality in large language models. arXiv preprint arXiv:2604.25359, 2026. Anna Sokol, Elizabeth Daly, Michael Hind, David Piorkowski, Xiangliang Zhang, Nuno Moniz, and Nitesh V. Chawla. BenchmarkCards: Standardized documentation for large language model benchmarks. In Advances in Neural Information Processing Systems, Datasets and Benchmarks Track, 2025. doi: 10.48550/arXiv.2410.12974. URL https://arxiv.org/abs/ 2410.12974. Yewei Song, Prateek Rajput, Tiezhu Sun, Saad Ezzini, Tegawendé F. Bissyandé, and Jacques Klein. Empirical study for structured output control in LLMs for software engineering. arXiv preprint arXiv:2606.09395, 2026. doi: 10.48550/arXiv.2606.09395. Stanford NLP. DSPy documentation. https://dspy.ai/, 2026. Accessed 2026-06-12. Sönke Tenckhoff, Mario Koddenbrock, and Erik Rodner. LLMStructBench: Benchmarking large language model structured data extraction. arXiv preprint arXiv:2602.14743, 2026. doi: 10.48550/arXiv.2602.14743. Brandon T. Willard and Rémi Louf. Efficient guided generation for large language models. arXiv preprint arXiv:2307.09702, 2023. Jialin Yang, Dongfu Jiang, Lipeng He, Sherman Siu, Yuxuan Zhang, Disen Liao, Zhuofeng Li, Huaye Zeng, Yiming Jia, Haozhe Wang, Benjamin Schneider, Chi Ruan, Wentao Ma, Zhiheng Lyu, Yifei Wang, Yi Lu, Quy Duc Do, Ziyan Jiang, Ping Nie, and Wenhu Chen. StructEval: Benchmarking LLMs’ capabilities to generate structural outputs. Transactions on Machine Learning Research, 2026. URL https://openreview.net/forum?id=buDwV7LUA7. Shunyu Yao, Noah Shinn, Pedram Razavi, and Karthik R. Narasimhan. τ -bench: A benchmark for tool-agent-user interaction in real-world domains. In International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=roNSXZpUDN. Asaf Yehudai, Lilach Eden, Alan Li, Guy Uziel, Yilun Zhao, Roy Bar-Haim, Arman Cohan, and Michal Shmueli-Scheuer. A survey on evaluation of LLM-based agents. In Findings of the Association for Computational Linguistics: ACL 2026, pages 26690–26714. Association for Computational Linguistics, 2026. doi: 10.18653/v1/2026.findings-acl.1330. URL https: //aclanthology.org/2026.findings-acl.1330/. Tao Yu, Rui Zhang, Kai Yang, Michihiro Yasunaga, Dongxu Wang, Zifan Li, James Ma, Irene Li, Qingning Yao, Shanelle Roman, Zilin Zhang, and Dragomir Radev. Spider: A large-scale human-labeled dataset for complex and cross-domain semantic parsing and text-to-SQL task. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, 2018. Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric P. Xing, Hao Zhang, Joseph E. Gonzalez, and Ion Stoica. Judging LLM-as-a-judge with MT-Bench and chatbot arena. In Advances in Neural Information Processing Systems, 2023.
23
A
Reproducibility Appendix
A.1
Repository Layout
The public code artifact schema-validated-llm-workflows. from that repository.
is https://github.com/ULDataProfessor/ Manuscript sources are maintained separately
Listing 1: Relevant public-artifact layout. . |-- docs/ |-- scripts/cloud/ ‘-- benchmark/ |-- config/ |-- data/schemas/ |-- data/synthetic/ |-- tasks/ |-- frameworks/ |-- eval/ |-- scripts/ ‘-- results/
# Protocol and audit documentation # Optional cloud provisioning helpers # Model, trial, ablation, stress settings # Shared task schemas # Generated JSONL (ignored by Git by default) # Shared prompt construction # Six implementation adapters # Scoring, audit, and reporting code # Generation and run commands # Run bundles (ignored by Git by default)
The synthetic JSONL files and result directories are deliberately ignored by Git because live outputs may be large or sensitive. A reproducible result release must therefore archive them explicitly; cloning the code repository alone is sufficient to regenerate data and rerun the pipeline, but not to replay a cited result directory without that directory.
A.2
Environment and No-API Checks Listing 2: Local setup and no-API validation.
cd benchmark python -m venv .venv source .venv/bin/activate pip install -e ".[all]" python scripts/generate_synthetic_data.py python -m pytest tests python scripts/plan_matrix.py python scripts/check_readiness.py --dry-run python scripts/run_benchmark.py --all --pilot --dry-run
The project specifies dependency lower bounds rather than a lock file. Eligible runs write an environment snapshot to meta.json; bit-for-bit recreation additionally benefits from an exported lock or fully resolved package list.
A.3
Live Run Workflow Listing 3: Pilot and confirmatory run entry points.
# After provider keys and optional imports pass readiness checks: python scripts/check_readiness.py --pilot python scripts/run_benchmark.py --all --pilot --run-id <pilot_id> # Launch only after the hardening gate in Section 6 passes: python scripts/check_readiness.py python scripts/run_benchmark.py --all --all-seeds --run-id <full_id>
24
# Resume uses the same id and validates compatible metadata: python scripts/run_benchmark.py --all --all-seeds \ --run-id <full_id> --resume
The runner writes each completed row before the next call. Current metadata capture records command arguments, timestamps, Python and platform versions, selected package versions, git state, and hashes for committed configuration files. An eligible release must additionally record prompt, schema, scorer, and adapter versions plus the attempt-level fields specified in Section 5.
A.4
Result Bundle Listing 4: Minimum result-bundle structure.
benchmark/results/<run_id>/ |-- meta.json |-- trials.jsonl |-- summary.json |-- tables.tex |-- result_card.md |-- artifact_audit.{md,json} |-- claim_records.{md,json} |-- failure_examples.{md,json} |-- human_audit.{md,csv,json} |-- human_audit_summary.{md,json} |-- cost_analysis.{md,json} ‘-- paired_<comparison>.json
# required for comparative claims
trials.jsonl is the authoritative metric source; summaries and tables are derived. A public bundle may replace sensitive raw payloads with encrypted files, redacted excerpts, or hashes, but it must state what was removed and retain enough structured evidence to recompute the reported diagnostics. Historical rows that contain a reserialized parsed object in raw_output must be labeled as such.
A.5
Paper and Release Checks Listing 5: Release checks from the repository root.
python scripts/check_release_readiness.py \ --json-output release_readiness.json \ --markdown-output release_readiness.md cd paper make check make package
The release checker runs no-API benchmark tests, manifest validation, the LaTeX build, bibliography and cross-reference checks, and pilot claim-scope checks. The paper packager follows LATEX input dependencies so generated tables are included in the arXiv source archive. These checks establish internal consistency, not empirical correctness. For a public release, the extracted manuscript source archive should compile in a clean directory, and any redistributed result bundle should be checked for absolute local paths, usernames in archive headers, secrets, provider-restricted content, and missing generated data. The public code URL for this project is https://github.com/ULDataProfessor/ schema-validated-llm-workflows.
25
B
Implementation and Ablation Patterns
The confirmatory LCD matrix uses the structured-output mechanisms summarized in Table 4. This appendix records the stronger implementation boundaries required for mechanism attribution; the examples are design specifications for feature-using ablations unless a labeled run activates them.
B.1
Independent Acceptance Boundary
Every adapter should return a candidate plus native evidence. The benchmark, rather than the adapter, then performs the final shared-schema check: Listing 6: Independent benchmark-boundary validation. def accept_candidate(task, native_result, schema): candidate = native_result.candidate try: value = schema.model_validate(candidate) benchmark_valid = True validation_error = None except ValidationError as exc: value = None benchmark_valid = False validation_error = str(exc) return TrialRecord( task=task.name, native_accepted=native_result.accepted, benchmark_valid=benchmark_valid, provider_attempts=native_result.provider_attempts, retry_events=native_result.retry_events, request_hash=native_result.request_hash, parsed_output=value, validation_error=validation_error, )
This boundary preserves three facts that must not be conflated: whether the provider accepted the request, whether the library returned a typed object, and whether the shared benchmark schema accepted the candidate. Attempt counts must be derived from observed provider calls rather than a runner-local counter.
B.2
Feature-Using PydanticAI Condition
PydanticAI’s application-level value cannot be tested by output_type alone. A feature-using ablation should add a domain validator whose effect is observable and scored. For SQL, the validator can reject non-read-only queries and run a safe check on an isolated database: Listing 7: Illustrative PydanticAI domain-validator condition. from pydantic_ai import Agent, ModelRetry, RunContext agent = Agent( model, output_type=SQLGenerationResult, deps_type=ReadOnlyDatabaseFactory, output_retries=common_repair_budget, )
26
@agent.output_validator async def validate_sql( ctx: RunContext[ReadOnlyDatabaseFactory], result: SQLGenerationResult, ) -> SQLGenerationResult: if not is_single_read_only_select(result.sql): raise ModelRetry("Return one read-only SELECT statement.") with ctx.deps.fresh_database() as connection: if not explain_succeeds(connection, result.sql): raise ModelRetry("The query does not compile on the supplied schema.") return result
The comparison should include the same provider mode with this validator disabled. A reported gain must identify whether it comes from rejection, successful repair, or safer review routing and must include the additional calls and latency [Pydantic, 2026d,c].
B.3
Mechanism-Specific Conditions
Table 16 defines the minimum active condition and trace evidence for each mechanism-level comparison. These are requirements for RQ4 ablations, not automatic properties of the LCD confirmatory matrix. Mechanism
Minimum active condition
Required evidence
Provider enforcement
Strict schema mode versus relaxed generation with the same final validator Common call budget with and without validation feedback Versioned resource passed through a typed boundary and an executed tool Multiple nodes, persisted state, and a review or recovery interrupt Frozen train/development/test split and declared optimizer
Exact request mode, provider acceptance, parse result, and independent validity
Retry feedback Typed dependencies/tools Graph state
DSPy optimization
Attempt count, feedback text or hash, retry cause, final status, tokens, and latency Dependency version, validated arguments, authorization, tool result, and final disposition State transitions, checkpoint/restart evidence, approval decision, and executed outcome Optimizer configuration, development calls and cost, compiled program, and held-out results
Table 16: Evidence required to attribute an outcome to a concrete mechanism rather than a framework label.
B.4
Adapter Surface Diagnostics
Table 17 reports static counts from the current runner directories. The counter excludes tests and counts nonblank Python lines plus visible framework-specific API markers. These numbers describe adapter surface area; they do not measure developer effort or maintainability and are not used for ranking.
B.5
Schema-Change Exercise
Maintainability would be evaluated with a versioned change request, not line count alone. A representative exercise would add a required evidence span and explicit review disposition to the compliance output. Each implementation would receive the same change specification and failing tests. The resulting artifact would record files touched, elapsed implementation and
27
Condition
Files
LOC
Markers
Optional dependencies
PydanticAI Plain SDK LangGraph Agno DSPy CrewAI
1 1 1 1 1 1
162 146 193 142 217 237
2 7 6 3 6 6
pydantic-ai none beyond shared dependencies langgraph, langchain-openai agno dspy crewai
Total
6
1,097
30
–
Table 17: Static surface of the current implementation adapters. LOC and marker counts are descriptive artifact diagnostics, not maintainability ratings. debugging time, test failures, backward-compatibility decisions, and a blinded reviewer rating. No maintainability result is claimed in this manuscript.
28
Related documents
- Scepsy: Serving Agentic Workflows Using Aggregate LLM Pipelines#1105012
- Harness Engineering in LLM Tool Use via Agent-Native Reusable Tool Primitives#822166
- One Run Is Not Enough: A Monte Carlo Protocol for Evaluating LLM Reliability on Data Science Tasks#1626142
- One Run Is Not Enough: A Monte Carlo Protocol for Evaluating LLM Reliability on Data Science Tasks#1598869
- AgenTest: Mining Business Rules to Test LLM Agents for Business Logic Bugs#1412091
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive