Rizwan Nur's Work | ContraWork by Rizwan NurRizwan Nur
Full-Stack Product Engineer
Upload a script and the AI pipeline pulls every production element —
characters, extras, props, locations, time of day — out of every scene.
Extraction runs in batches sized to balance throughput and context: five
or six scenes per call, capped at fifty thousand characters, ninety
seconds per batch. If the primary provider returns empty or invalid
JSON, the chain falls back to a second provider, then a third, then to a
per-scene retry. Output gets a separate validation pass to catch
hallucinated entries and merge near-duplicates.
Character names go
through a fuzzy dedup pass. Scripts that refer to the same person three
different ways collapse to one entry without losing the underlying
mentions. Results stream to the frontend in real time as each batch
comes in. Every element is color-coded inline on the script with a
sidebar that jumps to every occurrence.
Uploads dedupe by content
hash. If two users upload the same script — common when a producer and a
line producer are on the same project — the second upload
short-circuits to the cached result. A distributed lock keeps the first
run from being repeated under load. If the lock holder dies before
producing a result, waiting workers fall back to running it themselves
with a timeout. The CRM handles the full loan lifecycle — intake, issuance, repayment tracking, and reporting. Loan officers get a structured pipeline view of every application, with borrower profiles, document attachments, and commission calculations built in. Borrowers get their own dashboard for offers, bank connections, ledger views, and uploads. Real estate investigators lose weeks finding and vetting seller leads across fragmented public sources — sheriff sale lists, probate filings, tax-lien notices. Dealmate pulls them into one CRM, enriches each lead with owner contact data, and gives pros a single pipeline to work from. For sellers on the other side, it's a no-negotiation quick exit at a pre-agreed price. Production planning software for independent film teams, turning scripts into breakdowns, schedules, budgets, compliance, and investor-ready reporting in one system.