The SDG is composed of a set of generators. These are bits of code that apply business logic that create pieces of a student's data (among other things). These pieces are used to create a full set of data about that student. Generators are aligned to the set of Ed-Fi Interchanges defined by the Ed-Fi Data Standard.
This documentation provides a complete reference of the generators and rules in the as-shipped Sample Data Generator.