I am considering to post a draft answer AKA "my advance" (obviously warning to the users that it is incomplete and future updates are coming) on this question

I think my 90% done answer can help people by borrowing some of my ideas.

But I am unsure if posting drafts answers is unwanted.

So what do you advice me, to post or not to post this advance?:

    //JavaScript
str="AD 2D 3D 4D | 2D".split(/\s\|\s|\s/);
i=j=v=f=p=0;
arr=[];arr2=[];//don't merge arr=arr2=[]

for(sc="SCDH";i<5;i++){
x=str[i];
xx=x[0];

arr[sc.indexOf(x[1])]+=".";
arr2[("ATJQK".indexOf(xx)+1)||(xx- -4)]+=".";

if((i<4)&&(x==("J"+sc[sc.indexOf(str[4][1])]))){
j++;
}

v+=((xx=="A")?1:((xx*1)||10));
}

y=(yy=(arr+"")).indexOf("....");//cache yy counterproductive?
f=(!!(++y))?(yy[y+3]==".")?5:(str.length<6)?4:0:0;//improve !!()?

for(i in arr2){
p+=(((xxx=((arr2[i]+"").length-9))*(xxx-1))/2);
}

//Fifteens: for each subset of five cards whose sum is 15, add two points.

//Pairs: for each pair of cards with the same rank (not value), add two points.

//Runs: for each maximal run of consecutive cards of length longer than 2, add the length of the run in points.
//

//Flush: if all five cards are the same suit, add five points. Otherwise, if all but the up card are the same suit, add four points. If this is a crib hand, the four-point variant is not counted.