Complete missing page transcriptions

This commit is contained in:
Denis Shiryaev
2026-05-08 20:35:41 +02:00
parent 2d3761f4a5
commit 5839eea169
25 changed files with 874 additions and 331 deletions
+4 -39
View File
@@ -39,29 +39,14 @@ generated_at: "..."
---
```
`converted/manifest.jsonl` records one JSON line per page attempt, including the source file, page number, output path, original model output character count, status, and error details if a page failed.
`converted/manifest.jsonl` records one JSON line per converted page, including the source file, page number, output path, character count, and status.
## Archive Status
The May 8, 2026 conversion run completed all `4,185` page attempts:
The May 8, 2026 archive contains all `4,185` PDF pages as Markdown files.
- `4,174` pages produced Markdown files.
- `11` pages returned empty Gemini responses after retries and are kept as `.error.txt` files.
- `converted/manifest.jsonl` contains one row per page attempt with `ok` or `error` status.
Pages with retained error files:
- `006-65_HS1-834228961_62-HQ-83894_Section_6/page-0065`
- `006-65_HS1-834228961_62-HQ-83894_Section_6/page-0201`
- `025-38_143685_box_Incident_Summaries_101-172/page-0113`
- `027-38_143685_box7_Incident_Summaries_1-100/page-0029`
- `027-38_143685_box7_Incident_Summaries_1-100/page-0112`
- `036-DOW-UAP-D14-_Mission_Report-_Iraq-_May_2022/page-0006`
- `041-DOW-UAP-D23-_Mission_Report-_United_Arab_Emirates-_October_2023/page-0007`
- `056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996/page-0030`
- `056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996/page-0058`
- `056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996/page-0165`
- `090-FBI_Photo_B2/page-0001`
- `4,185` pages produced Markdown files.
- `converted/manifest.jsonl` contains one final `ok` row per converted page.
## What Is Tracked
@@ -74,7 +59,6 @@ Pages with retained error files:
├── metadata/
│ └── uap-csv.csv
├── scripts/
│ ├── clean_converted_archive.py
│ └── process_dataset_with_gemini.py
├── requirements.txt
└── README.md
@@ -85,7 +69,6 @@ Pages with retained error files:
- `metadata/pdf_manifest.tsv` is the corrected 120-PDF manifest used for the Markdown archive.
- `metadata/download_summary.json` and `metadata/curl_download.log` record the initial PDF download and verification pass.
- `scripts/process_dataset_with_gemini.py` is the support script used to produce the Markdown archive.
- `scripts/clean_converted_archive.py` is a deterministic cleanup helper for public path scrubbing and obvious repeated-token artifacts.
- `requirements.txt` lists the script dependencies.
Local-only folders are ignored:
@@ -176,24 +159,6 @@ Useful options:
- `--force` regenerates pages that already have Markdown outputs.
- `--stop-on-error` stops the run after the first page error.
## Cleaning Deterministic Artifacts
The committed archive should not contain local absolute paths. Public metadata uses repo-relative paths such as `downloads/war-gov-ufo-release-1/<file>.pdf` and `converted/<folder>/page-####.md`.
Some model outputs can get stuck repeating a single artifact token, such as thousands of `[illegible]`, `&nbsp;`, `.`, or `-` tokens. The cleanup helper only collapses very long repeated-token runs and leaves normal text alone.
Preview cleanup without writing files:
```sh
python3 scripts/clean_converted_archive.py
```
Apply cleanup:
```sh
python3 scripts/clean_converted_archive.py --apply
```
## Notes For Public Use
- The source materials are public government records from the official war.gov release page.
@@ -1 +0,0 @@
RuntimeError: Gemini returned an empty response
@@ -0,0 +1,59 @@
---
source_title: "65_HS1-834228961_62-HQ-83894_Section_6"
source_file: "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_6.pdf"
source_url: "https://www.war.gov/medialink/ufo/release_1/65_hs1-834228961_62-hq-83894_section_6.pdf"
asset_type: "PDF"
dataset_row: 6
page: 65
page_count: 271
model: "manual-local-transcription"
generated_at: "2026-05-08T18:33:51.648721+00:00"
---
# 65_HS1-834228961_62-HQ-83894_Section_6 - Page 65
Manual local OCR transcription of a degraded table page.
```text
a Surmary of Sightings of Unlmown Aerial Pacnomona, 17th District CSI (cont) Page 32
i ; ule tat ' i : a i i iad! i H i i i
‘ i ; i i pe OF Q H Aas H t pO. F : H H 1 i
b. i H isa Pi ° | g 4 i Pa H i : ‘A H ' : Sy 5
I i i O tied bi r= poag pm Ped : es Ss = | i roe i 2 od ig
“ H i oad! Aw 9 j Sicct bo ao | ap i {oa} 7b Golem i H | i < o :
z | i & Pp a ai cg Of i O Ped os ; oO8% i ! po ees f ! ' 9 ; 9 Ho Higa
y ort H oO Ha at re u i Oc? } HP awa o | % Fog rds eh eae j o ! & : ag Oo & B
b Pear fo fa Oo]. og 8B i 3 Of Gat 4 yer Poe deat @ Obagi 9 Be jo 1d © : ® 3 0 1S,
A i Pp tee Gem Oy Ho 0 ah mp pe oe ae {care chy Gee 3 ! an i 2. © no f
Be (A [Boe al © & 9 Peed G4 fiet | 8.06 30 Pee eS cae ates ate sh olhiaid i Bi ag
EE oS AS BE £23 | #4 588 1S ss 89 8 2 -
Ss oie em nae TRAE SS aes aaa ae a asses iti mit IS a eaaml sc EIEN. aan
174 j24 Feb [1400/1 jR |Albuquerque, |B by SB on a ? iBright {ilone /20-30 plone fRound iCompared Very slow Faded out '
i i ‘ee Now lexico | 20° i jwhite | ‘secs } ; tw/size of | of sight H
j H i H H H } | i 1, \
: i : | labove ! i | weather \
: : i ‘horizon i i : H jballoon as |
i i : H i i i H i iit disap= i
i } i i j i H ' i ipeared in }
i ! | | j H j i it H :
i Ree | ee aes, i
= doa Fob /1930/1 |R Dail, Hew pnt | hinite ifes {2 hrs {Mono Round j Hy per 2 {Disappeared | (1)
[ree | ; od iMexice i ichang- 130 i ! { {mbs. ©&)
176 i124 Pop |1545|1 iUnk | Los Alamos, 1B then Faso. Straight {Wuite, fonei20 — ji'one} | Vory fast jWont strai- i(@)
i i iNow Mexico |turned W 430,000" lup jkopt i pares | | i ght up out}
; es i | | iflash- | ; i t of sight i
| : ot i i hiticoln- 4 | | : | i
: \ | ; eee | i i | | | H
i H ane H i j i
\ a SaraEESAInanI Ciel GRA HN a ae ;
lier 24 Feb 11340 1 {Unk jLos élemos, lp to WF 30,000! lpeveat [Sutvery — 120 'one | i Wont strai- (2)
; i New Mexico 7 to B jup iwhite i pats { i : ght up out j%*
' then st. i | i { jof sight i
H t H ud ? ; i H i
F ae pe SE ety, ae A eee ee: few cores te 2 4 ee i of a as .
H i : 3 : i i
178 {24 Fob{131511 iR_ {Los Alemos, Erratic 4{20,000- i iSilvery lite le jNone Saucer /100! acrossiis fast or Disappeared (
i ee Now Nexico j|generally!50,000' i ints | ishapod lif at ee chan}
oe NE | = GS: 120,000- | sound
x**Sec attached photograph. : 1
```
@@ -1 +0,0 @@
RuntimeError: Gemini returned an empty response
@@ -0,0 +1,15 @@
---
source_title: "65_HS1-834228961_62-HQ-83894_Section_6"
source_file: "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_6.pdf"
source_url: "https://www.war.gov/medialink/ufo/release_1/65_hs1-834228961_62-hq-83894_section_6.pdf"
asset_type: "PDF"
dataset_row: 6
page: 201
page_count: 271
model: "manual-local-transcription"
generated_at: "2026-05-08T18:33:51.649161+00:00"
---
# 65_HS1-834228961_62-HQ-83894_Section_6 - Page 201
The page is a very faint reverse-side scan or backing page. Visible marks include handwritten routing notes, file-room received stamps, and mirrored or bleed-through typed text from the opposite side. The body text is too faint for reliable manual transcription.
@@ -1 +0,0 @@
RuntimeError: Gemini returned an empty response
@@ -0,0 +1,48 @@
---
source_title: "38_143685_box_Incident_Summaries_101-172"
source_file: "downloads/war-gov-ufo-release-1/38_143685_box_Incident_Summaries_101-172.pdf"
source_url: "https://www.war.gov/medialink/ufo/release_1/38_143685_box7_incident_summaries_101-172.pdf"
asset_type: "PDF"
dataset_row: 25
page: 113
page_count: 178
model: "manual-local-transcription"
generated_at: "2026-05-08T18:33:51.649331+00:00"
---
# 38_143685_box_Incident_Summaries_101-172 - Page 113
RESTRICTED
CHECK-LIST - UNIDENTIFIED FLYING OBJECTS
Incident #143
1. Date
2. Time
3. Location
4. Name of observer: Mrs. Felix G. Matthews
5. Occupation of observer
6. Address of observer: Columbia, South Carolina
7. Place of observation
8. Number of objects
9. Distance of object from observer
10. Time in sight
11. Altitude
12. Speed
13. Direction of flight
14. Tactics
15. Sound
16. Size
17. Color
18. Shape
19. Odor detected
20. Apparent construction
21. Exhaust trails
22. Weather conditions
23. Effect on clouds
24. Sketches or photographs
25. Manner of disappearance
26. Remarks:
RESTRICTED
@@ -1 +0,0 @@
RuntimeError: Gemini returned an empty response
@@ -0,0 +1,48 @@
---
source_title: "38_143685_box7_Incident_Summaries_1-100"
source_file: "downloads/war-gov-ufo-release-1/38_143685_box7_Incident_Summaries_1-100.pdf"
source_url: "https://www.war.gov/medialink/ufo/release_1/38_143685_box7_incident_summaries_1-100.pdf"
asset_type: "PDF"
dataset_row: 27
page: 29
page_count: 209
model: "manual-local-transcription"
generated_at: "2026-05-08T18:33:51.649490+00:00"
---
# 38_143685_box7_Incident_Summaries_1-100 - Page 29
RESTRICTED
CHECK-LIST - UNIDENTIFIED FLYING OBJECTS
Incident #12
1. Date: 4 July 1947
2. Time: 1305
3. Location: Vancouver, Washington
4. Name of observer: John Sullivan
5. Occupation of observer: Sheriff's Deputy
6. Address of observer: Vancouver, Washington
7. Place of observation: Vancouver, Washington, "ground"
8. Number of objects: 20 to 30
9. Distance of object from observer: 3 to 5 miles away over Portland
10. Time in sight: N/S
11. Altitude: N/S
12. Speed: N/S
13. Direction of flight: N/S
14. Tactics: N/S
15. Sound: low humming sound
16. Size: N/S
17. Color: N/S
18. Shape: "V" shaped - like flock of geese
19. Odor detected: N/S
20. Apparent construction: N/A
21. Exhaust trails: N/S
22. Weather conditions: N/S
23. Effect on clouds: N/S
24. Sketches or photographs: None
25. Manner of disappearance: N/S
26. Remarks: (over)
RESTRICTED
@@ -1 +0,0 @@
RuntimeError: Gemini returned an empty response
@@ -0,0 +1,46 @@
---
source_title: "38_143685_box7_Incident_Summaries_1-100"
source_file: "downloads/war-gov-ufo-release-1/38_143685_box7_Incident_Summaries_1-100.pdf"
source_url: "https://www.war.gov/medialink/ufo/release_1/38_143685_box7_incident_summaries_1-100.pdf"
asset_type: "PDF"
dataset_row: 27
page: 112
page_count: 209
model: "manual-local-transcription"
generated_at: "2026-05-08T18:33:51.649810+00:00"
---
# 38_143685_box7_Incident_Summaries_1-100 - Page 112
RESTRICTED
CHECK-LIST - UNIDENTIFIED FLYING OBJECTS
Incident #51
1. Date: 3 Sept 47
2. Time: 1215
3. Location: Oswego, Oregon
4. Name of observer: Mrs. Raymond Dupui
5. Occupation of observer: N/S
6. Address of observer: N/S
7. Place of observation: Oswego, Oregon
8. Number of objects: 12 to 15
9. Distance of object from observer: N/S
10. Time in sight: N/S
11. Altitude: high
12. Speed: N/S
13. Direction of flight: N/S
14. Tactics: N/S
15. Sound: N/S
16. Size: N/S
17. Color: silver
18. Shape: round
19. Odor detected: N/S
20. Apparent construction: N/S
21. Exhaust trails: N/S
22. Weather conditions: N/S
23. Effect on clouds: N/S
24. Sketches or photographs: none
25. Manner of disappearance: N/S
26. Remarks: 12 to 15 round silver objects seen at high altitude above Oswego, Oregon at 1215, 3 Sept 47 while witness was observing a local plane flying overhead.
@@ -1 +0,0 @@
RuntimeError: Gemini returned an empty response
@@ -0,0 +1,68 @@
---
source_title: "DOW-UAP-D14, Mission Report, Iraq, May 2022"
source_file: "downloads/war-gov-ufo-release-1/DOW-UAP-D14_ Mission Report_ Iraq_ May 2022.pdf"
source_url: "https://www.war.gov/medialink/ufo/release_1/dow-uap-d14-mission-report-iraq-may-2022.pdf"
asset_type: "PDF"
dataset_row: 36
page: 6
page_count: 9
model: "manual-local-transcription"
generated_at: "2026-05-08T18:33:51.649960+00:00"
---
# DOW-UAP-D14, Mission Report, Iraq, May 2022 - Page 6
```text
8tefflffllf"1'1(1tf 'ft) UM, M7i!Y
AREA (36SXD7(1Tial;~, SYRIAN NAVY OPS AREA (36SYD3~5~, SYRIAN NAVY OPS
AREA (36SYE3711M:l U1 .4aD, SYRIAN NAVY OPS AREA (36SXE6~~, SYRIAN NAVY OPS
AREA (36SXD7~~. OPIR ISRAEL-LEBANON-SYRIA REGION DSA 2 E4YY
(36SYD4(@4~, OPIR ISRAEL-LEBANON-SYRIA REGION DSA 2 E4YY
(36SXD33m:i~, OPIR ISRAEL-LEBANON-SYRIA REGION DSA 2 E4YY
(36SXA3<m~, OPIR ISRAEL-LEBANON-SYRIA REGION DSA 2 E4YY (36SYA5rn]1.4a!,
OPIR ISRAEL-LEBANON-SYRIA REGION DSA 2 E4YY (36SYD46~~. OSIC LATAK.IA
NAVAL MON DSA (36SYE21~:fiAal, OSIC LATAKIA NAVAL MON DSA (36SYD24G:ial5~,
OSIC LATAKIA NAVAL MON DSA (36SYD6~~. OSIC LATAKIA NAVAL MON DSA
(36SYE6~~. OSIC LATAKIA NAVAL MON DSA (36SYE21~51iial), BASSEL AL ASSAD
INTL AFLD (36SYE6~1~, 0426WR0135 (37SBT4~~. TARTUS NAVAL BASE
(36SYD6~~. BEIRUT ARMY BKS FAKRIDINE (36SYC29~1W, JUNIYAH ARMY
BKS SARBA (36SYC4~~, RUMYAH PRISON (36SYC3~~. BEIRUT MILITARY
FACILITY KARANTINA (36SYC3~~. BAMLKAH SIGINT FACILITY (36SYD7~~.
BEIRUT POSSIBLE TERRORIST CNO FACILITY (36SYC3~~. IBN HANI COASTAL
DEFENSE SITE (36SYE4~1W, BATRAH CD SITE (36SYE6~3~, TARTUS NAVAL
MSL SPT FAC (36SYD6~~. AL LADHIQIYAH ARMY BKS SE STAMO (36S YE 651w
30!1.4a!. 0426CA1058 (37S BV 2~0~, AYN ASH SHARIQIYAH CD BDE HQ (37S BV 3~
1~, ADIMAH COASTAL DEFENSE SITE SOUTHWEST (36SYD6~~. AR RAWDAH
COASTAL OBSERVATION POST (36SYD63[4al8~, ASH SHAMIYAH CD SITE
(36SYE53!1.4al4~, ABU AFSAH CD SITE (36SYD6~~. AL LADHIQIYAH SYRIAN
NAVAL HEADQUARTER (36SYE5~~. TALL SUKAS CD SITE (36SYE6~1ctiAaJ),
LATAKIA SCHOOL 81 (36SYE5~~. AND JABLAH NAVAL ACADEMY
(36SYE6~~, LOOKING FOR RFN SURFACE AND SUBSURFACE ROUTES, MUNITION
HANDLING, AND PERSONNEL MOVEMENT. AT 1745Z, ~
OBSERVED IX SLAVA HEADING
EAST IVO 35SPU3~~WHILE TRANSITING TO SP. AT 1808Z, IX PROBABLE GORSHKOV
FFG HEADING EAST IVO 36STD2~7lua!WHILE TRANSITING TO SP. AT 2104Z,~
OBSERVED A GENERATOR OR POSS RADAR DISH IVO 36SYE6~~ AT 2120Z, IX A-50U
MAINSTAY D AND 2X IL-38 OBSERVED PARKED IVO 36SYE6~~ AT 0006Z, ONE
PROBABLE IL-76 OBSERVED ACTIVE IVO 36SYE6~~ AT 00llZ, ONE PROBABLE
SU-27/35 OBSERVED LANDING IVO 36SYE6~~ AT 0029Z, ONE PROBABLE SU-27/35
WAS OBSERVED TAKING OFF TO THE SOUTH. AT 0344Z, ONE PROBABLE GORSHKOV FFG,
HULL 461 HEADED EAST IVO 36SUD74wl~ AT 0405Z ONE PROBABLE UDALOY I DD,
HULL 626 HEADED EAST IVO 36STC8~4luiii] AT 041 lZ ONE PROBABLE SLAVA CG, HULL
055 HEADED EAST IVO 36STD7~~ AT 0530Z, IX PROBABLE UDALOY 1 DD, HULL 564
HEADED WEST IVO 35SMU2~1~ AT 0230Z,~WAS CLEARED OFF TASKING AND
RETURNED TO BASE (RTB).
JSR ASSET UTILIZATION
• Supported Unit: 603 AOC
• Supported Operation: OPj.----1.4_a __
_,,
• Precoord Time: -
3.5c, FOIA Exemption (b)(6)
8fl&Rllil//illlih w I&\:; --
Declassified by MG Richard A. Harrison
USCENTCOM Chief of Staff
Declassified on: 8 October 2025
MDR 25-0094 thru MDR 25-0099 / JS-250710-TM8S
10/17/25 006
Approved for Release to AARO
```
@@ -1 +0,0 @@
RuntimeError: Gemini returned an empty response
@@ -0,0 +1,68 @@
---
source_title: "DOW-UAP-D23, Mission Report, United Arab Emirates, October 2023"
source_file: "downloads/war-gov-ufo-release-1/DOW-UAP-D23_ Mission Report_ United Arab Emirates_ October 2023.pdf"
source_url: "https://www.war.gov/medialink/ufo/release_1/dow-uap-d23-mission-report-united-arab-emirates-october-2023.pdf"
asset_type: "PDF"
dataset_row: 41
page: 7
page_count: 9
model: "manual-local-transcription"
generated_at: "2026-05-08T18:33:51.650108+00:00"
---
# DOW-UAP-D23, Mission Report, United Arab Emirates, October 2023 - Page 7
```text
Declassified by MG Richard A Harrison
IIIMT UHINI
USCENTCOM Chref of Staff
Declass fled on· 12 Septer,ber 2025
FOUO Privacy Act applies
IRANIAN AIR DEFENSE CEASED.
UAP
• Initial Contact DTG: 240241 :00ZOCT23
• UAP Event Type: UAP Incident
• UAP Maneuverability Observations: NONE
• UAP Response to Observer Actions: UNK
• MDS Type/ Asset
e: UNK
• Tail Number: 1.4a. 1.4g
• Friendly Aircraft Location: 39RYJ9C6M4~1.4al
• Friendly Aircraft Altitude/Depth: FL243
• Friendly Aircraft Trajectory: 280 DEGREES
• Observer Assessment of UAP: Benign
• Friendly Aircraft Speed: 162 KTAS
• Observation Interrogation of UAP (yes/no; if yes list sensor(s) and returns):: UNK
• Third-party Observers and/or Reporters: UNK
• Friendly Aircraft State:
• Training Range (If applicable): UNK
• Operational Range: UNK.
• UAP Physical State: Solid
• Number of UAP Sighted:
• UAP Propulsion Means: UNK
• UAP Payload:
• UAP Under Intelligent Control (yes/no; if yes, describe): NO
• UAP Signatures: THERMAL SHOWED COLD
• UAP Advanced Capabilities And/Or Materials (yes/no; if yes, describe): UNK
• UAP RF Frequency: UNK
• UAP RF Duration: UNK
• UAP Event Serial Number: UNK
• UAP Effects on Persons: NO
• UAP Objects/Material Recovered (yes/no; if yes, describe): UNK
• UAP Effects on Equipment: UNK.
• Full Name:
• Rank/Grade:
• Email:
• Phone Number (VOSIP/STE):
• Observer Engagement of UAP (yes/no; if yes, describe): NO
• First Coordinate: 39RYJ7~J1.4a)
• First Seen Radius: S
• Last Accuracy: Estimated
• Last Coordinate: 39RYJ741ill7~
• Last Seen Radius: 5
3Sc fbl/6)
H OMl•tJI OIiiN f
USCENTCOM MOR 25-0104
Approved for Release to M RO - FOUO / PA applies
09/12/25 000007
```
@@ -1 +0,0 @@
RuntimeError: Gemini returned an empty response
@@ -0,0 +1,167 @@
---
source_title: "DOW-UAP-D48, Department of the Air Force Report, 1996"
source_file: "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf"
source_url: "https://www.war.gov/medialink/ufo/release_1/dow-uap-d48-report-september-1996.pdf"
asset_type: "PDF"
dataset_row: 56
page: 30
page_count: 181
model: "manual-local-transcription"
generated_at: "2026-05-08T18:33:51.650229+00:00"
---
# DOW-UAP-D48, Department of the Air Force Report, 1996 - Page 30
```text
Table 5. Filter Factor Influence on Weighting Percentages
Vehicle
Filter
• Last
Last 10
Last 50
Last
Lastl00
Pt. Ratio
(sample)
Cons't
Point
Points
Points
Half*
Points
last: first
Atlas
0.96
4.01
33.6
87.2
96.0
98.5
560
(156)
0.97
0.98
0.99
0.995
3.03
2.09
1.26
0.92
26.5
19.1
12.1
9.0
78.9
66.4
49.9
40.9
91.5
82.9
68.7
59.7
96.1
90.6
80.1
72.7
112
22.9
4.7
2.2
Delta
0.%
4.02
33.5
87.5
92.9
98.9
158
(125)
0.97
0.98
0.99
0.995
3.07
2.17
1.40
1.07
26.9
19.9
13.4
10.5
80.0
69.1
55.2
47.6
87.3
78.3
65.6
58.2
97.4
94.3
88.6
84.7
43.7
12.2
3.5
1.9
Titan
0.96
4.00
33.5
87.1
97.1
98.4
1030
(171)
0.97
0.98
0.99
0.995
3.02
2.07
1.22
0.87
26.4
18.9
11.7
8.5
78.6
65.7
48.1
38.5
93.2
85.1
70.5
60.8
95.8
89.6
77.2
68.5
177
31.0
5.5
2.3
*Last half + 1 if sample size is odd
Although the choice of a filter constant cannot be completely objective, use of a value
less than 0.97 or greater than 0.99 produces undesirable weightings. For F = 0.96, for
example, the most recent test result for Titan is weighted 1030 times that for the oldest
test; the last 50 data points receive 87.1% of the total weighting, leaving only 12.9% for
the first 121 flights; the last 100 flights receive 98.4% of the total weighting thus, in
effect, omitting the oldest 71 flights from the solution.
At the high end of the F spectrum, a value of 0.995 fails to down-weight the old test
•results sufficiently. Using Atlas as an example, the most recent data point (1/31/96) is
weighted only 2.2 times that of the oldest data point (8/14/64). The oldest half of the
data, stretching from 8/14/64 to 3/06/73, receives 40% of the total weight, and the
earliest 56 launches, comprising 36% of the data, receive 27% (100 - 73) of the total
weight. This is not too different from equal weighting of tests, a procedure that fails to
acknowledge the improvements in Atlas reliability that have taken place over a period
of 32 years.
In choosing a value of F, an attempt is made to strike a suitable balance between two
contrary objectives:
(1) to down-weight substantially those failures for which the probability of
occurrence has been greatly reduced through redesign and replacement of
components, improved test procedures, and the like;
9/10/96
21
RTI
```
@@ -1 +0,0 @@
RuntimeError: Gemini returned an empty response
@@ -0,0 +1,91 @@
---
source_title: "DOW-UAP-D48, Department of the Air Force Report, 1996"
source_file: "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf"
source_url: "https://www.war.gov/medialink/ufo/release_1/dow-uap-d48-report-september-1996.pdf"
asset_type: "PDF"
dataset_row: 56
page: 58
page_count: 181
model: "manual-local-transcription"
generated_at: "2026-05-08T18:33:51.650352+00:00"
---
# DOW-UAP-D48, Department of the Air Force Report, 1996 - Page 58
```text
---
---
Because of the uncertainties in breakup conditions, the values of A for each Bin Table
20 have been plotted against qa in Figure 14. By reading from the plots, a value of A
for the five values of B can be obtained for any breakup qa. deemed appropriate
between 5,000 and 20,000 deg-lb/ft2.
6.5
6.0
5.5
<C
.....
C
5.0
-ffl
0
C
4.5
(.)
~
"'C
4.0
0
:l:?
3.5
3.0
2.5 0
r················..l.B = 5,000,000
____ __ L
_I_ ---------------r----------------i _______ __
I
----.l._B = 500,000
:
.........................l.. .....................1..·--............t---...................... 1..........................
i ................ is= 1oo,odo
···-----➔
r---_-_-r-:-:-~-t-----__J------­
!
13 = 50,000!
- - -
!
·························!····························'························-··i·························i····••···················
I
I
I
I
•
••••••••••i•H•---~iHH--•.. ••••i••••u..•••••uu•u••••••
!B = 1,000 I
I
i
i
i
~~;·::··;·;;;·························I······················· ·····························:·················· ••••••
5000
10000
15000
20000
25000
Breakup q-alpha (deg-lb/ft2)
Figure 14. Effects of Breakup q-alpha on A for Atlas HAS
6.2.2 Launch-Area Mode-5 Risks
The twenty sets of A and B shown in Table 20 were used to compute Mode-5 launch-
area risks for population centers inside the impact limit lines for an Atlas HAS daytime
launch of a Telstar-4 payload from Pad 36A. Results of these and two other cases are
given in Table 21. The Mode-5 Ee in the first line (old baseline case) of Table 21 is
presented for comparison only. It was obtained from data in the first line of Table 45 of
an earlier RTI study131. In Ref. [3], the total Atlas IIAS failure probability for the first
two minutes of flight was set at 0.04, with the probability of a Mode-5 failure response
assumed to be 0.005. The second line in Table 21 shows the result of a recomputation of
the Mode-5 baseline risks, again with B = 1000 and A= 3, using newly derived values
for the total failure probability and for a Mode-5 failure response. For flight phases 0 ­
2, a total failure probability of 0.031 was assumed, as extracted from Table 6 for
9/10/96
49
RTI
```
@@ -1 +0,0 @@
RuntimeError: Gemini returned an empty response
@@ -0,0 +1,226 @@
---
source_title: "DOW-UAP-D48, Department of the Air Force Report, 1996"
source_file: "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf"
source_url: "https://www.war.gov/medialink/ufo/release_1/dow-uap-d48-report-september-1996.pdf"
asset_type: "PDF"
dataset_row: 56
page: 165
page_count: 181
model: "manual-local-transcription"
generated_at: "2026-05-08T18:33:51.650551+00:00"
---
# DOW-UAP-D48, Department of the Air Force Report, 1996 - Page 165
```text
Launch
Vehicle
Test
Response
Flight
Rep.
No.
Mission/ID
Date
Confiauratlon
Ranae
Mode
Phase
Conf.
307
AFSC
04/18/86
34D-9
WR
4
0
1
308
AFSC
02/11/87
1118/AGENA D {348-11)
WR
1
309
AFSC
10/26/87 340-15
WR
1
310 SV-00D
11/29/87 34D-8/Trans.
ER
1
311
SV-D00
09/02/88
34D-3/Trans.
ER
NA
5
1
312
AFSC
09/05/88
11/SLV (23G-1)
WR
1
313
AFSC
11/06/88 340-14
WR
1
314 SV-000
05/10/89 340-16/frans.
ER
1
315
SV (first T-IV)
06/14189
IV-1/IUS
ER
NA
1
1
316
SV-DOD
09/04/89
340-2/Trans.
ER
1
317 AFSC
09/05/89
11/SLV (23G-2)
WR
1
318
SV-JAPAN/UK
01/01/90 Ill
ER
1
319 SV-INTELSAT VI
03/14/90 Ill
ER
NA
2.5&5
1
320 SV-D00
06/08/90
IV-4
ER
1
321
SV-INTELSAT VI
06/23/90 Ill
ER
1
322 SV-000
11/13/90
IV-6/IUS
ER
1
323
AFSC
03/08/91
IV
WR
1
324
AFSC
11/17/91
IV
WR
1
325
AFSC
04/25/92
ll/SLV
WR
1
326
SV-MARS OBS. ·
09/25/92 Ill
ER
1
327
AFMC
11/28/92
IV
WR
1
328
AFMC
08/02/93
IV (K-11)
WR
4
0
1
329
LANDSAT6
10/05/93
11/SLV
WR
4
2
1
330
CLEMENTINE
01/25/94
11/SLV
WR
1
331
SV-MILSTAR
02/07/94
TIV-CENTAUR (K· 10)
ER
1
332
SV-D00
05/03/94
TIV-CENTAUR (K-7)
ER
1
333
SV-DOD
08/27/94
TIV-CENT AUR {K-9)
ER
1
334 SV-D00
12122194
IV-IUS (K-14)
ER
1
335 SV-D00
05/14/95
TIV-CENTAUR (K-23)
ER
1
336
SV-D00
07/10/95
TIV-CENTAUR (K-19)
ER
1
337
SV-MILSTAR
11/06/95 TIV-CENTAUR (K-21)
ER
1
338
DOD
04/24/96
TIV-CENTAUR (K-16)
ER
1
339
DOD
07/02/96
TIV-NUS (K2)
ER
1
9/10/%
156
RTI
```
@@ -1 +0,0 @@
RuntimeError: Gemini returned an empty response
+23
View File
@@ -0,0 +1,23 @@
---
source_title: "FBI Photo B2"
source_file: "downloads/war-gov-ufo-release-1/FBI Photo B2.pdf"
source_url: "https://www.war.gov/medialink/ufo/release_1/fbi-photo-b2.pdf"
asset_type: "PDF"
dataset_row: 90
page: 1
page_count: 1
model: "manual-local-transcription"
generated_at: "2026-05-08T18:33:51.650670+00:00"
---
# FBI Photo B2 - Page 1
Black-and-white sighting photograph frame.
Visible page content:
- A central crosshair or reticle overlay with horizontal and vertical scales marked roughly from -15 to 15.
- A small dark object or mark appears slightly above and to the right of the reticle center.
- Several black redaction bars cover labels or other identifying text around the image.
- The lower-left timestamp reads: `12/31/99 18:11:27`.
- Faint terrain or mountains are visible near the lower edge of the frame.
+11 -11
View File
@@ -1259,7 +1259,7 @@
{"asset": "006-65_HS1-834228961_62-HQ-83894_Section_6", "chars": 5684, "generated_at": "2026-05-08T15:30:27.526335+00:00", "output": "converted/006-65_HS1-834228961_62-HQ-83894_Section_6/page-0220.md", "page": 220, "page_count": 271, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_6.pdf", "status": "ok"}
{"asset": "007-65_HS1-834228961_62-HQ-83894_Section_7", "chars": 267, "generated_at": "2026-05-08T15:30:32.231791+00:00", "output": "converted/007-65_HS1-834228961_62-HQ-83894_Section_7/page-0012.md", "page": 12, "page_count": 205, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_7.pdf", "status": "ok"}
{"asset": "006-65_HS1-834228961_62-HQ-83894_Section_6", "chars": 5677, "generated_at": "2026-05-08T15:30:32.682197+00:00", "output": "converted/006-65_HS1-834228961_62-HQ-83894_Section_6/page-0222.md", "page": 222, "page_count": 271, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_6.pdf", "status": "ok"}
{"asset": "006-65_HS1-834228961_62-HQ-83894_Section_6", "error": "RuntimeError: Gemini returned an empty response", "generated_at": "2026-05-08T15:30:36.366131+00:00", "page": 65, "page_count": 271, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_6.pdf", "status": "error"}
{"asset": "006-65_HS1-834228961_62-HQ-83894_Section_6", "chars": 2324, "generated_at": "2026-05-08T18:33:51.648721+00:00", "output": "converted/006-65_HS1-834228961_62-HQ-83894_Section_6/page-0065.md", "page": 65, "page_count": 271, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_6.pdf", "status": "ok"}
{"asset": "007-65_HS1-834228961_62-HQ-83894_Section_7", "chars": 1232, "generated_at": "2026-05-08T15:30:36.752539+00:00", "output": "converted/007-65_HS1-834228961_62-HQ-83894_Section_7/page-0013.md", "page": 13, "page_count": 205, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_7.pdf", "status": "ok"}
{"asset": "007-65_HS1-834228961_62-HQ-83894_Section_7", "chars": 1298, "generated_at": "2026-05-08T15:30:37.305387+00:00", "output": "converted/007-65_HS1-834228961_62-HQ-83894_Section_7/page-0011.md", "page": 11, "page_count": 205, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_7.pdf", "status": "ok"}
{"asset": "006-65_HS1-834228961_62-HQ-83894_Section_6", "chars": 843, "generated_at": "2026-05-08T15:30:41.147797+00:00", "output": "converted/006-65_HS1-834228961_62-HQ-83894_Section_6/page-0229.md", "page": 229, "page_count": 271, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_6.pdf", "status": "ok"}
@@ -1287,7 +1287,7 @@
{"asset": "007-65_HS1-834228961_62-HQ-83894_Section_7", "chars": 185, "generated_at": "2026-05-08T15:31:18.651402+00:00", "output": "converted/007-65_HS1-834228961_62-HQ-83894_Section_7/page-0038.md", "page": 38, "page_count": 205, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_7.pdf", "status": "ok"}
{"asset": "007-65_HS1-834228961_62-HQ-83894_Section_7", "chars": 1057, "generated_at": "2026-05-08T15:31:19.447354+00:00", "output": "converted/007-65_HS1-834228961_62-HQ-83894_Section_7/page-0035.md", "page": 35, "page_count": 205, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_7.pdf", "status": "ok"}
{"asset": "007-65_HS1-834228961_62-HQ-83894_Section_7", "chars": 372, "generated_at": "2026-05-08T15:31:20.606720+00:00", "output": "converted/007-65_HS1-834228961_62-HQ-83894_Section_7/page-0036.md", "page": 36, "page_count": 205, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_7.pdf", "status": "ok"}
{"asset": "006-65_HS1-834228961_62-HQ-83894_Section_6", "error": "RuntimeError: Gemini returned an empty response", "generated_at": "2026-05-08T15:31:21.448221+00:00", "page": 201, "page_count": 271, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_6.pdf", "status": "error"}
{"asset": "006-65_HS1-834228961_62-HQ-83894_Section_6", "chars": 262, "generated_at": "2026-05-08T18:33:51.649161+00:00", "output": "converted/006-65_HS1-834228961_62-HQ-83894_Section_6/page-0201.md", "page": 201, "page_count": 271, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_6.pdf", "status": "ok"}
{"asset": "007-65_HS1-834228961_62-HQ-83894_Section_7", "chars": 1099, "generated_at": "2026-05-08T15:31:24.485735+00:00", "output": "converted/007-65_HS1-834228961_62-HQ-83894_Section_7/page-0039.md", "page": 39, "page_count": 205, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_7.pdf", "status": "ok"}
{"asset": "007-65_HS1-834228961_62-HQ-83894_Section_7", "chars": 765, "generated_at": "2026-05-08T15:31:26.324384+00:00", "output": "converted/007-65_HS1-834228961_62-HQ-83894_Section_7/page-0040.md", "page": 40, "page_count": 205, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_7.pdf", "status": "ok"}
{"asset": "007-65_HS1-834228961_62-HQ-83894_Section_7", "chars": 1017, "generated_at": "2026-05-08T15:31:27.996680+00:00", "output": "converted/007-65_HS1-834228961_62-HQ-83894_Section_7/page-0043.md", "page": 43, "page_count": 205, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_7.pdf", "status": "ok"}
@@ -2756,7 +2756,7 @@
{"asset": "026-38_143685_box_Incident_Summaries_173-233", "chars": 1717, "generated_at": "2026-05-08T16:03:10.303302+00:00", "output": "converted/026-38_143685_box_Incident_Summaries_173-233/page-0029.md", "page": 29, "page_count": 144, "source_file": "downloads/war-gov-ufo-release-1/38_143685_box_Incident_Summaries_173-233.pdf", "status": "ok"}
{"asset": "026-38_143685_box_Incident_Summaries_173-233", "chars": 701, "generated_at": "2026-05-08T16:03:11.040817+00:00", "output": "converted/026-38_143685_box_Incident_Summaries_173-233/page-0030.md", "page": 30, "page_count": 144, "source_file": "downloads/war-gov-ufo-release-1/38_143685_box_Incident_Summaries_173-233.pdf", "status": "ok"}
{"asset": "026-38_143685_box_Incident_Summaries_173-233", "chars": 1655, "generated_at": "2026-05-08T16:03:12.910726+00:00", "output": "converted/026-38_143685_box_Incident_Summaries_173-233/page-0031.md", "page": 31, "page_count": 144, "source_file": "downloads/war-gov-ufo-release-1/38_143685_box_Incident_Summaries_173-233.pdf", "status": "ok"}
{"asset": "025-38_143685_box_Incident_Summaries_101-172", "error": "RuntimeError: Gemini returned an empty response", "generated_at": "2026-05-08T16:03:14.778876+00:00", "page": 113, "page_count": 178, "source_file": "downloads/war-gov-ufo-release-1/38_143685_box_Incident_Summaries_101-172.pdf", "status": "error"}
{"asset": "025-38_143685_box_Incident_Summaries_101-172", "chars": 600, "generated_at": "2026-05-08T18:33:51.649331+00:00", "output": "converted/025-38_143685_box_Incident_Summaries_101-172/page-0113.md", "page": 113, "page_count": 178, "source_file": "downloads/war-gov-ufo-release-1/38_143685_box_Incident_Summaries_101-172.pdf", "status": "ok"}
{"asset": "026-38_143685_box_Incident_Summaries_173-233", "chars": 1803, "generated_at": "2026-05-08T16:03:15.241024+00:00", "output": "converted/026-38_143685_box_Incident_Summaries_173-233/page-0032.md", "page": 32, "page_count": 144, "source_file": "downloads/war-gov-ufo-release-1/38_143685_box_Incident_Summaries_173-233.pdf", "status": "ok"}
{"asset": "026-38_143685_box_Incident_Summaries_173-233", "chars": 1364, "generated_at": "2026-05-08T16:03:16.268155+00:00", "output": "converted/026-38_143685_box_Incident_Summaries_173-233/page-0033.md", "page": 33, "page_count": 144, "source_file": "downloads/war-gov-ufo-release-1/38_143685_box_Incident_Summaries_173-233.pdf", "status": "ok"}
{"asset": "026-38_143685_box_Incident_Summaries_173-233", "chars": 1334, "generated_at": "2026-05-08T16:03:16.339509+00:00", "output": "converted/026-38_143685_box_Incident_Summaries_173-233/page-0034.md", "page": 34, "page_count": 144, "source_file": "downloads/war-gov-ufo-release-1/38_143685_box_Incident_Summaries_173-233.pdf", "status": "ok"}
@@ -3076,7 +3076,7 @@
{"asset": "027-38_143685_box7_Incident_Summaries_1-100", "chars": 1029, "generated_at": "2026-05-08T16:09:30.029895+00:00", "output": "converted/027-38_143685_box7_Incident_Summaries_1-100/page-0199.md", "page": 199, "page_count": 209, "source_file": "downloads/war-gov-ufo-release-1/38_143685_box7_Incident_Summaries_1-100.pdf", "status": "ok"}
{"asset": "027-38_143685_box7_Incident_Summaries_1-100", "chars": 500, "generated_at": "2026-05-08T16:09:31.530499+00:00", "output": "converted/027-38_143685_box7_Incident_Summaries_1-100/page-0202.md", "page": 202, "page_count": 209, "source_file": "downloads/war-gov-ufo-release-1/38_143685_box7_Incident_Summaries_1-100.pdf", "status": "ok"}
{"asset": "027-38_143685_box7_Incident_Summaries_1-100", "chars": 405, "generated_at": "2026-05-08T16:09:31.580881+00:00", "output": "converted/027-38_143685_box7_Incident_Summaries_1-100/page-0204.md", "page": 204, "page_count": 209, "source_file": "downloads/war-gov-ufo-release-1/38_143685_box7_Incident_Summaries_1-100.pdf", "status": "ok"}
{"asset": "027-38_143685_box7_Incident_Summaries_1-100", "error": "RuntimeError: Gemini returned an empty response", "generated_at": "2026-05-08T16:09:32.036894+00:00", "page": 29, "page_count": 209, "source_file": "downloads/war-gov-ufo-release-1/38_143685_box7_Incident_Summaries_1-100.pdf", "status": "error"}
{"asset": "027-38_143685_box7_Incident_Summaries_1-100", "chars": 854, "generated_at": "2026-05-08T18:33:51.649490+00:00", "output": "converted/027-38_143685_box7_Incident_Summaries_1-100/page-0029.md", "page": 29, "page_count": 209, "source_file": "downloads/war-gov-ufo-release-1/38_143685_box7_Incident_Summaries_1-100.pdf", "status": "ok"}
{"asset": "027-38_143685_box7_Incident_Summaries_1-100", "chars": 945, "generated_at": "2026-05-08T16:09:32.413566+00:00", "output": "converted/027-38_143685_box7_Incident_Summaries_1-100/page-0203.md", "page": 203, "page_count": 209, "source_file": "downloads/war-gov-ufo-release-1/38_143685_box7_Incident_Summaries_1-100.pdf", "status": "ok"}
{"asset": "027-38_143685_box7_Incident_Summaries_1-100", "chars": 1047, "generated_at": "2026-05-08T16:09:32.541122+00:00", "output": "converted/027-38_143685_box7_Incident_Summaries_1-100/page-0205.md", "page": 205, "page_count": 209, "source_file": "downloads/war-gov-ufo-release-1/38_143685_box7_Incident_Summaries_1-100.pdf", "status": "ok"}
{"asset": "027-38_143685_box7_Incident_Summaries_1-100", "chars": 880, "generated_at": "2026-05-08T16:09:32.626073+00:00", "output": "converted/027-38_143685_box7_Incident_Summaries_1-100/page-0201.md", "page": 201, "page_count": 209, "source_file": "downloads/war-gov-ufo-release-1/38_143685_box7_Incident_Summaries_1-100.pdf", "status": "ok"}
@@ -3303,7 +3303,7 @@
{"asset": "033-65_HS1-834228961_62-HQ-83894_Section_8", "chars": 339, "generated_at": "2026-05-08T16:15:23.483398+00:00", "output": "converted/033-65_HS1-834228961_62-HQ-83894_Section_8/page-0010.md", "page": 10, "page_count": 217, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_8.pdf", "status": "ok"}
{"asset": "033-65_HS1-834228961_62-HQ-83894_Section_8", "chars": 2145, "generated_at": "2026-05-08T16:15:24.246672+00:00", "output": "converted/033-65_HS1-834228961_62-HQ-83894_Section_8/page-0007.md", "page": 7, "page_count": 217, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_8.pdf", "status": "ok"}
{"asset": "033-65_HS1-834228961_62-HQ-83894_Section_8", "chars": 2311, "generated_at": "2026-05-08T16:15:24.607089+00:00", "output": "converted/033-65_HS1-834228961_62-HQ-83894_Section_8/page-0006.md", "page": 6, "page_count": 217, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_8.pdf", "status": "ok"}
{"asset": "027-38_143685_box7_Incident_Summaries_1-100", "error": "RuntimeError: Gemini returned an empty response", "generated_at": "2026-05-08T16:15:26.436946+00:00", "page": 112, "page_count": 209, "source_file": "downloads/war-gov-ufo-release-1/38_143685_box7_Incident_Summaries_1-100.pdf", "status": "error"}
{"asset": "027-38_143685_box7_Incident_Summaries_1-100", "chars": 869, "generated_at": "2026-05-08T18:33:51.649810+00:00", "output": "converted/027-38_143685_box7_Incident_Summaries_1-100/page-0112.md", "page": 112, "page_count": 209, "source_file": "downloads/war-gov-ufo-release-1/38_143685_box7_Incident_Summaries_1-100.pdf", "status": "ok"}
{"asset": "033-65_HS1-834228961_62-HQ-83894_Section_8", "chars": 2220, "generated_at": "2026-05-08T16:15:27.263257+00:00", "output": "converted/033-65_HS1-834228961_62-HQ-83894_Section_8/page-0009.md", "page": 9, "page_count": 217, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_8.pdf", "status": "ok"}
{"asset": "033-65_HS1-834228961_62-HQ-83894_Section_8", "chars": 2179, "generated_at": "2026-05-08T16:15:27.623004+00:00", "output": "converted/033-65_HS1-834228961_62-HQ-83894_Section_8/page-0008.md", "page": 8, "page_count": 217, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_8.pdf", "status": "ok"}
{"asset": "033-65_HS1-834228961_62-HQ-83894_Section_8", "chars": 2574, "generated_at": "2026-05-08T16:15:28.848515+00:00", "output": "converted/033-65_HS1-834228961_62-HQ-83894_Section_8/page-0012.md", "page": 12, "page_count": 217, "source_file": "downloads/war-gov-ufo-release-1/65_HS1-834228961_62-HQ-83894_Section_8.pdf", "status": "ok"}
@@ -3607,7 +3607,7 @@
{"asset": "047-DOW-UAP-D32-_Mission_Report-_Syria-_October_2024", "chars": 1376, "generated_at": "2026-05-08T16:25:02.487299+00:00", "output": "converted/047-DOW-UAP-D32-_Mission_Report-_Syria-_October_2024/page-0002.md", "page": 2, "page_count": 10, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D32_ Mission Report_ Syria_ October 2024.pdf", "status": "ok"}
{"asset": "047-DOW-UAP-D32-_Mission_Report-_Syria-_October_2024", "chars": 1362, "generated_at": "2026-05-08T16:25:05.144520+00:00", "output": "converted/047-DOW-UAP-D32-_Mission_Report-_Syria-_October_2024/page-0004.md", "page": 4, "page_count": 10, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D32_ Mission Report_ Syria_ October 2024.pdf", "status": "ok"}
{"asset": "047-DOW-UAP-D32-_Mission_Report-_Syria-_October_2024", "chars": 1708, "generated_at": "2026-05-08T16:25:14.787153+00:00", "output": "converted/047-DOW-UAP-D32-_Mission_Report-_Syria-_October_2024/page-0007.md", "page": 7, "page_count": 10, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D32_ Mission Report_ Syria_ October 2024.pdf", "status": "ok"}
{"asset": "041-DOW-UAP-D23-_Mission_Report-_United_Arab_Emirates-_October_2023", "error": "RuntimeError: Gemini returned an empty response", "generated_at": "2026-05-08T16:25:17.040657+00:00", "page": 7, "page_count": 9, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D23_ Mission Report_ United Arab Emirates_ October 2023.pdf", "status": "error"}
{"asset": "041-DOW-UAP-D23-_Mission_Report-_United_Arab_Emirates-_October_2023", "chars": 1668, "generated_at": "2026-05-08T18:33:51.650108+00:00", "output": "converted/041-DOW-UAP-D23-_Mission_Report-_United_Arab_Emirates-_October_2023/page-0007.md", "page": 7, "page_count": 9, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D23_ Mission Report_ United Arab Emirates_ October 2023.pdf", "status": "ok"}
{"asset": "047-DOW-UAP-D32-_Mission_Report-_Syria-_October_2024", "chars": 2076, "generated_at": "2026-05-08T16:25:23.964556+00:00", "output": "converted/047-DOW-UAP-D32-_Mission_Report-_Syria-_October_2024/page-0008.md", "page": 8, "page_count": 10, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D32_ Mission Report_ Syria_ October 2024.pdf", "status": "ok"}
{"asset": "047-DOW-UAP-D32-_Mission_Report-_Syria-_October_2024", "chars": 2231, "generated_at": "2026-05-08T16:25:24.688605+00:00", "output": "converted/047-DOW-UAP-D32-_Mission_Report-_Syria-_October_2024/page-0009.md", "page": 9, "page_count": 10, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D32_ Mission Report_ Syria_ October 2024.pdf", "status": "ok"}
{"asset": "047-DOW-UAP-D32-_Mission_Report-_Syria-_October_2024", "chars": 503, "generated_at": "2026-05-08T16:25:30.418920+00:00", "output": "converted/047-DOW-UAP-D32-_Mission_Report-_Syria-_October_2024/page-0010.md", "page": 10, "page_count": 10, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D32_ Mission Report_ Syria_ October 2024.pdf", "status": "ok"}
@@ -3628,7 +3628,7 @@
{"asset": "049-DOW-UAP-D32-_Mission_Report-_Syria-_October_2024", "chars": 1578, "generated_at": "2026-05-08T16:28:00.532470+00:00", "output": "converted/049-DOW-UAP-D32-_Mission_Report-_Syria-_October_2024/page-0005.md", "page": 5, "page_count": 10, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D32_ Mission Report_ Syria_ October 2024_3.pdf", "status": "ok"}
{"asset": "049-DOW-UAP-D32-_Mission_Report-_Syria-_October_2024", "chars": 1522, "generated_at": "2026-05-08T16:28:09.986281+00:00", "output": "converted/049-DOW-UAP-D32-_Mission_Report-_Syria-_October_2024/page-0007.md", "page": 7, "page_count": 10, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D32_ Mission Report_ Syria_ October 2024_3.pdf", "status": "ok"}
{"asset": "049-DOW-UAP-D32-_Mission_Report-_Syria-_October_2024", "chars": 1974, "generated_at": "2026-05-08T16:28:19.916837+00:00", "output": "converted/049-DOW-UAP-D32-_Mission_Report-_Syria-_October_2024/page-0008.md", "page": 8, "page_count": 10, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D32_ Mission Report_ Syria_ October 2024_3.pdf", "status": "ok"}
{"asset": "036-DOW-UAP-D14-_Mission_Report-_Iraq-_May_2022", "error": "RuntimeError: Gemini returned an empty response", "generated_at": "2026-05-08T16:28:24.435827+00:00", "page": 6, "page_count": 9, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D14_ Mission Report_ Iraq_ May 2022.pdf", "status": "error"}
{"asset": "036-DOW-UAP-D14-_Mission_Report-_Iraq-_May_2022", "chars": 2856, "generated_at": "2026-05-08T18:33:51.649960+00:00", "output": "converted/036-DOW-UAP-D14-_Mission_Report-_Iraq-_May_2022/page-0006.md", "page": 6, "page_count": 9, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D14_ Mission Report_ Iraq_ May 2022.pdf", "status": "ok"}
{"asset": "049-DOW-UAP-D32-_Mission_Report-_Syria-_October_2024", "chars": 1970, "generated_at": "2026-05-08T16:28:28.073206+00:00", "output": "converted/049-DOW-UAP-D32-_Mission_Report-_Syria-_October_2024/page-0009.md", "page": 9, "page_count": 10, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D32_ Mission Report_ Syria_ October 2024_3.pdf", "status": "ok"}
{"asset": "050-DOW-UAP-D33-_Mission_Report-_Greece-_October_2023", "chars": 1265, "generated_at": "2026-05-08T16:28:37.027670+00:00", "output": "converted/050-DOW-UAP-D33-_Mission_Report-_Greece-_October_2023/page-0001.md", "page": 1, "page_count": 7, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D33_ Mission Report_ Greece_ October 2023.pdf", "status": "ok"}
{"asset": "050-DOW-UAP-D33-_Mission_Report-_Greece-_October_2023", "chars": 1026, "generated_at": "2026-05-08T16:28:46.032993+00:00", "output": "converted/050-DOW-UAP-D33-_Mission_Report-_Greece-_October_2023/page-0002.md", "page": 2, "page_count": 7, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D33_ Mission Report_ Greece_ October 2023.pdf", "status": "ok"}
@@ -3716,7 +3716,7 @@
{"asset": "056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996", "chars": 2840, "generated_at": "2026-05-08T16:39:17.780208+00:00", "output": "converted/056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996/page-0061.md", "page": 61, "page_count": 181, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf", "status": "ok"}
{"asset": "056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996", "chars": 1588, "generated_at": "2026-05-08T16:39:19.187448+00:00", "output": "converted/056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996/page-0060.md", "page": 60, "page_count": 181, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf", "status": "ok"}
{"asset": "056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996", "chars": 8345, "generated_at": "2026-05-08T16:39:19.605143+00:00", "output": "converted/056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996/page-0052.md", "page": 52, "page_count": 181, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf", "status": "ok"}
{"asset": "056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996", "error": "RuntimeError: Gemini returned an empty response", "generated_at": "2026-05-08T16:39:20.255384+00:00", "page": 30, "page_count": 181, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf", "status": "error"}
{"asset": "056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996", "chars": 2230, "generated_at": "2026-05-08T18:33:51.650229+00:00", "output": "converted/056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996/page-0030.md", "page": 30, "page_count": 181, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf", "status": "ok"}
{"asset": "056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996", "chars": 490, "generated_at": "2026-05-08T16:39:23.609431+00:00", "output": "converted/056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996/page-0062.md", "page": 62, "page_count": 181, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf", "status": "ok"}
{"asset": "056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996", "chars": 461, "generated_at": "2026-05-08T16:39:24.537763+00:00", "output": "converted/056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996/page-0063.md", "page": 63, "page_count": 181, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf", "status": "ok"}
{"asset": "056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996", "chars": 348, "generated_at": "2026-05-08T16:39:25.834735+00:00", "output": "converted/056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996/page-0065.md", "page": 65, "page_count": 181, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf", "status": "ok"}
@@ -3779,7 +3779,7 @@
{"asset": "056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996", "chars": 2957, "generated_at": "2026-05-08T16:45:13.089419+00:00", "output": "converted/056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996/page-0123.md", "page": 123, "page_count": 181, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf", "status": "ok"}
{"asset": "056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996", "chars": 2834, "generated_at": "2026-05-08T16:45:19.309469+00:00", "output": "converted/056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996/page-0125.md", "page": 125, "page_count": 181, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf", "status": "ok"}
{"asset": "056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996", "chars": 8250, "generated_at": "2026-05-08T16:45:19.803740+00:00", "output": "converted/056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996/page-0109.md", "page": 109, "page_count": 181, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf", "status": "ok"}
{"asset": "056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996", "error": "RuntimeError: Gemini returned an empty response", "generated_at": "2026-05-08T16:45:21.208954+00:00", "page": 58, "page_count": 181, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf", "status": "error"}
{"asset": "056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996", "chars": 2182, "generated_at": "2026-05-08T18:33:51.650352+00:00", "output": "converted/056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996/page-0058.md", "page": 58, "page_count": 181, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf", "status": "ok"}
{"asset": "056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996", "chars": 8357, "generated_at": "2026-05-08T16:45:21.919513+00:00", "output": "converted/056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996/page-0111.md", "page": 111, "page_count": 181, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf", "status": "ok"}
{"asset": "056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996", "chars": 2576, "generated_at": "2026-05-08T16:45:22.074044+00:00", "output": "converted/056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996/page-0126.md", "page": 126, "page_count": 181, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf", "status": "ok"}
{"asset": "056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996", "chars": 2438, "generated_at": "2026-05-08T16:45:25.986139+00:00", "output": "converted/056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996/page-0127.md", "page": 127, "page_count": 181, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf", "status": "ok"}
@@ -3910,7 +3910,7 @@
{"asset": "057-DOW-UAP-D49-_Launch_Summary-_Vandenberg_AFB-_2000", "chars": 2009, "generated_at": "2026-05-08T16:58:03.327939+00:00", "output": "converted/057-DOW-UAP-D49-_Launch_Summary-_Vandenberg_AFB-_2000/page-0071.md", "page": 71, "page_count": 113, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D49_ Launch Summary_ Vandenberg AFB_ 2000.pdf", "status": "ok"}
{"asset": "057-DOW-UAP-D49-_Launch_Summary-_Vandenberg_AFB-_2000", "chars": 2004, "generated_at": "2026-05-08T16:58:04.377182+00:00", "output": "converted/057-DOW-UAP-D49-_Launch_Summary-_Vandenberg_AFB-_2000/page-0072.md", "page": 72, "page_count": 113, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D49_ Launch Summary_ Vandenberg AFB_ 2000.pdf", "status": "ok"}
{"asset": "057-DOW-UAP-D49-_Launch_Summary-_Vandenberg_AFB-_2000", "chars": 1975, "generated_at": "2026-05-08T16:58:06.629392+00:00", "output": "converted/057-DOW-UAP-D49-_Launch_Summary-_Vandenberg_AFB-_2000/page-0073.md", "page": 73, "page_count": 113, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D49_ Launch Summary_ Vandenberg AFB_ 2000.pdf", "status": "ok"}
{"asset": "056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996", "error": "RuntimeError: Gemini returned an empty response", "generated_at": "2026-05-08T16:58:06.808524+00:00", "page": 165, "page_count": 181, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf", "status": "error"}
{"asset": "056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996", "chars": 1368, "generated_at": "2026-05-08T18:33:51.650551+00:00", "output": "converted/056-DOW-UAP-D48-_Department_of_the_Air_Force_Report-_1996/page-0165.md", "page": 165, "page_count": 181, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D48_ Department of the Air Force Report_ 1996.pdf", "status": "ok"}
{"asset": "057-DOW-UAP-D49-_Launch_Summary-_Vandenberg_AFB-_2000", "chars": 1997, "generated_at": "2026-05-08T16:58:06.955484+00:00", "output": "converted/057-DOW-UAP-D49-_Launch_Summary-_Vandenberg_AFB-_2000/page-0074.md", "page": 74, "page_count": 113, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D49_ Launch Summary_ Vandenberg AFB_ 2000.pdf", "status": "ok"}
{"asset": "057-DOW-UAP-D49-_Launch_Summary-_Vandenberg_AFB-_2000", "chars": 1994, "generated_at": "2026-05-08T16:58:08.494431+00:00", "output": "converted/057-DOW-UAP-D49-_Launch_Summary-_Vandenberg_AFB-_2000/page-0075.md", "page": 75, "page_count": 113, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D49_ Launch Summary_ Vandenberg AFB_ 2000.pdf", "status": "ok"}
{"asset": "057-DOW-UAP-D49-_Launch_Summary-_Vandenberg_AFB-_2000", "chars": 1953, "generated_at": "2026-05-08T16:58:11.898030+00:00", "output": "converted/057-DOW-UAP-D49-_Launch_Summary-_Vandenberg_AFB-_2000/page-0076.md", "page": 76, "page_count": 113, "source_file": "downloads/war-gov-ufo-release-1/DOW-UAP-D49_ Launch Summary_ Vandenberg AFB_ 2000.pdf", "status": "ok"}
@@ -4109,7 +4109,7 @@
{"asset": "106-NASA-UAP-D4-_Apollo_11_Technical_Crew_Debriefing-_1969", "chars": 1021, "generated_at": "2026-05-08T17:05:06.521832+00:00", "output": "converted/106-NASA-UAP-D4-_Apollo_11_Technical_Crew_Debriefing-_1969/page-0003.md", "page": 3, "page_count": 11, "source_file": "downloads/war-gov-ufo-release-1/NASA-UAP-D4_ Apollo 11 Technical Crew Debriefing_ 1969.pdf", "status": "ok"}
{"asset": "106-NASA-UAP-D4-_Apollo_11_Technical_Crew_Debriefing-_1969", "chars": 845, "generated_at": "2026-05-08T17:05:08.800335+00:00", "output": "converted/106-NASA-UAP-D4-_Apollo_11_Technical_Crew_Debriefing-_1969/page-0002.md", "page": 2, "page_count": 11, "source_file": "downloads/war-gov-ufo-release-1/NASA-UAP-D4_ Apollo 11 Technical Crew Debriefing_ 1969.pdf", "status": "ok"}
{"asset": "106-NASA-UAP-D4-_Apollo_11_Technical_Crew_Debriefing-_1969", "chars": 1129, "generated_at": "2026-05-08T17:05:16.497356+00:00", "output": "converted/106-NASA-UAP-D4-_Apollo_11_Technical_Crew_Debriefing-_1969/page-0005.md", "page": 5, "page_count": 11, "source_file": "downloads/war-gov-ufo-release-1/NASA-UAP-D4_ Apollo 11 Technical Crew Debriefing_ 1969.pdf", "status": "ok"}
{"asset": "090-FBI_Photo_B2", "error": "RuntimeError: Gemini returned an empty response", "generated_at": "2026-05-08T17:05:18.000926+00:00", "page": 1, "page_count": 1, "source_file": "downloads/war-gov-ufo-release-1/FBI Photo B2.pdf", "status": "error"}
{"asset": "090-FBI_Photo_B2", "chars": 485, "generated_at": "2026-05-08T18:33:51.650670+00:00", "output": "converted/090-FBI_Photo_B2/page-0001.md", "page": 1, "page_count": 1, "source_file": "downloads/war-gov-ufo-release-1/FBI Photo B2.pdf", "status": "ok"}
{"asset": "106-NASA-UAP-D4-_Apollo_11_Technical_Crew_Debriefing-_1969", "chars": 1699, "generated_at": "2026-05-08T17:05:26.368321+00:00", "output": "converted/106-NASA-UAP-D4-_Apollo_11_Technical_Crew_Debriefing-_1969/page-0006.md", "page": 6, "page_count": 11, "source_file": "downloads/war-gov-ufo-release-1/NASA-UAP-D4_ Apollo 11 Technical Crew Debriefing_ 1969.pdf", "status": "ok"}
{"asset": "106-NASA-UAP-D4-_Apollo_11_Technical_Crew_Debriefing-_1969", "chars": 1250, "generated_at": "2026-05-08T17:05:28.712178+00:00", "output": "converted/106-NASA-UAP-D4-_Apollo_11_Technical_Crew_Debriefing-_1969/page-0007.md", "page": 7, "page_count": 11, "source_file": "downloads/war-gov-ufo-release-1/NASA-UAP-D4_ Apollo 11 Technical Crew Debriefing_ 1969.pdf", "status": "ok"}
{"asset": "106-NASA-UAP-D4-_Apollo_11_Technical_Crew_Debriefing-_1969", "chars": 689, "generated_at": "2026-05-08T17:05:31.567387+00:00", "output": "converted/106-NASA-UAP-D4-_Apollo_11_Technical_Crew_Debriefing-_1969/page-0008.md", "page": 8, "page_count": 11, "source_file": "downloads/war-gov-ufo-release-1/NASA-UAP-D4_ Apollo 11 Technical Crew Debriefing_ 1969.pdf", "status": "ok"}
-270
View File
@@ -1,270 +0,0 @@
#!/usr/bin/env python3
"""Deterministically clean public converted Markdown archive artifacts."""
from __future__ import annotations
import argparse
import json
import re
from collections import Counter
from dataclasses import dataclass
from pathlib import Path
from typing import Callable
SOURCE_FILE_LINE_RE = re.compile(
r'(?m)^(?P<prefix>source_file:\s*)"(?P<value>/[^"\n]*/downloads/war-gov-ufo-release-1/[^"\n]+)"\s*$'
)
REPETITION_PATTERNS: tuple[tuple[str, re.Pattern[str], str | Callable[[re.Match[str]], str]], ...] = (
(
"html_nbsp_runs",
re.compile(r"(?:&nbsp;[ \t]*){80,}", re.IGNORECASE),
" ",
),
(
"html_br_line_runs",
re.compile(r"(?im)(?:^[ \t]*<br\s*/?>[ \t]*\n){20,}"),
"\n",
),
(
"bracket_marker_runs",
re.compile(r"(?i)(\[(?:illegible|unreadable|unclear|redacted|blank)\])(?:\s*\1){19,}"),
lambda match: match.group(1),
),
(
"dot_runs",
re.compile(r"\.{100,}"),
"...",
),
(
"dash_runs",
re.compile(r"-{100,}"),
"---",
),
(
"underscore_runs",
re.compile(r"_{100,}"),
"___",
),
(
"equals_runs",
re.compile(r"={100,}"),
"===",
),
)
BRACKET_MARKER_PREFIXES = sorted(
{
word[:index]
for word in ("illegible", "unreadable", "unclear", "redacted", "blank")
for index in range(0, len(word) + 1)
},
key=len,
reverse=True,
)
BRACKET_MARKER_WORDS = "illegible|unreadable|unclear|redacted|blank"
TRAILING_PARTIAL_AFTER_MARKER_RE = re.compile(
r"(?i)(\[(?:" + BRACKET_MARKER_WORDS + r")\])\s+\[(?:"
+ "|".join(re.escape(prefix) for prefix in BRACKET_MARKER_PREFIXES)
+ r")?[ \t]*$"
)
TRAILING_PARTIAL_BRACKET_RE = re.compile(
r"(?i)[ \t]*\[(?:" + "|".join(re.escape(prefix) for prefix in BRACKET_MARKER_PREFIXES) + r")?[ \t]*$"
)
TRAILING_PARTIAL_NBSP_RE = re.compile(r"(?i)[ \t]*&(?:nbsp|nbs|nb|n)?;?[ \t]*$")
TRAILING_PARTIAL_NBSP_LINE_RE = re.compile(r"(?i)(?:^|\n)[ \t]*&(?:nbsp|nbs|nb|n)?;?[ \t]*$")
@dataclass(frozen=True)
class FileChange:
path: Path
before_chars: int
after_chars: int
changes: dict[str, int]
def publicize_path_string(value: str) -> str:
replacements = (
("/downloads/war-gov-ufo-release-1/", "downloads/war-gov-ufo-release-1/"),
("/converted/", "converted/"),
)
for private_segment, public_prefix in replacements:
if value.startswith("/") and private_segment in value:
return public_prefix + value.split(private_segment, 1)[1]
return value
def split_front_matter(text: str) -> tuple[str, str]:
if not text.startswith("---\n"):
return "", text
end = text.find("\n---\n", 4)
if end == -1:
return "", text
return text[: end + len("\n---\n")], text[end + len("\n---\n") :]
def scrub_markdown_paths(text: str, changes: Counter[str]) -> str:
def replace_source_file(match: re.Match[str]) -> str:
old_value = match.group("value")
new_value = publicize_path_string(old_value)
if new_value != old_value:
changes["private_source_paths"] += 1
return f"{match.group('prefix')}{json.dumps(new_value, ensure_ascii=False)}"
return SOURCE_FILE_LINE_RE.sub(replace_source_file, text)
def clean_repetitions(body: str, changes: Counter[str]) -> str:
cleaned = body
for name, pattern, replacement in REPETITION_PATTERNS:
before_len = len(cleaned)
cleaned, count = pattern.subn(replacement, cleaned)
if count:
changes[name] += count
changes[f"{name}_chars_removed"] += before_len - len(cleaned)
before_len = len(cleaned)
cleaned, count = TRAILING_PARTIAL_AFTER_MARKER_RE.subn(lambda match: match.group(1), cleaned)
if count:
changes["trailing_partial_bracket_marker"] += count
changes["trailing_partial_bracket_marker_chars_removed"] += before_len - len(cleaned)
before_len = len(cleaned)
cleaned, count = TRAILING_PARTIAL_NBSP_LINE_RE.subn(lambda match: "\n" if match.group(0).startswith("\n") else "", cleaned)
if count:
changes["trailing_partial_nbsp"] += count
changes["trailing_partial_nbsp_chars_removed"] += before_len - len(cleaned)
artifact_runs = sum(changes[name] for name, _, _ in REPETITION_PATTERNS)
if artifact_runs:
before_len = len(cleaned)
cleaned, count = TRAILING_PARTIAL_BRACKET_RE.subn("", cleaned)
if count:
changes["trailing_partial_bracket_marker"] += count
changes["trailing_partial_bracket_marker_chars_removed"] += before_len - len(cleaned)
before_len = len(cleaned)
cleaned, count = TRAILING_PARTIAL_NBSP_RE.subn("", cleaned)
if count:
changes["trailing_partial_nbsp"] += count
changes["trailing_partial_nbsp_chars_removed"] += before_len - len(cleaned)
before_len = len(cleaned)
cleaned, whitespace_lines = re.subn(r"(?m)^[ \t]+$", "", cleaned)
if whitespace_lines:
changes["whitespace_only_lines"] += whitespace_lines
changes["whitespace_only_lines_chars_removed"] += before_len - len(cleaned)
return cleaned
def clean_markdown_text(text: str) -> tuple[str, dict[str, int]]:
changes: Counter[str] = Counter()
text = scrub_markdown_paths(text, changes)
front_matter, body = split_front_matter(text)
cleaned = front_matter + clean_repetitions(body, changes)
return cleaned, dict(changes)
def clean_manifest_text(text: str) -> tuple[str, dict[str, int]]:
changes: Counter[str] = Counter()
output_lines: list[str] = []
for line_number, line in enumerate(text.splitlines(), start=1):
if not line.strip():
output_lines.append(line)
continue
try:
record = json.loads(line)
except json.JSONDecodeError as exc:
raise ValueError(f"Invalid JSONL at manifest line {line_number}: {exc}") from exc
for key in ("source_file", "output"):
value = record.get(key)
if not isinstance(value, str):
continue
new_value = publicize_path_string(value)
if new_value != value:
record[key] = new_value
changes[f"manifest_{key}_paths"] += 1
output_lines.append(json.dumps(record, ensure_ascii=False, sort_keys=True))
return "\n".join(output_lines) + ("\n" if text.endswith("\n") else ""), dict(changes)
def scan_markdown(converted_dir: Path, apply: bool) -> list[FileChange]:
file_changes: list[FileChange] = []
for path in sorted(converted_dir.rglob("*.md")):
old_text = path.read_text(encoding="utf-8")
new_text, changes = clean_markdown_text(old_text)
if old_text == new_text:
continue
if apply:
path.write_text(new_text, encoding="utf-8")
file_changes.append(
FileChange(path=path, before_chars=len(old_text), after_chars=len(new_text), changes=changes)
)
return file_changes
def clean_manifest(manifest_path: Path, apply: bool) -> FileChange | None:
if not manifest_path.exists():
return None
old_text = manifest_path.read_text(encoding="utf-8")
new_text, changes = clean_manifest_text(old_text)
if old_text == new_text:
return None
if apply:
manifest_path.write_text(new_text, encoding="utf-8")
return FileChange(path=manifest_path, before_chars=len(old_text), after_chars=len(new_text), changes=changes)
def print_report(file_changes: list[FileChange], manifest_change: FileChange | None, apply: bool) -> None:
all_changes = list(file_changes)
if manifest_change is not None:
all_changes.append(manifest_change)
mode = "updated" if apply else "would update"
print(f"{mode} {len(all_changes)} file(s)")
totals: Counter[str] = Counter()
chars_removed = 0
for item in all_changes:
totals.update(item.changes)
chars_removed += item.before_chars - item.after_chars
if totals:
print("changes:")
for key, value in sorted(totals.items()):
if key.endswith("_chars_removed"):
continue
print(f" {key}: {value}")
print(f"chars_removed: {chars_removed}")
for item in sorted(all_changes, key=lambda change: change.before_chars - change.after_chars, reverse=True)[:30]:
delta = item.before_chars - item.after_chars
print(f" {delta:8d} chars {item.path}")
def build_arg_parser() -> argparse.ArgumentParser:
parser = argparse.ArgumentParser(
description="Scrub private local paths and collapse obvious repeated-token artifacts in converted Markdown.",
)
parser.add_argument("--converted-dir", type=Path, default=Path("converted"))
parser.add_argument("--manifest", type=Path, default=Path("converted/manifest.jsonl"))
parser.add_argument("--apply", action="store_true", help="Write changes. Without this flag, only report.")
return parser
def main() -> int:
args = build_arg_parser().parse_args()
file_changes = scan_markdown(args.converted_dir, args.apply)
manifest_change = clean_manifest(args.manifest, args.apply)
print_report(file_changes, manifest_change, args.apply)
return 0
if __name__ == "__main__":
raise SystemExit(main())