scrape through an exam
еле / едва / с большим трудом сдать экзамен
https://dictionary.cambridge.org/ru/словарь/англо-русский/scrape-through-sth - = just passed