I changed the playlist to get counts:
keywords=el: 6042 songs
comprised of
r=5: 1111 songs
r=4: 4931 songs
Compare that to what I get using this ~mix formula:
[Keywords]=[el] ~mix=10000,50%,{r=4},50%,{r=5} ~nodup=[Artist],[Title]
The resulting playlist has 759 songs. But this isn't following the presumed logic. If it is being limited by the lowest max count, there should be 1111 + 1111 = 2222. Hmmmmm....
(Title is correct for me; see below. I dropped [Album] because that doesn't define a dupe in my library.)
One theory is that it first builds the list based on ~mix, choosing 2222 songs. Then it applies ~nodup, reducing the list to 759. But I really don't think there are many, maybe ZERO, Artist+Title dupes with keyword "el", IF the list is first filtered to only include r=4 or r=5. However, if MC first looks through the entire library, it might find lower-rated songs with the same artist+title.
Thinking maybe the formula should include r values for selection before the ~mix portion, I added that but still got only 759 songs.
I wonder how the formula is parsed/executed? I think left-to-right, because if I put ~nodup section BEFORE the ~mix section, I get a full 10000 songs -- lots of repeats.
MORE TO PONDER.... Something about the mix SIZE value is doing this. If I change the formula to this:
[Keywords]=[el] ~mix=5000,50%,{r=4},50%,{r=5} ~nodup=[Artist],[Title]
I end up with 627 songs. Even though I'm still telling it to create a much larger list if it can.
Theory: It uses only the specified number of songs (10000, 5000, whatever) as the starting list, apparently selecting them randomly (there's no apparent pattern), but doing this results in far fewer r=5 songs than I see in the complete keywords=el list.
Re what you see vs. what I see for field names, mystery solved! In my MC, Title is the "display name" of field Name. I've been using MC (and MJ) for many years so I don't recall changing this, but apparently I did.
I tracked this down by opening Options > Library & Folders, and seeing Name IS a Standard Library Field, and Title isn't there at all! (Nor is it a Custom Field, though I have added a few for other data). Then I selected Name and clicked Edit This Field and there's a dialog to Configure Library Field. Mine shows Title is the name to display for field Name.
What's interesting is that the smartlist formula seems to REQUIRE that I use the "display name" of a field, Title in my case, Name in your case. It simply won't accept the "wrong" name for the field.I assume this means that if I reverted this field back to default name "Name" it would break any formulas where it is referenced as "Title". There aren't any other than the current ~mix experiment, but it could be a factor for other fields or users.
The biggest question is about TAG contents. I have 60,000 songs with data in what to me is the Title tag field. If I changed the field back to Name, what would happen to the data? Looking at the tags by adding the Format field to a view, I see that it's called Name in ID3v1 tags. But it seems to be called Title in ID3v2.3 tags, or maybe it's TIT2 and Title is an alias/display name?
I don't know who has the facts, but it would terrific to document ALL the effects of using a field/tag "display name" different than the default, AND especially the consequences of later changing it -- to another name, or back to the default/real name.