Zum Inhalt

Why Artificial Intelligence will not replace tools like RealTestData

ChatGPT is capable of generating test data, including country-specific information with the right prompts. However, achieving accurate results may require several attempts. It’s important to note that generating large volumes of data may be slow, and the output could contain errors such as non-existent ZIP codes or incorrect phone number formats. While it can produce IBANs, the quality of the data may be inconsistent, often lacking valid check digits.

Let’s explore an example with ChatGPT…

First try

Question Create an IBAN from a bank in Portugal Answer is long and the IBAN not correct in the 2 check digits:

An IBAN (International Bank Account Number) from Portugal typically has 25 characters, consisting of the following structure:

- 2 letters for the country code: **PT**
- 2 check digits: **XX**
- 21 digits representing the **Bank Code**, **Branch Code**, and **Account Number**

### Structure:
- **Country Code**: PT (for Portugal)
- **Check Digits**: 2 digits (calculated based on the rest of the IBAN)
- **Bank Code**: 4 digits
- **Branch Code**: 4 digits
- **Account Number**: 11 digits
- **National Check Digits**: 2 digits

### Example:
`PT50 0002 0123 12345678901 54`

Here's a breakdown:
- **PT**: Country code (Portugal)
- **50**: Check digits (for this example, these are random)
- **0002**: Bank code
- **0123**: Branch code
- **12345678901**: Account number
- **54**: National check digits

If you need to generate a valid IBAN, the check digits (both for the IBAN and the national part) are calculated through specific algorithms that require accurate bank and branch details.

Would you like to create a mock example, or are you looking for the process to generate a fully valid one?

Second try

Question: Create a mock example Answer:


Here’s a mock-up of a fake IBAN from a bank in Portugal. This is not real and cannot be used for actual transactions but follows the format of a valid Portuguese IBAN:

PT50 1234 5678 90123456789 01

PT: Country code for Portugal
50: Random check digits
1234: Bank code (random)
5678: Branch code (random)
90123456789: Account number (random)
01: National check digits (random)
This example is purely fictional and only illustrates the correct format for an IBAN in Portugal.

Here the international check digits are correct, but ChatGPT tells you they are random. The national Check Digits of the IBAN are wrong so the IBAN can not pass any test.

Third try

Question: Create a mock example of a Portuguese IBAN, which has correct check digits Answer:

To create a mock IBAN with correct check digits, I’ll use the appropriate algorithm. Here’s a valid example of how the IBAN would be constructed.

Let's break down how check digits are calculated first:

Move the country code and check digits to the end.
Convert the letters in the country code to their numeric equivalent (A = 10, B = 11, ..., Z = 35).
Calculate the remainder when dividing the number by 97.
Subtract the remainder from 98 to get the check digits.
I’ll generate a valid check digit based on a mock bank code, branch code, and account number.

Give me a moment to calculate this for you.

Here is a mock example of a Portuguese IBAN with correctly calculated check digits:

PT66 0045 6789 12345678901

PT: Country code for Portugal
66: Correct check digits
0045: Example bank code
6789: Example branch code
12345678901: Example account number
This IBAN is completely fictional but follows the correct format and check digit algorithm. ​

ChatGPT explains you how to do it, but I want only an IBAN. It took 10 seconds until the answer, which was still not correct

Last Try

Question: Create a mock example of a Portuguese IBAN, which has correct check digits and also correct national check digits Answer:

To create a mock Portuguese IBAN with both correct IBAN check digits and national check digits, I will:

Calculate the IBAN check digits as before.
Calculate the national check digits, which are the last two digits in the Portuguese BBAN (Basic Bank Account Number). These digits are calculated using a Modulus 97 algorithm similar to the IBAN check digit calculation, but based on the local bank's requirements.
I will generate both sets of check digits for a fully mock but valid IBAN. Give me a moment to calculate this for you.

Here is a mock example of a Portuguese IBAN with both correct IBAN check digits and national check digits:

PT66 0045 6789 12345678901 94

PT: Country code for Portugal
66: Correct IBAN check digits
0045: Example bank code
6789: Example branch code
12345678901: Example account number
94: Correct national check digits

This IBAN is fictional but follows the correct structure and includes valid check digits for both the IBAN and national parts. ​

Now this was the first time ChatGPT tried to create a valid IBAN. And the IBAN was still not correct… As the national check digits use the same algorithm, the international check digits are “50” in 90% of all IBANs.

All I wanted was to create an IBAN and it took ChatGPT and me several minutes to get it. How long will this take when I need 100 or 1000s IBAN?

RealTestData deliver the result in seconds. Specify Portugal as the only country and IBAN as the only column for output and here we go:

PT50 0271 1854 0205 7417 8764 3   
PT50 0079 1442 0000 2387 0100 2   
PT50 6430 0563 0000 0006 7822 2   
PT50 5120 4735 0000 1387 8023 0
PT50 0098 1056 0000 0057 6386 8
PT50 3450 1844 0104 4413 7685 5
PT50 0007 7031 0376 2004 3839 5
PT50 3020 2450 0455 4566 2144 4
PT50 3240 0856 0000 0000 1041 4
PT50 5230 7035 0086 7685 6117 8
PT50 0169 8275 0770 5370 1162 0
PT50 5200 1768 0041 0326 0239 1
PT50 7130 4715 0474 8830 6564 6
PT50 5026 0733 0007 4644 1681 9
PT50 5200 7078 0000 0003 1489 7
PT50 5027 1880 0041 1503 8546 1
PT50 0278 3756 0005 3861 0069 4
PT50 5027 0480 0000 4207 6761 3
PT56 5070 6310 0000 0050 3410 0
PT50 0278 5625 0056 2721 4772 3