Pizza Topping Compatibility Matcher
Actualchosenpizza-toppinglabels versus independentlychosen forbiddenpairpreferences,allliteralcase-sensitive,not tasteprediction,foodallergyassessmentor foodsafety.
Description
A topping-preference list can declare pairs you wish to avoid together.
A topping-preference list can declare pairs you wish to avoid together.1
Exact labels make the comparison reproducible without assessing taste, allergies or food safety.
When to use Pizza Topping Compatibility Matcher
Use this tool to apply the stated pizza topping compatibility matcher operation with an explicit input and unit basis.
How to use Pizza Topping Compatibility Matcher and how it works
- Establish the text or game convention described above.
- Enter actualChosenToppings, callerForbiddenPairFirst, callerForbiddenPairSecond and run the tool.
- Read result.observedForbiddenPairCount using the output meanings below.
- If input is rejected, correct the stated type, range, ordering or alignment issue and rerun; review successful results under the declared convention.
| Input field | Meaning | Value type | Requirement |
|---|---|---|---|
| actualChosenToppings | Chosen toppings, on the basis specified in the algorithm. | array of string | required; dense; align related rows as specified; at most 128 strings; 128 UTF-16 units each; further conditions in the algorithm |
| callerForbiddenPairFirst | Forbidden pair first, on the basis specified in the algorithm. | array of string | required; dense; align related rows as specified; at most 128 strings; 128 UTF-16 units each; further conditions in the algorithm |
| callerForbiddenPairSecond | Forbidden pair second, on the basis specified in the algorithm. | array of string | required; dense; align related rows as specified; at most 128 strings; 128 UTF-16 units each; further conditions in the algorithm |
Require distinct chosen toppings and aligned nonempty forbidden-pair arrays. Count each supplied row whose two exact labels occur in the chosen list; duplicate rows are counted separately.
count = number of forbidden rows with both labels chosen Apply the declared units, ordering and branch conditions.
| Output field | Meaning | Value type |
|---|---|---|
| result | Object containing the declared output fields. | object |
| result.observedForbiddenPairCount | Count of supplied forbidden rows whose labels are both chosen. | number |
{
"input": {
"actualChosenToppings": [
"tomato",
"basil"
],
"callerForbiddenPairFirst": [
"tomato"
],
"callerForbiddenPairSecond": [
"pineapple"
]
},
"output": {
"result": {
"observedForbiddenPairCount": 0
}
}
} Limitations and assumptions
The output applies the declared operation to the values you supply. Establish the measurement basis, units, coefficients and any caller-selected rules before interpreting it. The tool does not independently collect or verify observations or decide whether a model or reference applies.
Supply explicit required fields with the documented types and dense aligned arrays. Unknown fields, wrong types and nonfinite numbers are rejected. Branch-specific constraints are explained above. A successful false boolean, negative signed difference, empty slice or unresolved tie is distinct from an input error. Very large inputs or outputs may be rejected by shared resource limits.
Alternative or Complementary methods
For a related operation, use Which Sandwich Are You Quiz Logic. A sandwich-themed quiz can choose among caller-defined entertainment categories using recorded scores.
For a related operation, use This or That Pair Picker. This-or-that pairs offer quick choices for a conversation or warm-up.
References
-
Pizza Topping Compatibility Matcher — tool.io
Similar or alternative tools
- Which Sandwich Are You Quiz Logic
A sandwich-themed quiz can choose among caller-defined entertainment categories using recorded scores.
- This or That Pair Picker
This-or-that pairs offer quick choices for a conversation or warm-up.