Skip to content

Commit 4eabb6f

Browse files
committed
Add AI post-processing script, sanitize newsletters, and style newsletter links
- Add scripts/ai_post_process.py with deterministic sanitize_body() and optional AI cleanup for newsletter markdown (Safe Links unwrapping, multi-line link joining, broken URL fixes, empty link removal, whitespace normalization) - Add tests/test_ai_post_process.py (32 tests, fully mocked) - Apply sanitize-only pass across all 331 newsletters - Use #2ea3f2 link color on individual newsletter pages to match archive pages
1 parent f6e030e commit 4eabb6f

File tree

334 files changed

+24395
-74313
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

334 files changed

+24395
-74313
lines changed

_newsletters/10.03-Guilty-012122/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ Be sure to see the white paper [True Impact of ADAS Features on Insurance Claim
574574

575575
November 12, 2021
576576

577-
[](http://rrdc.com/op_usa_pop_up_metro.html)
577+
578578
[First across the Forth – and a royal visit](https://vivarail.co.uk/first-across-the-forth-and-a-royal-visit/)
579579
H. Posner, Nov 10, "UK-based rolling stock & battery technology manufacturer Vivarail noted a number of achievements during the first week of the COP26 UN Climate Change Conference in Glasgow. The opening Saturday of the conference on Saturday October 30 saw a historic run across the Firth of Forth, as the first electric train across the iconic bridge.
580580

_newsletters/10.04-Pioneers-012122/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ Setting the stage for this final session, Michael Sena provided highlights of th
262262

263263
[3rd Session 1/14/21 The SmartDrivingCars We Can Buy Today](https://viodi.com/2021/01/16/where-are-we-on-the-road-to-safe-driving/)
264264

265-
[2nd Session](https://viodi.com/2021/01/08/whats-the-vision-for-the-smart-driving-future/)[1/ 7/21 A Look into the Future](https://viodi.com/2021/01/08/whats-the-vision-for-the-smart-driving-future/)[](https://www.youtube.com/watch?v=pCc9N8o1dys&feature=youtu.be)[1st Session:](https://www.youtube.com/watch?v=pCc9N8o1dys&feature=youtu.be)[](https://www.youtube.com/watch?v=pCc9N8o1dys&feature=youtu.be)[12/17/20](https://www.youtube.com/watch?v=pCc9N8o1dys&feature=youtu.be)[Setting the Stage](https://www.youtube.com/watch?v=pCc9N8o1dys&feature=youtu.be)[](https://www.dropbox.com/s/akvl1klaz3jlgjf/041521_Making%20it%20Happen%20Part%202.pptx)
265+
[2nd Session](https://viodi.com/2021/01/08/whats-the-vision-for-the-smart-driving-future/)[1/ 7/21 A Look into the Future](https://viodi.com/2021/01/08/whats-the-vision-for-the-smart-driving-future/)[1st Session:](https://www.youtube.com/watch?v=pCc9N8o1dys&feature=youtu.be)[12/17/20](https://www.youtube.com/watch?v=pCc9N8o1dys&feature=youtu.be)[Setting the Stage](https://www.youtube.com/watch?v=pCc9N8o1dys&feature=youtu.be)
266266

267267
[Kornhauser & He, April 2021](https://www.dropbox.com/s/akvl1klaz3jlgjf/041521_Making%20it%20Happen%20Part%202.pptx)"Making it Happen: A Proposal for Providing Affordable, High-quality, On-demand Mobility for All in the "Trentons" of this World"
268268

@@ -624,7 +624,7 @@ Be sure to see the white paper [True Impact of ADAS Features on Insurance Claim
624624

625625
November 12, 2021
626626

627-
[](http://rrdc.com/op_usa_pop_up_metro.html)
627+
628628
[First across the Forth – and a royal visit](https://vivarail.co.uk/first-across-the-forth-and-a-royal-visit/)
629629
H. Posner, Nov 10, "UK-based rolling stock & battery technology manufacturer Vivarail noted a number of achievements during the first week of the COP26 UN Climate Change Conference in Glasgow. The opening Saturday of the conference on Saturday October 30 saw a historic run across the Firth of Forth, as the first electric train across the iconic bridge.
630630

@@ -721,7 +721,7 @@ Princeton University
721721
Princeton, NJ
722722
[alaink@princeton.edu](mailto:alaink@princeton.edu)
723723
609-980-1427 (c)
724-
[](http://www.princeton.edu)
724+
725725

726726
***************************************************************************************************************
727727

_newsletters/10.10-Cruise-030922/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -173,25 +173,25 @@ SmartDrivingCars [ZoomCast Episode 2](https://youtu.be/XGhpEnWchSg)/ [PodCast 25
173173

174174
F. Fishkin, March 3, "How will electric vehicle charging stations make money? The Dispatcher publisher Michael Sena poses that question and many more on episode 258 of Smart Driving Cars with Princeton's Alain Kornhauser and co-host Fred Fishkin. Plus Ford creates a distinct EV car business, an update on NJ progress and more. Tune in and subscribe...."
175175

176-
SmartDrivingCars [](https://www.youtube.com/watch)[ZoomCast Episode 2](https://www.youtube.com/watch?v=mtQ5jsslqUc)[5](https://www.youtube.com/watch?v=mtQ5jsslqUc)[7](https://www.youtube.com/watch?v=mtQ5jsslqUc)/ [PodCast 257](https://anchor.fm/smartdrivingcars/episodes/Smart-Driving-Cars-257-Marc-Scribner--Cliff-Winston-e1eu4l9) w/ [Cliff Winston](https://www.brookings.edu/experts/clifford-winston/), Brookings Institute & [Marc Scribner](https://reason.org/author/marc-scribner/), Reason Foundation
176+
SmartDrivingCars [ZoomCast Episode 2](https://www.youtube.com/watch?v=mtQ5jsslqUc)[5](https://www.youtube.com/watch?v=mtQ5jsslqUc)[7](https://www.youtube.com/watch?v=mtQ5jsslqUc)/ [PodCast 257](https://anchor.fm/smartdrivingcars/episodes/Smart-Driving-Cars-257-Marc-Scribner--Cliff-Winston-e1eu4l9) w/ [Cliff Winston](https://www.brookings.edu/experts/clifford-winston/), Brookings Institute & [Marc Scribner](https://reason.org/author/marc-scribner/), Reason Foundation
177177

178178
F. Fishkin, Feb. 25, "So what about these reports and opinion pieces casting doubt on the future of autonomous mobility? The Brookings Institution's Cliff Winston and Reason Foundation's Marc Scribner join Princeton's Alain Kornhauser & co-host Fred Fishkin to slice and dice. Plus GM Cruise, VW and more.."
179179

180-
SmartDrivingCars [](https://www.youtube.com/watch?v=xFegxpeq0Gk)[ZoomCast Episode 2](https://www.youtube.com/watch?v=h2vTs6qXNB0)[56](https://www.youtube.com/watch?v=h2vTs6qXNB0) / [PodCast 256](https://soundcloud.com/smartdrivingcar/smart-driving-cars-episode-256-with-nvidias-danny-shapiro) w/[Danny Shapiro, VP Automotive, NVIDIA](https://blogs.nvidia.com/blog/author/danny-shapiro/)
180+
SmartDrivingCars [ZoomCast Episode 2](https://www.youtube.com/watch?v=h2vTs6qXNB0)[56](https://www.youtube.com/watch?v=h2vTs6qXNB0) / [PodCast 256](https://soundcloud.com/smartdrivingcar/smart-driving-cars-episode-256-with-nvidias-danny-shapiro) w/[Danny Shapiro, VP Automotive, NVIDIA](https://blogs.nvidia.com/blog/author/danny-shapiro/)
181181

182182
F. Fishkin, Feb. 18, "With Jaguar Land Rover signing on to partner with NVIDIA for advanced driver assistance and autonomous capabilities in all of their vehicles starting in 2025, what will the collaboration mean? NVIDIA's VP for Automotive Danny Shapiro joins Princeton's Alain Kornhauser & co-host Fred Fishkin for that plus the latest on Waymo, VW, Trenton and more."
183183

184-
SmartDrivingCars [](https://www.youtube.com/watch?v=xFegxpeq0Gk)[ZoomCast Episode 2](https://www.youtube.com/watch?v=NFMNxU0616A)[55](https://www.youtube.com/watch?v=NFMNxU0616A) / [PodCast 255](https://soundcloud.com/smartdrivingcar/smart-driving-cars-episode-255) w/[Brad Templeton](https://www.templetons.com/brad/)
184+
SmartDrivingCars [ZoomCast Episode 2](https://www.youtube.com/watch?v=NFMNxU0616A)[55](https://www.youtube.com/watch?v=NFMNxU0616A) / [PodCast 255](https://soundcloud.com/smartdrivingcar/smart-driving-cars-episode-255) w/[Brad Templeton](https://www.templetons.com/brad/)
185185

186186
F. Fishkin, Feb. 11, "The engaging debate over disengagements. In episode 255 of Smart Driving Cars, Forbes.com Sr. Transportation Contributor Brad Templeton engages with Princeton's Alain Kornhauser over the path to the future of autonomous mobility. The latest data on disengagements from companies testing self driving vehicles in California, Tesla, Cruise, Waymo and New Jersey begins funding Trenton MOVES...are part of the spirited discussion with co-host Fred Fishkin."
187187

188-
SmartDrivingCars [](https://open.spotify.com/episode/1XaAXc0JHiEDMyn4VQOpl3)[Pod-Cast Episode 254](https://open.spotify.com/episode/1XaAXc0JHiEDMyn4VQOpl3), [](https://www.youtube.com/watch?v=LGezxqtbyBY)[Zoom-Cast Episode 2](https://www.youtube.com/watch?v=LGezxqtbyBY)[5](https://www.youtube.com/watch?v=LGezxqtbyBY)[4](https://www.youtube.com/watch?v=LGezxqtbyBY) w/Alex Roy,
188+
SmartDrivingCars [Pod-Cast Episode 254](https://open.spotify.com/episode/1XaAXc0JHiEDMyn4VQOpl3), [Zoom-Cast Episode 2](https://www.youtube.com/watch?v=LGezxqtbyBY)[5](https://www.youtube.com/watch?v=LGezxqtbyBY)[4](https://www.youtube.com/watch?v=LGezxqtbyBY) w/Alex Roy,
189189

190190
###
191191

192192
F. Fishkin, Feb 4, "Why Self Driving Isn't a Race, It's a Game. That's what Alex Roy, Director of Special Projects at Argo AI writes at [www.groundtruthautonomy.com](http://www.groundtruthautonomy.com). Alex joins Princeton's Alain Kornhauser and co-host Fred Fishkin for the latest Smart Driving Cars for a wide ranging discussion on that plus the latest on Trenton Moves, FreightWaves, Tesla, Waymo, Cruise, Toyota and more."
193193

194-
SmartDrivingCars [](https://anchor.fm/smartdrivingcars/episodes/Smart-Driving-Cars-Episode-253-e1dhsgu)[Pod-Cast Episode 253](https://anchor.fm/smartdrivingcars/episodes/Smart-Driving-Cars-Episode-253-e1dhsgu), [](https://www.youtube.com/watch?v=64fptNGcUFI)[Zoom-Cast Episode 2](https://www.youtube.com/watch?v=Uv9XHHpRAss)[5](https://www.youtube.com/watch?v=Uv9XHHpRAss)[3](https://www.youtube.com/watch?v=Uv9XHHpRAss) w/Michael Sena, Editor of The Dispatcher
194+
SmartDrivingCars [Pod-Cast Episode 253](https://anchor.fm/smartdrivingcars/episodes/Smart-Driving-Cars-Episode-253-e1dhsgu), [Zoom-Cast Episode 2](https://www.youtube.com/watch?v=Uv9XHHpRAss)[5](https://www.youtube.com/watch?v=Uv9XHHpRAss)[3](https://www.youtube.com/watch?v=Uv9XHHpRAss) w/Michael Sena, Editor of The Dispatcher
195195

196196
###
197197

@@ -201,7 +201,7 @@ SmartDrivingCars [Pod-Cast Episode 252](https://anchor.fm/smartdrivingcars/episo
201201

202202
F. Fishkin, Jan. 20, "The IIHS has announced it will rate vehicle partial automation systems. Spearheading is research scientist Alexandra Mueller who joins us. And Professor Emeritus Michael Krauss from the George Mason University School of Law on the manslaughter charges leveled in a Tesla autopilot case in California. Episode 252 of Smart Driving Cars with Princeton's Alain Kornhauser and co-host Fred Fishkin."
203203

204-
SmartDrivingCars [](https://www.youtube.com/watch?v=xFegxpeq0Gk)[Zoom-Cast Episode 2](https://youtu.be/DT8rmDYzwkg)[51](https://youtu.be/DT8rmDYzwkg) / A. Kornhauser: Making it Happen: Trenton MOVES... a Framework for...
204+
SmartDrivingCars [Zoom-Cast Episode 2](https://youtu.be/DT8rmDYzwkg)[51](https://youtu.be/DT8rmDYzwkg) / A. Kornhauser: Making it Happen: Trenton MOVES... a Framework for...
205205

206206
F. Fishkin, Jan. 15, "In this special edition of Smart Driving Cars, Princeton's Alain Kornhauser and his presentation: [Making it Happen: Trenton Moves-a framework for the deployment of safe, equitable, affordable, sustainable, high quality transportation](https://www.dropbox.com/s/w2iru0ky11dze17/Kornhauser_TRB2022_Final.pptx?dl=0). The focus is on providing autonomous mobility in a place where there is real need. A first. Join the effort."
207207

@@ -263,7 +263,7 @@ JLR wouldn't say which models would be receiving which features as a result of t
263263

264264
[Moving Forward with Trenton MOVES](https://viodi.com/2022/02/09/moving-forward-with-trenton-moves/) K. Pyle, Feb. 9, "Dr. Alain Kornhauser's vision of bringing equitable, sustainable, and affordable mobility to the people of Trenton took another step forward with the February 9th, 2022 announcement (Facebook) of a $5 million NJDOT Local Transportation Planning Fund Grant for the Trenton Mobility & Opportunity: Vehicles Equity System (MOVES) Project (PDF). The significance of this event goes beyond the grant announcement..." [Read more](https://viodi.com/2022/02/09/moving-forward-with-trenton-moves/) Hmmmm... Ken, thank you for the kind words. Alain
265265

266-
[](https://www.youtube.com/watch?v=GXnluyz2GSE) [Smart Driving Cars Extra: Trenton MOVES gets moving](https://www.youtube.com/watch?v=GXnluyz2GSE) [](https://www.youtube.com/watch?v=GXnluyz2GSE)
266+
[Smart Driving Cars Extra: Trenton MOVES gets moving](https://www.youtube.com/watch?v=GXnluyz2GSE)
267267

268268
Feb. 11, "The New Jersey DOT is providing 5 million dollars to get Trenton MOVES moving. The goal..autonomous, affordable, safe mobility for all. This is a video of the event held on February 9th." [Read more](https://www.youtube.com/watch?v=GXnluyz2GSE) Hmmmm... Fantastic even with challenging audio. Turn on Closed Caption. The substance is in the quality of the words from the Mayor, Commissioner and Superintendent. All from the heart. Very worth absorbing. Alain.
269269

_newsletters/10.12-Responsibility-032522/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ There is talk about enabling legislation that may or may not be necessary. Fine,
1919

2020
[Link to segment in ZoomCast 261.](https://youtu.be/oj7QjsR6dL0?t=2402) Alain
2121

22-
### [](https://www.youtube.com/watch?v=oj7QjsR6dL0)
22+
###
2323

2424
### SmartDrivingCars [ZoomCast Episode 2](https://www.youtube.com/watch?v=oj7QjsR6dL0) [PodCast 2](https://anchor.fm/smartdrivingcars/episodes/Smart-Driving-Cars-Episode-261-with-Sven-Beiker-and-Dick-Mudge-e1g8d4g) w/ [Sven Beiker](https://www.linkedin.com/in/svenbeiker) & [Dick Mudge](https://www.linkedin.com/in/richard-mudge-12620a1)
2525

0 commit comments

Comments
 (0)