AceStack AI

Coding (Platform)

FastAPI: Choose a safe refactoring boundary for model validation module boundary

An operational alert points to a contract bug that appears only under mixed production data. The affected area is model validation.

Repair the model validation module boundary implementation so it ranks change-prone modules, preserves ownership boundaries, and identifies where characterization tests are required before extraction.

Evidence

  • Affected surface: FastAPI / model validation.
  • Observed failure family: choose a safe refactoring boundary.
  • Scope policy: authorized must equal true.

What this task practices

This coding (platform) exercise trains the same sequence expected in an interview: understand the prompt, make assumptions explicit, produce a concrete answer, and explain the decisions behind it. The task is marked hard difficulty. The private workspace adds the tools required by this round, such as recording, code execution, diagrams, evidence panels, or structured notes. It also preserves the attempt so later feedback can be compared with previous work. Evaluation is based on task-specific criteria and the candidate seniority selected in the preparation path. Public pages never expose the reference solution, hidden tests, evaluator instructions, or another candidate’s work.

Sign in to startThe workspace and evaluation open after sign in.
Sign in to continuethis interview task

Continue to AceStack.

Continue securely with an available identity provider. If you are new, we will create your account automatically.

Continue with Google

By continuing, you agree to the Terms and acknowledge the Privacy Policy.

Your destination is saved. After access, you will continue exactly where you intended to go.