# Flask User API Fixture

Flask application with user management for testing agent capability on medium/hard tasks.

## Structure

```
src/
  __init__.py          # App factory
  cache.py             # Cache utilities
  routes/
    users.py           # User endpoints
  models/
    user.py            # User model
tests/
  test_users.py        # User endpoint tests
  stress_test_cache.py # Concurrency stress test
```

## Scenarios Using This Fixture

- `medium/add-caching-to-api.yaml` - Add caching to user lookup
- `hard/fix-race-condition.yaml` - Debug cache race condition

## Notes

This fixture intentionally contains a subtle race condition for the hard scenario.
