FIRO-B: compute_metrics and two tests