A permutation test p-value by hand
You test whether a "treatment" tweak beats "control" on four measurements. Two units got the treatment and two got control, with values
The two treatment units are the ones that scored and . Your test statistic is the sum of the treatment group's values (larger favors treatment). To get an exact one-sided p-value, you consider every way to split the four numbers into two groups of two.
What is the one-sided permutation p-value?