← Questions

Review and fix a messy Python pull request that calls an LLM API

0
Mistral AICodingLast asked Oct 2025

A coding interview question asked in Mistral AI's coding round, last asked Oct 2025. It tests code review, python and async.

You are given a pull request in Python as a teammate might have written it in a hurry: code that calls a hosted LLM through its API client, with poor names, typos, misuse of async and wrong API calls mixed in. Review it as you would at…

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Mistral AI · Coding · Last asked Oct 202560 min · Live coding in Python · Reportedly fine for boilerplate and lookups; the fundamentals must be your own

What it tests

code review · python · async · refactoring

Your code and the AI tutor open when you unlock this question.