A method for building segment-specific executable program code for implementing modeling operations in which one or more processing devices performs operations comprising: accessing target entity data comprising a first target entity record with a first set of attribute values for entity attributes and a second target entity record with a second set of attribute values for the entity attributes; executing segmentation logic that assigns the first target entity record and the second target entity record to different segments based on differences between the first set of attribute values and the second set of attribute values; and for each assigned segment of the different segments: selecting , from an asset repository comprising data assets , a subset of the data assets that is specific to the assigned segment, selecting , from a code repository comprising source code portions, a subset of the source code portions that is specific to the selected subset of the data assets, ordering the selected subset of the source code portions based on a modeling output type for the target entity data, the modeling output type identified based on user input received from a client computing system and identifying a desired modeling output, and generating , from the ordered subset of the source code portions, a set of program code referencing the selected subset of the data assets, wherein the set of program code is executable by a computing system for generating and transmitting different modeling outputs for the first target entity record and the second target entity record. accessing target entity data comprising a first target entity record with a first set of attribute values for entity attributes and a second target entity record with a second set of attribute values for the entity attributes; executing segmentation logic that assigns the first target entity record and the second target entity record to different segments based on differences between the first set of attribute values and the second set of attribute values; and for each assigned segment of the different segments: selecting , from an asset repository comprising data assets , a subset of the data assets that is specific to the assigned segment, selecting , from a code repository comprising source code portions, a subset of the source code portions that is specific to the selected subset of the data assets, ordering the selected subset of the source code portions based on a modeling output type for the target entity data, the modeling output type identified based on user input received from a client computing system and identifying a desired modeling output, and generating , from the ordered subset of the source code portions, a set of program code referencing the selected subset of the data assets, wherein the set of program code is executable by a computing system for generating and transmitting different modeling outputs for the first target entity record and the second target entity record. selecting , from an asset repository comprising data assets , a subset of the data assets that is specific to the assigned segment, selecting , from a code repository comprising source code portions, a subset of the source code portions that is specific to the selected subset of the data assets, ordering the selected subset of the source code portions based on a modeling output type for the target entity data, the modeling output type identified based on user input received from a client computing system and identifying a desired modeling output, and generating , from the ordered subset of the source code portions, a set of program code referencing the selected subset of the data assets, wherein the set of program code is executable by a computing system for generating and transmitting different modeling outputs for the first target entity record and the second target entity record. <EOS>