REPOSITORY CODING · HARD
Reconcile Purpose pricing and dashboard totals
Work in the real product frontend and the transactional backend. Only active, unrevoked consents may cover a purpose. Minors need both explicit UI approval and authoritative workspace guardian approval. Enforce every retention ceiling. Charge ceiling 30-day blocks and count distinct confirmed purposes, even across repeated grants. Pricing and the persisted activity summary disagree with the domain policy. Repair both layers, preserving currency rounding, cancellation handling and repeated-plan semantics. Run bash test/run.sh. The public checks drive Chromium against native HTTP and a real database; each scoring group includes regression safeguards.
Work through a real codebase.
Choose an environment, investigate the existing implementation and use the tests to check your change. Sign in to open a workspace; execution and Ono usage follow your plan’s allowances.
Task requirements and environments
MEAN · 80 minute session
- Only active, unrevoked consents may cover a purpose. Minors need both explicit UI approval and authoritative workspace guardian approval. Enforce every retention ceiling. Charge ceiling 30-day blocks and count distinct confirmed purposes, even across repeated grants.
- Use the accessible product board to search and filter resources, select a plan, edit typed fields, preview the authoritative quote, review a confirmation dialog, persist it, reload it, cancel it and inspect workspace summaries. The preview uses real React or Angular components; JSON editing is not a product flow.
- All HTTP workspaces are scoped to the bearer demo tenant. PostgreSQL and MongoDB variants persist resources, bookings, receipts and audit events transactionally. Revision conflicts return 409; failed audit writes leave state and revision unchanged; repeated request IDs replay the original result without a second mutation.
- Validate bounded whole numbers, known unique resource IDs, explicit policy and detail types, and exclusive time intervals before mutation. Capacity is consumed only by confirmed overlapping plans with half-open windows. A cancellation releases capacity and increments revision exactly once. No challenge requires external APIs or network downloads.
MERN · 80 minute session
- Only active, unrevoked consents may cover a purpose. Minors need both explicit UI approval and authoritative workspace guardian approval. Enforce every retention ceiling. Charge ceiling 30-day blocks and count distinct confirmed purposes, even across repeated grants.
- Use the accessible product board to search and filter resources, select a plan, edit typed fields, preview the authoritative quote, review a confirmation dialog, persist it, reload it, cancel it and inspect workspace summaries. The preview uses real React or Angular components; JSON editing is not a product flow.
- All HTTP workspaces are scoped to the bearer demo tenant. PostgreSQL and MongoDB variants persist resources, bookings, receipts and audit events transactionally. Revision conflicts return 409; failed audit writes leave state and revision unchanged; repeated request IDs replay the original result without a second mutation.
- Validate bounded whole numbers, known unique resource IDs, explicit policy and detail types, and exclusive time intervals before mutation. Capacity is consumed only by confirmed overlapping plans with half-open windows. A cancellation releases capacity and increments revision exactly once. No challenge requires external APIs or network downloads.