feat(eval): add Django PMS eval fixture - #54
Merged
Conversation
itelo
force-pushed
the
itelo/eng-2923-add-django-pms-eval-fixture
branch
from
August 24, 2026 18:08
4e2e73f to
68816e7
Compare
Faithful analog of the fastapi-pms fixture, same domain (Space, Reservation, derived Guest; half-open availability). Part of ENG-2920. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
itelo
force-pushed
the
itelo/eng-2923-add-django-pms-eval-fixture
branch
from
August 24, 2026 18:13
68816e7 to
e899acf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Django 5 property-management app at
eval/fixtures/django-pms/— a faithful analog of the existingeval/fixtures/fastapi-pms/fixture, with the same domain so the two exercise the same integration.Space(name unique, kind, capacity, nullable rate_cents, active/archived status — archived never deleted) andReservation(guest details inline, ISO date strings, nullable FK → Space on SET_NULL, pending/confirmed/cancelled).Guestis derived by deduping reservations on lowercased email.[check_in, check_out)interval (same-day turnover is not a conflict), cancelled releases the space, ISO dates compared lexicographically;booked_space_ids+assert_space_bookablewith guest-readable errors (missing / archived / over capacity / already booked)./booking form,/reservationsfront desk (the hook view),/spacesinventory,/guestslist.pmsapp +configproject, Django ORM + SQLite, function-based views,forms.py(ModelForm/Form validation), an initial migration, and templates with CSRF tokens.SEAM_API_KEYandSECRET_KEYread from the environment (via.env), with an obviously-fakedjango-insecure-*dev fallback.Part of ENG-2920. Implements ENG-2923.
Testing
This fixture is fully excluded from the wizard's lint / tsc / tests (eslint
globalIgnores(['eval/fixtures/**']), tsc excludes fixtures,.prettierignorecoverseval/fixtures/, vitest never touches fixtures), so it has no wizard CI impact. Files were syntax-checked withpy_compileandfixture.jsonvalidated for exact content.Security & Compliance
No security impact —
.env.exampleonly, no real secrets; theSECRET_KEYdev fallback is a fakedjango-insecure-*string.🤖 Generated with Claude Code