REPOSITORY CODING · MEDIUM
Drawdown: repair eligibility boundaries
Use the bounded Cooper-Jacob logarithmic approximation: Q divided by 4 pi T times max(0, ln(2.25 T elapsed hours divided by r squared S)). Recharge mode multiplies the final drawdown by its correction factor. Superpose every selected well before the maximum check. Setback is inclusive. Charge pumping units times elapsed hours and tariffs plus one connection fee; display combined drawdown. An eligibility boundary has regressed. Trace the rule through the service, preview and durable submission before repairing it. The repository includes a resource specification inspector, native database, booking timeline and server-derived insights. Run bash test/run.sh. Browser checks include mobile confirmation, durable reload, independent HTTP probes and 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 · 55 minute session
- Use the bounded Cooper-Jacob logarithmic approximation: Q divided by 4 pi T times max(0, ln(2.25 T elapsed hours divided by r squared S)). Recharge mode multiplies the final drawdown by its correction factor. Superpose every selected well before the maximum check. Setback is inclusive. Charge pumping units times elapsed hours and tariffs plus one connection fee; display combined drawdown.
- Use real React (PERN/MERN) or Angular (MEAN) resource cards, specification disclosure, typed planning controls, authoritative previews, confirmation dialogs, durable activity and responsive navigation. The booking timeline and server-derived insights use saved data. No product flow requires JSON editing.
- Tenant-scoped PostgreSQL row-lock transactions and MongoDB compare-and-swap aggregates persist resources, bookings, receipts and audit records. Failed journals roll back all state, repeated request IDs replay results, and stale application revisions return 409. Capacity counts the maximum simultaneous confirmed usage across half-open intervals.
- All data is synthetic and bounded. Examples use integer planning coordinates; the per-product policy defines their units. No external API, payment, trade, claim or physical equipment action is performed. Run bash start.sh for preview, npm run build for the frontend bundle, or bash test/run.sh for real browser acceptance checks.
MERN · 55 minute session
- Use the bounded Cooper-Jacob logarithmic approximation: Q divided by 4 pi T times max(0, ln(2.25 T elapsed hours divided by r squared S)). Recharge mode multiplies the final drawdown by its correction factor. Superpose every selected well before the maximum check. Setback is inclusive. Charge pumping units times elapsed hours and tariffs plus one connection fee; display combined drawdown.
- Use real React (PERN/MERN) or Angular (MEAN) resource cards, specification disclosure, typed planning controls, authoritative previews, confirmation dialogs, durable activity and responsive navigation. The booking timeline and server-derived insights use saved data. No product flow requires JSON editing.
- Tenant-scoped PostgreSQL row-lock transactions and MongoDB compare-and-swap aggregates persist resources, bookings, receipts and audit records. Failed journals roll back all state, repeated request IDs replay results, and stale application revisions return 409. Capacity counts the maximum simultaneous confirmed usage across half-open intervals.