i can explain it too if you want to try
first you got to know the iteration number you are at in the foreach loop
to do so you got to create the metadate node like this ;

then you can plug like this ;

the code ;
int ite=detail(2,"iteration",0);
int choice=int(rand(ite+chi("seed"))*npoints(1));
v@uv+=point(1,"P",choice);
first line grab the iteration number from third slot a detail attribute called iteration
second line create a random choice between all your point (the npoints(1) give me the number of point you have)
then third line is the same except i'm using the choice variable i just create randomly
don't forget to press the + button so then you can move the seed value and have different result
i hope you can learn something from this