Personal profile

From Documentation
Jump to: navigation, search

When we say Personal profile, we mean information about an individual (either real or imaginary), grouped by categories and stored in the software's database.

A personal profile holds information about the person's name, gender, picture, date of birth, E-mail address, phone number, location, interests, education, job etc.

Personal profiles are useful when you need to populate many accounts with personal details, or if you need to retrieve personal information from various accounts and manage it locally.

Identity generator

This feature is used to create many personal profiles and populate them with random data. Well, almost random. The algorithm attempts to be as consistent as possible, so that profiles look natural.

Once generated, these profiles may be used to create all kinds of accounts and all personal information will already be there for you.

Identity generator is available from the Main menu->Wizards. Once you open the wizard, you will see a list of templates to use for the generation. The software comes with a default template, which is good enough to get you started.

Geographic database

The default template contains references to the additional database, that is too big to be included into the software installer and needs to be downloaded separately. This database contains information about world's countries, states, cities, languages, companies, schools and some other geographic details that make generated profiles more realistic. It is not strictly necessary to use this database and you may re-configure the template to fetch these details from some other source (for example, text files or tokens) or just exclude this information from the generated profiles. Otherwise, go to the Settings->Geographic data and check the "Enable database" box. After that, wait a few minutes for the database to load (you will see the progress) and start the wizard again.

Algorithm

If you would like to try the default template, all you need to do is enter the number of persons to generate (try to keep it under a 100, for it will take some time to generate them) and click the Next button.

Here is a brief description of what happens next:

  1. First of all, the algorithm determines the gender of the future person. Randomly, of course.
  2. Based on the gender, the first name is selected randomly from the huge built-in database of names (more than 20,000 names), along with the last name
  3. The age of the person is generated based on the template settings (between 18 and 40 years by default)
  4. The picture is obtained from the available pool of pictures and is attached to the profile (randomly, but based on the gender, which is already known, so Mary will look like Mary and not like John). Default template uses Picture scraper to fetch profile pictures from open sources on the internet (social networks). However, it is possible to specify any other source - directory on your hard drive with the pictures, or text file with the links where to obtain the pictures, or token with the list of URLs pointing at the pictures etc.
  5. A region where the person was born and where he/she lives now is randomly selected from the database of regions
  6. Other minor details such as spoken languages, religion etc. are populated using the template settings.
  7. Information about the person's education is filled in. This contains 3 sections - high school, college and graduate school. In each section, from 0 to 2 schools are generated randomly from the database of schools, and are laid out consistently, with proper entrance/graduation dates.
  8. Finally, information about employment history and current job is generated. This is also taken from the built in database of companies and is properly aligned in time so that there are no conflicting dates.

Once the profiles are generated, you can close the wizard and take a closer look at the new born under the People tab. You should see a summary with brief description of the personal details for each person you select. If you double click on any person, you will get the most detailed list with all profile information for that person. If you do not like something or would like to add/remove any piece of information - you can do so right here. Just click OK when you are done and your edits will be saved.

The algorithm described above applies to the default template that comes with the software as an example. It is possible to modify this template in any way you want to customize generation algorithm. It is also possible to add your own templates and switch between them to generate different types of individuals, with different set of personal details. To edit the default template, double click on it in the wizard. To add your own template, click the Plus button in the wizard and fill in the details. To enable or disable a particular template, use a checkbox to the left of the corresponding template in the list. If you enable more than one template, then the software will randomly switch between them during generation.

Templates allow to customize the following options:

  • Which fields should be generated and which should be left empty
  • Where to obtain the data for generation. Most fields will allow you to select the data from the following sources:
    • Text file - if you have been using other similar programs, you may have got used to keeping all information in the text files for the software to select from. As usual, it is assumed that each line of the text file contains exactly one item. For example, if you have a text file with 10 first names and want the software to use those, then each name should start from the new line. The file should be in plain text (not a MS Word, PDF, HTML or other complex formats)
    • Built-in database - for the most of the fields, the software contains pretty large databases with thousands of items to select from
    • Token - you can select a specific token which contains the information for any particular field. Read more about the tokens here
    • Fixed or tokenized text - for example, if you want all generated persons to speak English language (and not any other one), you can just type in "English" in the "Languages" field. With this option, you can also specify inline tokens or text functions. An example to have the software select one of the English, Spanish or French languages would be {English|Spanish|French} inline token. More info about inline tokens is available here
    • Directory on disk - this one is there specifically for profile pictures, if you already have them in the folder on your hard drive
    • Other field-specific methods - for example, birth date generator allows to specify the desired age range; generator of sexual preferences allows to select whether you want your people to be of straight sexual orientation, gays, bisexual, randomly selected etc.; generator of cities allows to specify filter region (for example, to restrict birth places only to Texas, USA or to Israel or to a particular region in Italy etc).
  • How many items to generate. Some of the fields allow more than one value. For example, a person can speak more than one languages, may have studied in more than one schools, may have had many jobs in the past etc. Such fields have a Quantity box to the right of them, where you can specify how many items you want generated. The quantity field itself can be randomized. The easiest way to do that is to use $randomint{} text function. For example, if you want to generate between 0, 1 or 2 spoken languages for each person, you should place $randomint{3} in the Quantity box. (3 is the upper limit which is excluded from the generated set, so this will return either 0 or 1 or 2). You can read more about other text functions here.