1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
"""Validate package-preserving edit outputs with python-docx.
- pass/: must open in python-docx AND be byte-identical (per part) to the original.
- bimg/: must open in python-docx AND contain >=1 inline image (element-tree insert).
"""
, = ,
return
= = = = 0
= f
; += 1
+= 1; ; continue
# part-payload stability vs original
, = ,
= == and
+= 1
+= 1
=
= = = 0
= f
= f
= ; += 1
+= 1; ; continue
+= 1