patch_column
Extend a validated research table by adding a new column. Preview cost estimate, then approve to run validation with caching for existing columns.
Instructions
Add a new column to a completed validation table.
If confirmed=False, returns a cost ceiling estimate (max-case: all rows x all columns x per_cell_cost x 1.25; likely much less if run within 1 day of original validation due to cache).
If confirmed=True, adds column header to source Excel, runs validation with updated config (old columns hit cache, new column fully validated), merges new column results into output Excel. No QC on column patch runs (single-column QC is not meaningful; full-table QC ran on the original validation).
Only available after full validation completes (status=completed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID of a completed validation. | |
| column_name | Yes | Name of the new column to add. | |
| validation_target | Yes | Validation target spec for the new column (same structure as config.validation_targets entries). | |
| confirmed | No | Set True to approve and trigger the ColPatch run. Set False (default) to see the cost estimate first. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |