SybilGambleyyu commited on
Commit
dd64c92
·
verified ·
1 Parent(s): 76254ba

Add WCAB 0.25 workbook-structure protection case

Browse files

Mirror WCAB 0.25.0 source documentation, manifest, and deterministic workbookProtection lockStructure fixture.

CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
  # Changelog
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ## 0.24.0 — 2026-08-03
4
 
5
  - Add a deterministic stored Excel error-checking suppression case. Its
 
1
  # Changelog
2
 
3
+ ## 0.25.0 — 2026-08-03
4
+
5
+ - Add a deterministic workbook-structure-protection case. It retains a hidden
6
+ `ReviewControls` sheet and `Inputs!D2=B2*C2` formula while raw
7
+ `workbookProtection/@lockStructure` moves from `1` to `0`; every package
8
+ member except `xl/workbook.xml` remains unchanged.
9
+ - Add the exact `workbook_structure_lock_removed` fact, a narrow raw
10
+ workbook-protection validator, workbook-XML-only package isolation check,
11
+ and corruption regressions. WCAB records a stored operational control only:
12
+ it does not test a password, encryption, authentication, authorization, or
13
+ Excel-client sheet-operation behavior.
14
+ - Extend the optional FormulaFence adapter to require the exact non-secret
15
+ `workbook_protection_changed` transition and high-severity `FF022`, while
16
+ WCAB independently proves the raw control, stable hidden-sheet/formula
17
+ context, and package boundary.
18
+
19
  ## 0.24.0 — 2026-08-03
20
 
21
  - Add a deterministic stored Excel error-checking suppression case. Its
README.md CHANGED
@@ -1,105 +1,386 @@
1
- ---
2
- pretty_name: Workbook Change Assurance Benchmark
3
- license: mit
4
- language:
5
- - en
6
- tags:
7
- - excel
8
- - spreadsheet
9
- - benchmark
10
- - audit
11
- - testing
12
- - ci
13
- size_categories:
14
- - n<1K
15
- configs:
16
- - config_name: default
17
- data_files:
18
- - split: train
19
- path: manifest.jsonl
20
- ---
21
-
22
- # Workbook Change Assurance Benchmark (WCAB)
23
-
24
- WCAB is an open, deterministic benchmark for tools that review changes to
25
- Excel workbooks. Each of its 39 synthetic cases supplies a baseline workbook,
26
- a candidate workbook, explicit observable change facts, a reference review
27
- disposition, documented coverage boundaries, and—in relevant cases—a
28
- machine-matchable coverage expectation.
29
-
30
- The dataset's machine-readable entry point is `manifest.jsonl`: one JSON
31
- record per case. Every record includes the full truth contract plus exact
32
- relative workbook paths, byte counts, and SHA-256 digests. The corresponding
33
- binary fixtures live under `fixtures/`.
34
-
35
- ## What this evaluates
36
-
37
- WCAB targets spreadsheet-change assurance: whether a diff tool, policy gate,
38
- static analyzer, or editing agent preserves material review evidence when a
39
- workbook changes. The current cases include formula-to-value replacements,
40
- reference drift, input propagation, external references, named ranges,
41
- controls, calculation state, cycles, structural changes (including an Excel
42
- Table scope expansion with unchanged structured-reference text, a newly
43
- introduced `INDIRECT` reference, unchanged `INDIRECT`/`OFFSET` formulas whose
44
- dynamic selectors change, an external-data connection that begins refreshing
45
- when the workbook opens, a local worksheet-backed PivotTable cache whose
46
- stored `refreshOnLoad` request becomes enabled while its source, stored report
47
- cells, and direct dashboard formula remain fixed, a local PivotTable value
48
- field whose stored `subtotal` changes from `sum` to `average` while its source,
49
- cache, and stored report cells remain fixed, a local PivotTable Slicer cache
50
- whose selected `Region` item moves from `North` to `South` while its source,
51
- cache, and stored report cells remain fixed, a connection-only Power Query M
52
- definition over a local `SourceData` Table whose stored filter literal moves
53
- from `North` to `South` while its cells, table, metadata, and permissions
54
- remain fixed, a selected locked Scenario Manager declaration whose stored
55
- alternate `Inputs!B2` value moves from `0.08` to `0.16` while its visible
56
- worksheet cells, formulas, second input, selection/protection metadata, and
57
- calculation properties remain fixed, a column-oriented one-variable What-If
58
- Data Table whose raw master changes its local input reference from `B2` to `B3`
59
- while its output range, input grid, ordinary formulas, and saved table results
60
- remain fixed, a list data-validation rule whose stored source switches between
61
- two local status ranges while its target, metadata, source values, and ordinary
62
- formulas remain fixed, a `cellIs` conditional-formatting rule whose stored
63
- exception threshold moves while its target, priority, operator, differential
64
- fill, and worksheet values remain fixed, a custom number-format declaration
65
- whose code moves while its target style, raw value, and formula context remain
66
- fixed, a stored Excel error-checking declaration whose formula-range suppression
67
- is added while its ordinary cells and formula context remain fixed, and a
68
- Dashboard DrawingML chart
69
- whose stored numeric-series reference changes while its source cells, anchor,
70
- and other chart references remain fixed), an unchanged external-workbook formula
71
- whose `never`-to-`always` open-time update policy changes, an unchanged
72
- direct circular formula whose iterative-calculation setting becomes enabled, an
73
  unchanged precision-sensitive input and formula whose calculation switches to
74
- precision as displayed, an unchanged legacy-CSE array formula that switches to
75
- dynamic-array semantics, a saved numeric formula result that changes despite
76
- an unchanged formula and direct input, a workbook-wide 1900-to-1904
77
- serial-date-system setting change with a stable numeric serial, date format,
78
- and local formulas, an active worksheet AutoFilter criterion change with a
79
- stable `SUBTOTAL` and downstream formula, and a small multi-workbook
80
- portfolio.
81
-
82
- The benchmark does **not** evaluate Excel formula execution or claim that
83
- candidate numerical results are correct. `review_expectation` is a transparent
84
- benchmark convention, not a universal business policy. Consumers should retain
85
- each case's `coverage` boundary, disclose applicable `coverage_expectations`,
86
- and report unsupported features explicitly.
87
-
88
- ## Use
89
-
90
- Download `manifest.jsonl` to enumerate the cases, then retrieve the referenced
91
- fixture files. Verify each downloaded workbook with its SHA-256 digest before
92
- running an evaluator. The source repository includes a local validator and a
93
- deterministic fixture generator:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
 
95
  ```bash
96
- git clone https://github.com/SybilGambleyyu/workbook-change-benchmark
97
- cd workbook-change-benchmark
98
  python -m venv .venv
99
  .venv/bin/python -m pip install -e '.[dev]'
 
 
 
100
  wcab validate --fixtures fixtures
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  ```
102
 
103
- See the [source repository](https://github.com/SybilGambleyyu/workbook-change-benchmark)
104
- for the truth schema, tool-neutral observation protocol, validation contract,
105
- and releases. The dataset is MIT licensed.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Workbook Change Assurance Benchmark
2
+
3
+ `WCAB` is an open, reproducible benchmark for tools that review changes to
4
+ Excel workbooks. It supplies paired baseline/candidate workbooks, explicit
5
+ change facts, dependency-impact lower bounds, scoreable analysis-boundary
6
+ disclosures, and a small validator. Its purpose is not to test whether a model
7
+ can *write* a formula; it tests whether
8
+ a reviewer or CI gate can explain whether a workbook change is safe to accept.
9
+
10
+ The first release is deliberately synthetic and open by construction. Every
11
+ workbook is generated from source code in this repository, so no private model
12
+ or recovered business data is redistributed.
13
+
14
+ ## Why this benchmark exists
15
+
16
+ Spreadsheets are commonly changed outside conventional version control, while
17
+ formula changes can alter a model's behaviour. Existing public resources are
18
+ valuable but target adjacent questions:
19
+
20
+ - [Modified EUSES](https://spreadsheets.sai.tugraz.at/index.php/corpora-for-benchmarking/euses/)
21
+ supplies injected formula faults and result-cell test decisions.
22
+ - [VEnron](https://researchportal.hkust.edu.hk/en/publications/venron-a-versioned-spreadsheet-corpus-and-related-evolution-analy/)
23
+ recovers real workbook version history, but its recovered history does not
24
+ say which changes should block a review gate.
25
+ - [SpreadsheetBench](https://github.com/RUCKBReasoning/SpreadsheetBench)
26
+ evaluates spreadsheet manipulation tasks.
27
+ - Recent [formula-repair work](https://www.microsoft.com/en-us/research/publication/benchmark-dataset-generation-and-evaluation-for-excel-formula-repair-with-llms/)
28
+ evaluates repair of runtime formula errors.
29
+
30
+ WCAB fills the change-assurance gap: every case records an observable change
31
+ fact, the intended review disposition, and the static impact that a conservative
32
+ tool should not miss. It is useful for spreadsheet-diff tools, CI policy
33
+ gates, static analyzers, and agent workflows that propose workbook edits.
34
+
35
+ ## Scope and non-goals
36
+
37
+ Version `0.25` covers formula-to-value replacements, formula reference drift,
38
+ value changes with downstream effects, external formula references, named
39
+ ranges, data validation, conditional formatting, sheet visibility, direct cell
40
+ and workbook-structure protection, calculation settings, static cycles,
41
+ portfolio dependencies, formula refactors, 3-D-reference scope changes, and Excel Table scope changes
42
+ that leave a structured-reference formula textually unchanged. It also covers
43
+ new `INDIRECT` references whose dependency target comes from workbook text,
44
+ unchanged `INDIRECT` and `OFFSET` formulas whose address or displacement driver
45
+ changes, an external-data connection whose refresh-on-open behavior changes
46
+ without any worksheet-cell edit, and an external-workbook link policy that
47
+ switches from never to always updating when the workbook opens. It also covers
48
+ an unchanged direct circular formula that enables iterative calculation, an
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  unchanged precision-sensitive input and formula whose calculation switches to
50
+ precision as displayed, and an unchanged array formula switching from a fixed
51
+ legacy CSE output range to dynamic-array semantics. It also covers a saved
52
+ numeric formula result changing while its formula, direct input, calculation
53
+ metadata, and local downstream reference remain unchanged.
54
+ It also covers a workbook-wide 1900-to-1904 date-system control change while
55
+ an explicit compatibility control, a raw numeric serial, its date number
56
+ format, and local formulas remain unchanged. It does not infer an Excel-client
57
+ display or calculate a converted date.
58
+ It also covers a workbook structure lock changing from enabled to disabled
59
+ while a hidden `ReviewControls` sheet and `Inputs!D2=B2*C2` formula remain
60
+ unchanged. It records only raw `workbookProtection/@lockStructure`: it does not
61
+ test a password, encryption, authentication, authorization, or whether a client
62
+ will permit a particular sheet operation.
63
+ It also covers an active worksheet AutoFilter criterion moving from `North` to
64
+ `South` while `Report!D2=SUBTOTAL(109,B2:B5)` and its `Dashboard!B4` consumer
65
+ remain unchanged. It records the stored control only: it does not apply a
66
+ filter, calculate a subtotal, infer visible rows, or claim a display or print
67
+ outcome.
68
+ It also covers a local worksheet-backed PivotTable cache whose raw
69
+ `refreshOnLoad` control changes from false to true while its source cells,
70
+ stored `Report!A1:B2` display cells, and `Dashboard!B4=Report!$B$2` consumer
71
+ remain unchanged. It records only the stored open-time request: it does not
72
+ open Excel, refresh the cache, calculate or render the PivotTable, or claim a
73
+ changed report result.
74
+ It also covers a local worksheet-backed PivotTable value field whose raw
75
+ `dataField/@subtotal` moves from `sum` to `average` while its source cells,
76
+ cache records, stored `Report!A1:B2` display cells, and
77
+ `Dashboard!B4=Report!$B$2` consumer remain unchanged. It records only the
78
+ stored aggregation declaration: it does not open Excel, refresh, calculate, or
79
+ render the PivotTable, infer a changed displayed value, or claim client
80
+ behavior.
81
+ It also covers a relationship-backed local PivotTable Slicer cache whose
82
+ stored `Region` selection moves from `North` to `South` while its source cells,
83
+ PivotCache, stored `Report!A1:B2` display cells, and
84
+ `Dashboard!B4=Report!$B$2` consumer remain unchanged. It records Slicer-cache
85
+ item state only: it does not create a visual Slicer or drawing, apply the
86
+ filter, refresh, calculate, or render the PivotTable, infer a changed report
87
+ result, or claim client behavior.
88
+ It also covers a connection-only local Power Query whose stored M
89
+ `Table.SelectRows` filter moves from `North` to `South` over the generated
90
+ `SourceData` Excel Table. Source cells, the table definition, calculation
91
+ properties, metadata, and permission controls remain unchanged. It records the
92
+ stored M definition only: it does not execute M, apply a filter, refresh a
93
+ query, materialize output, calculate formulas, infer returned rows, or claim
94
+ client behavior.
95
+ It also covers a selected, locked Scenario Manager declaration whose stored
96
+ alternate `Inputs!B2` value moves from `0.08` to `0.16` while visible worksheet
97
+ cells, formulas, selection state, second input, summary reference, protection,
98
+ comment/user, number-format metadata, and calculation properties remain
99
+ unchanged. It records only the raw alternate input: it does not show or apply
100
+ a scenario, calculate the model, generate a Scenario Summary, infer an output,
101
+ or claim client behavior.
102
+ It also covers a column-oriented one-variable What-If Data Table whose raw
103
+ `Sensitivity!D3` master changes its local `f/@r1` input reference from `B2` to
104
+ `B3` while its `D3:D5` output range, orientation, recalculation request,
105
+ visible cells, ordinary formula text, calculation properties, and saved table
106
+ results remain unchanged. It records the stored declaration only: it does not
107
+ substitute input values, calculate the workbook or table, infer an output,
108
+ resolve a circular dependency, or claim client behavior.
109
+ It also covers a list data-validation rule at `Inputs!B2` whose raw `formula1`
110
+ source moves from `=Lists!$A$2:$A$4` to `=Lists!$B$2:$B$4` while the target range,
111
+ entry-control metadata, both source lists, current input, ordinary formulas,
112
+ and calculation properties remain unchanged. It records the stored input
113
+ control only: it does not evaluate the list source, decide whether a future
114
+ entry is valid, accept or reject an entry, calculate a workbook, or claim
115
+ Excel-client behavior.
116
+ It also covers one `Operations!B2:B4` `cellIs` conditional-formatting rule
117
+ whose raw threshold formula moves from `100` to `50` while its target, priority,
118
+ `greaterThan` operator, differential red fill, metric values, and calculation
119
+ properties remain unchanged. It records the stored visual control only: it
120
+ does not evaluate the rule, determine which cells a client formats, calculate
121
+ a workbook, or claim Excel-client behavior.
122
+ It also covers one `Operations!B2` reported margin whose referenced custom
123
+ `numFmt/@formatCode` moves from `0.0%;[Red](0.0%);-` to `;;;` while its
124
+ style index, raw numeric value, neighboring `=B2` formula, calculation
125
+ properties, and every package member except `styles.xml` remain unchanged.
126
+ It records stored display metadata only: it does not render a number format,
127
+ resolve locale or column-width behavior, decide what a client displays,
128
+ calculate a workbook, or claim Excel-client behavior.
129
+ It also covers one stored `Operations!B5` Excel error-checking suppression:
130
+ the `=SUM(B2:B3)` formula, adjacent populated `B4` cell, downstream `C5=B5`
131
+ formula, calculation properties, and all ordinary cells remain unchanged while
132
+ a raw `ignoredErrors/ignoredError` `formulaRange=1` declaration is added for
133
+ `B5`. It records that stored warning-suppression request only: it does not
134
+ determine whether Excel would show a warning, evaluate a formula, decide
135
+ whether the warning is justified, render an indicator, change application-level
136
+ error-checking options, calculate a workbook, or claim Excel-client behavior.
137
+ It also covers a Dashboard DrawingML chart whose raw numeric-series reference
138
+ switches from `Source!$B$2:$B$4` to `Source!$C$2:$C$4` while all source cells,
139
+ the chart anchor, its title/category references, and every package member
140
+ outside the chart part remain unchanged. It records a stored report binding
141
+ only: it does not open Excel, calculate values, refresh chart data, render a
142
+ chart, infer a visual difference, or claim client behavior.
143
+
144
+ The benchmark does **not** evaluate formula execution or claim that a
145
+ candidate's numerical results are correct. A case's `review_expectation` is a
146
+ benchmark convention, not a universal business policy. Tools should report
147
+ unsupported features instead of treating absent evidence as a pass.
148
+
149
+ ## Quick start
150
 
151
  ```bash
 
 
152
  python -m venv .venv
153
  .venv/bin/python -m pip install -e '.[dev]'
154
+
155
+ # Regenerate the committed fixtures and validate their ground truth.
156
+ wcab build --output fixtures
157
  wcab validate --fixtures fixtures
158
+ wcab manifest --fixtures fixtures
159
+
160
+ # Run the project's own tests.
161
+ pytest
162
+ ```
163
+
164
+ The fixture tree is intentionally small enough to inspect:
165
+
166
+ ```text
167
+ fixtures/
168
+ finance/formula_to_value/
169
+ baseline.xlsx
170
+ candidate.xlsx
171
+ truth.json
172
  ```
173
 
174
+ `fixtures/manifest.jsonl` is a deterministic, one-row-per-case catalogue.
175
+ Every row preserves the truth contract and records the relative path, byte
176
+ count, and SHA-256 digest for its baseline and candidate workbooks. It lets
177
+ benchmark runners enumerate exactly what they consumed without relying on
178
+ directory-name conventions.
179
+
180
+ The release is also mirrored as a
181
+ [Hugging Face dataset](https://huggingface.co/datasets/SybilGambleyyu/workbook-change-benchmark),
182
+ where `manifest.jsonl` is available at the dataset root for programmatic use.
183
+
184
+ ## Truth contract
185
+
186
+ Each `truth.json` is schema version 3 and contains:
187
+
188
+ - `facts`: observable before/after facts, such as a formula becoming a value.
189
+ - `must_reach`: formula cells that are statically reachable from a changed
190
+ source in the candidate's local dependency graph. These are lower bounds,
191
+ not a claim of complete Excel dependency analysis.
192
+ - `review_expectation`: `block`, `review`, or `allow` for the benchmark's
193
+ reference policy.
194
+ - `coverage`: case-specific boundaries that consumers must preserve.
195
+ - `coverage_expectations`: machine-matchable analysis-boundary disclosures;
196
+ current expectations require visible static-dependency coverage evidence
197
+ both when a dynamic reference is introduced and when a pre-existing dynamic
198
+ formula receives a changed selector.
199
+
200
+ The bundled validator checks the generated workbooks against this contract. A
201
+ tool adapter may map its own output into these facts, but WCAB deliberately
202
+ does not prescribe one tool's report format.
203
+
204
+ The complete fact schema is in [docs/schema.md](docs/schema.md), and the
205
+ reproducible validation record is in [docs/validation.md](docs/validation.md).
206
+
207
+ ## Score another tool without adopting its report schema
208
+
209
+ WCAB supplies a normalized observation protocol for adapters around any local
210
+ diff or review tool. Start from an explicitly unsupported template, let the
211
+ adapter replace cases with exact observed WCAB facts, then score the report:
212
+
213
+ ```bash
214
+ wcab observation-template --fixtures fixtures --output observations.json
215
+ # Run your adapter to populate observations.json.
216
+ wcab score --fixtures fixtures --observations observations.json --output score.json
217
+ ```
218
+
219
+ The score reports expected-fact recall, coverage-disclosure recall, analyzed
220
+ coverage, and agreement with the benchmark's reference review convention. It
221
+ deliberately lists unrecognized observations instead of calling them false
222
+ positives: WCAB facts are targeted change assertions, not a claim to enumerate
223
+ every possible workbook difference. See [docs/observations.md](docs/observations.md)
224
+ for the complete protocol and strict-mode behavior.
225
+
226
+ The optional FormulaFence reference adapter can also emit normalized
227
+ observations directly. It records mapped change facts and native coverage
228
+ warnings, but intentionally leaves review dispositions unset because
229
+ FormulaFence is an analyzer, not a universal approval-policy engine:
230
+
231
+ ```bash
232
+ wcab formulafence-observations --fixtures fixtures \
233
+ --executable formulafence --output formulafence-observations.json
234
+ wcab score --fixtures fixtures --observations formulafence-observations.json
235
+ ```
236
+
237
+ ## Optional FormulaFence reference adapter
238
+
239
+ The repository includes a local adapter for FormulaFence to demonstrate how a
240
+ real tool can be evaluated without making FormulaFence a dependency or making
241
+ its JSON schema the benchmark schema:
242
+
243
+ ```bash
244
+ # Install FormulaFence by your normal trusted route, then:
245
+ wcab formulafence --fixtures fixtures --strict
246
+ ```
247
+
248
+ It runs only local commands against the synthetic fixtures. The adapter maps
249
+ the introduced-dynamic case from FormulaFence's native warning, maps the
250
+ unchanged-formula driver cases from the observed input change plus the
251
+ candidate profile's dynamic-reference feature, and checks the exact
252
+ connection-level refresh-on-open transition in FormulaFence's `FF023` evidence.
253
+ It separately requires FormulaFence's `pivot_cache_refresh_controls_changed`
254
+ record and matching `FF023` for the local worksheet-backed PivotCache case.
255
+ FormulaFence safely reports cache-level source/control metadata rather than
256
+ source cells or rendered PivotTable output; WCAB's raw validator independently
257
+ proves the cache/PivotTable relationship binding, stable stored cells, direct
258
+ dashboard edge, and cache-definition-only package change. Neither layer
259
+ refreshes or renders the PivotTable.
260
+ For the PivotTable aggregation case, it requires FormulaFence's exact redacted
261
+ one-PivotTable `pivot_table_definitions_changed` profile,
262
+ `pivot_table_layout_material_changed`, and `FF031`. FormulaFence does not
263
+ expose the selected aggregate function or a rendered report. WCAB's raw
264
+ validator instead proves the local source/cache/PivotTable relationship graph,
265
+ stable stored cells, exact `sum`-to-`average` declaration, and
266
+ PivotTable-part-only package change. Neither layer refreshes, calculates, or
267
+ renders the PivotTable.
268
+ For the PivotTable Slicer-selection case, it requires FormulaFence's exact
269
+ redacted one-Slicer `slicer_timeline_cache_definitions_changed` profile,
270
+ `slicer_filter_state_or_definition_material_changed`, and `FF032`.
271
+ FormulaFence does not expose the Slicer name, selected item/value, or a
272
+ rendered report. WCAB's raw validator instead proves the local Slicer-cache to
273
+ PivotCache/PivotTable graph, stable stored cells, exact `North`-to-`South`
274
+ selected-item transition, and Slicer-cache-part-only package change. Neither
275
+ layer creates a visual Slicer, applies the filter, refreshes, calculates, or
276
+ renders a PivotTable.
277
+ For the Power Query M-filter case, it requires FormulaFence's exact redacted
278
+ one-query `power_query_changed` profile, `formula_material_changed`, and
279
+ `FF024`. FormulaFence does not expose M source text, local-table values, or a
280
+ query result. WCAB's raw validator instead proves the package-root custom-XML
281
+ relationship, compact Data Mashup envelope, connection-only metadata and
282
+ permission controls, exact local table binding, `North`-to-`South` stored M
283
+ literal, and custom-XML-part-only package change. Neither layer executes M,
284
+ refreshes a query, materializes output, calculates a workbook, or infers
285
+ returned rows.
286
+ For the Scenario Manager stored-input case, it requires FormulaFence's exact
287
+ redacted one-scenario `scenario_manager_changed` profile,
288
+ `scenario_definition_material_changed`, and `FF035`. FormulaFence does not
289
+ expose the scenario name, stored values, input references, comment, or user.
290
+ WCAB's raw validator instead proves the generated `Inputs!B2` `0.08`-to-`0.16`
291
+ alternate-value declaration, fixed scenario metadata, stable visible cells and
292
+ formula path, and Inputs-worksheet-only package change. Neither layer shows or
293
+ applies a scenario, calculates a result, or generates a Scenario Summary.
294
+ For the What-If Data Table case, it requires FormulaFence's exact redacted
295
+ one-variable `what_if_data_tables_changed` profile,
296
+ `data_table_definition_material_changed`, and `FF034`. FormulaFence does not
297
+ expose the table output range, local input references, or calculated table
298
+ values. WCAB's raw validator instead proves the generated `D3:D5` master
299
+ declaration, exact `B2`-to-`B3` `r1` transition, stable input grid and formulas,
300
+ direct static model/dashboard lower bounds, and Sensitivity-worksheet-only
301
+ package change. Neither layer substitutes inputs, calculates, resolves a
302
+ circular dependency, or claims client behavior.
303
+ For the list data-validation source case, it requires FormulaFence's exact
304
+ `data_validation_changed` source/control transition and `FF020`. FormulaFence
305
+ reports the stored source and entry-control metadata but does not evaluate the
306
+ source expression or decide whether a future value is permitted. WCAB's raw
307
+ validator independently proves the generated `Lists!$A$2:$A$4` to
308
+ `Lists!$B$2:$B$4` `formula1` change, stable source lists/current input/formulas,
309
+ direct static model/dashboard lower bounds, and Inputs-worksheet-only package
310
+ change. Neither layer accepts or rejects an entry, calculates a workbook, or
311
+ claims client behavior.
312
+ For the conditional-formatting threshold case, it requires FormulaFence's
313
+ exact one-rule `conditional_formatting_changed` transition and `FF021`.
314
+ FormulaFence exposes stored rule metadata but does not render a workbook or
315
+ determine which cells receive a format. WCAB's raw validator independently
316
+ proves the raw `100`-to-`50` threshold transition, stable priority, operator,
317
+ differential fill, metric values, calculation properties, and
318
+ Operations-worksheet-only package change. Neither layer evaluates the rule,
319
+ calculates a workbook, or claims client behavior.
320
+ For the custom number-format case, it requires FormulaFence's exact
321
+ `number_format_controls_changed` structural transition and `FF039`.
322
+ FormulaFence deliberately redacts format codes and cell targets from shared
323
+ reports, so WCAB's raw validator independently proves the declared
324
+ `0.0%;[Red](0.0%);-`-to-`;;;` code transition, stable target/style/value and
325
+ formula context, and styles-only package change. Neither layer renders a
326
+ format, calculates a workbook, or claims client behavior.
327
+ For the stored ignored-error case, it requires FormulaFence's exact redacted
328
+ `ignored_error_controls_changed` transition and `FF037`. FormulaFence exposes
329
+ only aggregate warning-category counts, so WCAB's raw validator independently
330
+ proves the generated `Operations!B5` target, `formulaRange=1` flag, stable
331
+ formula context, and worksheet-only package change. Neither layer determines
332
+ whether Excel would show a warning, evaluates a formula, renders an indicator,
333
+ or claims client behavior.
334
+ For the workbook-structure case, it requires FormulaFence's exact
335
+ `workbook_protection_changed` transition and `FF022`. FormulaFence reports the
336
+ non-secret structure-lock state while omitting verifier material; WCAB's raw
337
+ validator independently proves `lockStructure=1` to `0`, stable hidden-sheet
338
+ and formula context, and the workbook-XML-only package change. Neither layer
339
+ tests a password, encryption, authorization, or Excel-client behavior.
340
+ For the chart-series case, it requires FormulaFence's exact redacted one-chart
341
+ profile, `chart_definition_material_changed`, and `FF030`; FormulaFence does
342
+ not expose the source formula or a visual result. WCAB's raw validator instead
343
+ proves the worksheet-to-drawing-to-chart binding, stable anchor/title/category
344
+ references, exact value-reference transition, and chart-part-only package
345
+ change. Neither layer calculates or renders the chart.
346
+ It separately requires the exact isolated external-workbook policy transition
347
+ from `never` to `always` in `FF023` evidence. For the array-mode case, it
348
+ requires the exact legacy-CSE-to-dynamic transition and output range in
349
+ FormulaFence's `FF018` evidence. For the iterative-calculation case, it
350
+ requires the exact `FF009` switch from iteration disabled to enabled with the
351
+ declared bounds. For the precision-as-displayed case, it requires the exact
352
+ isolated `fullPrecision: true -> false` `FF009` control transition while the
353
+ stored input, number format, formula, and other calculation controls remain
354
+ unchanged. For the saved-formula-result case, it requires FormulaFence's exact
355
+ one-result `FF042` evidence: the tool intentionally redacts the result and
356
+ formula-cell location, so the adapter also requires its stable numeric cache
357
+ profile and unexplained-change count. For the workbook-date-system case, it
358
+ requires `workbook_date_system_changed` plus `FF117`: normalized `date1904`
359
+ must move from `false` to `true`, explicit `dateCompatibility` must remain
360
+ `true`, and no unrecognized date controls may appear. WCAB independently
361
+ validates the raw serial, style, formulas, and package-member boundary. It
362
+ requires `filter_visibility_controls_changed` and `FF036` for the active
363
+ AutoFilter case. FormulaFence intentionally reports its aggregate, redacted
364
+ control profile rather than the selected values; WCAB's raw validator
365
+ independently establishes the `North`-to-`South` criterion transition, stable
366
+ `SUBTOTAL` and dashboard formulas, direct dependency edge, and worksheet-only
367
+ package change. Neither layer applies the filter or claims a subtotal result.
368
+ The adapter keeps unmapped facts explicit; it does not treat the benign
369
+ structural-rewrite annotation as a generic semantic-equivalence claim.
370
+
371
+ ## Reproducibility
372
+
373
+ `wcab build` fixes workbook metadata and canonicalizes generated XLSX ZIP entry
374
+ ordering and timestamps. Rebuilding the fixture tree should produce identical
375
+ bytes on supported Python/openpyxl versions. `pytest` enforces that property.
376
+
377
+ ## Contributing
378
+
379
+ New cases need a deterministic generator, an explicit truth contract, an
380
+ explanation of the static boundary, and a validation test. Do not add a
381
+ workbook unless its redistribution rights are clear; generated fixtures are
382
+ preferred.
383
+
384
+ ## License
385
+
386
+ MIT. See [LICENSE](LICENSE).
RESEARCH.md CHANGED
@@ -399,6 +399,26 @@ changed package member. It does not evaluate the formula, predict an Excel
399
  warning or indicator, decide whether suppression is justified, change
400
  application-level error checking, calculate, or claim client behavior.
401
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
402
  ## Chart series sources without a worksheet edit
403
 
404
  Microsoft's [chart-series guidance](https://support.microsoft.com/en-US/Excel/rename-a-data-series)
 
399
  warning or indicator, decide whether suppression is justified, change
400
  application-level error checking, calculate, or claim client behavior.
401
 
402
+ ## Workbook-structure protection can change operational controls without a cell edit
403
+
404
+ Microsoft's [Protect a workbook guidance](https://support.microsoft.com/en-us/office/protect-a-workbook-7e365a4d-3e89-4616-84ca-1931257c1517)
405
+ states that protecting workbook structure controls adding, moving, deleting,
406
+ hiding, unhiding, and renaming worksheets, and distinguishes that control from
407
+ file and worksheet protection. Its password is optional. The Office Open XML
408
+ [`workbookProtection` specification](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-oe376/ae53f189-04e6-45e6-acb2-7f61fecabee4)
409
+ identifies the stored workbook-level protection element. Those sources motivate
410
+ a narrow review case for a governance setting that ordinary cell diffs can
411
+ miss, without mistaking it for encryption or access control.
412
+
413
+ WCAB 0.25 keeps a hidden `ReviewControls` sheet and
414
+ `Inputs!D2=B2*C2` formula fixed while its raw
415
+ `workbookProtection/@lockStructure` moves exactly from `1` to `0`. The
416
+ validator strips only that attribute when comparing `xl/workbook.xml`, requires
417
+ that member to be the sole package difference, and checks the stable hidden
418
+ sheet and formula context. It does not test a password, encryption,
419
+ authentication, authorization, whether a hidden sheet becomes exposed, or an
420
+ Excel client's sheet-operation behavior.
421
+
422
  ## Chart series sources without a worksheet edit
423
 
424
  Microsoft's [chart-series guidance](https://support.microsoft.com/en-US/Excel/rename-a-data-series)
docs/observations.md CHANGED
@@ -277,8 +277,16 @@ raw validator—not the adapter—then establishes the generated `Operations!B5`
277
  target, `formulaRange=1` flag, stable cells/formulas, and worksheet-only
278
  package change. Neither report determines whether Excel would show a warning,
279
  evaluates a formula, renders an indicator, or claims client behavior. For the
280
- chart-series case, it requires
281
- one exact `chart_definitions_changed` record and matching
 
 
 
 
 
 
 
 
282
  `FF030`: FormulaFence's redacted profile must retain one host sheet, one
283
  drawing, one legacy chart, one series, three data references, no chart cache,
284
  and no related payloads while only `chart_definition_material_changed` is set.
 
277
  target, `formulaRange=1` flag, stable cells/formulas, and worksheet-only
278
  package change. Neither report determines whether Excel would show a warning,
279
  evaluates a formula, renders an indicator, or claims client behavior. For the
280
+ workbook-structure case, it requires one exact `workbook_protection_changed`
281
+ record and matching `FF022`: FormulaFence's non-secret before profile must have
282
+ only `lock_structure=true`, while the after profile has all three workbook
283
+ locks false and neither side reports a credential or opaque metadata. WCAB's
284
+ raw validator—not the adapter—then establishes the generated
285
+ `workbookProtection/@lockStructure` `1`-to-`0` transition, stable hidden-sheet
286
+ and formula context, and workbook-XML-only package change. Neither report
287
+ tests a password, encryption, authentication, authorization, or client action.
288
+ For the chart-series case, it requires one exact
289
+ `chart_definitions_changed` record and matching
290
  `FF030`: FormulaFence's redacted profile must retain one host sheet, one
291
  drawing, one legacy chart, one series, three data references, no chart cache,
292
  and no related payloads while only `chart_definition_material_changed` is set.
docs/schema.md CHANGED
@@ -38,7 +38,9 @@ number-format transition with unchanged target style index, raw numeric value,
38
  formula context, calculation properties, and every package member except
39
  `styles.xml`. WCAB 0.24 adds a worksheet-local ignored-error rule with
40
  unchanged ordinary cells, formula context, calculation properties, and every
41
- package member except its worksheet XML.
 
 
42
  Version 2 remains
43
  available in the immutable v0.2.0 and v0.3.0 releases.
44
 
@@ -82,6 +84,7 @@ Facts are observed directly from the fixture files by `wcab validate`.
82
  | `auto_filter_criteria_changed` | `sheet`, `filter_ref`, `filter_column_id`, `baseline_filter_value`, `candidate_filter_value`, `subtotal_cell`, `subtotal_formula`, `dashboard_sheet`, `dashboard_cell`, `dashboard_formula` | One raw worksheet AutoFilter list criterion changes while its filter shell, formulas, direct dependency edge, and every package member except the report worksheet remain unchanged. The validator does not apply the filter or calculate a result. |
83
  | `sheet_visibility_changed` | `sheet`, `baseline_state`, `candidate_state` | The stored sheet state changes. |
84
  | `formula_cell_unlocked` | `sheet`, `cell` | A formula cell is explicitly unlocked while its sheet remains protected. |
 
85
  | `manual_calculation_incomplete` | none | Candidate calculation metadata is `manual` and records incomplete calculation. |
86
  | `iterative_calculation_enabled` | `sheet`, `cell`, `formula`, `baseline_iterate`, `candidate_iterate`, `iteration_count`, `iteration_delta` | The declared direct self-referencing formula remains unchanged while raw `calcPr/@iterate` changes exactly from `false` to `true`; the explicit count and delta remain the declared values, and all non-iteration calculation attributes are unchanged. The validator does not calculate the model. |
87
  | `precision_as_displayed_enabled` | `input_sheet`, `input_cell`, `input_value`, `number_format`, `formula_sheet`, `formula_cell`, `formula`, `baseline_full_precision`, `candidate_full_precision` | The declared stored input, number format, and formula remain unchanged while raw `calcPr/@fullPrecision` changes exactly from `true` to `false`; all other `calcPr` attributes are unchanged. The validator does not calculate, open, or save the workbook. |
@@ -176,6 +179,24 @@ whether Excel would show a warning, evaluate the formula, infer a displayed
176
  indicator, decide whether the warning is warranted, change application-level
177
  settings, calculate a workbook, or claim Excel-client behavior.
178
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
179
  ## Static impact lower bounds
180
 
181
  `must_reach` entries have one `source` plus one or more `targets`, each with a
 
38
  formula context, calculation properties, and every package member except
39
  `styles.xml`. WCAB 0.24 adds a worksheet-local ignored-error rule with
40
  unchanged ordinary cells, formula context, calculation properties, and every
41
+ package member except its worksheet XML. WCAB 0.25 adds a raw workbook
42
+ structure-lock transition with unchanged hidden-sheet/formula context and every
43
+ package member except `xl/workbook.xml`.
44
  Version 2 remains
45
  available in the immutable v0.2.0 and v0.3.0 releases.
46
 
 
84
  | `auto_filter_criteria_changed` | `sheet`, `filter_ref`, `filter_column_id`, `baseline_filter_value`, `candidate_filter_value`, `subtotal_cell`, `subtotal_formula`, `dashboard_sheet`, `dashboard_cell`, `dashboard_formula` | One raw worksheet AutoFilter list criterion changes while its filter shell, formulas, direct dependency edge, and every package member except the report worksheet remain unchanged. The validator does not apply the filter or calculate a result. |
85
  | `sheet_visibility_changed` | `sheet`, `baseline_state`, `candidate_state` | The stored sheet state changes. |
86
  | `formula_cell_unlocked` | `sheet`, `cell` | A formula cell is explicitly unlocked while its sheet remains protected. |
87
+ | `workbook_structure_lock_removed` | `baseline_lock_structure`, `candidate_lock_structure`, `hidden_sheet`, `hidden_sheet_state`, `formula_sheet`, `formula_cell`, `formula` | Raw `workbookProtection/@lockStructure` changes exactly from `true` to `false` while the declared hidden-sheet state, formula, calculation properties, and every package member except `xl/workbook.xml` remain unchanged. The validator does not test a password, encryption, authorization, or client behavior. |
88
  | `manual_calculation_incomplete` | none | Candidate calculation metadata is `manual` and records incomplete calculation. |
89
  | `iterative_calculation_enabled` | `sheet`, `cell`, `formula`, `baseline_iterate`, `candidate_iterate`, `iteration_count`, `iteration_delta` | The declared direct self-referencing formula remains unchanged while raw `calcPr/@iterate` changes exactly from `false` to `true`; the explicit count and delta remain the declared values, and all non-iteration calculation attributes are unchanged. The validator does not calculate the model. |
90
  | `precision_as_displayed_enabled` | `input_sheet`, `input_cell`, `input_value`, `number_format`, `formula_sheet`, `formula_cell`, `formula`, `baseline_full_precision`, `candidate_full_precision` | The declared stored input, number format, and formula remain unchanged while raw `calcPr/@fullPrecision` changes exactly from `true` to `false`; all other `calcPr` attributes are unchanged. The validator does not calculate, open, or save the workbook. |
 
179
  indicator, decide whether the warning is warranted, change application-level
180
  settings, calculate a workbook, or claim Excel-client behavior.
181
 
182
+ ## Workbook-structure protection
183
+
184
+ Microsoft's [Protect a workbook guidance](https://support.microsoft.com/en-us/office/protect-a-workbook-7e365a4d-3e89-4616-84ca-1931257c1517)
185
+ distinguishes structural protection from file and worksheet protection, and
186
+ states that a protected structure restricts adding, moving, deleting, hiding,
187
+ unhiding, and renaming worksheets. It also makes the password optional. The
188
+ Office Open XML [`workbookProtection` specification](https://learn.microsoft.com/en-us/openspecs/office_standards/ms-oe376/ae53f189-04e6-45e6-acb2-7f61fecabee4)
189
+ defines the stored workbook-level protection element. This makes the raw
190
+ structure control review-material even if ordinary worksheet cells stay fixed.
191
+
192
+ WCAB 0.25 keeps the hidden `ReviewControls` sheet and
193
+ `Inputs!D2=B2*C2` formula unchanged. Its baseline has exactly
194
+ `workbookProtection/@lockStructure="1"`; the candidate has exactly `"0"`.
195
+ The validator compares raw workbook XML after removing only that attribute and
196
+ requires `xl/workbook.xml` to be the only changed package member. It does not
197
+ test a password, encryption, authentication, authorization, whether a hidden
198
+ sheet is exposed, or whether a particular client enables a sheet operation.
199
+
200
  ## Static impact lower bounds
201
 
202
  `must_reach` entries have one `source` plus one or more `targets`, each with a
docs/validation.md CHANGED
@@ -1,6 +1,6 @@
1
  # Validation record
2
 
3
- This record describes the WCAB 0.24.0 / schema-version-3 validation run on
4
  2026-08-03. It is reproducible from this repository; no network service or
5
  private workbook is required.
6
 
@@ -32,16 +32,16 @@ wcab validate --fixtures fixtures
32
 
33
  Results:
34
 
35
- - 39 cases: 38 paired-workbook cases and one directory portfolio case.
36
- - 41 observable truth facts across 31 `block` and eight `review` cases.
37
  - Three scoreable coverage expectations: one newly introduced `INDIRECT`
38
  boundary and two unchanged-formula selector changes (`INDIRECT` address text
39
  and `OFFSET` column displacement).
40
- - 120 generated fixture files: 80 workbooks, 39 truth manifests, and one JSONL
41
  case catalogue, all generated from source.
42
- - One hundred fifty unit tests passed locally under Python 3.13, including
43
  independent regeneration and byte-for-byte fixture-tree equality.
44
- - The fixture validator accepted all 39 cases.
45
  - The external-data pair has identical package members except for
46
  `xl/connections.xml`; both archives pass ZIP integrity checks and remain
47
  readable by openpyxl. Its relationship-backed source is a non-routable
@@ -130,6 +130,14 @@ Results:
130
  removing only that declaration. It does not determine whether Excel would
131
  show a warning, evaluate the formula, render an indicator, decide whether the
132
  warning is justified, calculate a workbook, or claim client behavior.
 
 
 
 
 
 
 
 
133
  - The chart-series pair has identical package members except for
134
  `xl/charts/chart1.xml`; both archives pass ZIP integrity checks and remain
135
  readable by openpyxl. Its `Dashboard!D2` anchor, title/category references,
@@ -183,7 +191,7 @@ Results:
183
 
184
  ## Distribution supplement
185
 
186
- The 0.24.0 release retains the one-row-per-case `manifest.jsonl` catalogue and
187
  the tool-neutral observation protocol at version 2. Each catalogue row retains
188
  the schema-version-3 truth contract and includes byte counts and SHA-256
189
  digests for the workbooks it names.
@@ -191,11 +199,11 @@ digests for the workbooks it names.
191
  Commands:
192
 
193
  ```bash
194
- python -m build --outdir /tmp/wcab-v024-dist
195
- twine check /tmp/wcab-v024-dist/*
196
  python -m venv /tmp/wcab-wheel-test
197
  /tmp/wcab-wheel-test/bin/python -m pip install \
198
- /tmp/wcab-v024-dist/workbook_change_benchmark-0.24.0-py3-none-any.whl
199
  /tmp/wcab-wheel-test/bin/wcab validate --fixtures fixtures
200
  /tmp/wcab-wheel-test/bin/wcab manifest --fixtures fixtures --output /tmp/manifest.jsonl
201
  cmp fixtures/manifest.jsonl /tmp/manifest.jsonl
@@ -212,14 +220,14 @@ Results:
212
  their uploaded assets in the GitHub release, avoiding a self-referential
213
  source-distribution checksum in this record.
214
  - Fresh Python 3.13 wheel and source-distribution installations both reported
215
- version 0.24.0 and validated all 39 fixtures; the wheel emitted
216
  byte-identical JSONL output.
217
- - The full 150-test suite, lint, and format checks passed locally under Python
218
  3.13.
219
  - The generated unsupported template scored as zero analyzed coverage, zero
220
  expected-fact recall, and zero coverage-disclosure recall, confirming that
221
  unsupported cases cannot become a pass.
222
- - The FormulaFence normalizer emitted 40 matched facts, one intentionally
223
  unmapped fact, three matched coverage declarations, and no invented review
224
  disposition.
225
 
@@ -234,9 +242,9 @@ wcab formulafence --fixtures fixtures --strict
234
 
235
  Results:
236
 
237
- - All 40 currently mappable diff/portfolio facts were observed.
238
  - All three mappable coverage expectations were matched; no mapped fact,
239
- coverage expectation, or targeted lint rule was missed across all 39 cases.
240
  - The schema-version-2 structured Table scope case was observed as a
241
  `table_definition_changed` diff, even though its summary formula text stays
242
  unchanged.
@@ -345,6 +353,13 @@ Results:
345
  and worksheet-only package change. Neither report determined whether Excel
346
  would show a warning, evaluated a formula, rendered an indicator, or claimed
347
  client behavior.
 
 
 
 
 
 
 
348
  - The WCAB 0.15 chart-series case was observed as one exact
349
  `chart_definitions_changed` record and `FF030`. FormulaFence's redacted
350
  profile retained one host sheet, drawing, legacy chart, and series; three
 
1
  # Validation record
2
 
3
+ This record describes the WCAB 0.25.0 / schema-version-3 validation run on
4
  2026-08-03. It is reproducible from this repository; no network service or
5
  private workbook is required.
6
 
 
32
 
33
  Results:
34
 
35
+ - 40 cases: 39 paired-workbook cases and one directory portfolio case.
36
+ - 42 observable truth facts across 32 `block` and eight `review` cases.
37
  - Three scoreable coverage expectations: one newly introduced `INDIRECT`
38
  boundary and two unchanged-formula selector changes (`INDIRECT` address text
39
  and `OFFSET` column displacement).
40
+ - 123 generated fixture files: 82 workbooks, 40 truth manifests, and one JSONL
41
  case catalogue, all generated from source.
42
+ - One hundred fifty-seven unit tests passed locally under Python 3.13, including
43
  independent regeneration and byte-for-byte fixture-tree equality.
44
+ - The fixture validator accepted all 40 cases.
45
  - The external-data pair has identical package members except for
46
  `xl/connections.xml`; both archives pass ZIP integrity checks and remain
47
  readable by openpyxl. Its relationship-backed source is a non-routable
 
130
  removing only that declaration. It does not determine whether Excel would
131
  show a warning, evaluate the formula, render an indicator, decide whether the
132
  warning is justified, calculate a workbook, or claim client behavior.
133
+ - The workbook-structure-protection pair has identical package members except
134
+ for `xl/workbook.xml`; both archives pass ZIP integrity checks and remain
135
+ readable by openpyxl. Its hidden `ReviewControls` sheet and
136
+ `Inputs!D2=B2*C2` formula remain unchanged while raw
137
+ `workbookProtection/@lockStructure` moves from `1` to `0`. The validator
138
+ compares the workbook XML after removing only that attribute. It did not test
139
+ a password, encryption, authentication, authorization, exposure of a hidden
140
+ sheet, or a particular Excel client's sheet-operation behavior.
141
  - The chart-series pair has identical package members except for
142
  `xl/charts/chart1.xml`; both archives pass ZIP integrity checks and remain
143
  readable by openpyxl. Its `Dashboard!D2` anchor, title/category references,
 
191
 
192
  ## Distribution supplement
193
 
194
+ The 0.25.0 release retains the one-row-per-case `manifest.jsonl` catalogue and
195
  the tool-neutral observation protocol at version 2. Each catalogue row retains
196
  the schema-version-3 truth contract and includes byte counts and SHA-256
197
  digests for the workbooks it names.
 
199
  Commands:
200
 
201
  ```bash
202
+ python -m build --outdir /tmp/wcab-v025-dist
203
+ twine check /tmp/wcab-v025-dist/*
204
  python -m venv /tmp/wcab-wheel-test
205
  /tmp/wcab-wheel-test/bin/python -m pip install \
206
+ /tmp/wcab-v025-dist/workbook_change_benchmark-0.25.0-py3-none-any.whl
207
  /tmp/wcab-wheel-test/bin/wcab validate --fixtures fixtures
208
  /tmp/wcab-wheel-test/bin/wcab manifest --fixtures fixtures --output /tmp/manifest.jsonl
209
  cmp fixtures/manifest.jsonl /tmp/manifest.jsonl
 
220
  their uploaded assets in the GitHub release, avoiding a self-referential
221
  source-distribution checksum in this record.
222
  - Fresh Python 3.13 wheel and source-distribution installations both reported
223
+ version 0.25.0 and validated all 40 fixtures; the wheel emitted
224
  byte-identical JSONL output.
225
+ - The full 157-test suite, lint, and format checks passed locally under Python
226
  3.13.
227
  - The generated unsupported template scored as zero analyzed coverage, zero
228
  expected-fact recall, and zero coverage-disclosure recall, confirming that
229
  unsupported cases cannot become a pass.
230
+ - The FormulaFence normalizer emitted 41 matched facts, one intentionally
231
  unmapped fact, three matched coverage declarations, and no invented review
232
  disposition.
233
 
 
242
 
243
  Results:
244
 
245
+ - All 41 currently mappable diff/portfolio facts were observed.
246
  - All three mappable coverage expectations were matched; no mapped fact,
247
+ coverage expectation, or targeted lint rule was missed across all 40 cases.
248
  - The schema-version-2 structured Table scope case was observed as a
249
  `table_definition_changed` diff, even though its summary formula text stays
250
  unchanged.
 
353
  and worksheet-only package change. Neither report determined whether Excel
354
  would show a warning, evaluated a formula, rendered an indicator, or claimed
355
  client behavior.
356
+ - The WCAB 0.25 workbook-structure case was observed as one exact
357
+ `workbook_protection_changed` record and `FF022`. FormulaFence's non-secret
358
+ profile moved from `lock_structure=true` to all workbook locks false, with no
359
+ credential or opaque metadata on either side. WCAB independently established
360
+ the raw `lockStructure=1`-to-`0` transition, stable hidden-sheet/formula
361
+ context, and workbook-XML-only package change. Neither report tested a
362
+ password, encryption, authentication, authorization, or client action.
363
  - The WCAB 0.15 chart-series case was observed as one exact
364
  `chart_definitions_changed` record and `FF030`. FormulaFence's redacted
365
  profile retained one host sheet, drawing, legacy chart, and series; three
fixtures/governance/workbook_structure_lock_removed/baseline.xlsx ADDED
Binary file (5.45 kB). View file
 
fixtures/governance/workbook_structure_lock_removed/candidate.xlsx ADDED
Binary file (5.45 kB). View file
 
fixtures/governance/workbook_structure_lock_removed/truth.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "coverage": [
3
+ "This is a stored workbook-structure control assertion, not a password, encryption, authorization, or client-action test."
4
+ ],
5
+ "coverage_expectations": [],
6
+ "facts": [
7
+ {
8
+ "baseline_lock_structure": true,
9
+ "candidate_lock_structure": false,
10
+ "formula": "=B2*C2",
11
+ "formula_cell": "D2",
12
+ "formula_sheet": "Inputs",
13
+ "hidden_sheet": "ReviewControls",
14
+ "hidden_sheet_state": "hidden",
15
+ "kind": "workbook_structure_lock_removed"
16
+ }
17
+ ],
18
+ "family": "governance",
19
+ "id": "governance.workbook_structure_lock_removed",
20
+ "must_reach": [],
21
+ "review_expectation": "block",
22
+ "schema_version": 3,
23
+ "title": "A workbook structure lock is disabled",
24
+ "topology": "pair"
25
+ }
fixtures/manifest.jsonl CHANGED
@@ -14,6 +14,7 @@
14
  {"baseline_files":[{"bytes":6001,"path":"governance/precision_as_displayed_enabled/baseline.xlsx","sha256":"e1c190bdeb5063f2d81cab1ed9415a0307312835f95c5bd73f467bdeb7575b68"}],"candidate_files":[{"bytes":6000,"path":"governance/precision_as_displayed_enabled/candidate.xlsx","sha256":"98c5a672c8256c3ec1e3316d62d011275773d7fb8c121265f4673622528601ae"}],"case_path":"governance/precision_as_displayed_enabled","coverage":["The pair records the raw calcPr fullPrecision switch that corresponds to Excel's precision-as-displayed setting. WCAB does not emulate Excel's calculation engine or claim that a client applied the control.","Both generated packages retain the exact stored 10.005 input and its two-decimal number format. The validator does not claim that opening, calculating, or saving either workbook rounds a value or produces a particular formula result.","The pair differs only in workbook calculation metadata; no worksheet value, formula text, number format, or dependency edge is edited."],"coverage_expectations":[],"facts":[{"baseline_full_precision":true,"candidate_full_precision":false,"formula":"=Inputs!$B$2*2","formula_cell":"B2","formula_sheet":"Model","input_cell":"B2","input_sheet":"Inputs","input_value":10.005,"kind":"precision_as_displayed_enabled","number_format":"0.00"}],"family":"governance","id":"governance.precision_as_displayed_enabled","must_reach":[{"source":{"cell":"B2","sheet":"Inputs"},"targets":[{"cell":"B2","sheet":"Model"},{"cell":"B4","sheet":"Dashboard"}]}],"review_expectation":"block","schema_version":3,"title":"Precision-as-displayed calculation is enabled without a cell edit","topology":"pair"}
15
  {"baseline_files":[{"bytes":5599,"path":"governance/static_cycle_introduced/baseline.xlsx","sha256":"624673b76647c7d5343f1b2188d962ba9da11b7b2fa1c640218c728f15013a07"}],"candidate_files":[{"bytes":5596,"path":"governance/static_cycle_introduced/candidate.xlsx","sha256":"086d420690d81e6fd79146bf1e721fd28f71bdf292bf927566ffbc2ce08d7b5d"}],"case_path":"governance/static_cycle_introduced","coverage":["The cycle is direct and static; iterative calculation settings and dynamic references are out of scope."],"coverage_expectations":[],"facts":[{"cells":[{"cell":"D10","sheet":"Controls"},{"cell":"D11","sheet":"Controls"}],"kind":"static_cycle_introduced"}],"family":"governance","id":"governance.static_cycle_introduced","must_reach":[],"review_expectation":"block","schema_version":3,"title":"Two direct formulas form a static cycle","topology":"pair"}
16
  {"baseline_files":[{"bytes":6029,"path":"governance/workbook_date_system_changed/baseline.xlsx","sha256":"e90ec5f335ac0d6424be54195f3bb1fa070222f8d321c1361e9d772766a5fdac"}],"candidate_files":[{"bytes":6028,"path":"governance/workbook_date_system_changed/candidate.xlsx","sha256":"a7f35a276f63a6c5c31a2a8dd9ccf4ab582e73bb419deada4b24dc5d7320d474"}],"case_path":"governance/workbook_date_system_changed","coverage":["The pair changes only raw workbookPr date1904 from false to true while dateCompatibility remains explicitly true. It does not edit a worksheet cell, formula, style, calculation property, or dependency edge.","The stored numeric serial and date number format remain unchanged. WCAB does not calculate a formula, convert the serial into a date, infer a visible value, or claim what an Excel client will do on opening or saving either workbook.","The validator reads raw OOXML controls, numeric cell text, formula text, number format, and package-member differences. It treats the date-system transition as a stored-control review boundary, not proof of a displayed outcome."],"coverage_expectations":[],"facts":[{"baseline_date_1904":false,"candidate_date_1904":true,"dashboard_cell":"B4","dashboard_formula":"=Model!$B$2","dashboard_sheet":"Dashboard","date_compatibility":true,"formula":"=Inputs!$B$2+30","formula_cell":"B2","formula_sheet":"Model","kind":"workbook_date_system_changed","number_format":"yyyy-mm-dd","serial_cell":"B2","serial_sheet":"Inputs","serial_value":45292}],"family":"governance","id":"governance.workbook_date_system_changed","must_reach":[{"source":{"cell":"B2","sheet":"Inputs"},"targets":[{"cell":"B2","sheet":"Model"},{"cell":"B4","sheet":"Dashboard"}]},{"source":{"cell":"B2","sheet":"Model"},"targets":[{"cell":"B4","sheet":"Dashboard"}]}],"review_expectation":"block","schema_version":3,"title":"Workbook serial-date controls change without a cell edit","topology":"pair"}
 
17
  {"baseline_files":[{"bytes":5673,"path":"operations/auto_filter_criteria_changed/baseline.xlsx","sha256":"4eb546978d00b40bdd039afec0bd888180497aae49a7a33a4b9aaf36a2f74a7c"}],"candidate_files":[{"bytes":5672,"path":"operations/auto_filter_criteria_changed/candidate.xlsx","sha256":"c0453a8b5783dbaf95a79f9e0de8aa39b8158a6fdd5f16cc4393fe11773c7ab1"}],"case_path":"operations/auto_filter_criteria_changed","coverage":["The pair changes only one raw worksheet AutoFilter criterion. It does not edit a cell value, formula text, style, calculation property, row state, or dependency edge.","Excel filters control which rows are shown, and SUBTOTAL excludes rows omitted by a filter. WCAB does not apply the filter, calculate a subtotal, infer a visible row set, or claim what an Excel client will display or print.","The validator reads raw OOXML filter declarations, formula text, and package-member differences. It treats the criterion transition as stored-control review evidence, not proof of a calculated outcome."],"coverage_expectations":[],"facts":[{"baseline_filter_value":"North","candidate_filter_value":"South","dashboard_cell":"B4","dashboard_formula":"=Report!$D$2","dashboard_sheet":"Dashboard","filter_column_id":0,"filter_ref":"A1:B5","kind":"auto_filter_criteria_changed","sheet":"Report","subtotal_cell":"D2","subtotal_formula":"=SUBTOTAL(109,B2:B5)"}],"family":"operations","id":"operations.auto_filter_criteria_changed","must_reach":[{"source":{"cell":"D2","sheet":"Report"},"targets":[{"cell":"B4","sheet":"Dashboard"}]}],"review_expectation":"block","schema_version":3,"title":"An active AutoFilter criterion changes a subtotal control","topology":"pair"}
18
  {"baseline_files":[{"bytes":5465,"path":"operations/conditional_formatting_removed/baseline.xlsx","sha256":"1fab22c80b1384cfe921e75c858934204435c31d7b5c67766c984289610901db"}],"candidate_files":[{"bytes":5360,"path":"operations/conditional_formatting_removed/candidate.xlsx","sha256":"5fc314f650112546d6c372c8fe7be280ccb56bf717967c4fd135c80b2f659a87"}],"case_path":"operations/conditional_formatting_removed","coverage":["The benchmark observes the control removal but does not judge the intended visual design."],"coverage_expectations":[],"facts":[{"baseline_count":1,"candidate_count":0,"kind":"conditional_formatting_count_changed","sheet":"Operations"}],"family":"operations","id":"operations.conditional_formatting_removed","must_reach":[],"review_expectation":"review","schema_version":3,"title":"A material exception highlight is removed","topology":"pair"}
19
  {"baseline_files":[{"bytes":5114,"path":"operations/conditional_formatting_threshold_changed/baseline.xlsx","sha256":"9dcf1d895ccc7f44fe798c0082b41447ef3e92afec1c8ef1f52ba4b5bc735a22"}],"candidate_files":[{"bytes":5156,"path":"operations/conditional_formatting_threshold_changed/candidate.xlsx","sha256":"d5ada06f6ce77099a1658697fc7356b07aa31ab8a4dd35f2992a6a12f4a0443c"}],"case_path":"operations/conditional_formatting_threshold_changed","coverage":["The pair changes only the raw formula child in one cellIs conditional-formatting rule. It does not edit the target range, priority, operator, differential fill, worksheet values, calculation properties, or any other package member.","The observed contract is a stored visual exception threshold. WCAB does not evaluate the rule, determine which cells a client formats, calculate the workbook, or claim Excel-client behavior."],"coverage_expectations":[],"facts":[{"baseline_formula":"100","candidate_formula":"50","fill_rgb":"FFFFC7CE","kind":"conditional_formatting_threshold_changed","metric_values":[10,75,120],"operator":"greaterThan","priority":1,"rule_type":"cellIs","sheet":"Operations","target_range":"B2:B4"}],"family":"operations","id":"operations.conditional_formatting_threshold_changed","must_reach":[],"review_expectation":"review","schema_version":3,"title":"A conditional-formatting exception threshold is lowered","topology":"pair"}
 
14
  {"baseline_files":[{"bytes":6001,"path":"governance/precision_as_displayed_enabled/baseline.xlsx","sha256":"e1c190bdeb5063f2d81cab1ed9415a0307312835f95c5bd73f467bdeb7575b68"}],"candidate_files":[{"bytes":6000,"path":"governance/precision_as_displayed_enabled/candidate.xlsx","sha256":"98c5a672c8256c3ec1e3316d62d011275773d7fb8c121265f4673622528601ae"}],"case_path":"governance/precision_as_displayed_enabled","coverage":["The pair records the raw calcPr fullPrecision switch that corresponds to Excel's precision-as-displayed setting. WCAB does not emulate Excel's calculation engine or claim that a client applied the control.","Both generated packages retain the exact stored 10.005 input and its two-decimal number format. The validator does not claim that opening, calculating, or saving either workbook rounds a value or produces a particular formula result.","The pair differs only in workbook calculation metadata; no worksheet value, formula text, number format, or dependency edge is edited."],"coverage_expectations":[],"facts":[{"baseline_full_precision":true,"candidate_full_precision":false,"formula":"=Inputs!$B$2*2","formula_cell":"B2","formula_sheet":"Model","input_cell":"B2","input_sheet":"Inputs","input_value":10.005,"kind":"precision_as_displayed_enabled","number_format":"0.00"}],"family":"governance","id":"governance.precision_as_displayed_enabled","must_reach":[{"source":{"cell":"B2","sheet":"Inputs"},"targets":[{"cell":"B2","sheet":"Model"},{"cell":"B4","sheet":"Dashboard"}]}],"review_expectation":"block","schema_version":3,"title":"Precision-as-displayed calculation is enabled without a cell edit","topology":"pair"}
15
  {"baseline_files":[{"bytes":5599,"path":"governance/static_cycle_introduced/baseline.xlsx","sha256":"624673b76647c7d5343f1b2188d962ba9da11b7b2fa1c640218c728f15013a07"}],"candidate_files":[{"bytes":5596,"path":"governance/static_cycle_introduced/candidate.xlsx","sha256":"086d420690d81e6fd79146bf1e721fd28f71bdf292bf927566ffbc2ce08d7b5d"}],"case_path":"governance/static_cycle_introduced","coverage":["The cycle is direct and static; iterative calculation settings and dynamic references are out of scope."],"coverage_expectations":[],"facts":[{"cells":[{"cell":"D10","sheet":"Controls"},{"cell":"D11","sheet":"Controls"}],"kind":"static_cycle_introduced"}],"family":"governance","id":"governance.static_cycle_introduced","must_reach":[],"review_expectation":"block","schema_version":3,"title":"Two direct formulas form a static cycle","topology":"pair"}
16
  {"baseline_files":[{"bytes":6029,"path":"governance/workbook_date_system_changed/baseline.xlsx","sha256":"e90ec5f335ac0d6424be54195f3bb1fa070222f8d321c1361e9d772766a5fdac"}],"candidate_files":[{"bytes":6028,"path":"governance/workbook_date_system_changed/candidate.xlsx","sha256":"a7f35a276f63a6c5c31a2a8dd9ccf4ab582e73bb419deada4b24dc5d7320d474"}],"case_path":"governance/workbook_date_system_changed","coverage":["The pair changes only raw workbookPr date1904 from false to true while dateCompatibility remains explicitly true. It does not edit a worksheet cell, formula, style, calculation property, or dependency edge.","The stored numeric serial and date number format remain unchanged. WCAB does not calculate a formula, convert the serial into a date, infer a visible value, or claim what an Excel client will do on opening or saving either workbook.","The validator reads raw OOXML controls, numeric cell text, formula text, number format, and package-member differences. It treats the date-system transition as a stored-control review boundary, not proof of a displayed outcome."],"coverage_expectations":[],"facts":[{"baseline_date_1904":false,"candidate_date_1904":true,"dashboard_cell":"B4","dashboard_formula":"=Model!$B$2","dashboard_sheet":"Dashboard","date_compatibility":true,"formula":"=Inputs!$B$2+30","formula_cell":"B2","formula_sheet":"Model","kind":"workbook_date_system_changed","number_format":"yyyy-mm-dd","serial_cell":"B2","serial_sheet":"Inputs","serial_value":45292}],"family":"governance","id":"governance.workbook_date_system_changed","must_reach":[{"source":{"cell":"B2","sheet":"Inputs"},"targets":[{"cell":"B2","sheet":"Model"},{"cell":"B4","sheet":"Dashboard"}]},{"source":{"cell":"B2","sheet":"Model"},"targets":[{"cell":"B4","sheet":"Dashboard"}]}],"review_expectation":"block","schema_version":3,"title":"Workbook serial-date controls change without a cell edit","topology":"pair"}
17
+ {"baseline_files":[{"bytes":5449,"path":"governance/workbook_structure_lock_removed/baseline.xlsx","sha256":"e676cb58484607a677ce864792455cc1bc5cd8200d5631abacb6af8190eb910f"}],"candidate_files":[{"bytes":5449,"path":"governance/workbook_structure_lock_removed/candidate.xlsx","sha256":"36ca23ccce444516709db90b9f01b205eafe26f871fde21a96dc268f940a6495"}],"case_path":"governance/workbook_structure_lock_removed","coverage":["This is a stored workbook-structure control assertion, not a password, encryption, authorization, or client-action test."],"coverage_expectations":[],"facts":[{"baseline_lock_structure":true,"candidate_lock_structure":false,"formula":"=B2*C2","formula_cell":"D2","formula_sheet":"Inputs","hidden_sheet":"ReviewControls","hidden_sheet_state":"hidden","kind":"workbook_structure_lock_removed"}],"family":"governance","id":"governance.workbook_structure_lock_removed","must_reach":[],"review_expectation":"block","schema_version":3,"title":"A workbook structure lock is disabled","topology":"pair"}
18
  {"baseline_files":[{"bytes":5673,"path":"operations/auto_filter_criteria_changed/baseline.xlsx","sha256":"4eb546978d00b40bdd039afec0bd888180497aae49a7a33a4b9aaf36a2f74a7c"}],"candidate_files":[{"bytes":5672,"path":"operations/auto_filter_criteria_changed/candidate.xlsx","sha256":"c0453a8b5783dbaf95a79f9e0de8aa39b8158a6fdd5f16cc4393fe11773c7ab1"}],"case_path":"operations/auto_filter_criteria_changed","coverage":["The pair changes only one raw worksheet AutoFilter criterion. It does not edit a cell value, formula text, style, calculation property, row state, or dependency edge.","Excel filters control which rows are shown, and SUBTOTAL excludes rows omitted by a filter. WCAB does not apply the filter, calculate a subtotal, infer a visible row set, or claim what an Excel client will display or print.","The validator reads raw OOXML filter declarations, formula text, and package-member differences. It treats the criterion transition as stored-control review evidence, not proof of a calculated outcome."],"coverage_expectations":[],"facts":[{"baseline_filter_value":"North","candidate_filter_value":"South","dashboard_cell":"B4","dashboard_formula":"=Report!$D$2","dashboard_sheet":"Dashboard","filter_column_id":0,"filter_ref":"A1:B5","kind":"auto_filter_criteria_changed","sheet":"Report","subtotal_cell":"D2","subtotal_formula":"=SUBTOTAL(109,B2:B5)"}],"family":"operations","id":"operations.auto_filter_criteria_changed","must_reach":[{"source":{"cell":"D2","sheet":"Report"},"targets":[{"cell":"B4","sheet":"Dashboard"}]}],"review_expectation":"block","schema_version":3,"title":"An active AutoFilter criterion changes a subtotal control","topology":"pair"}
19
  {"baseline_files":[{"bytes":5465,"path":"operations/conditional_formatting_removed/baseline.xlsx","sha256":"1fab22c80b1384cfe921e75c858934204435c31d7b5c67766c984289610901db"}],"candidate_files":[{"bytes":5360,"path":"operations/conditional_formatting_removed/candidate.xlsx","sha256":"5fc314f650112546d6c372c8fe7be280ccb56bf717967c4fd135c80b2f659a87"}],"case_path":"operations/conditional_formatting_removed","coverage":["The benchmark observes the control removal but does not judge the intended visual design."],"coverage_expectations":[],"facts":[{"baseline_count":1,"candidate_count":0,"kind":"conditional_formatting_count_changed","sheet":"Operations"}],"family":"operations","id":"operations.conditional_formatting_removed","must_reach":[],"review_expectation":"review","schema_version":3,"title":"A material exception highlight is removed","topology":"pair"}
20
  {"baseline_files":[{"bytes":5114,"path":"operations/conditional_formatting_threshold_changed/baseline.xlsx","sha256":"9dcf1d895ccc7f44fe798c0082b41447ef3e92afec1c8ef1f52ba4b5bc735a22"}],"candidate_files":[{"bytes":5156,"path":"operations/conditional_formatting_threshold_changed/candidate.xlsx","sha256":"d5ada06f6ce77099a1658697fc7356b07aa31ab8a4dd35f2992a6a12f4a0443c"}],"case_path":"operations/conditional_formatting_threshold_changed","coverage":["The pair changes only the raw formula child in one cellIs conditional-formatting rule. It does not edit the target range, priority, operator, differential fill, worksheet values, calculation properties, or any other package member.","The observed contract is a stored visual exception threshold. WCAB does not evaluate the rule, determine which cells a client formats, calculate the workbook, or claim Excel-client behavior."],"coverage_expectations":[],"facts":[{"baseline_formula":"100","candidate_formula":"50","fill_rgb":"FFFFC7CE","kind":"conditional_formatting_threshold_changed","metric_values":[10,75,120],"operator":"greaterThan","priority":1,"rule_type":"cellIs","sheet":"Operations","target_range":"B2:B4"}],"family":"operations","id":"operations.conditional_formatting_threshold_changed","must_reach":[],"review_expectation":"review","schema_version":3,"title":"A conditional-formatting exception threshold is lowered","topology":"pair"}
manifest.jsonl CHANGED
@@ -14,6 +14,7 @@
14
  {"baseline_files":[{"bytes":6001,"path":"governance/precision_as_displayed_enabled/baseline.xlsx","sha256":"e1c190bdeb5063f2d81cab1ed9415a0307312835f95c5bd73f467bdeb7575b68"}],"candidate_files":[{"bytes":6000,"path":"governance/precision_as_displayed_enabled/candidate.xlsx","sha256":"98c5a672c8256c3ec1e3316d62d011275773d7fb8c121265f4673622528601ae"}],"case_path":"governance/precision_as_displayed_enabled","coverage":["The pair records the raw calcPr fullPrecision switch that corresponds to Excel's precision-as-displayed setting. WCAB does not emulate Excel's calculation engine or claim that a client applied the control.","Both generated packages retain the exact stored 10.005 input and its two-decimal number format. The validator does not claim that opening, calculating, or saving either workbook rounds a value or produces a particular formula result.","The pair differs only in workbook calculation metadata; no worksheet value, formula text, number format, or dependency edge is edited."],"coverage_expectations":[],"facts":[{"baseline_full_precision":true,"candidate_full_precision":false,"formula":"=Inputs!$B$2*2","formula_cell":"B2","formula_sheet":"Model","input_cell":"B2","input_sheet":"Inputs","input_value":10.005,"kind":"precision_as_displayed_enabled","number_format":"0.00"}],"family":"governance","id":"governance.precision_as_displayed_enabled","must_reach":[{"source":{"cell":"B2","sheet":"Inputs"},"targets":[{"cell":"B2","sheet":"Model"},{"cell":"B4","sheet":"Dashboard"}]}],"review_expectation":"block","schema_version":3,"title":"Precision-as-displayed calculation is enabled without a cell edit","topology":"pair"}
15
  {"baseline_files":[{"bytes":5599,"path":"governance/static_cycle_introduced/baseline.xlsx","sha256":"624673b76647c7d5343f1b2188d962ba9da11b7b2fa1c640218c728f15013a07"}],"candidate_files":[{"bytes":5596,"path":"governance/static_cycle_introduced/candidate.xlsx","sha256":"086d420690d81e6fd79146bf1e721fd28f71bdf292bf927566ffbc2ce08d7b5d"}],"case_path":"governance/static_cycle_introduced","coverage":["The cycle is direct and static; iterative calculation settings and dynamic references are out of scope."],"coverage_expectations":[],"facts":[{"cells":[{"cell":"D10","sheet":"Controls"},{"cell":"D11","sheet":"Controls"}],"kind":"static_cycle_introduced"}],"family":"governance","id":"governance.static_cycle_introduced","must_reach":[],"review_expectation":"block","schema_version":3,"title":"Two direct formulas form a static cycle","topology":"pair"}
16
  {"baseline_files":[{"bytes":6029,"path":"governance/workbook_date_system_changed/baseline.xlsx","sha256":"e90ec5f335ac0d6424be54195f3bb1fa070222f8d321c1361e9d772766a5fdac"}],"candidate_files":[{"bytes":6028,"path":"governance/workbook_date_system_changed/candidate.xlsx","sha256":"a7f35a276f63a6c5c31a2a8dd9ccf4ab582e73bb419deada4b24dc5d7320d474"}],"case_path":"governance/workbook_date_system_changed","coverage":["The pair changes only raw workbookPr date1904 from false to true while dateCompatibility remains explicitly true. It does not edit a worksheet cell, formula, style, calculation property, or dependency edge.","The stored numeric serial and date number format remain unchanged. WCAB does not calculate a formula, convert the serial into a date, infer a visible value, or claim what an Excel client will do on opening or saving either workbook.","The validator reads raw OOXML controls, numeric cell text, formula text, number format, and package-member differences. It treats the date-system transition as a stored-control review boundary, not proof of a displayed outcome."],"coverage_expectations":[],"facts":[{"baseline_date_1904":false,"candidate_date_1904":true,"dashboard_cell":"B4","dashboard_formula":"=Model!$B$2","dashboard_sheet":"Dashboard","date_compatibility":true,"formula":"=Inputs!$B$2+30","formula_cell":"B2","formula_sheet":"Model","kind":"workbook_date_system_changed","number_format":"yyyy-mm-dd","serial_cell":"B2","serial_sheet":"Inputs","serial_value":45292}],"family":"governance","id":"governance.workbook_date_system_changed","must_reach":[{"source":{"cell":"B2","sheet":"Inputs"},"targets":[{"cell":"B2","sheet":"Model"},{"cell":"B4","sheet":"Dashboard"}]},{"source":{"cell":"B2","sheet":"Model"},"targets":[{"cell":"B4","sheet":"Dashboard"}]}],"review_expectation":"block","schema_version":3,"title":"Workbook serial-date controls change without a cell edit","topology":"pair"}
 
17
  {"baseline_files":[{"bytes":5673,"path":"operations/auto_filter_criteria_changed/baseline.xlsx","sha256":"4eb546978d00b40bdd039afec0bd888180497aae49a7a33a4b9aaf36a2f74a7c"}],"candidate_files":[{"bytes":5672,"path":"operations/auto_filter_criteria_changed/candidate.xlsx","sha256":"c0453a8b5783dbaf95a79f9e0de8aa39b8158a6fdd5f16cc4393fe11773c7ab1"}],"case_path":"operations/auto_filter_criteria_changed","coverage":["The pair changes only one raw worksheet AutoFilter criterion. It does not edit a cell value, formula text, style, calculation property, row state, or dependency edge.","Excel filters control which rows are shown, and SUBTOTAL excludes rows omitted by a filter. WCAB does not apply the filter, calculate a subtotal, infer a visible row set, or claim what an Excel client will display or print.","The validator reads raw OOXML filter declarations, formula text, and package-member differences. It treats the criterion transition as stored-control review evidence, not proof of a calculated outcome."],"coverage_expectations":[],"facts":[{"baseline_filter_value":"North","candidate_filter_value":"South","dashboard_cell":"B4","dashboard_formula":"=Report!$D$2","dashboard_sheet":"Dashboard","filter_column_id":0,"filter_ref":"A1:B5","kind":"auto_filter_criteria_changed","sheet":"Report","subtotal_cell":"D2","subtotal_formula":"=SUBTOTAL(109,B2:B5)"}],"family":"operations","id":"operations.auto_filter_criteria_changed","must_reach":[{"source":{"cell":"D2","sheet":"Report"},"targets":[{"cell":"B4","sheet":"Dashboard"}]}],"review_expectation":"block","schema_version":3,"title":"An active AutoFilter criterion changes a subtotal control","topology":"pair"}
18
  {"baseline_files":[{"bytes":5465,"path":"operations/conditional_formatting_removed/baseline.xlsx","sha256":"1fab22c80b1384cfe921e75c858934204435c31d7b5c67766c984289610901db"}],"candidate_files":[{"bytes":5360,"path":"operations/conditional_formatting_removed/candidate.xlsx","sha256":"5fc314f650112546d6c372c8fe7be280ccb56bf717967c4fd135c80b2f659a87"}],"case_path":"operations/conditional_formatting_removed","coverage":["The benchmark observes the control removal but does not judge the intended visual design."],"coverage_expectations":[],"facts":[{"baseline_count":1,"candidate_count":0,"kind":"conditional_formatting_count_changed","sheet":"Operations"}],"family":"operations","id":"operations.conditional_formatting_removed","must_reach":[],"review_expectation":"review","schema_version":3,"title":"A material exception highlight is removed","topology":"pair"}
19
  {"baseline_files":[{"bytes":5114,"path":"operations/conditional_formatting_threshold_changed/baseline.xlsx","sha256":"9dcf1d895ccc7f44fe798c0082b41447ef3e92afec1c8ef1f52ba4b5bc735a22"}],"candidate_files":[{"bytes":5156,"path":"operations/conditional_formatting_threshold_changed/candidate.xlsx","sha256":"d5ada06f6ce77099a1658697fc7356b07aa31ab8a4dd35f2992a6a12f4a0443c"}],"case_path":"operations/conditional_formatting_threshold_changed","coverage":["The pair changes only the raw formula child in one cellIs conditional-formatting rule. It does not edit the target range, priority, operator, differential fill, worksheet values, calculation properties, or any other package member.","The observed contract is a stored visual exception threshold. WCAB does not evaluate the rule, determine which cells a client formats, calculate the workbook, or claim Excel-client behavior."],"coverage_expectations":[],"facts":[{"baseline_formula":"100","candidate_formula":"50","fill_rgb":"FFFFC7CE","kind":"conditional_formatting_threshold_changed","metric_values":[10,75,120],"operator":"greaterThan","priority":1,"rule_type":"cellIs","sheet":"Operations","target_range":"B2:B4"}],"family":"operations","id":"operations.conditional_formatting_threshold_changed","must_reach":[],"review_expectation":"review","schema_version":3,"title":"A conditional-formatting exception threshold is lowered","topology":"pair"}
 
14
  {"baseline_files":[{"bytes":6001,"path":"governance/precision_as_displayed_enabled/baseline.xlsx","sha256":"e1c190bdeb5063f2d81cab1ed9415a0307312835f95c5bd73f467bdeb7575b68"}],"candidate_files":[{"bytes":6000,"path":"governance/precision_as_displayed_enabled/candidate.xlsx","sha256":"98c5a672c8256c3ec1e3316d62d011275773d7fb8c121265f4673622528601ae"}],"case_path":"governance/precision_as_displayed_enabled","coverage":["The pair records the raw calcPr fullPrecision switch that corresponds to Excel's precision-as-displayed setting. WCAB does not emulate Excel's calculation engine or claim that a client applied the control.","Both generated packages retain the exact stored 10.005 input and its two-decimal number format. The validator does not claim that opening, calculating, or saving either workbook rounds a value or produces a particular formula result.","The pair differs only in workbook calculation metadata; no worksheet value, formula text, number format, or dependency edge is edited."],"coverage_expectations":[],"facts":[{"baseline_full_precision":true,"candidate_full_precision":false,"formula":"=Inputs!$B$2*2","formula_cell":"B2","formula_sheet":"Model","input_cell":"B2","input_sheet":"Inputs","input_value":10.005,"kind":"precision_as_displayed_enabled","number_format":"0.00"}],"family":"governance","id":"governance.precision_as_displayed_enabled","must_reach":[{"source":{"cell":"B2","sheet":"Inputs"},"targets":[{"cell":"B2","sheet":"Model"},{"cell":"B4","sheet":"Dashboard"}]}],"review_expectation":"block","schema_version":3,"title":"Precision-as-displayed calculation is enabled without a cell edit","topology":"pair"}
15
  {"baseline_files":[{"bytes":5599,"path":"governance/static_cycle_introduced/baseline.xlsx","sha256":"624673b76647c7d5343f1b2188d962ba9da11b7b2fa1c640218c728f15013a07"}],"candidate_files":[{"bytes":5596,"path":"governance/static_cycle_introduced/candidate.xlsx","sha256":"086d420690d81e6fd79146bf1e721fd28f71bdf292bf927566ffbc2ce08d7b5d"}],"case_path":"governance/static_cycle_introduced","coverage":["The cycle is direct and static; iterative calculation settings and dynamic references are out of scope."],"coverage_expectations":[],"facts":[{"cells":[{"cell":"D10","sheet":"Controls"},{"cell":"D11","sheet":"Controls"}],"kind":"static_cycle_introduced"}],"family":"governance","id":"governance.static_cycle_introduced","must_reach":[],"review_expectation":"block","schema_version":3,"title":"Two direct formulas form a static cycle","topology":"pair"}
16
  {"baseline_files":[{"bytes":6029,"path":"governance/workbook_date_system_changed/baseline.xlsx","sha256":"e90ec5f335ac0d6424be54195f3bb1fa070222f8d321c1361e9d772766a5fdac"}],"candidate_files":[{"bytes":6028,"path":"governance/workbook_date_system_changed/candidate.xlsx","sha256":"a7f35a276f63a6c5c31a2a8dd9ccf4ab582e73bb419deada4b24dc5d7320d474"}],"case_path":"governance/workbook_date_system_changed","coverage":["The pair changes only raw workbookPr date1904 from false to true while dateCompatibility remains explicitly true. It does not edit a worksheet cell, formula, style, calculation property, or dependency edge.","The stored numeric serial and date number format remain unchanged. WCAB does not calculate a formula, convert the serial into a date, infer a visible value, or claim what an Excel client will do on opening or saving either workbook.","The validator reads raw OOXML controls, numeric cell text, formula text, number format, and package-member differences. It treats the date-system transition as a stored-control review boundary, not proof of a displayed outcome."],"coverage_expectations":[],"facts":[{"baseline_date_1904":false,"candidate_date_1904":true,"dashboard_cell":"B4","dashboard_formula":"=Model!$B$2","dashboard_sheet":"Dashboard","date_compatibility":true,"formula":"=Inputs!$B$2+30","formula_cell":"B2","formula_sheet":"Model","kind":"workbook_date_system_changed","number_format":"yyyy-mm-dd","serial_cell":"B2","serial_sheet":"Inputs","serial_value":45292}],"family":"governance","id":"governance.workbook_date_system_changed","must_reach":[{"source":{"cell":"B2","sheet":"Inputs"},"targets":[{"cell":"B2","sheet":"Model"},{"cell":"B4","sheet":"Dashboard"}]},{"source":{"cell":"B2","sheet":"Model"},"targets":[{"cell":"B4","sheet":"Dashboard"}]}],"review_expectation":"block","schema_version":3,"title":"Workbook serial-date controls change without a cell edit","topology":"pair"}
17
+ {"baseline_files":[{"bytes":5449,"path":"governance/workbook_structure_lock_removed/baseline.xlsx","sha256":"e676cb58484607a677ce864792455cc1bc5cd8200d5631abacb6af8190eb910f"}],"candidate_files":[{"bytes":5449,"path":"governance/workbook_structure_lock_removed/candidate.xlsx","sha256":"36ca23ccce444516709db90b9f01b205eafe26f871fde21a96dc268f940a6495"}],"case_path":"governance/workbook_structure_lock_removed","coverage":["This is a stored workbook-structure control assertion, not a password, encryption, authorization, or client-action test."],"coverage_expectations":[],"facts":[{"baseline_lock_structure":true,"candidate_lock_structure":false,"formula":"=B2*C2","formula_cell":"D2","formula_sheet":"Inputs","hidden_sheet":"ReviewControls","hidden_sheet_state":"hidden","kind":"workbook_structure_lock_removed"}],"family":"governance","id":"governance.workbook_structure_lock_removed","must_reach":[],"review_expectation":"block","schema_version":3,"title":"A workbook structure lock is disabled","topology":"pair"}
18
  {"baseline_files":[{"bytes":5673,"path":"operations/auto_filter_criteria_changed/baseline.xlsx","sha256":"4eb546978d00b40bdd039afec0bd888180497aae49a7a33a4b9aaf36a2f74a7c"}],"candidate_files":[{"bytes":5672,"path":"operations/auto_filter_criteria_changed/candidate.xlsx","sha256":"c0453a8b5783dbaf95a79f9e0de8aa39b8158a6fdd5f16cc4393fe11773c7ab1"}],"case_path":"operations/auto_filter_criteria_changed","coverage":["The pair changes only one raw worksheet AutoFilter criterion. It does not edit a cell value, formula text, style, calculation property, row state, or dependency edge.","Excel filters control which rows are shown, and SUBTOTAL excludes rows omitted by a filter. WCAB does not apply the filter, calculate a subtotal, infer a visible row set, or claim what an Excel client will display or print.","The validator reads raw OOXML filter declarations, formula text, and package-member differences. It treats the criterion transition as stored-control review evidence, not proof of a calculated outcome."],"coverage_expectations":[],"facts":[{"baseline_filter_value":"North","candidate_filter_value":"South","dashboard_cell":"B4","dashboard_formula":"=Report!$D$2","dashboard_sheet":"Dashboard","filter_column_id":0,"filter_ref":"A1:B5","kind":"auto_filter_criteria_changed","sheet":"Report","subtotal_cell":"D2","subtotal_formula":"=SUBTOTAL(109,B2:B5)"}],"family":"operations","id":"operations.auto_filter_criteria_changed","must_reach":[{"source":{"cell":"D2","sheet":"Report"},"targets":[{"cell":"B4","sheet":"Dashboard"}]}],"review_expectation":"block","schema_version":3,"title":"An active AutoFilter criterion changes a subtotal control","topology":"pair"}
19
  {"baseline_files":[{"bytes":5465,"path":"operations/conditional_formatting_removed/baseline.xlsx","sha256":"1fab22c80b1384cfe921e75c858934204435c31d7b5c67766c984289610901db"}],"candidate_files":[{"bytes":5360,"path":"operations/conditional_formatting_removed/candidate.xlsx","sha256":"5fc314f650112546d6c372c8fe7be280ccb56bf717967c4fd135c80b2f659a87"}],"case_path":"operations/conditional_formatting_removed","coverage":["The benchmark observes the control removal but does not judge the intended visual design."],"coverage_expectations":[],"facts":[{"baseline_count":1,"candidate_count":0,"kind":"conditional_formatting_count_changed","sheet":"Operations"}],"family":"operations","id":"operations.conditional_formatting_removed","must_reach":[],"review_expectation":"review","schema_version":3,"title":"A material exception highlight is removed","topology":"pair"}
20
  {"baseline_files":[{"bytes":5114,"path":"operations/conditional_formatting_threshold_changed/baseline.xlsx","sha256":"9dcf1d895ccc7f44fe798c0082b41447ef3e92afec1c8ef1f52ba4b5bc735a22"}],"candidate_files":[{"bytes":5156,"path":"operations/conditional_formatting_threshold_changed/candidate.xlsx","sha256":"d5ada06f6ce77099a1658697fc7356b07aa31ab8a4dd35f2992a6a12f4a0443c"}],"case_path":"operations/conditional_formatting_threshold_changed","coverage":["The pair changes only the raw formula child in one cellIs conditional-formatting rule. It does not edit the target range, priority, operator, differential fill, worksheet values, calculation properties, or any other package member.","The observed contract is a stored visual exception threshold. WCAB does not evaluate the rule, determine which cells a client formats, calculate the workbook, or claim Excel-client behavior."],"coverage_expectations":[],"facts":[{"baseline_formula":"100","candidate_formula":"50","fill_rgb":"FFFFC7CE","kind":"conditional_formatting_threshold_changed","metric_values":[10,75,120],"operator":"greaterThan","priority":1,"rule_type":"cellIs","sheet":"Operations","target_range":"B2:B4"}],"family":"operations","id":"operations.conditional_formatting_threshold_changed","must_reach":[],"review_expectation":"review","schema_version":3,"title":"A conditional-formatting exception threshold is lowered","topology":"pair"}