Creating simulation tests in Pega Customer Decision Hub
Create a simulation test to understand the effect of business changes on your decision management framework. For example, you can create a simulation test to investigate whether the introduction of a new business logic affects the frequency with which propositions would be offered across a segment of customers. When you complete a simulation test, you can view its output in Scenario Planner or in the simulation testing UI. You can also save the results to a data set for further processing.
- In the Pega Customer Decision Hub portal, click Simulation Testing.
- In the top right corner of the Simulation
Testing screen, click Create, and then specify the
simulation test type:
- To assess the actions made and the customers targeted when a campaign is executed, select Distribution test.
- To assess how certain components and expressions influence the outcome of a decision framework, select Decision funnel.
- To screen the decision strategy for bias related to factors like age, ethnicity, or gender, select Ethical bias.
- To identify customers who are left without actions or with no relevant actions after any stage of the decision funnel, select Value finder.
- In the Application context section, select the application context for the new simulation test.
- Configure the inputs for the simulation:
Choices Actions Run a test on a strategy rule - In the Strategy section, click
Configure.You can simulate only one strategy at a time. When you select a strategy, you can view the application context of the selected strategy and its Strategy Result (SR) class.
- Click Add next to the strategy that you want to
simulate, and then click Apply.
- In the Audience section, click Configure.
- Click Add next to a data source to select it as the
audience for the simulation test, and then click
Apply.
You can select a data set, data flow, customer segment, or report definition rules as the audience. For example, you can use a Monte Carlo data set to create a sample set of customer data for simulation purposes.
If there is a specific data flow that you want to use as an audience, and you cannot see it for selection, ensure that the data flow meets the following requirements:
- The source is not abstract.
- The destination is not abstract.
- The output class is the strategy's Apply-to class, or a child of this class.
Run a test on a data set with strategy results - In the Configure inputs section, select Data set with strategy results and customer data.
- In the Data set section, click Configure.
- Click Add next to the data set that you want to
simulate, and then click Apply.
- In the Strategy section, click
Configure.
- Optional: Edit the default simulation name by clicking the Edit icon in the Simulation ID prefix section.
- Optional: In the Assign output destinations section, define the storage
point of simulation results by doing one of the following actions:
- To configure an existing rule instance as the simulation output, click Add Existing and select an output from the list.
- To create an output target for the simulation test, click Create New and enter parameters in the Name and Type fields of the new output target.
- Optional: Add reports to the simulation output:
- In the Assign reports to outputs section, click
Add report. In this section, you can view all the outputs that you configured for this simulation.
- In the Output column, assign a report to an output type.
- In the Report category column, select the report category, for example, Simulations.
- In the Report column, select the report to assign to the
simulation output. For example, if you selected Simulations as the report category, you can select Channel distribution as the report to simulate how a new proposition is being distributed across a specific channel.
- Click Save.
- In the Assign reports to outputs section, click
Add report.
- To save the simulation test and run it immediately, click Submit and
run.
- After the simulation has finished running, Review the results by clicking
Review reports.For more information, see Viewing and managing reports assigned to a simulation and Viewing additional simulation details.
- In the Audit section at the bottom of the page, expand the History section, and review the log.
- Optional: If required, you can edit and re-run the simulation after it has finished running, by
clicking .Editing the simulation settings removes data about the previous simulation run, and changes the simulation status back to In Build.
- To mark the simulation as completed, click Wrap up.After you wrap up a simulation, it is considered resolved and you can no longer rerun it. However, you can still review any reports created for the simulation.
Previous topic Sampling audiences for simulations Next topic Running simulation tests