boardman7 commited on
Commit
cac5899
·
verified ·
1 Parent(s): ed8fa1d

Append fixed BUV full-audio processing diagnostics without accepting transcript semantics

Browse files
supplements/20261025_buv_fixed_newcohort_audio/MANIFEST.json ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": "buv-fixed-audio-evidence-manifest-v1",
3
+ "files": [
4
+ {
5
+ "path": "V1/audio_16k_mono.wav",
6
+ "sha256": "fd7e3eea643627861211d046cbb23d7c641aa729be6966a9b58220bc55fd5cf0",
7
+ "bytes": 819564
8
+ },
9
+ {
10
+ "path": "V1/machine_transcript_metadata.json",
11
+ "sha256": "c3e9b8ca89f6cb543949de441d068cbd724f3e3e660c4f32de839d99567e89fd",
12
+ "bytes": 2618
13
+ },
14
+ {
15
+ "path": "V10/audio_16k_mono.wav",
16
+ "sha256": "bb7849add7a65c46fcf0651a335e2e38ada2a1990d4fc923a9caa4c30be68b97",
17
+ "bytes": 481516
18
+ },
19
+ {
20
+ "path": "V10/machine_transcript_metadata.json",
21
+ "sha256": "362950d2675f16561edcad77f6398feef619e38adef8a36a9a88b455187afae6",
22
+ "bytes": 5373
23
+ },
24
+ {
25
+ "path": "V2/audio_16k_mono.wav",
26
+ "sha256": "57680c826054bf6abd911b585a105cdbd12e902f9ff036129de9c1033191be3f",
27
+ "bytes": 819564
28
+ },
29
+ {
30
+ "path": "V2/machine_transcript_metadata.json",
31
+ "sha256": "e10d8926cb7971b80ccaf0820040880443906b6a3ff1615d915694a68bbb2339",
32
+ "bytes": 3339
33
+ },
34
+ {
35
+ "path": "V5/audio_16k_mono.wav",
36
+ "sha256": "363779bf90dba3bb0ccbc78322b90c89c8b35bb2f752cd4377a3c9e989bfe149",
37
+ "bytes": 924332
38
+ },
39
+ {
40
+ "path": "V5/machine_transcript_metadata.json",
41
+ "sha256": "a8c746cd0effa4a20b216108e5b41cd1e8f607ec219366aa2ce9d33308bf86cd",
42
+ "bytes": 1823
43
+ },
44
+ {
45
+ "path": "V6/audio_16k_mono.wav",
46
+ "sha256": "705e0be70dab922524560ec154d0278954bcd46683b856f1e4382c87da5985ac",
47
+ "bytes": 961536
48
+ },
49
+ {
50
+ "path": "V6/machine_transcript_metadata.json",
51
+ "sha256": "e678339339359a0848f02308b7c19c656b2e6ce7b16545931b0514354c9ef596",
52
+ "bytes": 21682
53
+ },
54
+ {
55
+ "path": "audio_diagnostics.json",
56
+ "sha256": "c0f0eeb39b0fdfe341f536d91d968b95c79a58515a3d826eda9e76fe27087cce",
57
+ "bytes": 7300
58
+ },
59
+ {
60
+ "path": "processing/freeze_audio_evidence.py",
61
+ "sha256": "237a5eef4b62a64a7017c026373f32580307d8ad31474f8aaa77cf62c1ac83f0",
62
+ "bytes": 6731
63
+ },
64
+ {
65
+ "path": "processing/prepare_buv_audio_evidence.py",
66
+ "sha256": "81523e33251497036f09a4c42cb5f522195e9f7e93e16c1b2ef0245e301a6f0c",
67
+ "bytes": 10948
68
+ },
69
+ {
70
+ "path": "processing/source_panel_reader_at_execution.py",
71
+ "sha256": "fc21b7b1dd82b1b4e591525bea2ca1a1f95e6fb63265ee24e2bf6a2ee1e69c83",
72
+ "bytes": 28769
73
+ },
74
+ {
75
+ "path": "protocol.json",
76
+ "sha256": "0d58a17ddf2f38a18b3a1a78982c0fdc615fff4ed67f75e2d49ba099623329ba",
77
+ "bytes": 8670
78
+ },
79
+ {
80
+ "path": "summary.json",
81
+ "sha256": "17d04563bba41ef53089f4c250c52a15773add3a1aa3bbfe329595bed90f30e9",
82
+ "bytes": 1422
83
+ }
84
+ ],
85
+ "original_video_repository": "boardman7/cavfa-short-video-data",
86
+ "original_video_revision": "6906e40b3331ff40addb432826e3bb5b1896b0b2",
87
+ "duplicates_original_mp4": false,
88
+ "privacy": "No browser state, credentials, native user IDs, private paths, ASR text or tokens. WAV derives from already public fixed source media; segment text hashes refer to private unfiltered outputs."
89
+ }
supplements/20261025_buv_fixed_newcohort_audio/V1/audio_16k_mono.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd7e3eea643627861211d046cbb23d7c641aa729be6966a9b58220bc55fd5cf0
3
+ size 819564
supplements/20261025_buv_fixed_newcohort_audio/V1/machine_transcript_metadata.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "video_id": "7681338764204052645",
3
+ "content_order": 1,
4
+ "media_sha256": "83abd99bec444d7d6d488238d5902bba10ecb141be6f6758e435124001f9b0b7",
5
+ "full_media_decode_passed": true,
6
+ "audio_file": "V1/audio_16k_mono.wav",
7
+ "audio_sha256": "fd7e3eea643627861211d046cbb23d7c641aa729be6966a9b58220bc55fd5cf0",
8
+ "pcm_sha256": "66091edcd8b109009c4b82ede14700db34e5aacdfcbee82d4b8238aab1193ede",
9
+ "sample_count": 409760,
10
+ "sample_rate": 16000,
11
+ "audio_seconds": 25.61,
12
+ "asr_info_duration": 25.61,
13
+ "diagnostics": {
14
+ "raw_segments": 3,
15
+ "timing_flags": [],
16
+ "repeated_identical_nonempty_segment_texts": [],
17
+ "within_audio_segment_union_seconds": 25.0,
18
+ "union_is_not_speech_coverage_or_transcription_accuracy": true,
19
+ "raw_output_kept_without_timestamp_clipping_or_text_filtering": true,
20
+ "transcript_semantic_validity": "unverified",
21
+ "formal_attribute_evidence": false
22
+ },
23
+ "elapsed_seconds": 1.291542874998413,
24
+ "human_continuous_listening": false,
25
+ "formal_attribute_coding": false,
26
+ "segments": [
27
+ {
28
+ "id": 1,
29
+ "start": 0.0,
30
+ "end": 18.0,
31
+ "temperature": 0,
32
+ "avg_logprob": -0.5862151330167596,
33
+ "compression_ratio": 0.9193548387096774,
34
+ "no_speech_prob": 0.2253495156764984,
35
+ "text_sha256": "246da6b67c9104abfbb28533f3aef402851bea326415e383cf326d1bfd9de733",
36
+ "stripped_text_sha256": "246da6b67c9104abfbb28533f3aef402851bea326415e383cf326d1bfd9de733",
37
+ "has_nonempty_stripped_text": true
38
+ },
39
+ {
40
+ "id": 2,
41
+ "start": 18.0,
42
+ "end": 22.0,
43
+ "temperature": 0,
44
+ "avg_logprob": -0.5862151330167596,
45
+ "compression_ratio": 0.9193548387096774,
46
+ "no_speech_prob": 0.2253495156764984,
47
+ "text_sha256": "50a71abfdb4c9a9afb18ea79d77e05a96e3688fd19ab4a8cca69a9eff9deb6b8",
48
+ "stripped_text_sha256": "50a71abfdb4c9a9afb18ea79d77e05a96e3688fd19ab4a8cca69a9eff9deb6b8",
49
+ "has_nonempty_stripped_text": true
50
+ },
51
+ {
52
+ "id": 3,
53
+ "start": 22.0,
54
+ "end": 25.0,
55
+ "temperature": 0,
56
+ "avg_logprob": -0.5862151330167596,
57
+ "compression_ratio": 0.9193548387096774,
58
+ "no_speech_prob": 0.2253495156764984,
59
+ "text_sha256": "99e87058df8166d153dae6f6c693eec970a10338898fcea2fa0adda39684ea06",
60
+ "stripped_text_sha256": "99e87058df8166d153dae6f6c693eec970a10338898fcea2fa0adda39684ea06",
61
+ "has_nonempty_stripped_text": true
62
+ }
63
+ ],
64
+ "private_original_record_sha256": "b1b28917cee70fa87f7b4c5d605514998de358f3d02001f204da20a2cc01c4f5",
65
+ "shared_omissions": "Raw ASR text, tokens and private paths omitted. Original unfiltered record remains private."
66
+ }
supplements/20261025_buv_fixed_newcohort_audio/V10/audio_16k_mono.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb7849add7a65c46fcf0651a335e2e38ada2a1990d4fc923a9caa4c30be68b97
3
+ size 481516
supplements/20261025_buv_fixed_newcohort_audio/V10/machine_transcript_metadata.json ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "video_id": "7683009664707251878",
3
+ "content_order": 10,
4
+ "media_sha256": "b4112aa257d1303f0aa173b66f4d70e35c4eb82d7f2f93d656ef32b227fbcebd",
5
+ "full_media_decode_passed": true,
6
+ "audio_file": "V10/audio_16k_mono.wav",
7
+ "audio_sha256": "bb7849add7a65c46fcf0651a335e2e38ada2a1990d4fc923a9caa4c30be68b97",
8
+ "pcm_sha256": "f82dd0a3d56f7ffdf7f36b857961f1b37e8d73321518669823984b1e26608318",
9
+ "sample_count": 240736,
10
+ "sample_rate": 16000,
11
+ "audio_seconds": 15.046,
12
+ "asr_info_duration": 15.046,
13
+ "diagnostics": {
14
+ "raw_segments": 8,
15
+ "timing_flags": [
16
+ {
17
+ "segment_index": 7,
18
+ "issues": [
19
+ "end_after_audio"
20
+ ]
21
+ }
22
+ ],
23
+ "repeated_identical_nonempty_segment_texts": [
24
+ {
25
+ "text_sha256": "6e3d64b69083a21c7ba29f1824b31a4f0ccf6b8e6924e4d3af897a5855999df0",
26
+ "count": 2
27
+ },
28
+ {
29
+ "text_sha256": "5419d6ccd5e9bab55a8467e1efc8c07d56dca10b21506179a07b8bcdffd85ce7",
30
+ "count": 2
31
+ },
32
+ {
33
+ "text_sha256": "db9b9d892028c2f02ff966e7d0a4ecbecbe23a4082668e6097724b9bfaa0a643",
34
+ "count": 3
35
+ }
36
+ ],
37
+ "within_audio_segment_union_seconds": 15.046,
38
+ "union_is_not_speech_coverage_or_transcription_accuracy": true,
39
+ "raw_output_kept_without_timestamp_clipping_or_text_filtering": true,
40
+ "transcript_semantic_validity": "unverified",
41
+ "formal_attribute_evidence": false
42
+ },
43
+ "elapsed_seconds": 2.332997207995504,
44
+ "human_continuous_listening": false,
45
+ "formal_attribute_coding": false,
46
+ "segments": [
47
+ {
48
+ "id": 1,
49
+ "start": 0.0,
50
+ "end": 2.0,
51
+ "temperature": 0,
52
+ "avg_logprob": -0.337628045778596,
53
+ "compression_ratio": 15.428571428571429,
54
+ "no_speech_prob": 0.42835816740989685,
55
+ "text_sha256": "c658f7bd87b5cfccea2035fb5fea6e78c2c911ec64af161e6d390d33161b97d0",
56
+ "stripped_text_sha256": "c658f7bd87b5cfccea2035fb5fea6e78c2c911ec64af161e6d390d33161b97d0",
57
+ "has_nonempty_stripped_text": true
58
+ },
59
+ {
60
+ "id": 2,
61
+ "start": 2.0,
62
+ "end": 4.0,
63
+ "temperature": 0,
64
+ "avg_logprob": -0.337628045778596,
65
+ "compression_ratio": 15.428571428571429,
66
+ "no_speech_prob": 0.42835816740989685,
67
+ "text_sha256": "db9b9d892028c2f02ff966e7d0a4ecbecbe23a4082668e6097724b9bfaa0a643",
68
+ "stripped_text_sha256": "db9b9d892028c2f02ff966e7d0a4ecbecbe23a4082668e6097724b9bfaa0a643",
69
+ "has_nonempty_stripped_text": true
70
+ },
71
+ {
72
+ "id": 3,
73
+ "start": 4.0,
74
+ "end": 6.0,
75
+ "temperature": 0,
76
+ "avg_logprob": -0.337628045778596,
77
+ "compression_ratio": 15.428571428571429,
78
+ "no_speech_prob": 0.42835816740989685,
79
+ "text_sha256": "db9b9d892028c2f02ff966e7d0a4ecbecbe23a4082668e6097724b9bfaa0a643",
80
+ "stripped_text_sha256": "db9b9d892028c2f02ff966e7d0a4ecbecbe23a4082668e6097724b9bfaa0a643",
81
+ "has_nonempty_stripped_text": true
82
+ },
83
+ {
84
+ "id": 4,
85
+ "start": 6.0,
86
+ "end": 8.0,
87
+ "temperature": 0,
88
+ "avg_logprob": -0.337628045778596,
89
+ "compression_ratio": 15.428571428571429,
90
+ "no_speech_prob": 0.42835816740989685,
91
+ "text_sha256": "db9b9d892028c2f02ff966e7d0a4ecbecbe23a4082668e6097724b9bfaa0a643",
92
+ "stripped_text_sha256": "db9b9d892028c2f02ff966e7d0a4ecbecbe23a4082668e6097724b9bfaa0a643",
93
+ "has_nonempty_stripped_text": true
94
+ },
95
+ {
96
+ "id": 5,
97
+ "start": 8.0,
98
+ "end": 10.0,
99
+ "temperature": 0,
100
+ "avg_logprob": -0.337628045778596,
101
+ "compression_ratio": 15.428571428571429,
102
+ "no_speech_prob": 0.42835816740989685,
103
+ "text_sha256": "5419d6ccd5e9bab55a8467e1efc8c07d56dca10b21506179a07b8bcdffd85ce7",
104
+ "stripped_text_sha256": "5419d6ccd5e9bab55a8467e1efc8c07d56dca10b21506179a07b8bcdffd85ce7",
105
+ "has_nonempty_stripped_text": true
106
+ },
107
+ {
108
+ "id": 6,
109
+ "start": 10.0,
110
+ "end": 12.0,
111
+ "temperature": 0,
112
+ "avg_logprob": -0.337628045778596,
113
+ "compression_ratio": 15.428571428571429,
114
+ "no_speech_prob": 0.42835816740989685,
115
+ "text_sha256": "6e3d64b69083a21c7ba29f1824b31a4f0ccf6b8e6924e4d3af897a5855999df0",
116
+ "stripped_text_sha256": "6e3d64b69083a21c7ba29f1824b31a4f0ccf6b8e6924e4d3af897a5855999df0",
117
+ "has_nonempty_stripped_text": true
118
+ },
119
+ {
120
+ "id": 7,
121
+ "start": 12.0,
122
+ "end": 14.0,
123
+ "temperature": 0,
124
+ "avg_logprob": -0.337628045778596,
125
+ "compression_ratio": 15.428571428571429,
126
+ "no_speech_prob": 0.42835816740989685,
127
+ "text_sha256": "5419d6ccd5e9bab55a8467e1efc8c07d56dca10b21506179a07b8bcdffd85ce7",
128
+ "stripped_text_sha256": "5419d6ccd5e9bab55a8467e1efc8c07d56dca10b21506179a07b8bcdffd85ce7",
129
+ "has_nonempty_stripped_text": true
130
+ },
131
+ {
132
+ "id": 8,
133
+ "start": 14.0,
134
+ "end": 16.0,
135
+ "temperature": 0,
136
+ "avg_logprob": -0.337628045778596,
137
+ "compression_ratio": 15.428571428571429,
138
+ "no_speech_prob": 0.42835816740989685,
139
+ "text_sha256": "6e3d64b69083a21c7ba29f1824b31a4f0ccf6b8e6924e4d3af897a5855999df0",
140
+ "stripped_text_sha256": "6e3d64b69083a21c7ba29f1824b31a4f0ccf6b8e6924e4d3af897a5855999df0",
141
+ "has_nonempty_stripped_text": true
142
+ }
143
+ ],
144
+ "private_original_record_sha256": "71d62ead1138da8082341d179f326c55cbd99693ed0f37c139702d0cc01e862a",
145
+ "shared_omissions": "Raw ASR text, tokens and private paths omitted. Original unfiltered record remains private."
146
+ }
supplements/20261025_buv_fixed_newcohort_audio/V2/audio_16k_mono.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57680c826054bf6abd911b585a105cdbd12e902f9ff036129de9c1033191be3f
3
+ size 819564
supplements/20261025_buv_fixed_newcohort_audio/V2/machine_transcript_metadata.json ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "video_id": "7680226463999962214",
3
+ "content_order": 2,
4
+ "media_sha256": "a4eb74c1857c57c6c2f2ca8d695725152d47bbdf428b739a8eee732cf47d72c0",
5
+ "full_media_decode_passed": true,
6
+ "audio_file": "V2/audio_16k_mono.wav",
7
+ "audio_sha256": "57680c826054bf6abd911b585a105cdbd12e902f9ff036129de9c1033191be3f",
8
+ "pcm_sha256": "a09e011d7d81b86426f1857f673e307e0b6961a530ed7b5214d9f799aa5b941a",
9
+ "sample_count": 409760,
10
+ "sample_rate": 16000,
11
+ "audio_seconds": 25.61,
12
+ "asr_info_duration": 25.61,
13
+ "diagnostics": {
14
+ "raw_segments": 4,
15
+ "timing_flags": [],
16
+ "repeated_identical_nonempty_segment_texts": [
17
+ {
18
+ "text_sha256": "db6be34683cb89dbccc12a65a8d65618d0dd3ebfadaa9e710511d95f94a9c9a6",
19
+ "count": 2
20
+ },
21
+ {
22
+ "text_sha256": "974e2831b7dc8e7d22411cf0ba32573e89ba17a70ff6421caf0e13c04bf8762c",
23
+ "count": 2
24
+ }
25
+ ],
26
+ "within_audio_segment_union_seconds": 21.42,
27
+ "union_is_not_speech_coverage_or_transcription_accuracy": true,
28
+ "raw_output_kept_without_timestamp_clipping_or_text_filtering": true,
29
+ "transcript_semantic_validity": "unverified",
30
+ "formal_attribute_evidence": false
31
+ },
32
+ "elapsed_seconds": 2.928095542010851,
33
+ "human_continuous_listening": false,
34
+ "formal_attribute_coding": false,
35
+ "segments": [
36
+ {
37
+ "id": 1,
38
+ "start": 0.0,
39
+ "end": 5.44,
40
+ "temperature": 0,
41
+ "avg_logprob": -0.19415345634381795,
42
+ "compression_ratio": 3.582089552238806,
43
+ "no_speech_prob": 0.30362576246261597,
44
+ "text_sha256": "db6be34683cb89dbccc12a65a8d65618d0dd3ebfadaa9e710511d95f94a9c9a6",
45
+ "stripped_text_sha256": "db6be34683cb89dbccc12a65a8d65618d0dd3ebfadaa9e710511d95f94a9c9a6",
46
+ "has_nonempty_stripped_text": true
47
+ },
48
+ {
49
+ "id": 2,
50
+ "start": 5.44,
51
+ "end": 10.78,
52
+ "temperature": 0,
53
+ "avg_logprob": -0.19415345634381795,
54
+ "compression_ratio": 3.582089552238806,
55
+ "no_speech_prob": 0.30362576246261597,
56
+ "text_sha256": "974e2831b7dc8e7d22411cf0ba32573e89ba17a70ff6421caf0e13c04bf8762c",
57
+ "stripped_text_sha256": "974e2831b7dc8e7d22411cf0ba32573e89ba17a70ff6421caf0e13c04bf8762c",
58
+ "has_nonempty_stripped_text": true
59
+ },
60
+ {
61
+ "id": 3,
62
+ "start": 10.78,
63
+ "end": 16.18,
64
+ "temperature": 0,
65
+ "avg_logprob": -0.19415345634381795,
66
+ "compression_ratio": 3.582089552238806,
67
+ "no_speech_prob": 0.30362576246261597,
68
+ "text_sha256": "db6be34683cb89dbccc12a65a8d65618d0dd3ebfadaa9e710511d95f94a9c9a6",
69
+ "stripped_text_sha256": "db6be34683cb89dbccc12a65a8d65618d0dd3ebfadaa9e710511d95f94a9c9a6",
70
+ "has_nonempty_stripped_text": true
71
+ },
72
+ {
73
+ "id": 4,
74
+ "start": 16.18,
75
+ "end": 21.42,
76
+ "temperature": 0,
77
+ "avg_logprob": -0.19415345634381795,
78
+ "compression_ratio": 3.582089552238806,
79
+ "no_speech_prob": 0.30362576246261597,
80
+ "text_sha256": "974e2831b7dc8e7d22411cf0ba32573e89ba17a70ff6421caf0e13c04bf8762c",
81
+ "stripped_text_sha256": "974e2831b7dc8e7d22411cf0ba32573e89ba17a70ff6421caf0e13c04bf8762c",
82
+ "has_nonempty_stripped_text": true
83
+ }
84
+ ],
85
+ "private_original_record_sha256": "ded87426d67dac02af74289b5360e48885ecc126d31b4795e3485a4ac75c981b",
86
+ "shared_omissions": "Raw ASR text, tokens and private paths omitted. Original unfiltered record remains private."
87
+ }
supplements/20261025_buv_fixed_newcohort_audio/V5/audio_16k_mono.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:363779bf90dba3bb0ccbc78322b90c89c8b35bb2f752cd4377a3c9e989bfe149
3
+ size 924332
supplements/20261025_buv_fixed_newcohort_audio/V5/machine_transcript_metadata.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "video_id": "7681341410674674347",
3
+ "content_order": 5,
4
+ "media_sha256": "06ef86d298a970ee41c719a958f9bee6fed5718c9e509a85d4842929336ea070",
5
+ "full_media_decode_passed": true,
6
+ "audio_file": "V5/audio_16k_mono.wav",
7
+ "audio_sha256": "363779bf90dba3bb0ccbc78322b90c89c8b35bb2f752cd4377a3c9e989bfe149",
8
+ "pcm_sha256": "ede103009229577c9490f9bcf41eb5f313144708a95044ac8573f0b23151860b",
9
+ "sample_count": 462144,
10
+ "sample_rate": 16000,
11
+ "audio_seconds": 28.884,
12
+ "asr_info_duration": 28.884,
13
+ "diagnostics": {
14
+ "raw_segments": 1,
15
+ "timing_flags": [
16
+ {
17
+ "segment_index": 0,
18
+ "issues": [
19
+ "end_after_audio"
20
+ ]
21
+ }
22
+ ],
23
+ "repeated_identical_nonempty_segment_texts": [],
24
+ "within_audio_segment_union_seconds": 28.884,
25
+ "union_is_not_speech_coverage_or_transcription_accuracy": true,
26
+ "raw_output_kept_without_timestamp_clipping_or_text_filtering": true,
27
+ "transcript_semantic_validity": "unverified",
28
+ "formal_attribute_evidence": false
29
+ },
30
+ "elapsed_seconds": 1.0913934170093853,
31
+ "human_continuous_listening": false,
32
+ "formal_attribute_coding": false,
33
+ "segments": [
34
+ {
35
+ "id": 1,
36
+ "start": 0.0,
37
+ "end": 29.0,
38
+ "temperature": 0,
39
+ "avg_logprob": -0.842844178279241,
40
+ "compression_ratio": 0.6538461538461539,
41
+ "no_speech_prob": 0.4830054044723511,
42
+ "text_sha256": "db180ed9d42b454e699a607755de358ce09f66359a7524da222f8d55740ffeeb",
43
+ "stripped_text_sha256": "db180ed9d42b454e699a607755de358ce09f66359a7524da222f8d55740ffeeb",
44
+ "has_nonempty_stripped_text": true
45
+ }
46
+ ],
47
+ "private_original_record_sha256": "b55fbe14308c5c7e28b1ae0aba059387d059a5adf22649f405442825d36b69db",
48
+ "shared_omissions": "Raw ASR text, tokens and private paths omitted. Original unfiltered record remains private."
49
+ }
supplements/20261025_buv_fixed_newcohort_audio/V6/audio_16k_mono.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:705e0be70dab922524560ec154d0278954bcd46683b856f1e4382c87da5985ac
3
+ size 961536
supplements/20261025_buv_fixed_newcohort_audio/V6/machine_transcript_metadata.json ADDED
@@ -0,0 +1,662 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "video_id": "7681339883486572145",
3
+ "content_order": 6,
4
+ "media_sha256": "d3018f89b04f4d64e71df957ecc4bde5c1b990898c45c6513ee62c72c9251246",
5
+ "full_media_decode_passed": true,
6
+ "audio_file": "V6/audio_16k_mono.wav",
7
+ "audio_sha256": "705e0be70dab922524560ec154d0278954bcd46683b856f1e4382c87da5985ac",
8
+ "pcm_sha256": "34e8648928bcd3978c388281ca1b999d5c5df999ff4bfb80cc3dd7d6863f58a7",
9
+ "sample_count": 480746,
10
+ "sample_rate": 16000,
11
+ "audio_seconds": 30.046625,
12
+ "asr_info_duration": 30.046625,
13
+ "diagnostics": {
14
+ "raw_segments": 38,
15
+ "timing_flags": [
16
+ {
17
+ "segment_index": 11,
18
+ "issues": [
19
+ "end_after_audio"
20
+ ]
21
+ },
22
+ {
23
+ "segment_index": 12,
24
+ "issues": [
25
+ "end_after_audio"
26
+ ]
27
+ },
28
+ {
29
+ "segment_index": 13,
30
+ "issues": [
31
+ "end_after_audio"
32
+ ]
33
+ },
34
+ {
35
+ "segment_index": 14,
36
+ "issues": [
37
+ "end_after_audio"
38
+ ]
39
+ },
40
+ {
41
+ "segment_index": 15,
42
+ "issues": [
43
+ "end_after_audio"
44
+ ]
45
+ },
46
+ {
47
+ "segment_index": 16,
48
+ "issues": [
49
+ "end_after_audio"
50
+ ]
51
+ },
52
+ {
53
+ "segment_index": 17,
54
+ "issues": [
55
+ "end_after_audio"
56
+ ]
57
+ },
58
+ {
59
+ "segment_index": 18,
60
+ "issues": [
61
+ "end_after_audio"
62
+ ]
63
+ },
64
+ {
65
+ "segment_index": 19,
66
+ "issues": [
67
+ "end_after_audio"
68
+ ]
69
+ },
70
+ {
71
+ "segment_index": 20,
72
+ "issues": [
73
+ "end_after_audio"
74
+ ]
75
+ },
76
+ {
77
+ "segment_index": 21,
78
+ "issues": [
79
+ "end_after_audio"
80
+ ]
81
+ },
82
+ {
83
+ "segment_index": 22,
84
+ "issues": [
85
+ "end_after_audio"
86
+ ]
87
+ },
88
+ {
89
+ "segment_index": 23,
90
+ "issues": [
91
+ "end_after_audio"
92
+ ]
93
+ },
94
+ {
95
+ "segment_index": 24,
96
+ "issues": [
97
+ "end_after_audio"
98
+ ]
99
+ },
100
+ {
101
+ "segment_index": 25,
102
+ "issues": [
103
+ "end_after_audio"
104
+ ]
105
+ },
106
+ {
107
+ "segment_index": 26,
108
+ "issues": [
109
+ "end_after_audio"
110
+ ]
111
+ },
112
+ {
113
+ "segment_index": 27,
114
+ "issues": [
115
+ "end_after_audio"
116
+ ]
117
+ },
118
+ {
119
+ "segment_index": 28,
120
+ "issues": [
121
+ "end_after_audio"
122
+ ]
123
+ },
124
+ {
125
+ "segment_index": 29,
126
+ "issues": [
127
+ "end_after_audio"
128
+ ]
129
+ },
130
+ {
131
+ "segment_index": 30,
132
+ "issues": [
133
+ "end_after_audio"
134
+ ]
135
+ },
136
+ {
137
+ "segment_index": 31,
138
+ "issues": [
139
+ "end_after_audio"
140
+ ]
141
+ },
142
+ {
143
+ "segment_index": 32,
144
+ "issues": [
145
+ "end_after_audio"
146
+ ]
147
+ },
148
+ {
149
+ "segment_index": 33,
150
+ "issues": [
151
+ "end_after_audio"
152
+ ]
153
+ },
154
+ {
155
+ "segment_index": 34,
156
+ "issues": [
157
+ "end_after_audio"
158
+ ]
159
+ },
160
+ {
161
+ "segment_index": 35,
162
+ "issues": [
163
+ "end_after_audio"
164
+ ]
165
+ },
166
+ {
167
+ "segment_index": 36,
168
+ "issues": [
169
+ "end_after_audio"
170
+ ]
171
+ },
172
+ {
173
+ "segment_index": 37,
174
+ "issues": [
175
+ "end_after_audio"
176
+ ]
177
+ }
178
+ ],
179
+ "repeated_identical_nonempty_segment_texts": [
180
+ {
181
+ "text_sha256": "6e78efa81a256c8a39b8268fdf3124080ab3a33c0813882ddbde55d81138cb9b",
182
+ "count": 2
183
+ },
184
+ {
185
+ "text_sha256": "456e80436a24f4ec42f61fd8d436c3689c9d7f6941f53b3fd3c6dcd08ae26237",
186
+ "count": 3
187
+ },
188
+ {
189
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
190
+ "count": 27
191
+ }
192
+ ],
193
+ "within_audio_segment_union_seconds": 22.046625,
194
+ "union_is_not_speech_coverage_or_transcription_accuracy": true,
195
+ "raw_output_kept_without_timestamp_clipping_or_text_filtering": true,
196
+ "transcript_semantic_validity": "unverified",
197
+ "formal_attribute_evidence": false
198
+ },
199
+ "elapsed_seconds": 4.921636584011139,
200
+ "human_continuous_listening": false,
201
+ "formal_attribute_coding": false,
202
+ "segments": [
203
+ {
204
+ "id": 1,
205
+ "start": 0.0,
206
+ "end": 3.2,
207
+ "temperature": 0,
208
+ "avg_logprob": -0.45294443460611195,
209
+ "compression_ratio": 2.135294117647059,
210
+ "no_speech_prob": 0.5629865527153015,
211
+ "text_sha256": "30e65a005045d74919bfdfca0d3d9539b0aeb0f071a407907d1901de55a9fc49",
212
+ "stripped_text_sha256": "30e65a005045d74919bfdfca0d3d9539b0aeb0f071a407907d1901de55a9fc49",
213
+ "has_nonempty_stripped_text": true
214
+ },
215
+ {
216
+ "id": 2,
217
+ "start": 3.2,
218
+ "end": 5.0,
219
+ "temperature": 0,
220
+ "avg_logprob": -0.45294443460611195,
221
+ "compression_ratio": 2.135294117647059,
222
+ "no_speech_prob": 0.5629865527153015,
223
+ "text_sha256": "e0e6197bbc28ccf04c924186cd33d322c342b5414ab7b8c7bb848c8f1810d261",
224
+ "stripped_text_sha256": "e0e6197bbc28ccf04c924186cd33d322c342b5414ab7b8c7bb848c8f1810d261",
225
+ "has_nonempty_stripped_text": true
226
+ },
227
+ {
228
+ "id": 3,
229
+ "start": 7.0,
230
+ "end": 8.0,
231
+ "temperature": 0,
232
+ "avg_logprob": -0.45294443460611195,
233
+ "compression_ratio": 2.135294117647059,
234
+ "no_speech_prob": 0.5629865527153015,
235
+ "text_sha256": "f5479034d0318b8f729373d097035be4c8570def4dcfaf56af85eab84be52d09",
236
+ "stripped_text_sha256": "f5479034d0318b8f729373d097035be4c8570def4dcfaf56af85eab84be52d09",
237
+ "has_nonempty_stripped_text": true
238
+ },
239
+ {
240
+ "id": 4,
241
+ "start": 10.0,
242
+ "end": 12.0,
243
+ "temperature": 0,
244
+ "avg_logprob": -0.45294443460611195,
245
+ "compression_ratio": 2.135294117647059,
246
+ "no_speech_prob": 0.5629865527153015,
247
+ "text_sha256": "21f52c64cd8f8058e93ea5e4c50d4c58d30660595bfb4a77e175b6b0028ae5ed",
248
+ "stripped_text_sha256": "21f52c64cd8f8058e93ea5e4c50d4c58d30660595bfb4a77e175b6b0028ae5ed",
249
+ "has_nonempty_stripped_text": true
250
+ },
251
+ {
252
+ "id": 5,
253
+ "start": 12.0,
254
+ "end": 14.5,
255
+ "temperature": 0,
256
+ "avg_logprob": -0.45294443460611195,
257
+ "compression_ratio": 2.135294117647059,
258
+ "no_speech_prob": 0.5629865527153015,
259
+ "text_sha256": "d50900e7ed60ff3fd39a6d0313f6048e63d19cbb29a1e76f7468617c14e2c07a",
260
+ "stripped_text_sha256": "d50900e7ed60ff3fd39a6d0313f6048e63d19cbb29a1e76f7468617c14e2c07a",
261
+ "has_nonempty_stripped_text": true
262
+ },
263
+ {
264
+ "id": 6,
265
+ "start": 14.5,
266
+ "end": 17.0,
267
+ "temperature": 0,
268
+ "avg_logprob": -0.45294443460611195,
269
+ "compression_ratio": 2.135294117647059,
270
+ "no_speech_prob": 0.5629865527153015,
271
+ "text_sha256": "6ad1a022137e8681d3984ca36a2c9fe06353f47114926934af65b6964877b591",
272
+ "stripped_text_sha256": "6ad1a022137e8681d3984ca36a2c9fe06353f47114926934af65b6964877b591",
273
+ "has_nonempty_stripped_text": true
274
+ },
275
+ {
276
+ "id": 7,
277
+ "start": 17.0,
278
+ "end": 19.5,
279
+ "temperature": 0,
280
+ "avg_logprob": -0.45294443460611195,
281
+ "compression_ratio": 2.135294117647059,
282
+ "no_speech_prob": 0.5629865527153015,
283
+ "text_sha256": "6e78efa81a256c8a39b8268fdf3124080ab3a33c0813882ddbde55d81138cb9b",
284
+ "stripped_text_sha256": "6e78efa81a256c8a39b8268fdf3124080ab3a33c0813882ddbde55d81138cb9b",
285
+ "has_nonempty_stripped_text": true
286
+ },
287
+ {
288
+ "id": 8,
289
+ "start": 21.0,
290
+ "end": 22.0,
291
+ "temperature": 0,
292
+ "avg_logprob": -0.45294443460611195,
293
+ "compression_ratio": 2.135294117647059,
294
+ "no_speech_prob": 0.5629865527153015,
295
+ "text_sha256": "456e80436a24f4ec42f61fd8d436c3689c9d7f6941f53b3fd3c6dcd08ae26237",
296
+ "stripped_text_sha256": "456e80436a24f4ec42f61fd8d436c3689c9d7f6941f53b3fd3c6dcd08ae26237",
297
+ "has_nonempty_stripped_text": true
298
+ },
299
+ {
300
+ "id": 9,
301
+ "start": 23.0,
302
+ "end": 24.5,
303
+ "temperature": 0,
304
+ "avg_logprob": -0.45294443460611195,
305
+ "compression_ratio": 2.135294117647059,
306
+ "no_speech_prob": 0.5629865527153015,
307
+ "text_sha256": "456e80436a24f4ec42f61fd8d436c3689c9d7f6941f53b3fd3c6dcd08ae26237",
308
+ "stripped_text_sha256": "456e80436a24f4ec42f61fd8d436c3689c9d7f6941f53b3fd3c6dcd08ae26237",
309
+ "has_nonempty_stripped_text": true
310
+ },
311
+ {
312
+ "id": 10,
313
+ "start": 25.5,
314
+ "end": 27.0,
315
+ "temperature": 0,
316
+ "avg_logprob": -0.45294443460611195,
317
+ "compression_ratio": 2.135294117647059,
318
+ "no_speech_prob": 0.5629865527153015,
319
+ "text_sha256": "456e80436a24f4ec42f61fd8d436c3689c9d7f6941f53b3fd3c6dcd08ae26237",
320
+ "stripped_text_sha256": "456e80436a24f4ec42f61fd8d436c3689c9d7f6941f53b3fd3c6dcd08ae26237",
321
+ "has_nonempty_stripped_text": true
322
+ },
323
+ {
324
+ "id": 11,
325
+ "start": 27.0,
326
+ "end": 29.5,
327
+ "temperature": 0,
328
+ "avg_logprob": -0.45294443460611195,
329
+ "compression_ratio": 2.135294117647059,
330
+ "no_speech_prob": 0.5629865527153015,
331
+ "text_sha256": "6e78efa81a256c8a39b8268fdf3124080ab3a33c0813882ddbde55d81138cb9b",
332
+ "stripped_text_sha256": "6e78efa81a256c8a39b8268fdf3124080ab3a33c0813882ddbde55d81138cb9b",
333
+ "has_nonempty_stripped_text": true
334
+ },
335
+ {
336
+ "id": 12,
337
+ "start": 30.0,
338
+ "end": 31.0,
339
+ "temperature": 0,
340
+ "avg_logprob": -0.25077158715351516,
341
+ "compression_ratio": 5.785714285714286,
342
+ "no_speech_prob": 0.861713707447052,
343
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
344
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
345
+ "has_nonempty_stripped_text": true
346
+ },
347
+ {
348
+ "id": 13,
349
+ "start": 31.0,
350
+ "end": 32.0,
351
+ "temperature": 0,
352
+ "avg_logprob": -0.25077158715351516,
353
+ "compression_ratio": 5.785714285714286,
354
+ "no_speech_prob": 0.861713707447052,
355
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
356
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
357
+ "has_nonempty_stripped_text": true
358
+ },
359
+ {
360
+ "id": 14,
361
+ "start": 32.0,
362
+ "end": 33.0,
363
+ "temperature": 0,
364
+ "avg_logprob": -0.25077158715351516,
365
+ "compression_ratio": 5.785714285714286,
366
+ "no_speech_prob": 0.861713707447052,
367
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
368
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
369
+ "has_nonempty_stripped_text": true
370
+ },
371
+ {
372
+ "id": 15,
373
+ "start": 33.0,
374
+ "end": 34.0,
375
+ "temperature": 0,
376
+ "avg_logprob": -0.25077158715351516,
377
+ "compression_ratio": 5.785714285714286,
378
+ "no_speech_prob": 0.861713707447052,
379
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
380
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
381
+ "has_nonempty_stripped_text": true
382
+ },
383
+ {
384
+ "id": 16,
385
+ "start": 34.0,
386
+ "end": 35.0,
387
+ "temperature": 0,
388
+ "avg_logprob": -0.25077158715351516,
389
+ "compression_ratio": 5.785714285714286,
390
+ "no_speech_prob": 0.861713707447052,
391
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
392
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
393
+ "has_nonempty_stripped_text": true
394
+ },
395
+ {
396
+ "id": 17,
397
+ "start": 35.0,
398
+ "end": 36.0,
399
+ "temperature": 0,
400
+ "avg_logprob": -0.25077158715351516,
401
+ "compression_ratio": 5.785714285714286,
402
+ "no_speech_prob": 0.861713707447052,
403
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
404
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
405
+ "has_nonempty_stripped_text": true
406
+ },
407
+ {
408
+ "id": 18,
409
+ "start": 36.0,
410
+ "end": 37.0,
411
+ "temperature": 0,
412
+ "avg_logprob": -0.25077158715351516,
413
+ "compression_ratio": 5.785714285714286,
414
+ "no_speech_prob": 0.861713707447052,
415
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
416
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
417
+ "has_nonempty_stripped_text": true
418
+ },
419
+ {
420
+ "id": 19,
421
+ "start": 37.0,
422
+ "end": 38.0,
423
+ "temperature": 0,
424
+ "avg_logprob": -0.25077158715351516,
425
+ "compression_ratio": 5.785714285714286,
426
+ "no_speech_prob": 0.861713707447052,
427
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
428
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
429
+ "has_nonempty_stripped_text": true
430
+ },
431
+ {
432
+ "id": 20,
433
+ "start": 38.0,
434
+ "end": 39.0,
435
+ "temperature": 0,
436
+ "avg_logprob": -0.25077158715351516,
437
+ "compression_ratio": 5.785714285714286,
438
+ "no_speech_prob": 0.861713707447052,
439
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
440
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
441
+ "has_nonempty_stripped_text": true
442
+ },
443
+ {
444
+ "id": 21,
445
+ "start": 39.0,
446
+ "end": 40.0,
447
+ "temperature": 0,
448
+ "avg_logprob": -0.25077158715351516,
449
+ "compression_ratio": 5.785714285714286,
450
+ "no_speech_prob": 0.861713707447052,
451
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
452
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
453
+ "has_nonempty_stripped_text": true
454
+ },
455
+ {
456
+ "id": 22,
457
+ "start": 40.0,
458
+ "end": 41.0,
459
+ "temperature": 0,
460
+ "avg_logprob": -0.25077158715351516,
461
+ "compression_ratio": 5.785714285714286,
462
+ "no_speech_prob": 0.861713707447052,
463
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
464
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
465
+ "has_nonempty_stripped_text": true
466
+ },
467
+ {
468
+ "id": 23,
469
+ "start": 41.0,
470
+ "end": 42.0,
471
+ "temperature": 0,
472
+ "avg_logprob": -0.25077158715351516,
473
+ "compression_ratio": 5.785714285714286,
474
+ "no_speech_prob": 0.861713707447052,
475
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
476
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
477
+ "has_nonempty_stripped_text": true
478
+ },
479
+ {
480
+ "id": 24,
481
+ "start": 42.0,
482
+ "end": 43.0,
483
+ "temperature": 0,
484
+ "avg_logprob": -0.25077158715351516,
485
+ "compression_ratio": 5.785714285714286,
486
+ "no_speech_prob": 0.861713707447052,
487
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
488
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
489
+ "has_nonempty_stripped_text": true
490
+ },
491
+ {
492
+ "id": 25,
493
+ "start": 43.0,
494
+ "end": 44.0,
495
+ "temperature": 0,
496
+ "avg_logprob": -0.25077158715351516,
497
+ "compression_ratio": 5.785714285714286,
498
+ "no_speech_prob": 0.861713707447052,
499
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
500
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
501
+ "has_nonempty_stripped_text": true
502
+ },
503
+ {
504
+ "id": 26,
505
+ "start": 44.0,
506
+ "end": 45.0,
507
+ "temperature": 0,
508
+ "avg_logprob": -0.25077158715351516,
509
+ "compression_ratio": 5.785714285714286,
510
+ "no_speech_prob": 0.861713707447052,
511
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
512
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
513
+ "has_nonempty_stripped_text": true
514
+ },
515
+ {
516
+ "id": 27,
517
+ "start": 45.0,
518
+ "end": 46.0,
519
+ "temperature": 0,
520
+ "avg_logprob": -0.25077158715351516,
521
+ "compression_ratio": 5.785714285714286,
522
+ "no_speech_prob": 0.861713707447052,
523
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
524
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
525
+ "has_nonempty_stripped_text": true
526
+ },
527
+ {
528
+ "id": 28,
529
+ "start": 46.0,
530
+ "end": 47.0,
531
+ "temperature": 0,
532
+ "avg_logprob": -0.25077158715351516,
533
+ "compression_ratio": 5.785714285714286,
534
+ "no_speech_prob": 0.861713707447052,
535
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
536
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
537
+ "has_nonempty_stripped_text": true
538
+ },
539
+ {
540
+ "id": 29,
541
+ "start": 47.0,
542
+ "end": 48.0,
543
+ "temperature": 0,
544
+ "avg_logprob": -0.25077158715351516,
545
+ "compression_ratio": 5.785714285714286,
546
+ "no_speech_prob": 0.861713707447052,
547
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
548
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
549
+ "has_nonempty_stripped_text": true
550
+ },
551
+ {
552
+ "id": 30,
553
+ "start": 48.0,
554
+ "end": 49.0,
555
+ "temperature": 0,
556
+ "avg_logprob": -0.25077158715351516,
557
+ "compression_ratio": 5.785714285714286,
558
+ "no_speech_prob": 0.861713707447052,
559
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
560
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
561
+ "has_nonempty_stripped_text": true
562
+ },
563
+ {
564
+ "id": 31,
565
+ "start": 49.0,
566
+ "end": 50.0,
567
+ "temperature": 0,
568
+ "avg_logprob": -0.25077158715351516,
569
+ "compression_ratio": 5.785714285714286,
570
+ "no_speech_prob": 0.861713707447052,
571
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
572
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
573
+ "has_nonempty_stripped_text": true
574
+ },
575
+ {
576
+ "id": 32,
577
+ "start": 50.0,
578
+ "end": 51.0,
579
+ "temperature": 0,
580
+ "avg_logprob": -0.25077158715351516,
581
+ "compression_ratio": 5.785714285714286,
582
+ "no_speech_prob": 0.861713707447052,
583
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
584
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
585
+ "has_nonempty_stripped_text": true
586
+ },
587
+ {
588
+ "id": 33,
589
+ "start": 51.0,
590
+ "end": 52.0,
591
+ "temperature": 0,
592
+ "avg_logprob": -0.25077158715351516,
593
+ "compression_ratio": 5.785714285714286,
594
+ "no_speech_prob": 0.861713707447052,
595
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
596
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
597
+ "has_nonempty_stripped_text": true
598
+ },
599
+ {
600
+ "id": 34,
601
+ "start": 52.0,
602
+ "end": 53.0,
603
+ "temperature": 0,
604
+ "avg_logprob": -0.25077158715351516,
605
+ "compression_ratio": 5.785714285714286,
606
+ "no_speech_prob": 0.861713707447052,
607
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
608
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
609
+ "has_nonempty_stripped_text": true
610
+ },
611
+ {
612
+ "id": 35,
613
+ "start": 53.0,
614
+ "end": 54.0,
615
+ "temperature": 0,
616
+ "avg_logprob": -0.25077158715351516,
617
+ "compression_ratio": 5.785714285714286,
618
+ "no_speech_prob": 0.861713707447052,
619
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
620
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
621
+ "has_nonempty_stripped_text": true
622
+ },
623
+ {
624
+ "id": 36,
625
+ "start": 54.0,
626
+ "end": 55.0,
627
+ "temperature": 0,
628
+ "avg_logprob": -0.25077158715351516,
629
+ "compression_ratio": 5.785714285714286,
630
+ "no_speech_prob": 0.861713707447052,
631
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
632
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
633
+ "has_nonempty_stripped_text": true
634
+ },
635
+ {
636
+ "id": 37,
637
+ "start": 55.0,
638
+ "end": 56.0,
639
+ "temperature": 0,
640
+ "avg_logprob": -0.25077158715351516,
641
+ "compression_ratio": 5.785714285714286,
642
+ "no_speech_prob": 0.861713707447052,
643
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
644
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
645
+ "has_nonempty_stripped_text": true
646
+ },
647
+ {
648
+ "id": 38,
649
+ "start": 56.0,
650
+ "end": 57.0,
651
+ "temperature": 0,
652
+ "avg_logprob": -0.25077158715351516,
653
+ "compression_ratio": 5.785714285714286,
654
+ "no_speech_prob": 0.861713707447052,
655
+ "text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
656
+ "stripped_text_sha256": "f867f34178594f891eb70a4260f62b1d9289cfa60394f9fee1cbbe4a8b4bf436",
657
+ "has_nonempty_stripped_text": true
658
+ }
659
+ ],
660
+ "private_original_record_sha256": "af8bd6e5c49e4b95b5e6a9ce34aa3c6d2601a3a8c61bd35b4827bde8fe85065a",
661
+ "shared_omissions": "Raw ASR text, tokens and private paths omitted. Original unfiltered record remains private."
662
+ }
supplements/20261025_buv_fixed_newcohort_audio/audio_diagnostics.json ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": "buv_fixed_audio_diagnostics_v1",
3
+ "fixed_positions": 6,
4
+ "processed_positions": 5,
5
+ "missing_positions": 1,
6
+ "audio_seconds": 125.196625,
7
+ "raw_segments": 54,
8
+ "videos_with_timing_issues": 3,
9
+ "timing_issue_segments": 29,
10
+ "model_revision": "536b0662742c02347bc0e980a01041f333bce120",
11
+ "positions": [
12
+ {
13
+ "content_order": 1,
14
+ "video_id": "7681338764204052645",
15
+ "published_beijing": "2026-09-03 23:57:30",
16
+ "prior_media_status": "downloaded_full_decode_passed_all_contact_sheets_visually_inspected",
17
+ "media_repository": "boardman7/cavfa-short-video-data",
18
+ "media_revision": "6906e40b3331ff40addb432826e3bb5b1896b0b2",
19
+ "media_path": "supplements/20261022_buv_newcohort/media/01_7681338764204052645.mp4",
20
+ "audio_status": "full_audio_machine_asr_unverified",
21
+ "audio_seconds": 25.61,
22
+ "sample_count": 409760,
23
+ "media_sha256": "83abd99bec444d7d6d488238d5902bba10ecb141be6f6758e435124001f9b0b7",
24
+ "audio_sha256": "fd7e3eea643627861211d046cbb23d7c641aa729be6966a9b58220bc55fd5cf0",
25
+ "pcm_sha256": "66091edcd8b109009c4b82ede14700db34e5aacdfcbee82d4b8238aab1193ede",
26
+ "raw_segments": 3,
27
+ "timing_issue_segments": 0,
28
+ "largest_segment_end": 25.0,
29
+ "repeated_text_groups": 0,
30
+ "metadata_file": "V1/machine_transcript_metadata.json",
31
+ "human_continuous_listening": false,
32
+ "formal_supply_attributes": null
33
+ },
34
+ {
35
+ "content_order": 2,
36
+ "video_id": "7680226463999962214",
37
+ "published_beijing": "2026-09-01 00:01:13",
38
+ "prior_media_status": "downloaded_full_decode_passed_all_contact_sheets_visually_inspected",
39
+ "media_repository": "boardman7/cavfa-short-video-data",
40
+ "media_revision": "6906e40b3331ff40addb432826e3bb5b1896b0b2",
41
+ "media_path": "supplements/20261022_buv_newcohort/media/02_7680226463999962214.mp4",
42
+ "audio_status": "full_audio_machine_asr_unverified",
43
+ "audio_seconds": 25.61,
44
+ "sample_count": 409760,
45
+ "media_sha256": "a4eb74c1857c57c6c2f2ca8d695725152d47bbdf428b739a8eee732cf47d72c0",
46
+ "audio_sha256": "57680c826054bf6abd911b585a105cdbd12e902f9ff036129de9c1033191be3f",
47
+ "pcm_sha256": "a09e011d7d81b86426f1857f673e307e0b6961a530ed7b5214d9f799aa5b941a",
48
+ "raw_segments": 4,
49
+ "timing_issue_segments": 0,
50
+ "largest_segment_end": 21.42,
51
+ "repeated_text_groups": 2,
52
+ "metadata_file": "V2/machine_transcript_metadata.json",
53
+ "human_continuous_listening": false,
54
+ "formal_supply_attributes": null
55
+ },
56
+ {
57
+ "content_order": 5,
58
+ "video_id": "7681341410674674347",
59
+ "published_beijing": "2026-09-04 00:07:48",
60
+ "prior_media_status": "downloaded_full_decode_passed_all_contact_sheets_visually_inspected",
61
+ "media_repository": "boardman7/cavfa-short-video-data",
62
+ "media_revision": "6906e40b3331ff40addb432826e3bb5b1896b0b2",
63
+ "media_path": "supplements/20261022_buv_newcohort/media/05_7681341410674674347.mp4",
64
+ "audio_status": "full_audio_machine_asr_unverified",
65
+ "audio_seconds": 28.884,
66
+ "sample_count": 462144,
67
+ "media_sha256": "06ef86d298a970ee41c719a958f9bee6fed5718c9e509a85d4842929336ea070",
68
+ "audio_sha256": "363779bf90dba3bb0ccbc78322b90c89c8b35bb2f752cd4377a3c9e989bfe149",
69
+ "pcm_sha256": "ede103009229577c9490f9bcf41eb5f313144708a95044ac8573f0b23151860b",
70
+ "raw_segments": 1,
71
+ "timing_issue_segments": 1,
72
+ "largest_segment_end": 29.0,
73
+ "repeated_text_groups": 0,
74
+ "metadata_file": "V5/machine_transcript_metadata.json",
75
+ "human_continuous_listening": false,
76
+ "formal_supply_attributes": null
77
+ },
78
+ {
79
+ "content_order": 6,
80
+ "video_id": "7681339883486572145",
81
+ "published_beijing": "2026-09-04 00:01:50",
82
+ "prior_media_status": "downloaded_full_decode_passed_all_contact_sheets_visually_inspected",
83
+ "media_repository": "boardman7/cavfa-short-video-data",
84
+ "media_revision": "6906e40b3331ff40addb432826e3bb5b1896b0b2",
85
+ "media_path": "supplements/20261022_buv_newcohort/media/06_7681339883486572145.mp4",
86
+ "audio_status": "full_audio_machine_asr_unverified",
87
+ "audio_seconds": 30.046625,
88
+ "sample_count": 480746,
89
+ "media_sha256": "d3018f89b04f4d64e71df957ecc4bde5c1b990898c45c6513ee62c72c9251246",
90
+ "audio_sha256": "705e0be70dab922524560ec154d0278954bcd46683b856f1e4382c87da5985ac",
91
+ "pcm_sha256": "34e8648928bcd3978c388281ca1b999d5c5df999ff4bfb80cc3dd7d6863f58a7",
92
+ "raw_segments": 38,
93
+ "timing_issue_segments": 27,
94
+ "largest_segment_end": 57.0,
95
+ "repeated_text_groups": 3,
96
+ "metadata_file": "V6/machine_transcript_metadata.json",
97
+ "human_continuous_listening": false,
98
+ "formal_supply_attributes": null
99
+ },
100
+ {
101
+ "content_order": 9,
102
+ "video_id": "7683009239187697573",
103
+ "published_beijing": "2026-09-08 11:59:47",
104
+ "prior_media_status": "missing_target_identity_unresolved_after_two_normal_entry_routes",
105
+ "media_repository": "boardman7/cavfa-short-video-data",
106
+ "media_revision": "6906e40b3331ff40addb432826e3bb5b1896b0b2",
107
+ "media_path": null,
108
+ "audio_status": "target_media_missing",
109
+ "raw_segments": null,
110
+ "formal_supply_attributes": null
111
+ },
112
+ {
113
+ "content_order": 10,
114
+ "video_id": "7683009664707251878",
115
+ "published_beijing": "2026-09-08 12:01:26",
116
+ "prior_media_status": "downloaded_full_decode_passed_all_contact_sheets_visually_inspected",
117
+ "media_repository": "boardman7/cavfa-short-video-data",
118
+ "media_revision": "6906e40b3331ff40addb432826e3bb5b1896b0b2",
119
+ "media_path": "supplements/20261022_buv_newcohort/media/10_7683009664707251878.mp4",
120
+ "audio_status": "full_audio_machine_asr_unverified",
121
+ "audio_seconds": 15.046,
122
+ "sample_count": 240736,
123
+ "media_sha256": "b4112aa257d1303f0aa173b66f4d70e35c4eb82d7f2f93d656ef32b227fbcebd",
124
+ "audio_sha256": "bb7849add7a65c46fcf0651a335e2e38ada2a1990d4fc923a9caa4c30be68b97",
125
+ "pcm_sha256": "f82dd0a3d56f7ffdf7f36b857961f1b37e8d73321518669823984b1e26608318",
126
+ "raw_segments": 8,
127
+ "timing_issue_segments": 1,
128
+ "largest_segment_end": 16.0,
129
+ "repeated_text_groups": 3,
130
+ "metadata_file": "V10/machine_transcript_metadata.json",
131
+ "human_continuous_listening": false,
132
+ "formal_supply_attributes": null
133
+ }
134
+ ],
135
+ "independent_checks": {
136
+ "all_media_match_existing_fixed_backup": true,
137
+ "all_pcm_matches_full_ffmpeg_redecode": true,
138
+ "all_wav_samples_and_hashes_match": true,
139
+ "raw_time_flags_and_repetition_recomputed": true,
140
+ "exact_executed_processor_source_preserved": true,
141
+ "fixed_missing_position_preserved": true
142
+ },
143
+ "new_platform_requests": 0,
144
+ "new_comment_jobs": 0,
145
+ "semantic_accuracy_evaluated": false,
146
+ "human_continuous_listening": false,
147
+ "formal_attribute_coding": false,
148
+ "limits": [
149
+ "Full decode and ASR execution do not establish reliable speech or information supply.",
150
+ "Raw segments outside the audio remain present and flagged; none is clipped into a valid formal timeline.",
151
+ "Repeated text is a diagnostic only, not proof that speech is absent or wrong.",
152
+ "No additional model or parameter search, sample replacement, topic decision or product efficacy inference."
153
+ ]
154
+ }
supplements/20261025_buv_fixed_newcohort_audio/processing/freeze_audio_evidence.py ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Package offline audio diagnostics; no ASR text or tokens are shared."""
2
+ from pathlib import Path
3
+ from collections import Counter
4
+ import argparse,hashlib,json,shutil,subprocess,sys,wave
5
+
6
+ def main():
7
+ p=argparse.ArgumentParser();p.add_argument('--repo',type=Path,required=True);p.add_argument('--root',type=Path,required=True);p.add_argument('--media-root',type=Path,required=True);args=p.parse_args()
8
+ sys.path.insert(0,str(args.repo/'scripts'))
9
+ from prepare_buv_audio_evidence import fixed_positions,safe_media,segment_diagnostics,sha
10
+ raw=args.root/'processing_output';public=args.root/'shared_payloads';public.mkdir(exist_ok=True)
11
+ protocol=json.loads((raw/'protocol.json').read_text());summary=json.loads((raw/'summary.json').read_text());positions,receipts=fixed_positions(args.repo)
12
+ assert protocol['positions']==positions and protocol['source_receipts']==receipts==summary['source_receipts']
13
+ assert sha(args.repo/'scripts/prepare_buv_audio_evidence.py')==protocol['processor_sha256']
14
+ def write(name,data):
15
+ target=public/name;target.parent.mkdir(parents=True,exist_ok=True);target.write_text(json.dumps(data,ensure_ascii=False,indent=2,allow_nan=False)+'\n')
16
+ def copy(source,name):
17
+ target=public/name;target.parent.mkdir(parents=True,exist_ok=True)
18
+ if target.exists():assert sha(target)==sha(source)
19
+ else:shutil.copyfile(source,target)
20
+ rows=[]
21
+ for position in positions:
22
+ sid='V'+str(position['content_order']);row={k:v for k,v in position.items()if k!='media'}
23
+ if position['media'] is None:
24
+ row.update(audio_status='target_media_missing',raw_segments=None,formal_supply_attributes=None);rows.append(row);continue
25
+ media=safe_media(args.media_root,position['media']);record=json.loads((raw/sid/'machine_transcript.json').read_text());wav=raw/record['audio_file']
26
+ assert record['media_sha256']==sha(media)==position['media']['media_sha256']
27
+ pcm=subprocess.check_output(['ffmpeg','-v','error','-i',str(media),'-map','0:a:0','-f','s16le','-ac','1','-ar','16000','pipe:1'])
28
+ with wave.open(str(wav),'rb')as h:
29
+ assert h.getnchannels()==1 and h.getsampwidth()==2 and h.getframerate()==16000
30
+ assert h.readframes(h.getnframes())==pcm
31
+ assert len(pcm)//2==record['sample_count']and hashlib.sha256(pcm).hexdigest()==record['pcm_sha256']and sha(wav)==record['audio_sha256']
32
+ assert record['audio_seconds']==record['sample_count']/16000
33
+ diagnostics=segment_diagnostics(record['segments'],record['audio_seconds']);assert diagnostics==record['diagnostics']
34
+ shared={k:v for k,v in record.items()if k!='segments'}
35
+ shared['segments']=[{**{k:s[k]for k in ['id','start','end','temperature','avg_logprob','compression_ratio','no_speech_prob']},'text_sha256':hashlib.sha256(s['text'].encode()).hexdigest(),'stripped_text_sha256':hashlib.sha256(s['text'].strip().encode()).hexdigest(),'has_nonempty_stripped_text':bool(s['text'].strip())}for s in record['segments']]
36
+ shared['private_original_record_sha256']=sha(raw/sid/'machine_transcript.json');shared['shared_omissions']='Raw ASR text, tokens and private paths omitted. Original unfiltered record remains private.'
37
+ assert not any('text'in s or 'tokens'in s for s in shared['segments'])
38
+ counted=Counter(s['stripped_text_sha256']for s in shared['segments']if s['has_nonempty_stripped_text']);assert {k:v for k,v in counted.items()if v>1}=={r['text_sha256']:r['count']for r in diagnostics['repeated_identical_nonempty_segment_texts']}
39
+ write(sid+'/machine_transcript_metadata.json',shared);copy(wav,sid+'/audio_16k_mono.wav')
40
+ row.update(audio_status='full_audio_machine_asr_unverified',audio_seconds=record['audio_seconds'],sample_count=record['sample_count'],media_sha256=record['media_sha256'],audio_sha256=record['audio_sha256'],pcm_sha256=record['pcm_sha256'],raw_segments=len(record['segments']),timing_issue_segments=len(diagnostics['timing_flags']),largest_segment_end=max((s['end']for s in record['segments']),default=None),repeated_text_groups=len(diagnostics['repeated_identical_nonempty_segment_texts']),metadata_file=sid+'/machine_transcript_metadata.json',human_continuous_listening=False,formal_supply_attributes=None)
41
+ rows.append(row)
42
+ copy(raw/'protocol.json','protocol.json');copy(raw/'summary.json','summary.json')
43
+ copy(args.repo/'scripts/prepare_buv_audio_evidence.py','processing/prepare_buv_audio_evidence.py');copy(args.repo/'scripts/build_buv_pilot_panel.py','processing/source_panel_reader_at_execution.py');copy(Path(__file__),'processing/freeze_audio_evidence.py')
44
+ summary_rows={'schema':'buv_fixed_audio_diagnostics_v1','fixed_positions':len(rows),'processed_positions':sum(r['audio_status']!='target_media_missing'for r in rows),'missing_positions':sum(r['audio_status']=='target_media_missing'for r in rows),'audio_seconds':sum(r.get('audio_seconds',0)for r in rows),'raw_segments':sum(r.get('raw_segments')or 0 for r in rows),'videos_with_timing_issues':sum(r.get('timing_issue_segments',0)>0 for r in rows),'timing_issue_segments':sum(r.get('timing_issue_segments',0)for r in rows),'model_revision':summary['model_revision'],'positions':rows,'independent_checks':{'all_media_match_existing_fixed_backup':True,'all_pcm_matches_full_ffmpeg_redecode':True,'all_wav_samples_and_hashes_match':True,'raw_time_flags_and_repetition_recomputed':True,'exact_executed_processor_source_preserved':True,'fixed_missing_position_preserved':True},'new_platform_requests':0,'new_comment_jobs':0,'semantic_accuracy_evaluated':False,'human_continuous_listening':False,'formal_attribute_coding':False,'limits':['Full decode and ASR execution do not establish reliable speech or information supply.','Raw segments outside the audio remain present and flagged; none is clipped into a valid formal timeline.','Repeated text is a diagnostic only, not proof that speech is absent or wrong.','No additional model or parameter search, sample replacement, topic decision or product efficacy inference.']}
45
+ write('audio_diagnostics.json',summary_rows)
46
+ files=[{'path':str(f.relative_to(public)),'sha256':sha(f),'bytes':f.stat().st_size}for f in sorted(public.rglob('*'))if f.is_file()and f.name!='MANIFEST.json']
47
+ write('MANIFEST.json',{'schema':'buv-fixed-audio-evidence-manifest-v1','files':files,'original_video_repository':'boardman7/cavfa-short-video-data','original_video_revision':'6906e40b3331ff40addb432826e3bb5b1896b0b2','duplicates_original_mp4':False,'privacy':'No browser state, credentials, native user IDs, private paths, ASR text or tokens. WAV derives from already public fixed source media; segment text hashes refer to private unfiltered outputs.'})
48
+ print(json.dumps({k:v for k,v in summary_rows.items()if k not in ['positions','limits']},ensure_ascii=False));print('files',len(files)+1)
49
+ if __name__=='__main__':main()
supplements/20261025_buv_fixed_newcohort_audio/processing/prepare_buv_audio_evidence.py ADDED
@@ -0,0 +1,212 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Decode and transcribe existing fixed BUV media offline, without attribute coding.
2
+
3
+ Inputs are the immutable six-position outcome cohort and its already backed-up
4
+ media. Missing positions remain missing. This is an auxiliary machine transcript,
5
+ not continuous human listening, a speech gold standard or a formal supply vector.
6
+ """
7
+
8
+ import argparse
9
+ from collections import Counter
10
+ from dataclasses import asdict
11
+ from datetime import datetime, timezone
12
+ import hashlib
13
+ from importlib.metadata import version
14
+ import json
15
+ import math
16
+ from pathlib import Path
17
+ import subprocess
18
+ import time
19
+ import wave
20
+
21
+ from build_buv_pilot_panel import PRODUCT, SOURCES, immutable_reader
22
+
23
+
24
+ MODEL_REVISION = "536b0662742c02347bc0e980a01041f333bce120"
25
+ MODEL_FILES = {
26
+ "config.json": "b55496ac7940a7ae47d2c01eab40edfd8701feec1229d9cce3b40014383fb828",
27
+ "model.bin": "3e305921506d8872816023e4c273e75d2419fb89b24da97b4fe7bce14170d671",
28
+ "tokenizer.json": "fb7b63191e9bb045082c79fd742a3106a12c99513ab30df4a0d47fa6cb6fd0ab",
29
+ "vocabulary.txt": "34ce3fe1c5041027b3f8d42912270993f986dbc4bb34cf27f951e34a1e453913",
30
+ }
31
+ ASR_CONFIG = {"language": "zh", "beam_size": 5, "condition_on_previous_text": False,
32
+ "vad_filter": False, "temperature": 0}
33
+ SAMPLE_RATE = 16000
34
+
35
+
36
+ def sha(path):
37
+ return hashlib.sha256(path.read_bytes()).hexdigest()
38
+
39
+
40
+ def save(path, data):
41
+ path.parent.mkdir(parents=True, exist_ok=True)
42
+ path.write_text(json.dumps(data, ensure_ascii=False, indent=2, allow_nan=False) + "\n")
43
+
44
+
45
+ def fixed_positions(repo):
46
+ read, receipts = immutable_reader(repo)
47
+ daily = read(SOURCES + "buv_newcohort_daily_outcome_audit.json")
48
+ content = read(SOURCES + "buv_newcohort_content_precheck_audit.json")
49
+ backup = read(SOURCES + "buv_newcohort_hf_media_backup_receipt.json")
50
+ if content["native_goods_id"] != PRODUCT:
51
+ raise ValueError("Content product identity mismatch")
52
+ by_order = {v["content_order"]: v for v in content["videos"]}
53
+ remote = {v["path"]: v for v in backup["files"]}
54
+ positions = []
55
+ for sample in daily["samples"]:
56
+ v = by_order[sample["content_order"]]
57
+ if v["native_video_id"] != sample["native_video_id"]:
58
+ raise ValueError("Fixed video identity mismatch")
59
+ media = v.get("media")
60
+ if media:
61
+ remote_file = remote[backup["path_prefix"] + "/" + media["media_file"]]
62
+ if (remote_file["sha256"] != media["media_sha256"]
63
+ or remote_file["bytes"] != media["bytes"]):
64
+ raise ValueError("Fixed media backup mismatch")
65
+ positions.append({"content_order": v["content_order"], "video_id": v["native_video_id"],
66
+ "published_beijing": sample["published_beijing"], "media": media,
67
+ "prior_media_status": v["media_status"],
68
+ "media_repository": backup["repository"], "media_revision": backup["supplement_revision"],
69
+ "media_path": backup["path_prefix"] + "/" + media["media_file"] if media else None})
70
+ if len({p["video_id"] for p in positions}) != len(positions):
71
+ raise ValueError("Duplicate fixed position")
72
+ return positions, receipts
73
+
74
+
75
+ def safe_media(root, metadata):
76
+ root = root.resolve()
77
+ target = (root / metadata["media_file"]).resolve()
78
+ if not target.is_relative_to(root):
79
+ raise ValueError("Media path leaves input root")
80
+ if target.stat().st_size != metadata["bytes"] or sha(target) != metadata["media_sha256"]:
81
+ raise ValueError("Media differs from fixed backup")
82
+ return target
83
+
84
+
85
+ def segment_diagnostics(segments, duration):
86
+ """Flag raw timing/repetition issues; never repair or accept transcript meaning."""
87
+ flags, spans, texts = [], [], []
88
+ if not math.isfinite(duration) or duration <= 0:
89
+ raise ValueError("Invalid decoded audio duration")
90
+ for i, segment in enumerate(segments):
91
+ start, end = segment["start"], segment["end"]
92
+ issues = []
93
+ if not all(isinstance(t, (int, float)) and math.isfinite(t) for t in (start, end)):
94
+ issues.append("nonfinite_or_invalid_time")
95
+ else:
96
+ if start < 0:
97
+ issues.append("start_before_audio")
98
+ if end > duration + 1 / SAMPLE_RATE:
99
+ issues.append("end_after_audio")
100
+ if end <= start:
101
+ issues.append("empty_or_reversed_interval")
102
+ if min(end, duration) > max(0, start):
103
+ spans.append((max(0, start), min(duration, end)))
104
+ if issues:
105
+ flags.append({"segment_index": i, "issues": issues})
106
+ text = segment.get("text", "").strip()
107
+ if text:
108
+ texts.append(text)
109
+ merged = []
110
+ for start, end in sorted(spans):
111
+ if merged and start <= merged[-1][1]:
112
+ merged[-1][1] = max(end, merged[-1][1])
113
+ else:
114
+ merged.append([start, end])
115
+ return {"raw_segments": len(segments), "timing_flags": flags,
116
+ "repeated_identical_nonempty_segment_texts": [
117
+ {"text_sha256": hashlib.sha256(text.encode()).hexdigest(), "count": count}
118
+ for text, count in sorted(Counter(texts).items()) if count > 1],
119
+ "within_audio_segment_union_seconds": sum(end - start for start, end in merged),
120
+ "union_is_not_speech_coverage_or_transcription_accuracy": True,
121
+ "raw_output_kept_without_timestamp_clipping_or_text_filtering": True,
122
+ "transcript_semantic_validity": "unverified", "formal_attribute_evidence": False}
123
+
124
+
125
+ def run(repo, media_root, model_dir, out):
126
+ import numpy as np
127
+ from faster_whisper import WhisperModel
128
+
129
+ if out.exists() and any(out.iterdir()):
130
+ raise ValueError("Output is nonempty; preserve prior run instead of overwriting")
131
+ positions, receipts = fixed_positions(repo)
132
+ inputs = [(p, safe_media(media_root, p["media"])) for p in positions if p["media"]]
133
+ model_files = []
134
+ for name, expected in MODEL_FILES.items():
135
+ p = model_dir / name
136
+ if sha(p) != expected:
137
+ raise ValueError("Frozen model differs: " + name)
138
+ model_files.append({"path": name, "sha256": expected, "bytes": p.stat().st_size})
139
+ out.mkdir(parents=True, exist_ok=True)
140
+ protocol = {"schema": "buv_fixed_newcohort_audio_protocol_v1", "product_id": PRODUCT,
141
+ "positions": positions, "source_receipts": receipts,
142
+ "model": {"repository": "Systran/faster-whisper-small", "revision": MODEL_REVISION,
143
+ "files": model_files}, "asr_config": ASR_CONFIG,
144
+ "execution": {"device": "cpu", "compute_type": "int8", "cpu_threads": 4, "num_workers": 1,
145
+ "local_files_only": True, "full_file_one_inference_per_available_position": True},
146
+ "runtime": {n: version(n) for n in ["faster-whisper", "ctranslate2", "numpy", "av"]},
147
+ "ffmpeg": subprocess.check_output(["ffmpeg", "-version"], text=True).splitlines()[0],
148
+ "processor_sha256": sha(Path(__file__)), "new_platform_requests": 0,
149
+ "formal_attribute_coding": False, "human_continuous_listening": False,
150
+ "started_at_utc": datetime.now(timezone.utc).isoformat()}
151
+ save(out / "protocol.json", protocol)
152
+ model = WhisperModel(str(model_dir), **{k: protocol["execution"][k] for k in
153
+ ["device", "compute_type", "cpu_threads", "num_workers", "local_files_only"]})
154
+ results = []
155
+ for position, media in inputs:
156
+ started = time.monotonic()
157
+ subprocess.run(["ffmpeg", "-v", "error", "-i", str(media), "-f", "null", "-"],
158
+ check=True, capture_output=True)
159
+ pcm = subprocess.check_output(["ffmpeg", "-v", "error", "-i", str(media), "-map", "0:a:0",
160
+ "-f", "s16le", "-ac", "1", "-ar", str(SAMPLE_RATE), "pipe:1"])
161
+ if not pcm or len(pcm) % 2:
162
+ raise ValueError("Missing or incomplete decoded audio samples")
163
+ samples = np.frombuffer(pcm, dtype="<i2").astype(np.float32) / 32768
164
+ sid = "V" + str(position["content_order"])
165
+ audio = out / sid / "audio_16k_mono.wav"
166
+ audio.parent.mkdir(parents=True, exist_ok=True)
167
+ with wave.open(str(audio), "wb") as wav:
168
+ wav.setnchannels(1); wav.setsampwidth(2); wav.setframerate(SAMPLE_RATE); wav.writeframes(pcm)
169
+ duration = len(samples) / SAMPLE_RATE
170
+ if abs(duration - position["media"]["duration_seconds"]) > .25:
171
+ raise ValueError("Decoded audio and source duration differ materially")
172
+ segments, info = model.transcribe(samples, **ASR_CONFIG)
173
+ segments = [asdict(s) for s in segments]
174
+ record = {"video_id": position["video_id"], "content_order": position["content_order"],
175
+ "media_sha256": sha(media), "full_media_decode_passed": True,
176
+ "audio_file": str(audio.relative_to(out)), "audio_sha256": sha(audio),
177
+ "pcm_sha256": hashlib.sha256(pcm).hexdigest(), "sample_count": len(samples),
178
+ "sample_rate": SAMPLE_RATE, "audio_seconds": duration,
179
+ "asr_info_duration": info.duration, "segments": segments,
180
+ "diagnostics": segment_diagnostics(segments, duration),
181
+ "elapsed_seconds": time.monotonic() - started,
182
+ "human_continuous_listening": False, "formal_attribute_coding": False}
183
+ save(out / sid / "machine_transcript.json", record)
184
+ results.append(record)
185
+ print(json.dumps({"position": sid, "audio_seconds": duration,
186
+ "segments": len(segments), "timing_flags": record["diagnostics"]["timing_flags"],
187
+ "elapsed_seconds": record["elapsed_seconds"]}), flush=True)
188
+ summary = {"schema": "buv_fixed_newcohort_audio_evidence_v1", "product_id": PRODUCT,
189
+ "fixed_positions": len(positions), "processed_positions": len(results),
190
+ "missing_positions": [{"video_id": p["video_id"], "content_order": p["content_order"],
191
+ "state": p["prior_media_status"]} for p in positions if not p["media"]],
192
+ "audio_seconds": sum(r["audio_seconds"] for r in results),
193
+ "source_receipts": receipts, "model_revision": MODEL_REVISION,
194
+ "transcript_semantic_validity": "unverified", "formal_supply_attributes": None,
195
+ "human_continuous_listening": False, "new_platform_requests": 0,
196
+ "completed_at_utc": datetime.now(timezone.utc).isoformat()}
197
+ save(out / "summary.json", summary)
198
+ print(json.dumps(summary), flush=True)
199
+
200
+
201
+ def main():
202
+ parser = argparse.ArgumentParser(description=__doc__)
203
+ parser.add_argument("--repo", type=Path, default=Path(__file__).resolve().parents[1])
204
+ parser.add_argument("--media-root", type=Path, required=True)
205
+ parser.add_argument("--model-dir", type=Path, required=True)
206
+ parser.add_argument("--out", type=Path, required=True)
207
+ args = parser.parse_args()
208
+ run(args.repo, args.media_root, args.model_dir, args.out)
209
+
210
+
211
+ if __name__ == "__main__":
212
+ main()
supplements/20261025_buv_fixed_newcohort_audio/processing/source_panel_reader_at_execution.py ADDED
@@ -0,0 +1,455 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Join fixed BUV evidence offline without fitting attributes or outcomes.
2
+
3
+ Keep native video identity, provider attribution, date and metric missingness
4
+ separate. Comment counts cover only the audited source subset at their frozen
5
+ cutoff; live production state and raw comments are deliberately not read here.
6
+ The original ten-video snapshot remains available for historical replay.
7
+ """
8
+
9
+ import argparse
10
+ from collections import Counter
11
+ from datetime import datetime, time, timedelta
12
+ import hashlib
13
+ import json
14
+ from pathlib import Path
15
+ import re
16
+ from zoneinfo import ZoneInfo
17
+
18
+
19
+ TZ = ZoneInfo("Asia/Shanghai")
20
+ DATES = [f"2026-09-{day:02d}" for day in range(1, 31)]
21
+ PRODUCT = "3632234840075719990"
22
+ SOURCES = "docs/sources/20261022/"
23
+ B1 = "7676774775554275151"
24
+
25
+
26
+ def digest(data):
27
+ return hashlib.sha256(data).hexdigest()
28
+
29
+
30
+ def date_map(rows):
31
+ result = {}
32
+ for row in rows:
33
+ date = row["date"]
34
+ if date not in DATES or date in result:
35
+ raise ValueError("Duplicate or outside-window date")
36
+ result[date] = row
37
+ return result
38
+
39
+
40
+ def display_band(text):
41
+ """Retain the provider label; zero has no inferred transaction interval."""
42
+ if text is None:
43
+ return None
44
+ if text == "0":
45
+ return {"display": text, "state": "displayed_zero", "bounds": None}
46
+ match = re.fullmatch(r"(\d+(?:\.\d+)?)(w?)[-~](\d+(?:\.\d+)?)(w?)", text)
47
+ if not match:
48
+ raise ValueError(f"Unknown provider band: {text!r}")
49
+ low = float(match[1]) * (10000 if match[2] else 1)
50
+ high = float(match[3]) * (10000 if match[4] else 1)
51
+ if high < low:
52
+ raise ValueError("Reversed provider band")
53
+ return {"display": text, "state": "estimated_interval", "bounds": [low, high]}
54
+
55
+
56
+ def day_state(published, date):
57
+ start = datetime.combine(datetime.fromisoformat(date).date(), time(), TZ)
58
+ return {
59
+ "published_on_date": start.date() == published.date(),
60
+ "not_yet_published": start.date() < published.date(),
61
+ "full_natural_day_after_publication": start >= published,
62
+ "full_natural_day_after_168h": start >= published + timedelta(hours=168),
63
+ }
64
+
65
+
66
+ def positive_lower(band):
67
+ return band is not None and band["bounds"] is not None and band["bounds"][0] > 0
68
+
69
+
70
+ def trajectory(rows, metric):
71
+ rows = [r for r in rows if r["full_natural_day_after_168h"]
72
+ and r["outcome_state"] == "observed_supplier_display" and r[metric] is not None]
73
+ changes, increases = [], []
74
+ for before, after in zip(rows, rows[1:]):
75
+ if (datetime.fromisoformat(after["date"]) - datetime.fromisoformat(before["date"])).days != 1:
76
+ continue
77
+ a, b = before[metric], after[metric]
78
+ if a["display"] != b["display"]:
79
+ changes.append([before["date"], after["date"]])
80
+ if a["bounds"] is not None and b["bounds"] is not None and b["bounds"][0] > a["bounds"][1]:
81
+ increases.append([before["date"], after["date"], a["display"], b["display"]])
82
+ return {"full_post_168h_observed_days": len(rows),
83
+ "positive_lower_bound_days": sum(positive_lower(r[metric]) for r in rows),
84
+ "adjacent_display_change_count": len(changes),
85
+ "strict_disjoint_adjacent_estimated_increases": increases}
86
+
87
+
88
+ def immutable_reader(repo):
89
+ repo = repo.resolve()
90
+ registry = json.loads((repo / "docs/FILE_PURPOSES.json").read_text())["files"]
91
+ source_receipts = {}
92
+
93
+ def read(path):
94
+ target = (repo / path).resolve()
95
+ if not target.is_relative_to(repo):
96
+ raise ValueError("Source outside repository")
97
+ data = target.read_bytes()
98
+ expected = registry[path].get("immutable_blob_sha")
99
+ blob = hashlib.sha1(f"blob {len(data)}\0".encode() + data).hexdigest()
100
+ if expected is None or blob != expected:
101
+ raise ValueError("Source is not its registered immutable object: " + path)
102
+ source_receipts[path] = {"sha256": digest(data), "git_blob_sha": blob, "bytes": len(data)}
103
+ return json.loads(data)
104
+
105
+ return read, source_receipts
106
+
107
+
108
+ def build_historical_snapshot(repo):
109
+ """Replay the original 2026-10-22 source set, preserving its old scope."""
110
+ repo = repo.resolve()
111
+ read, source_receipts = immutable_reader(repo)
112
+ older_path = SOURCES + "buv_active_older_feasibility_audit.json"
113
+ new_path = SOURCES + "buv_newcohort_daily_outcome_audit.json"
114
+ content_path = SOURCES + "buv_newcohort_content_precheck_audit.json"
115
+ background_path = SOURCES + "buv_newcohort_background_index_alignment_audit.json"
116
+ comments_path = "docs/sources/20261021/buv_b1_role_sensitivity_audit.json"
117
+ older, new, content, background, comments = [read(p) for p in
118
+ [older_path, new_path, content_path, background_path, comments_path]]
119
+ if content["native_goods_id"] != PRODUCT or comments["video_id"] != B1:
120
+ raise ValueError("Product/comment source identity mismatch")
121
+
122
+ videos, by_video = [], {}
123
+
124
+ def add_video(video, rows):
125
+ native_id = video["video_id"]
126
+ if native_id in by_video:
127
+ raise ValueError("Video would be counted twice")
128
+ by_video[native_id] = date_map(rows)
129
+ videos.append(video)
130
+
131
+ for s in older["samples"]:
132
+ add_video({"video_id": s["native_video_id"], "cohort": "active_older_purposive",
133
+ "sample_aliases": [s["sample_id"]] + (["B1"] if s["native_video_id"] == B1 else []),
134
+ "published_at_beijing": s["published_at_china"],
135
+ "outcome_source": older_path, "content_source": older_path,
136
+ "content_status": "whole_timeline_frames_and_asr_descriptive_review",
137
+ "formal_supply_attributes": None,
138
+ "missing_outcome_explanation": (s["daily_outcome"].get("inconsistency")),
139
+ "selection_limit": "Selected using study-month sales; not representative or independent of outcomes."},
140
+ [{"date": r["date"], "units": r["units"], "gmv": r["gmv"], "gpm": r["gpm"]}
141
+ for r in s["daily_outcome"]["rows"]])
142
+
143
+ contents = {s["native_video_id"]: s for s in content["videos"]}
144
+ for s in new["samples"]:
145
+ if s["bound_product_native_id"] != PRODUCT:
146
+ raise ValueError("Outcome belongs to another product")
147
+ c = contents[s["native_video_id"]]
148
+ available = c["media_status"] == "downloaded_full_decode_passed_all_contact_sheets_visually_inspected"
149
+ add_video({"video_id": s["native_video_id"], "cohort": "new_publication_fixed_pages",
150
+ "sample_aliases": [f"V{s['content_order']}"],
151
+ "published_at_beijing": datetime.fromisoformat(s["published_beijing"]).replace(tzinfo=TZ).isoformat(),
152
+ "outcome_source": new_path, "content_source": content_path,
153
+ "content_status": "whole_timeline_visual_only_audio_unreviewed" if available else "target_media_missing",
154
+ "formal_supply_attributes": None,
155
+ "missing_outcome_explanation": None,
156
+ "selection_limit": "Fixed page-based diagnostic sample; not a product-population probability sample."},
157
+ [{"date": r["date"], "units": r["sales_units_display"], "gmv": r["gmv_display"],
158
+ "gpm": r["gpm_display"]} for r in s["rows"]])
159
+
160
+ search_sources, search_days = [], {}
161
+ for series in background["search"]["series"]:
162
+ path = series["source_audit"]["path"].removeprefix("work/marketing/")
163
+ source = read(path)
164
+ if source_receipts[path]["sha256"] != series["source_audit"]["sha256"]:
165
+ raise ValueError("Search source differs from the fixed alignment audit")
166
+ parent = source
167
+ parts = series["source_pointer"].strip("/").split("/")
168
+ for part in parts[:-1]:
169
+ parent = parent[int(part)] if isinstance(parent, list) else parent[part]
170
+ if (parent["platform"], parent["query"]) != (series["platform"], series["query"]):
171
+ raise ValueError("Search pointer changes keyword identity")
172
+ days = date_map(parent[parts[-1]])
173
+ key = series["platform"] + ":" + series["query"]
174
+ if key in search_days or set(days) != set(DATES):
175
+ raise ValueError("Duplicate or incomplete fixed search series")
176
+ search_days[key] = days
177
+ search_sources.append({"series_id": key, "platform": series["platform"], "query": series["query"],
178
+ "source": path, "source_pointer": series["source_pointer"],
179
+ "scope": "category_qualified_search_interest_not_product_exclusive_or_exogenous_demand",
180
+ "statistics": series["statistics_recomputed"]})
181
+
182
+ daily_comments = date_map(comments["daily"])
183
+ if set(daily_comments) != set(DATES):
184
+ raise ValueError("B1 daily comment audit is incomplete")
185
+ comment_columns = {"all_returned": "all_observed", "excluding_confirmed_author": "excluding_confirmed_source_author",
186
+ "non_author_main_only": "confirmed_non_author_main_only"}
187
+ comment_days = {d: {column: r["variants"][variant]["records"]
188
+ for column, variant in comment_columns.items()} for d, r in daily_comments.items()}
189
+ for column, variant in comment_columns.items():
190
+ if sum(r[column] for r in comment_days.values()) != comments["september"][variant]["records"]:
191
+ raise ValueError("Daily comment counts do not match source totals")
192
+
193
+ calendar = [{"date": d, "search_indices": {k: value[d]["value"] for k, value in search_days.items()},
194
+ "product_all_video_daily_comments": None,
195
+ "product_attribute_attention": None} for d in DATES]
196
+ panel = []
197
+ for video in videos:
198
+ published = datetime.fromisoformat(video["published_at_beijing"])
199
+ for date in DATES:
200
+ source = by_video[video["video_id"]].get(date)
201
+ age = day_state(published, date)
202
+ if source is not None and age["not_yet_published"]:
203
+ raise ValueError("Outcome before video publication")
204
+ state = "observed_supplier_display" if source is not None else (
205
+ "not_yet_published" if age["not_yet_published"] else "not_obtained")
206
+ panel.append({"video_id": video["video_id"], "date": date,
207
+ "outcome_state": state, **age,
208
+ **{k: display_band(source[k]) if source is not None else None for k in ["units", "gmv", "gpm"]},
209
+ "video_comment_counts": comment_days[date] if video["video_id"] == B1 else None,
210
+ "independent_daily_views": None, "daily_purchase_conversion": None})
211
+
212
+ per_video = []
213
+ for video in videos:
214
+ rows = [r for r in panel if r["video_id"] == video["video_id"]]
215
+ per_video.append({"video_id": video["video_id"], "cohort": video["cohort"],
216
+ "sample_aliases": video["sample_aliases"],
217
+ "outcome_states": dict(Counter(r["outcome_state"] for r in rows)),
218
+ "units_display_states": dict(Counter(r["units"]["state"] for r in rows if r["units"] is not None)),
219
+ "units_post_week": trajectory(rows, "units"), "gmv_post_week": trajectory(rows, "gmv"),
220
+ "positive_gmv_lower_and_display_zero_gpm_dates": [r["date"] for r in rows
221
+ if positive_lower(r["gmv"]) and r["gpm"]["state"] == "displayed_zero"]})
222
+
223
+ for path, receipt in source_receipts.items():
224
+ if digest((repo / path).read_bytes()) != receipt["sha256"]:
225
+ raise ValueError("Input changed during join")
226
+ return {"schema": "buv_existing_evidence_calendar_join_v1", "audit_date": "2026-10-22",
227
+ "product_id": PRODUCT, "window": {"start": DATES[0], "end_inclusive": DATES[-1], "timezone": "Asia/Shanghai"},
228
+ "purpose": "Existing evidence integration, missingness and within-series variation; not a new formal sample or regression.",
229
+ "source_receipts": source_receipts,
230
+ "generator": {"path": "scripts/build_buv_pilot_panel.py", "sha256": digest(Path(__file__).read_bytes())},
231
+ "videos": videos, "search_series": search_sources, "calendar": calendar, "video_days": panel,
232
+ "historical_comment_background": {"source": background_path,
233
+ "coverage": background["historical_comment_background"]["recomputed_coverage"],
234
+ "formal_attribute_weights": None, "august_covered": False,
235
+ "note": "Reuses the immutable coverage audit; this join does not re-read raw comments or infer attributes."},
236
+ "b1_comment_diagnostic": {"source": comments_path, "scope": "single_video_currently_visible_comments",
237
+ "totals": {k: sum(r[k] for r in comment_days.values()) for k in comment_columns},
238
+ "not_confirmed_consumers": True, "historical_completeness_proven": False},
239
+ "summary": {"unique_videos": len(videos), "calendar_video_days": len(panel),
240
+ "cohort_video_counts": dict(Counter(v["cohort"] for v in videos)),
241
+ "outcome_states": dict(Counter(r["outcome_state"] for r in panel)),
242
+ "observed_full_natural_video_days": sum(r["full_natural_day_after_publication"] and r["outcome_state"] == "observed_supplier_display" for r in panel),
243
+ "unique_search_series": len(search_sources), "unique_search_word_days": sum(len(v) for v in search_days.values()),
244
+ "shared_search_calendar_days": len(calendar), "b1_comment_calendar_days": len(comment_days),
245
+ "formal_supply_attribute_vectors": 0, "formal_daily_attribute_demand_vectors": 0,
246
+ "per_video": per_video},
247
+ "interpretation_limits": [
248
+ "The 10 diagnostic videos retain different selection mechanisms; this is neither a random sample nor a product census.",
249
+ "H2 and historical B1 are one video and one outcome trajectory, not two independent observations.",
250
+ "The same 30 search dates are shared by every video; replication across rows is not additional demand variation.",
251
+ "Keyword series stay separate; no cross-keyword share, cross-platform pooling, attribute whitelist or formal weight is inferred.",
252
+ "Displayed zero, zero-containing estimate, unavailable result and prepublication day remain distinct. No band midpoint or imputation.",
253
+ "Independent views, purchase conversion and daily paid traffic remain unavailable. GPM is not inverted.",
254
+ "Only B1 has linked comment counts here; these are not product-wide daily comments, attribute classifications or exogenous demand.",
255
+ "Whole-timeline visual descriptions and ASR are not formal attribute codes or independent human audiovisual validation.",
256
+ "Displayed bands changing or strictly separating only describes supplier estimates, not true orders or an attention-caused effect.",
257
+ "Joining displayed calendar dates does not establish identical provider attribution or intraday aggregation contracts."],
258
+ "new_platform_requests": 0, "new_comment_jobs": 0, "full_collection_started": False,
259
+ "formal_matching_or_regression_run": False}
260
+
261
+
262
+ def unique_provider_days(rows):
263
+ """Provider/scope are part of identity; they must never overwrite each other."""
264
+ keys = [(r['video_id'], r['provider'], r['attribution_scope'], r['date']) for r in rows]
265
+ if len(keys) != len(set(keys)):
266
+ raise ValueError('Duplicate provider/video/scope/date observation')
267
+ return keys
268
+
269
+
270
+ def scoped_comment_calendar(audit):
271
+ """Expand known capture zeros, leaving the uncaptured population unknown."""
272
+ if (audit['product']['native_product_id'] != PRODUCT
273
+ or audit['product']['product_id'] != 'RS04_mDI96101'):
274
+ raise ValueError('Comment source product identity mismatch')
275
+ q = audit['quality_and_time_coverage']
276
+ sources = q['new_video_summaries'] + q['legacy_video_summaries']
277
+ sources = [s for s in sources if s['eligible_in_september_frame']]
278
+ if len(sources) != q['current_september_eligible_runs'] or len({s['video_id'] for s in sources}) != len(sources):
279
+ raise ValueError('Comment capture membership is not unique or complete')
280
+ by_video = {}
281
+ for s in sources:
282
+ daily = date_map([{'date': d, 'count': n} for d, n in s['september_daily_rows'].items()])
283
+ authors = date_map([{'date': d, 'count': n} for d, n in s['september_author_daily_rows'].items()])
284
+ days = {}
285
+ for d in DATES:
286
+ count, author = daily.get(d, {}).get('count', 0), authors.get(d, {}).get('count', 0)
287
+ if type(count) is not int or type(author) is not int or not 0 <= author <= count:
288
+ raise ValueError('Invalid comment role count')
289
+ days[d] = {'all_returned': count, 'excluding_confirmed_source_author': count - author}
290
+ if sum(r['all_returned'] for r in days.values()) != s['september_rows'].get('all', 0):
291
+ raise ValueError('Video comment calendar differs from capture total')
292
+ if sum(r['excluding_confirmed_source_author'] for r in days.values()) != s['september_rows'].get('not_source_author', 0):
293
+ raise ValueError('Video comment role calendar differs from capture total')
294
+ by_video[s['video_id']] = {'video_id': s['video_id'], 'pass_1_source_sha256': s['pass_1_source_sha256'],
295
+ 'coverage': 'current_visible_complete_capture_in_fixed_september_source_frame', 'days': days}
296
+ calendar = {d: {k: sum(v['days'][d][k] for v in by_video.values())
297
+ for k in ('all_returned', 'excluding_confirmed_source_author')} for d in DATES}
298
+ for d, row in calendar.items():
299
+ if (row['all_returned'] != q['current_september_daily_rows'].get(d, 0)
300
+ or row['excluding_confirmed_source_author'] != q['current_september_non_source_author_daily_rows'].get(d, 0)):
301
+ raise ValueError('Captured-source calendar differs from fixed aggregate')
302
+ return by_video, calendar
303
+
304
+
305
+ def build(repo):
306
+ """Join newer fixed evidence; production captures require a later audit."""
307
+ repo = repo.resolve()
308
+ old = build_historical_snapshot(repo)
309
+ read, receipts = immutable_reader(repo)
310
+ followup_path = 'docs/sources/20261023/buv_pool_content_daily_followup_audit.json'
311
+ b1_path = 'docs/sources/20261023/chanmama_python_daily_followup_audit.json'
312
+ h4_path = 'docs/sources/20261023/h4_chanmama_daily_gmv_probe.json'
313
+ comments_path = 'docs/sources/20261024/buv_sales_qualified_bounded_execution_audit.json'
314
+ background_path = 'docs/sources/20261025/buv_rolling_background_validation_audit.json'
315
+ followup, b1_source, h4, comments, background = [read(p) for p in
316
+ (followup_path, b1_path, h4_path, comments_path, background_path)]
317
+ b1 = b1_source['b1_september']
318
+ if (followup['product_scope']['native_product_id'] != PRODUCT or b1['video_id'] != B1
319
+ or b1['product_id'] != 'RS04_mDI96101' or h4['source']['product_id'] != b1['product_id']
320
+ or background['scope']['native_product_id'] != PRODUCT):
321
+ raise ValueError('Fixed followup product identity mismatch')
322
+
323
+ videos = {v['video_id']: v for v in old['videos']}
324
+ provider_rows = [{**r, 'provider': 'feigua',
325
+ 'attribution_scope': 'video_diagnostic_supplier_estimate_not_cross_provider_equivalent',
326
+ 'source': videos[r['video_id']]['outcome_source'],
327
+ 'metric_states': {m: 'observed_supplier_display' if r[m] is not None else (
328
+ 'not_provided_by_source' if r['outcome_state'] == 'observed_supplier_display' else r['outcome_state'])
329
+ for m in ('units', 'gmv', 'gpm')}} for r in old['video_days']]
330
+
331
+ def add_chanmama(video_id, published, rows, source):
332
+ if video_id not in videos:
333
+ raise ValueError('Outcome has no matching native video identity')
334
+ published = datetime.fromisoformat(published).astimezone(TZ)
335
+ if published.date() != datetime.fromisoformat(videos[video_id]['published_at_beijing']).date():
336
+ raise ValueError('Publication day differs across providers')
337
+ dates = date_map(rows)
338
+ if set(dates) != set(DATES):
339
+ raise ValueError('Followup provider calendar is incomplete')
340
+ for d in DATES:
341
+ row = dates[d]; age = day_state(published, d)
342
+ if age['not_yet_published']:
343
+ raise ValueError('Followup outcome precedes publication')
344
+ provider_rows.append({'video_id': video_id, 'provider': 'chanmama',
345
+ 'attribution_scope': 'specified_product_in_video_supplier_estimate',
346
+ 'source': source, 'date': d, 'outcome_state': 'observed_supplier_display', **age,
347
+ 'provider_published_at_beijing': published.isoformat(),
348
+ **{m: display_band(row.get(m)) for m in ('units', 'gmv', 'gpm')},
349
+ 'metric_states': {m: 'observed_supplier_display' if row.get(m) is not None
350
+ else 'not_provided_by_source' for m in ('units', 'gmv', 'gpm')},
351
+ 'reported_play_counters_unverified': row.get('reported_play_counters_unverified'),
352
+ 'independent_daily_views': None, 'daily_purchase_conversion': None,
353
+ 'daily_paid_traffic': None})
354
+
355
+ for s in followup['rows']:
356
+ video_id = s['video_id']
357
+ if video_id in videos:
358
+ raise ValueError('Followup native video duplicates the original cohort')
359
+ videos[video_id] = {'video_id': video_id, 'sample_aliases': [s['sample_id']],
360
+ 'cohort': 'fixed_product_pool_followup_positions', 'published_at_beijing': s['published'],
361
+ 'content_source': followup_path, 'content_status': 'whole_timeline_frames_and_auxiliary_asr',
362
+ 'human_continuous_review': s['media']['human_continuous_review'],
363
+ 'formal_supply_attributes': None,
364
+ 'selection_limit': 'Diagnostic positions in a sales-qualified product pool; no population representativeness.'}
365
+ add_chanmama(video_id, s['published'],
366
+ [{'date': r['date'], 'units': r['units_display'], 'gmv': r['gmv_display']}
367
+ for r in s['daily']['values']], followup_path)
368
+ add_chanmama(B1, b1['published_at_china'],
369
+ [{'date': r['date'], 'units': r['units'], 'gmv': r['gmv'],
370
+ 'reported_play_counters_unverified': {k: v for k, v in r.items()
371
+ if k.startswith('basic_play_count_') or k.startswith('play_chart_')}}
372
+ for r in b1['daily_rows']], b1_path)
373
+ h4_id = h4['source']['native_video_id']
374
+ if h4_id not in videos or 'H4' not in videos[h4_id]['sample_aliases']:
375
+ raise ValueError('H4 followup identity mismatch')
376
+ add_chanmama(h4_id, datetime.fromisoformat(h4['source']['published_at_china']).replace(tzinfo=TZ).isoformat(),
377
+ [{'date': r['date'], 'gmv': r['gmv']} for r in h4['daily_rows']], h4_path)
378
+ unique_provider_days(provider_rows)
379
+
380
+ comment_sources, comment_days = scoped_comment_calendar(comments)
381
+ for row in provider_rows:
382
+ row['video_comment_counts'] = (comment_sources[row['video_id']]['days'][row['date']]
383
+ if row['video_id'] in comment_sources else None)
384
+ row['daily_paid_traffic'] = None
385
+ calendar = [{**day, 'captured_september_source_comment_counts': comment_days[day['date']],
386
+ 'comment_population_complete': False} for day in old['calendar']]
387
+ groups = sorted({(r['video_id'], r['provider']) for r in provider_rows})
388
+ per_series = []
389
+ for video_id, provider in groups:
390
+ rows = [r for r in provider_rows if r['video_id'] == video_id and r['provider'] == provider]
391
+ per_series.append({'video_id': video_id, 'provider': provider,
392
+ 'outcome_states': dict(Counter(r['outcome_state'] for r in rows)),
393
+ 'metric_states': {m: dict(Counter(r['metric_states'][m] for r in rows)) for m in ('units', 'gmv', 'gpm')},
394
+ 'units_post_week': trajectory(rows, 'units'), 'gmv_post_week': trajectory(rows, 'gmv')})
395
+ receipts = old['source_receipts'] | receipts
396
+ for path, receipt in receipts.items():
397
+ if digest((repo / path).read_bytes()) != receipt['sha256']:
398
+ raise ValueError('Input changed during join')
399
+ return {'schema': 'buv_fixed_evidence_provider_calendar_join_v2', 'audit_date': '2026-10-25',
400
+ 'product_id': PRODUCT, 'window': old['window'], 'source_receipts': receipts,
401
+ 'generator': {'path': 'scripts/build_buv_pilot_panel.py', 'sha256': digest(Path(__file__).read_bytes())},
402
+ 'purpose': 'Fixed-source alignment and coverage audit; not a formal sample, attention measure or regression.',
403
+ 'videos': list(videos.values()), 'provider_video_days': provider_rows,
404
+ 'search_series': old['search_series'], 'calendar': calendar,
405
+ 'comment_sources': list(comment_sources.values()),
406
+ 'comment_cutoff': {'source': comments_path,
407
+ 'source_frame_videos': comments['september_directory']['unique_native_video_ids'],
408
+ 'captured_source_videos': len(comment_sources), 'live_production_included': False,
409
+ 'scope': 'Only the immutable bounded-execution audit; subsequent production captures are not silently added.',
410
+ 'totals': {k: sum(v[k] for v in comment_days.values())
411
+ for k in ('all_returned', 'excluding_confirmed_source_author')},
412
+ 'not_confirmed_consumers': True, 'historical_completeness_proven': False},
413
+ 'background_cutoff': {'source': background_path, 'selected_sources': 200,
414
+ 'new_complete_captures_in_this_audit': background['live_validation']['completed_captures'],
415
+ 'new_unavailable_sources_in_this_audit': background['live_validation']['confirmed_unavailable_sources'],
416
+ 'new_returned_background_rows': background['live_validation']['background_rows'],
417
+ 'new_comment_month_counts': background['live_validation']['background_comment_month_counts'],
418
+ 'formal_attribute_weights': None, 'live_production_included': False},
419
+ 'summary': {'unique_videos': len(videos), 'unique_provider_video_series': len(groups),
420
+ 'provider_video_calendar_days': len(provider_rows),
421
+ 'provider_video_day_outcome_states': dict(Counter(r['outcome_state'] for r in provider_rows)),
422
+ 'provider_video_day_counts': dict(Counter(r['provider'] for r in provider_rows)),
423
+ 'unique_search_series': len(old['search_series']), 'unique_search_word_days': old['summary']['unique_search_word_days'],
424
+ 'shared_search_calendar_days': len(calendar), 'captured_september_source_videos': len(comment_sources),
425
+ 'outcome_videos_with_eligible_comment_captures': len(set(videos) & set(comment_sources)),
426
+ 'formal_supply_attribute_vectors': 0, 'formal_daily_attribute_demand_vectors': 0,
427
+ 'per_provider_video_series': per_series},
428
+ 'interpretation_limits': [
429
+ 'Providers and attribution scopes stay separate; H4 ChanMama GMV does not fill missing Feigua units or GMV.',
430
+ 'Reported play counters are unverified supplier fields, not independent daily exposure or purchase conversion.',
431
+ 'Raw band labels and displayed zero are retained; no midpoint, zero imputation or GPM inversion.',
432
+ 'Comment zeros apply only to complete captured sources at the fixed audit cutoff; uncaptured product-source dates stay unknown.',
433
+ 'The 17 captured September sources and six new background captures do not cover their 4521/200 source populations.',
434
+ 'Search observations remain 240 unique word-days on one 30-day calendar; provider-video expansion adds no independent demand dates.',
435
+ 'Diagnostic selection, content reuse, missing audio review and unverified semantics remain; formal supply and attention vectors are null.',
436
+ 'No keyword pooling, attribute whitelist, weights, matching, regression or causal mechanism is inferred.',
437
+ 'The historical ten-video artifact and all source objects remain immutable; this join does not read in-flight production state.'],
438
+ 'new_platform_requests': 0, 'new_comment_jobs': 0, 'reads_live_production_state': False,
439
+ 'formal_matching_or_regression_run': False}
440
+
441
+
442
+ def main():
443
+ parser = argparse.ArgumentParser(description=__doc__)
444
+ parser.add_argument("--repo", type=Path, default=Path(__file__).resolve().parents[1])
445
+ parser.add_argument("--out", type=Path, required=True)
446
+ parser.add_argument('--historical-20261022', action='store_true', help='Replay only the old ten-video source set.')
447
+ args = parser.parse_args()
448
+ result = build_historical_snapshot(args.repo) if args.historical_20261022 else build(args.repo)
449
+ args.out.parent.mkdir(parents=True, exist_ok=True)
450
+ args.out.write_text(json.dumps(result, ensure_ascii=False, indent=2) + "\n")
451
+ print(json.dumps(result["summary"], ensure_ascii=False))
452
+
453
+
454
+ if __name__ == "__main__":
455
+ main()
supplements/20261025_buv_fixed_newcohort_audio/protocol.json ADDED
@@ -0,0 +1,251 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": "buv_fixed_newcohort_audio_protocol_v1",
3
+ "product_id": "3632234840075719990",
4
+ "positions": [
5
+ {
6
+ "content_order": 1,
7
+ "video_id": "7681338764204052645",
8
+ "published_beijing": "2026-09-03 23:57:30",
9
+ "media": {
10
+ "media_file": "media/01_7681338764204052645.mp4",
11
+ "media_sha256": "83abd99bec444d7d6d488238d5902bba10ecb141be6f6758e435124001f9b0b7",
12
+ "bytes": 511716,
13
+ "duration_seconds": 25.633333,
14
+ "streams": [
15
+ {
16
+ "codec_type": "audio",
17
+ "codec_name": "aac",
18
+ "duration": "25.610000",
19
+ "width": null,
20
+ "height": null
21
+ },
22
+ {
23
+ "codec_type": "video",
24
+ "codec_name": "hevc",
25
+ "duration": "25.633333",
26
+ "width": 576,
27
+ "height": 768
28
+ }
29
+ ],
30
+ "full_decode_returncode": 0,
31
+ "full_decode_stderr": ""
32
+ },
33
+ "prior_media_status": "downloaded_full_decode_passed_all_contact_sheets_visually_inspected",
34
+ "media_repository": "boardman7/cavfa-short-video-data",
35
+ "media_revision": "6906e40b3331ff40addb432826e3bb5b1896b0b2",
36
+ "media_path": "supplements/20261022_buv_newcohort/media/01_7681338764204052645.mp4"
37
+ },
38
+ {
39
+ "content_order": 2,
40
+ "video_id": "7680226463999962214",
41
+ "published_beijing": "2026-09-01 00:01:13",
42
+ "media": {
43
+ "media_file": "media/02_7680226463999962214.mp4",
44
+ "media_sha256": "a4eb74c1857c57c6c2f2ca8d695725152d47bbdf428b739a8eee732cf47d72c0",
45
+ "bytes": 1883002,
46
+ "duration_seconds": 25.633333,
47
+ "streams": [
48
+ {
49
+ "codec_type": "video",
50
+ "codec_name": "hevc",
51
+ "duration": "25.633333",
52
+ "width": 720,
53
+ "height": 960
54
+ },
55
+ {
56
+ "codec_type": "audio",
57
+ "codec_name": "aac",
58
+ "duration": "25.610000",
59
+ "width": null,
60
+ "height": null
61
+ }
62
+ ],
63
+ "full_decode_returncode": 0,
64
+ "full_decode_stderr": ""
65
+ },
66
+ "prior_media_status": "downloaded_full_decode_passed_all_contact_sheets_visually_inspected",
67
+ "media_repository": "boardman7/cavfa-short-video-data",
68
+ "media_revision": "6906e40b3331ff40addb432826e3bb5b1896b0b2",
69
+ "media_path": "supplements/20261022_buv_newcohort/media/02_7680226463999962214.mp4"
70
+ },
71
+ {
72
+ "content_order": 5,
73
+ "video_id": "7681341410674674347",
74
+ "published_beijing": "2026-09-04 00:07:48",
75
+ "media": {
76
+ "media_file": "media/05_7681341410674674347.mp4",
77
+ "media_sha256": "06ef86d298a970ee41c719a958f9bee6fed5718c9e509a85d4842929336ea070",
78
+ "bytes": 1189979,
79
+ "duration_seconds": 28.9,
80
+ "streams": [
81
+ {
82
+ "codec_type": "video",
83
+ "codec_name": "hevc",
84
+ "duration": "28.900000",
85
+ "width": 720,
86
+ "height": 960
87
+ },
88
+ {
89
+ "codec_type": "audio",
90
+ "codec_name": "aac",
91
+ "duration": "28.883991",
92
+ "width": null,
93
+ "height": null
94
+ }
95
+ ],
96
+ "full_decode_returncode": 0,
97
+ "full_decode_stderr": ""
98
+ },
99
+ "prior_media_status": "downloaded_full_decode_passed_all_contact_sheets_visually_inspected",
100
+ "media_repository": "boardman7/cavfa-short-video-data",
101
+ "media_revision": "6906e40b3331ff40addb432826e3bb5b1896b0b2",
102
+ "media_path": "supplements/20261022_buv_newcohort/media/05_7681341410674674347.mp4"
103
+ },
104
+ {
105
+ "content_order": 6,
106
+ "video_id": "7681339883486572145",
107
+ "published_beijing": "2026-09-04 00:01:50",
108
+ "media": {
109
+ "media_file": "media/06_7681339883486572145.mp4",
110
+ "media_sha256": "d3018f89b04f4d64e71df957ecc4bde5c1b990898c45c6513ee62c72c9251246",
111
+ "bytes": 971539,
112
+ "duration_seconds": 30.046621,
113
+ "streams": [
114
+ {
115
+ "codec_type": "video",
116
+ "codec_name": "hevc",
117
+ "duration": "30.033333",
118
+ "width": 720,
119
+ "height": 960
120
+ },
121
+ {
122
+ "codec_type": "audio",
123
+ "codec_name": "aac",
124
+ "duration": "30.046621",
125
+ "width": null,
126
+ "height": null
127
+ }
128
+ ],
129
+ "full_decode_returncode": 0,
130
+ "full_decode_stderr": ""
131
+ },
132
+ "prior_media_status": "downloaded_full_decode_passed_all_contact_sheets_visually_inspected",
133
+ "media_repository": "boardman7/cavfa-short-video-data",
134
+ "media_revision": "6906e40b3331ff40addb432826e3bb5b1896b0b2",
135
+ "media_path": "supplements/20261022_buv_newcohort/media/06_7681339883486572145.mp4"
136
+ },
137
+ {
138
+ "content_order": 9,
139
+ "video_id": "7683009239187697573",
140
+ "published_beijing": "2026-09-08 11:59:47",
141
+ "media": null,
142
+ "prior_media_status": "missing_target_identity_unresolved_after_two_normal_entry_routes",
143
+ "media_repository": "boardman7/cavfa-short-video-data",
144
+ "media_revision": "6906e40b3331ff40addb432826e3bb5b1896b0b2",
145
+ "media_path": null
146
+ },
147
+ {
148
+ "content_order": 10,
149
+ "video_id": "7683009664707251878",
150
+ "published_beijing": "2026-09-08 12:01:26",
151
+ "media": {
152
+ "media_file": "media/10_7683009664707251878.mp4",
153
+ "media_sha256": "b4112aa257d1303f0aa173b66f4d70e35c4eb82d7f2f93d656ef32b227fbcebd",
154
+ "bytes": 352710,
155
+ "duration_seconds": 15.1,
156
+ "streams": [
157
+ {
158
+ "codec_type": "audio",
159
+ "codec_name": "aac",
160
+ "duration": "15.046009",
161
+ "width": null,
162
+ "height": null
163
+ },
164
+ {
165
+ "codec_type": "video",
166
+ "codec_name": "hevc",
167
+ "duration": "15.100000",
168
+ "width": 576,
169
+ "height": 1024
170
+ }
171
+ ],
172
+ "full_decode_returncode": 0,
173
+ "full_decode_stderr": ""
174
+ },
175
+ "prior_media_status": "downloaded_full_decode_passed_all_contact_sheets_visually_inspected",
176
+ "media_repository": "boardman7/cavfa-short-video-data",
177
+ "media_revision": "6906e40b3331ff40addb432826e3bb5b1896b0b2",
178
+ "media_path": "supplements/20261022_buv_newcohort/media/10_7683009664707251878.mp4"
179
+ }
180
+ ],
181
+ "source_receipts": {
182
+ "docs/sources/20261022/buv_newcohort_daily_outcome_audit.json": {
183
+ "sha256": "11b3b5eee8b817bc27fdad8dda3f2401aa9b6c9cd37620d8d47d56d2abb4bc1f",
184
+ "git_blob_sha": "198f526087f79720fff93182565d47c9eaae1b4c",
185
+ "bytes": 67352
186
+ },
187
+ "docs/sources/20261022/buv_newcohort_content_precheck_audit.json": {
188
+ "sha256": "eb6160b125c37884944125de640c1f4cc9d8d4f1a91b8539f138125747447740",
189
+ "git_blob_sha": "b7ac02674f1124ab55f7df498af2953955a70b7c",
190
+ "bytes": 82783
191
+ },
192
+ "docs/sources/20261022/buv_newcohort_hf_media_backup_receipt.json": {
193
+ "sha256": "c30ebeea9e353b4dc25dee896d20431966316a93a1ebca30b4a5f34b21f76a1e",
194
+ "git_blob_sha": "ed0e3cd797b7f00ac4dd18d7fa36311e9c277042",
195
+ "bytes": 15542
196
+ }
197
+ },
198
+ "model": {
199
+ "repository": "Systran/faster-whisper-small",
200
+ "revision": "536b0662742c02347bc0e980a01041f333bce120",
201
+ "files": [
202
+ {
203
+ "path": "config.json",
204
+ "sha256": "b55496ac7940a7ae47d2c01eab40edfd8701feec1229d9cce3b40014383fb828",
205
+ "bytes": 2370
206
+ },
207
+ {
208
+ "path": "model.bin",
209
+ "sha256": "3e305921506d8872816023e4c273e75d2419fb89b24da97b4fe7bce14170d671",
210
+ "bytes": 483546902
211
+ },
212
+ {
213
+ "path": "tokenizer.json",
214
+ "sha256": "fb7b63191e9bb045082c79fd742a3106a12c99513ab30df4a0d47fa6cb6fd0ab",
215
+ "bytes": 2203239
216
+ },
217
+ {
218
+ "path": "vocabulary.txt",
219
+ "sha256": "34ce3fe1c5041027b3f8d42912270993f986dbc4bb34cf27f951e34a1e453913",
220
+ "bytes": 459861
221
+ }
222
+ ]
223
+ },
224
+ "asr_config": {
225
+ "language": "zh",
226
+ "beam_size": 5,
227
+ "condition_on_previous_text": false,
228
+ "vad_filter": false,
229
+ "temperature": 0
230
+ },
231
+ "execution": {
232
+ "device": "cpu",
233
+ "compute_type": "int8",
234
+ "cpu_threads": 4,
235
+ "num_workers": 1,
236
+ "local_files_only": true,
237
+ "full_file_one_inference_per_available_position": true
238
+ },
239
+ "runtime": {
240
+ "faster-whisper": "1.2.1",
241
+ "ctranslate2": "4.8.3",
242
+ "numpy": "2.5.4",
243
+ "av": "19.0.2"
244
+ },
245
+ "ffmpeg": "ffmpeg version 9.0.1 Copyright (c) 2000-2026 the FFmpeg developers",
246
+ "processor_sha256": "81523e33251497036f09a4c42cb5f522195e9f7e93e16c1b2ef0245e301a6f0c",
247
+ "new_platform_requests": 0,
248
+ "formal_attribute_coding": false,
249
+ "human_continuous_listening": false,
250
+ "started_at_utc": "2026-10-24T18:15:34.088997+00:00"
251
+ }
supplements/20261025_buv_fixed_newcohort_audio/summary.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": "buv_fixed_newcohort_audio_evidence_v1",
3
+ "product_id": "3632234840075719990",
4
+ "fixed_positions": 6,
5
+ "processed_positions": 5,
6
+ "missing_positions": [
7
+ {
8
+ "video_id": "7683009239187697573",
9
+ "content_order": 9,
10
+ "state": "missing_target_identity_unresolved_after_two_normal_entry_routes"
11
+ }
12
+ ],
13
+ "audio_seconds": 125.196625,
14
+ "source_receipts": {
15
+ "docs/sources/20261022/buv_newcohort_daily_outcome_audit.json": {
16
+ "sha256": "11b3b5eee8b817bc27fdad8dda3f2401aa9b6c9cd37620d8d47d56d2abb4bc1f",
17
+ "git_blob_sha": "198f526087f79720fff93182565d47c9eaae1b4c",
18
+ "bytes": 67352
19
+ },
20
+ "docs/sources/20261022/buv_newcohort_content_precheck_audit.json": {
21
+ "sha256": "eb6160b125c37884944125de640c1f4cc9d8d4f1a91b8539f138125747447740",
22
+ "git_blob_sha": "b7ac02674f1124ab55f7df498af2953955a70b7c",
23
+ "bytes": 82783
24
+ },
25
+ "docs/sources/20261022/buv_newcohort_hf_media_backup_receipt.json": {
26
+ "sha256": "c30ebeea9e353b4dc25dee896d20431966316a93a1ebca30b4a5f34b21f76a1e",
27
+ "git_blob_sha": "ed0e3cd797b7f00ac4dd18d7fa36311e9c277042",
28
+ "bytes": 15542
29
+ }
30
+ },
31
+ "model_revision": "536b0662742c02347bc0e980a01041f333bce120",
32
+ "transcript_semantic_validity": "unverified",
33
+ "formal_supply_attributes": null,
34
+ "human_continuous_listening": false,
35
+ "new_platform_requests": 0,
36
+ "completed_at_utc": "2026-10-24T18:15:47.236574+00:00"
37
+ }