AceStack AI

Coding (Platform)

End-to-end facet contract

vue + fastify · Easy · form contract

A browser and API disagree at the end-to-end facet contract boundary. A catalog screen receives available facet values after every search. The current state boundary keeps selections that no longer exist, so the UI announces filters that cannot affect the visible result.

Task

Repair the shared browser-to-service contract. Normalize the query, remove unavailable selections, preserve the order of surviving selections, and derive the active-filter count used by the supplied screen adapter.

What this task practices

End-to-end facet contract is a coding (platform) interview exercise that trains prompt interpretation, explicit assumptions, a concrete response, and a clear explanation of tradeoffs. The catalog marks it as easy difficulty. It focuses on State Modeling, Regression Testing, Technical Reasoning. The signed-in workspace provides the tools for the round and evaluates the attempt against task-specific criteria. Reference solutions, hidden checks, evaluator instructions, and candidate work remain private.

Sign in to startThe workspace and evaluation open after sign in.