Sponsored

I made script comparing as built files

hb.sagen

Well-known member
First Name
Henning
Joined
Jul 17, 2025
Threads
33
Messages
315
Reaction score
204
Location
Norway
Vehicles
F150 Lightning 2023 Lariat
Or more specifically, ChatGPT did. It takes a couple of .ab files as input, and compares them to the first .ab file you input. It outputs the result to screen and a "exctraced_codes.txt". I apologize to any coders this vibe code may offend, but I am not a coder.

I use it to compare the Norwegian builds to the rest.

Use:
python3 compare_codes.py 1FTVW1EL9PWG30720.ab 1FTVW1EL0PWG18715.ab 1FTVW1EVXNWG01645.ab

Sample output:

Code:
# This is the VIN extracted from the files, in order of input files
Original: 1FTVW1EL9PWG30720
New 1: 1FTVW1EL0PWG18715
New 2: 1FTVW1EVXNWG01645

Module   Label        Placement     ,  Original,  New 1,  New 2
FHCM  ,  6E3-02-01 ,  **** D*** ****,         D,      D,      F
FHCM  ,  6E3-02-01 ,  **** ***5 ****,         5,      5,      F
FHCM  ,  6E3-02-01 ,  **** **** 4***,         4,      4,      C

FHCM  ,  6E3-02-02 ,  9*** **** ****,         9,      9,      8

FHCM  ,  6E3-02-03 ,  ***5 **** ****,         5,      5,      D
FHCM  ,  6E3-02-03 ,  **** *3** ****,         3,      3,      F

BCMC  ,  6F0-01-01 ,  **** *9** ****,         9,      9,      B
BCMC  ,  6F0-01-01 ,  **** ***8 ****,         8,      E,      8

BCMC  ,  6F0-03-01 ,  *0** **** ****,         0,      0,      3
BCMC  ,  6F0-03-01 ,  **0* **** ****,         0,      0,      D
Sponsored

 

Attachments

bmwhitetx

Well-known member
First Name
Bruce
Joined
May 21, 2021
Threads
49
Messages
3,276
Reaction score
4,773
Location
DFW-Texas
Vehicles
2022 F150 Lightning Lariat ER
Occupation
Retired engineer
There is another pretty good program that does this as well - it can input up to 4 AB files and highlight differences. And they can either be .ab files from Ford or .abt module files from Forscan. I have used it numerous times.

https://www.compulsivecode.com/Project_AsBuiltCompare.aspx
 
 







Top