digital-report-generator 0.7.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- digital_report_generator-0.7.1/.gitignore +40 -0
- digital_report_generator-0.7.1/CHANGELOG.md +304 -0
- digital_report_generator-0.7.1/LICENSE +21 -0
- digital_report_generator-0.7.1/PKG-INFO +336 -0
- digital_report_generator-0.7.1/README.md +310 -0
- digital_report_generator-0.7.1/pyproject.toml +190 -0
- digital_report_generator-0.7.1/report_generator/__init__.py +0 -0
- digital_report_generator-0.7.1/report_generator/app_config.py +6 -0
- digital_report_generator-0.7.1/report_generator/cli.py +155 -0
- digital_report_generator-0.7.1/report_generator/config.py +342 -0
- digital_report_generator-0.7.1/report_generator/configs/app_config.yaml +105 -0
- digital_report_generator-0.7.1/report_generator/configs/config.yaml +18 -0
- digital_report_generator-0.7.1/report_generator/core/__init__.py +0 -0
- digital_report_generator-0.7.1/report_generator/core/calculator.py +196 -0
- digital_report_generator-0.7.1/report_generator/core/counts.py +34 -0
- digital_report_generator-0.7.1/report_generator/core/reader.py +82 -0
- digital_report_generator-0.7.1/report_generator/core/writer.py +243 -0
- digital_report_generator-0.7.1/report_generator/py.typed +0 -0
- digital_report_generator-0.7.1/report_generator/reports/__init__.py +0 -0
- digital_report_generator-0.7.1/report_generator/reports/base.py +141 -0
- digital_report_generator-0.7.1/report_generator/reports/business/__init__.py +0 -0
- digital_report_generator-0.7.1/report_generator/reports/business/builder.py +130 -0
- digital_report_generator-0.7.1/report_generator/reports/business/utils.py +453 -0
- digital_report_generator-0.7.1/report_generator/reports/dev/__init__.py +0 -0
- digital_report_generator-0.7.1/report_generator/reports/dev/builder.py +92 -0
- digital_report_generator-0.7.1/report_generator/reports/dev/utils.py +45 -0
- digital_report_generator-0.7.1/report_generator/v2/__init__.py +65 -0
- digital_report_generator-0.7.1/report_generator/v2/_outputs.py +178 -0
- digital_report_generator-0.7.1/report_generator/v2/comparison.py +222 -0
- digital_report_generator-0.7.1/report_generator/v2/counts.py +286 -0
- digital_report_generator-0.7.1/report_generator/v2/evaluation.py +57 -0
- digital_report_generator-0.7.1/report_generator/v2/layout.py +92 -0
- digital_report_generator-0.7.1/report_generator/v2/metrics.py +102 -0
- digital_report_generator-0.7.1/report_generator/v2/reports.py +254 -0
- digital_report_generator-0.7.1/report_generator/v2/tables.py +30 -0
- digital_report_generator-0.7.1/report_generator/v2/workbook.py +1070 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*.pyo
|
|
5
|
+
*.pyd
|
|
6
|
+
.Python
|
|
7
|
+
|
|
8
|
+
# Virtual environments
|
|
9
|
+
.venv/
|
|
10
|
+
venv/
|
|
11
|
+
env/
|
|
12
|
+
|
|
13
|
+
# Build / dist
|
|
14
|
+
dist/
|
|
15
|
+
build/
|
|
16
|
+
*.egg-info/
|
|
17
|
+
*.egg
|
|
18
|
+
|
|
19
|
+
# Tool caches and coverage data
|
|
20
|
+
.ruff_cache/
|
|
21
|
+
.mypy_cache/
|
|
22
|
+
.pytest_cache/
|
|
23
|
+
.coverage
|
|
24
|
+
.coverage.*
|
|
25
|
+
coverage.xml
|
|
26
|
+
htmlcov/
|
|
27
|
+
|
|
28
|
+
# IDE
|
|
29
|
+
.vscode/
|
|
30
|
+
.idea/
|
|
31
|
+
|
|
32
|
+
# OS
|
|
33
|
+
.DS_Store
|
|
34
|
+
Thumbs.db
|
|
35
|
+
|
|
36
|
+
# Claude Code
|
|
37
|
+
CLAUDE.md
|
|
38
|
+
|
|
39
|
+
# Project outputs
|
|
40
|
+
*.xlsx
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
<!-- version list -->
|
|
4
|
+
|
|
5
|
+
## v0.7.1 (2026-12-05)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **build**: Publish to PyPI as digital-report-generator
|
|
10
|
+
([#51](https://github.com/sv-vibe/report-generator/pull/51),
|
|
11
|
+
[`67a223f`](https://github.com/sv-vibe/report-generator/commit/67a223f76444010a18e2e1460255956f507f6334))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## v0.7.0 (2026-12-04)
|
|
15
|
+
|
|
16
|
+
### Documentation
|
|
17
|
+
|
|
18
|
+
- Point README install URL at sv-vibe/report-generator
|
|
19
|
+
([#48](https://github.com/sv-vibe/report-generator/pull/48),
|
|
20
|
+
[`a455c3c`](https://github.com/sv-vibe/report-generator/commit/a455c3cb9e55a0e410e3fbab4d22b36801d6204a))
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
- Make digital-metrics-generator installable from PyPI (#49)
|
|
25
|
+
([#50](https://github.com/sv-vibe/report-generator/pull/50),
|
|
26
|
+
[`27ff574`](https://github.com/sv-vibe/report-generator/commit/27ff5742af186b5f0487fdd3f8a3166bdbe91149))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## v0.6.0 (2026-12-03)
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
- Replace deprecated pandas Excel parsing and assert expected warnings
|
|
34
|
+
([#22](https://github.com/Wasilkas/report-generator/pull/22),
|
|
35
|
+
[`3151227`](https://github.com/Wasilkas/report-generator/commit/3151227fe1615d40e4e664b11ea96dff0fbd72b8))
|
|
36
|
+
|
|
37
|
+
### Build System
|
|
38
|
+
|
|
39
|
+
- Add local pytest and coverage configuration
|
|
40
|
+
([`328c7df`](https://github.com/Wasilkas/report-generator/commit/328c7df6f2b12b3e9b06395f83b28e8bced98a1c))
|
|
41
|
+
|
|
42
|
+
- Raise the openpyxl floor to 3.1.3
|
|
43
|
+
([`6f59ba2`](https://github.com/Wasilkas/report-generator/commit/6f59ba21031d0285f54e6e56345d4c216eb591e4))
|
|
44
|
+
|
|
45
|
+
- Raise the openpyxl floor to 3.1.5
|
|
46
|
+
([`a3c67e8`](https://github.com/Wasilkas/report-generator/commit/a3c67e8b054f235d4eec1e9598dab21493c48682))
|
|
47
|
+
|
|
48
|
+
- Require Python 3.12 and verified dependency floors
|
|
49
|
+
([`3cdc8f7`](https://github.com/Wasilkas/report-generator/commit/3cdc8f74dd8c4ca4309d60c45f392e6925a730da))
|
|
50
|
+
|
|
51
|
+
### Chores
|
|
52
|
+
|
|
53
|
+
- **lint**: Enable ruff ALL with documented ignores and a temporary baseline
|
|
54
|
+
([#24](https://github.com/Wasilkas/report-generator/pull/24),
|
|
55
|
+
[`195147e`](https://github.com/Wasilkas/report-generator/commit/195147ee35db1a31c1905845827fd966bdd23beb))
|
|
56
|
+
|
|
57
|
+
- **types**: Add strict mypy with a shrinking legacy override
|
|
58
|
+
([#34](https://github.com/Wasilkas/report-generator/pull/34),
|
|
59
|
+
[`2ae4d9d`](https://github.com/Wasilkas/report-generator/commit/2ae4d9d2fc265e21ec98700d8f643543b73e7380))
|
|
60
|
+
|
|
61
|
+
### Continuous Integration
|
|
62
|
+
|
|
63
|
+
- Run lint, format and tests on pull requests
|
|
64
|
+
([#20](https://github.com/Wasilkas/report-generator/pull/20),
|
|
65
|
+
[`04c5a92`](https://github.com/Wasilkas/report-generator/commit/04c5a92540f343a5b3c0cc94612e6b3a94846c10))
|
|
66
|
+
|
|
67
|
+
- Trigger releases on push to main ([#46](https://github.com/Wasilkas/report-generator/pull/46),
|
|
68
|
+
[`5070f0b`](https://github.com/Wasilkas/report-generator/commit/5070f0b02e018a13ac6ed981711d62b32c63858e))
|
|
69
|
+
|
|
70
|
+
### Features
|
|
71
|
+
|
|
72
|
+
- Deprecate exclude_unmatched and compact_report_counts
|
|
73
|
+
([#32](https://github.com/Wasilkas/report-generator/pull/32),
|
|
74
|
+
[`e1f1af0`](https://github.com/Wasilkas/report-generator/commit/e1f1af0a169609675292195f718733d7015c2612))
|
|
75
|
+
|
|
76
|
+
- Ship type information for the public API
|
|
77
|
+
([#42](https://github.com/Wasilkas/report-generator/pull/42),
|
|
78
|
+
[`f1cece1`](https://github.com/Wasilkas/report-generator/commit/f1cece1e3cded4b6500e517b114536e830642488))
|
|
79
|
+
|
|
80
|
+
### Refactoring
|
|
81
|
+
|
|
82
|
+
- Remove unsupported Windows code paths
|
|
83
|
+
([#36](https://github.com/Wasilkas/report-generator/pull/36),
|
|
84
|
+
[`304a971`](https://github.com/Wasilkas/report-generator/commit/304a971c4d65d02230f0fb7dc602593699655446))
|
|
85
|
+
|
|
86
|
+
- State zip length invariants and drop the blind except
|
|
87
|
+
([#30](https://github.com/Wasilkas/report-generator/pull/30),
|
|
88
|
+
[`66f4b3e`](https://github.com/Wasilkas/report-generator/commit/66f4b3ed7344868996dd277f1a7c731cb9aeeef5))
|
|
89
|
+
|
|
90
|
+
- Use absolute imports ([#26](https://github.com/Wasilkas/report-generator/pull/26),
|
|
91
|
+
[`a9b07a7`](https://github.com/Wasilkas/report-generator/commit/a9b07a7e853670d80ea0b8ecb98094bbd7c73e4d))
|
|
92
|
+
|
|
93
|
+
- **types**: Make table readers satisfy the metrics reader contract
|
|
94
|
+
([#40](https://github.com/Wasilkas/report-generator/pull/40),
|
|
95
|
+
[`c3bdf2f`](https://github.com/Wasilkas/report-generator/commit/c3bdf2fcd11caa291f868fcf7abaf9f27c176cbe))
|
|
96
|
+
|
|
97
|
+
- **types**: Narrow openpyxl sheets and cells in legacy builders
|
|
98
|
+
([#38](https://github.com/Wasilkas/report-generator/pull/38),
|
|
99
|
+
[`6280c25`](https://github.com/Wasilkas/report-generator/commit/6280c25b00444bb788e2093ee92af76a9c7a7a1a))
|
|
100
|
+
|
|
101
|
+
### Testing
|
|
102
|
+
|
|
103
|
+
- Keep quoted text out of the Optional rewrite
|
|
104
|
+
([`8828ac1`](https://github.com/Wasilkas/report-generator/commit/8828ac1cb439a83e8ec377b6b229779f4acb4493))
|
|
105
|
+
|
|
106
|
+
- Normalise legacy signature spelling across Python versions
|
|
107
|
+
([`fc6e56c`](https://github.com/Wasilkas/report-generator/commit/fc6e56cef7e59081fe03fe998f3131b7a78140d8))
|
|
108
|
+
|
|
109
|
+
- Tighten pytest assertions ([#28](https://github.com/Wasilkas/report-generator/pull/28),
|
|
110
|
+
[`c1814bb`](https://github.com/Wasilkas/report-generator/commit/c1814bbb595ccf8694f443221c68f88d2852b7ca))
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
## v0.5.0 (2026-12-02)
|
|
114
|
+
|
|
115
|
+
### Bug Fixes
|
|
116
|
+
|
|
117
|
+
- Guard read-only publication and expose count issue annotation
|
|
118
|
+
([#12](https://github.com/Wasilkas/report-generator/pull/12),
|
|
119
|
+
[`788d4e2`](https://github.com/Wasilkas/report-generator/commit/788d4e22bebc3934a65d155e66b13eb9289fec68))
|
|
120
|
+
|
|
121
|
+
- Reject case-insensitive diagnostic sheet collisions
|
|
122
|
+
([#12](https://github.com/Wasilkas/report-generator/pull/12),
|
|
123
|
+
[`788d4e2`](https://github.com/Wasilkas/report-generator/commit/788d4e22bebc3934a65d155e66b13eb9289fec68))
|
|
124
|
+
|
|
125
|
+
- Validate completed staging files and preserve historical manifest encodings
|
|
126
|
+
([#12](https://github.com/Wasilkas/report-generator/pull/12),
|
|
127
|
+
[`788d4e2`](https://github.com/Wasilkas/report-generator/commit/788d4e22bebc3934a65d155e66b13eb9289fec68))
|
|
128
|
+
|
|
129
|
+
### Continuous Integration
|
|
130
|
+
|
|
131
|
+
- Align automatic changelog and releases with clearml-yolo
|
|
132
|
+
([#10](https://github.com/Wasilkas/report-generator/pull/10),
|
|
133
|
+
[`edce6c5`](https://github.com/Wasilkas/report-generator/commit/edce6c5c343be30aae9667e7c9a5d8a0cd43bf79))
|
|
134
|
+
|
|
135
|
+
- Guard semantic releases after pull request merges
|
|
136
|
+
([#10](https://github.com/Wasilkas/report-generator/pull/10),
|
|
137
|
+
[`edce6c5`](https://github.com/Wasilkas/report-generator/commit/edce6c5c343be30aae9667e7c9a5d8a0cd43bf79))
|
|
138
|
+
|
|
139
|
+
- Keep unmerged pull requests out of the release queue
|
|
140
|
+
([#10](https://github.com/Wasilkas/report-generator/pull/10),
|
|
141
|
+
[`edce6c5`](https://github.com/Wasilkas/report-generator/commit/edce6c5c343be30aae9667e7c9a5d8a0cd43bf79))
|
|
142
|
+
|
|
143
|
+
- Match the full release ref when confirming publication
|
|
144
|
+
([#10](https://github.com/Wasilkas/report-generator/pull/10),
|
|
145
|
+
[`edce6c5`](https://github.com/Wasilkas/report-generator/commit/edce6c5c343be30aae9667e7c9a5d8a0cd43bf79))
|
|
146
|
+
|
|
147
|
+
### Features
|
|
148
|
+
|
|
149
|
+
- Expose staged outputs and validate workbook metadata declarations
|
|
150
|
+
([#12](https://github.com/Wasilkas/report-generator/pull/12),
|
|
151
|
+
[`788d4e2`](https://github.com/Wasilkas/report-generator/commit/788d4e22bebc3934a65d155e66b13eb9289fec68))
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
## v0.4.0 (2026-12-01)
|
|
155
|
+
|
|
156
|
+
### Bug Fixes
|
|
157
|
+
|
|
158
|
+
- Preserve exact counts and existing worksheet annotations on replay
|
|
159
|
+
([#8](https://github.com/Wasilkas/report-generator/pull/8),
|
|
160
|
+
[`b62e248`](https://github.com/Wasilkas/report-generator/commit/b62e248bdb1f933816f37ef561e1e32f905d08d8))
|
|
161
|
+
|
|
162
|
+
- Preserve literal class labels in evaluation worksheets
|
|
163
|
+
([#8](https://github.com/Wasilkas/report-generator/pull/8),
|
|
164
|
+
[`b62e248`](https://github.com/Wasilkas/report-generator/commit/b62e248bdb1f933816f37ef561e1e32f905d08d8))
|
|
165
|
+
|
|
166
|
+
- **reporting**: Retain exact populations and recover interrupted writes
|
|
167
|
+
([#8](https://github.com/Wasilkas/report-generator/pull/8),
|
|
168
|
+
[`b62e248`](https://github.com/Wasilkas/report-generator/commit/b62e248bdb1f933816f37ef561e1e32f905d08d8))
|
|
169
|
+
|
|
170
|
+
### Documentation
|
|
171
|
+
|
|
172
|
+
- Clarify integer storage for exact workbook replay
|
|
173
|
+
([#8](https://github.com/Wasilkas/report-generator/pull/8),
|
|
174
|
+
[`b62e248`](https://github.com/Wasilkas/report-generator/commit/b62e248bdb1f933816f37ef561e1e32f905d08d8))
|
|
175
|
+
|
|
176
|
+
- Record formula-like label compatibility for report migration
|
|
177
|
+
([#8](https://github.com/Wasilkas/report-generator/pull/8),
|
|
178
|
+
[`b62e248`](https://github.com/Wasilkas/report-generator/commit/b62e248bdb1f933816f37ef561e1e32f905d08d8))
|
|
179
|
+
|
|
180
|
+
### Features
|
|
181
|
+
|
|
182
|
+
- Render evaluation and paired reports from scientific tables
|
|
183
|
+
([#8](https://github.com/Wasilkas/report-generator/pull/8),
|
|
184
|
+
[`b62e248`](https://github.com/Wasilkas/report-generator/commit/b62e248bdb1f933816f37ef561e1e32f905d08d8))
|
|
185
|
+
|
|
186
|
+
- **reporting**: Render evaluation and paired reports from scientific tables
|
|
187
|
+
([#8](https://github.com/Wasilkas/report-generator/pull/8),
|
|
188
|
+
[`b62e248`](https://github.com/Wasilkas/report-generator/commit/b62e248bdb1f933816f37ef561e1e32f905d08d8))
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
## v0.3.2 (2026-12-01)
|
|
192
|
+
|
|
193
|
+
### Bug Fixes
|
|
194
|
+
|
|
195
|
+
- Preserve literal class labels in evaluation worksheets
|
|
196
|
+
([#7](https://github.com/Wasilkas/report-generator/pull/7),
|
|
197
|
+
[`12b36e5`](https://github.com/Wasilkas/report-generator/commit/12b36e5d66f7977ca19f56effc131e7f3bf72437))
|
|
198
|
+
|
|
199
|
+
### Continuous Integration
|
|
200
|
+
|
|
201
|
+
- Automate report-generator semantic releases
|
|
202
|
+
([#4](https://github.com/Wasilkas/report-generator/pull/4),
|
|
203
|
+
[`8f50ef9`](https://github.com/Wasilkas/report-generator/commit/8f50ef99dc6f9e8f2165fd1a57d7004165c7b64d))
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
## [0.3.1] - 2026-11-29
|
|
207
|
+
|
|
208
|
+
### Changed
|
|
209
|
+
|
|
210
|
+
- The developer and business reports share the rules for coloring comparison cells.
|
|
211
|
+
|
|
212
|
+
## [0.3.0] - 2026-11-21
|
|
213
|
+
|
|
214
|
+
### Changed
|
|
215
|
+
|
|
216
|
+
- The business report has one fixed-column layout, written by `generate-report business`,
|
|
217
|
+
the legacy `BusinessReportBuilder` and `v2.BusinessReportBuilder`. The metric sheets show
|
|
218
|
+
only `Класс`, `tp`, `fp`, `fn`, `Порог`, `precision`, `recall`, `f1_score`,
|
|
219
|
+
`Перебраковка, %`, `Недобраковка, %`, the four goal columns and the example counts by
|
|
220
|
+
split, in that order. A listed column that neither input supplies is omitted, and the
|
|
221
|
+
unsplit `Количество примеров` column stands in when no input has a split count.
|
|
222
|
+
`business.column_translations` still renames the headers that remain.
|
|
223
|
+
- In the business `Среднее` row, columns in `excluded_from_mean` are `NA`, example-count
|
|
224
|
+
columns show the sum over the model's own eligible classes, and the other columns keep
|
|
225
|
+
their mean.
|
|
226
|
+
- The business `Сравнение` sheet shows new − prod for every column, including `tp`, `fp`,
|
|
227
|
+
`fn`, `Порог`, the goal columns and the example counts. Its `Среднее` row aggregates the
|
|
228
|
+
differences over shared classes. Only the quality and percentage columns are coloured.
|
|
229
|
+
The legend is four text lines in column A.
|
|
230
|
+
- The business population note is five rows in column A on the model, comparison and
|
|
231
|
+
verdict sheets.
|
|
232
|
+
- `v2.BusinessReportBuilder(model1, model2, config)` no longer takes `presentation`.
|
|
233
|
+
|
|
234
|
+
### Removed
|
|
235
|
+
|
|
236
|
+
- The previous business layout: every input column, the `<metric> coverage` columns and
|
|
237
|
+
the `Valid class counts` block are gone from the business report. The developer report
|
|
238
|
+
is unchanged.
|
|
239
|
+
- The `translations` argument of `compact_report_counts`, which only business reports used.
|
|
240
|
+
|
|
241
|
+
### Fixed
|
|
242
|
+
|
|
243
|
+
- `annotate_workbook` keeps workbooks saved by Excel openable: a rewritten part keeps the
|
|
244
|
+
declaration of every namespace prefix that its markup-compatibility attributes name
|
|
245
|
+
(`mc:Ignorable`, `mc:ProcessContent`, `mc:MustUnderstand`, `mc:PreserveElements`,
|
|
246
|
+
`mc:PreserveAttributes` and `Requires` on `mc:Choice`). Workbooks written by openpyxl are
|
|
247
|
+
annotated byte for byte as before.
|
|
248
|
+
|
|
249
|
+
## [0.2.0] - 2026-11-09
|
|
250
|
+
|
|
251
|
+
### Added
|
|
252
|
+
|
|
253
|
+
- `report_generator.v2`: structured `DevReportBuilder`/`BusinessReportBuilder` with
|
|
254
|
+
`PresentationOptions`, `MetricsTable` input, `write_comparison_workbook`,
|
|
255
|
+
`compact_report_counts` and reversible workbook annotation (`annotate_workbook`,
|
|
256
|
+
`original_workbook`, `read_metadata`, `package_fingerprint`). Legacy module interfaces
|
|
257
|
+
are unchanged.
|
|
258
|
+
- `annotate_workbook(placement="bottom")` appends caller banners one empty row after each
|
|
259
|
+
worksheet's last cell, merged range or drawing without moving original coordinates, with
|
|
260
|
+
optional per-line http(s) `banner_links` and a printed `page_footer`. The default
|
|
261
|
+
prepend placement is unchanged.
|
|
262
|
+
|
|
263
|
+
## [0.1.2] - 2026-10-05
|
|
264
|
+
|
|
265
|
+
### Fixed
|
|
266
|
+
|
|
267
|
+
- Retain new and deleted classes in developer and business metric sheets, preserving
|
|
268
|
+
the available model's measurements and rendering unavailable model values and deltas as `NA`.
|
|
269
|
+
- Apply training eligibility per model and calculate model means and business verdict
|
|
270
|
+
inputs before aligning display rows; disclose the model and comparison populations.
|
|
271
|
+
- Preserve missing-value semantics, real zeros, class identities and neutral styling
|
|
272
|
+
for unavailable comparisons, including disjoint model vocabularies.
|
|
273
|
+
|
|
274
|
+
## [0.1.1] - 2026-10-05
|
|
275
|
+
|
|
276
|
+
### Added
|
|
277
|
+
- **Class name matching** — only classes present in both models are compared. Classes absent from either model are routed to the *Удаленные классы* sheet with a reason (`Только в новой модели` / `Только в прод модели`).
|
|
278
|
+
- **Reason column** (`Причина`) on the excluded-classes sheet — distinguishes low-training-count exclusions from unmatched-class exclusions.
|
|
279
|
+
- **Comparison sheet legend** — explanation of green/red colouring (improvement vs. significant degradation) written below the data on the *Сравнение* sheet (both report types).
|
|
280
|
+
- **Verdict sheet legend** — explanation of 0/1/2 scores (`Хуже` / `Без изменений или незначительно лучше` / `Лучше`) written below the verdict table on the business report.
|
|
281
|
+
- **Excluded-classes sheet title** describes mixed reasons and source models.
|
|
282
|
+
- **`app_config.py`** — centralised string constants (`CLASS_COL`, `TRAIN_COUNT_DISPLAY_COL`, `REASON_COL`) shared across all modules.
|
|
283
|
+
- `ExcelSheetWriter.write()` now returns the last written row index so callers can position content (e.g. legends) below the data.
|
|
284
|
+
- `write_comparison_legend()` helper in `core/writer.py`.
|
|
285
|
+
- `exclude_unmatched()` function in `core/calculator.py`.
|
|
286
|
+
|
|
287
|
+
### Changed
|
|
288
|
+
- Excluded-classes sheet columns standardised to `[Класс, Число примеров, Причина, Модель]` across both report types (ID column removed).
|
|
289
|
+
- Dev report: supplied valid IDs are preserved; IDs are generated only when absent, before filtering.
|
|
290
|
+
|
|
291
|
+
### Fixed
|
|
292
|
+
|
|
293
|
+
- Normalize class identity and reject duplicates; filter numeric-looking threshold labels.
|
|
294
|
+
- Validate configuration shapes, domains, sheet names, identity collisions and directions.
|
|
295
|
+
- Retain the minimum training count; reject malformed counts and preserve both models’ exclusion provenance.
|
|
296
|
+
- Compute finite arithmetic macro means with availability coverage; leave unavailable metric differences blank.
|
|
297
|
+
- Keep count/ID/confidence metadata out of comparisons independently of mean exclusions.
|
|
298
|
+
- Preserve unavailable business values, inclusive targets, strict OR gross violations, and mandatory rollout criteria.
|
|
299
|
+
- Handle equality/zero baselines correctly and preserve styling under translations.
|
|
300
|
+
- Support explicit sheet selectors and configurable verdict names; correct legends and exclusion headings.
|
|
301
|
+
- Reject input/output aliases and require explicit permission to replace existing reports or samples.
|
|
302
|
+
- Make sample generation import-safe, deterministic and destination-aware; report expected CLI errors actionably.
|
|
303
|
+
|
|
304
|
+
See [the dated remediation ledger](docs/remediation-20261004.md) for focused verification and limits.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 sv-vibe
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|