evals / debt-migration

new-inventory-module

Expected

Hidden from the reviewer, like the grading note below.

legacy-fetch-strict
violation

A new app/inventory.py module calls legacy_client.fetch in stock_level.

Change

Contracts

legacy-fetch-strict
---
name: legacy-fetch-strict
message: Use api.Client.get instead of the deprecated legacy_client.fetch.
---

## Rules

This contract governs Python source under `app/`.

Do not call `legacy_client.fetch`. Call `api.Client.get` instead.