Analytics pass/fail ratio is different from Studio's

Yes, that’s the right one.
Please note that test case number 6 is marked as failed in the HTML report file. However, if you look at the individual steps, each one is passed and the test behaves as it was designed to. Only in the overall stats it is, for some reason, shown as failed.