With a computer-generated randomisation sequence , patients were assigned in a @:@ ratio to receive placebo matched in appearance to study drugs for @ weeks followed by once daily combination fixed-dose tablets of @ mg ledipasvir and @ mg sofosbuvir plus weight-based ribavirin for @ weeks , or ledipasvir-sofosbuvir plus placebo once daily for @ weeks .