This algorithm allocates random percentages to each item in a list where the sum of the percentages equals 100%.
One example where this is useful is portfolio optimization where the many hypothetical portfolios are generated to find the optimal portfolio allocation for each level of risk. There are many other practical uses.
This version is royalty free but the input is limited to 10 items. For an unlimited number of items see Random Allocator - Unlimited Items listed here: