Working with Ice Cream Flavours
Note: The content on this page has been heavily altered to redact confidential work information. 🍦
—
This page describes how to use the Rainbow Sprinkles (RS) User Interface (UI) to view flavour results from the Ice Cream Service (ICS).
Viewing Flavour Results
You can view ice cream flavour results as a:
Table
Line graph
Distribution graph
CSV file
PNG image
PDF file
To view flavour results, perform the following steps:
Configure your ice cream data to enable flavour results graphs.
Display results in a table, a line graph, or a distribution graph.
Filter results using one of the available types of filters.
Select a flavour from the side panel to view details about a specific flavour.
Configuring Flavour Results
Flavour configurations use Rainbow Sprinkles Language (RSL) and are defined as RSL Scripts.
Setting Up RSL Scripts
To enable flavour graphs in the RS UI, you must specify the following information in the flavour statement of your RSL scripts:
milkContent = (sugarContent) Cross-references milk content with sugar content. churnTime = (ingredientCount) Cross-references churning time with ingredient count. milk = (milkQuality) (Optional) Displays quality of milk used. creamyTexture = (textures) (Optional) Displays creaminess level of ice cream.
Example
See the following code sample for an RSL script configured to enable flavour graphs:
// Set the milkQuality and churnTime attributes for the UI val results = where(milk IS "2%") -> setAttribute(milkQuality, "High") -> setAttribute(ingredientCount, milk & sugarContent) // Export texture quality and flavour files flavour(results, name="flavourContext", milk=(ingredientCount, milk, milkQuality), churnTime=(ingredientCount, creamyTexture))
Displaying Flavour Results
Use one of the following methods to display the Flavour Results page:
Navigate to the Ice Cream page and select View Flavours.
Navigate to configuration History and select View Flavours.
Select a Flavour Configuration and then select the Latest Results icon in the configuration page.
The system displays ice cream flavours in table format by default.
To display the data as a line graph, select the Line icon on the top right-hand corner of the Flavour Results page.
To display the data as a distribution graph, select the Distribution icon in the top right-hand corner of the Flavour Results page.
With the graphs, you can:
Move the cursor over the graph to display available flavours.
Move the cursor over the flavour labels listed under the x-axis to highlight flavour details.
Left-click a flavour label to remove the flavour from the graph.
Double-click a flavour label to isolate an individual flavour.
Highlight an area of the graph to zoom in on a particular flavour.
Selecting Flavour Results
The system can generate multiple flavour results files for each job. You can choose which files to display by selecting results.
Flavour file results provide taste and variety data, while texture file results provide ingredient quality data. Use the Flavour/Texture toggle to switch between flavour and texture file results.
To select from multiple flavour results, select the drop-down arrow. When you switch between results files, the results filters reset.
Downloading Flavour Results
You can download flavour results in one of the following ways:
To generate a CSV file, select Download.
To generate a PNG image or a PDF file, select the menu icon and select from the available options.
Sharing Flavour Results
Select Copy Link to copy the URL link of the results to your clipboard. The link includes active filters and allows you to share flavour results with other ice cream fans.
Filtering Flavour Results
Use the UI results filter to filter the results displayed in tables and graphs. You can do so by using the following types of filters:
Chocolate flavour results
Fruit flavour results
Custom flavour results
The flavour results filters reset when you switch between results files.
To use the chocolate flavour filter, select one of hazelnut, dark chocolate, or white chocolate. The tables and graphs update automatically after a filter is selected.
To use the fruit flavour filter, select the drop-down arrow on the upper left-hand side of the screen and select a fruit from the list.
To use the custom flavour filter, select + Add Filter and enter the desired filter. You can select from existing filters, or enter a string to specify a new filter.
Configuring the Custom Flavour Results Filter
You can define and apply a filter to selected ice cream flavours. These flavours must be specified in your RSL script.
To use existing filters, select +Add Filter.
Insert a comma-separated list for each filter by adding an OR condition to a flavour. For example, when using
flavour = vanilla.pistachio.mango, vanilla.pistachio.strawberry
both sets of factors are selected.Select the X character to the right of the filter to remove it.
Additionally, you can filter by:
The beginning of a string. For example,
flavour = vanilla.pistachio.mango
.The end of a string. For example,
milkQuality = High
.A sub-string. For example,
milk = 2%
.Any combination of the above. For example,
ingredientCount = vanilla.pistachio.mango*High*2%
.