The ask
A manager sends a real, slightly vague AI request, just like at work.
The thinking
The engineer clarifies, plans the Python, hits a bug and explains the fix.
Your turn
Write the function yourself. It runs on real Python in your browser and is checked against hidden tests instantly.
ShopKart · #growth-ai
E-commerce
An online store with thousands of reviews, a search bar and a growth team that wants AI answers by 3pm.
Build the weekly complaint digest prompt
Growth wants an LLM to summarise last week's complaints. Learn to select exactly the right reviews before anything reaches the model.
- Prompt building
- Filtering
- f-strings
Tag reviews with themes before the LLM call
A cheap keyword pass decides which reviews need the expensive model. Get the matching right, including upper-case text.
- Keyword rules
- Case handling
- Dicts
The LLM's JSON keeps breaking our pipeline
The model was told to return JSON, but real outputs come wrapped in fences, chatter and trailing commas. Parse what you can, report the rest.
- json.loads
- Code fences
- Error handling
Semantic search returns the kettle for 'earbuds'
Product search ranks by raw dot product, so big vectors win every query. Switch to cosine similarity and rank properly.
- Embeddings
- Cosine similarity
- Ranking
Which searches return nothing?
Before asking an LLM to generate synonyms, find the real zero-result searches. Messy casing and spaces split the counts.
- Normalization
- Counting
- Sorting
How much will AI product descriptions cost?
Finance wants a quote before we let the model write missing product descriptions. Find every product that needs one (blank, spaces or None) and price the job.
- Missing data
- Token pricing
- Rounding
Northstar Insurance · #claims-ai
Banking & Insurance
Claims notes, surveyor reports and LLM-extracted fields. Every answer needs a source and no customer data may leak.
Redact claim notes before sending them to the LLM
Claims notes contain emails, phone numbers and policy numbers. Mask them before any third-party model sees the text.
- Regex
- PII
- Order of operations
Chunk surveyor reports for RAG with page citations
Underwriters want answers with 'see page 2' citations. Chunk per page so every chunk remembers where it came from.
- Chunking
- RAG
- Metadata
Validate fields the LLM extracted from claims
The model extracts amount, date and policy number from claim forms. Catch the bad ones before they hit the claims system.
- Validation
- isinstance
- Regex
Flag near-duplicate claims for fraud review
The same incident reworded and filed twice is a classic fraud pattern. Compare descriptions, but only within the same policy.
- Jaccard similarity
- Pairs
- Business rules
PeopleFirst · #talent-ai
HR & People
Resumes, job descriptions and AI interview graders. Fair, explainable and privacy-first.
Score resumes against a job's skills
A first-pass skill match before the AI interviewer. Naive substring matching thinks everyone knows R.
- Regex word boundaries
- Lowercasing
- Scoring
Shortlist the top candidates for a role
Rank candidates by skill match, apply a minimum bar and return a stable top-k list for the AI interviewer.
- Sorting
- Thresholds
- Tie-breakers
Anonymize resumes before the AI screens them
To reduce bias, the AI screener must not see names, emails or ages. Order of replacements matters more than you'd think.
- Regex
- PII
- Bias reduction
Do our AI interview graders agree?
Three LLM graders score each interview. Average them, ignore missing scores, and flag candidates where the graders disagree.
- LLM-as-judge
- None handling
- Aggregation
Flowdesk · #ai-platform
SaaS Product
A help bot, a RAG knowledge base and token quotas for a B2B software product.
Route feedback to the right team
A rule-based router in front of the LLM. When a message mentions both a refund and a bug, the order of your rules decides who gets paged.
- Rules
- Priority order
- Lowercasing
Is the help bot citing real articles?
The bot must cite knowledge-base articles. Check every answer: grounded, uncited, or citing an article that doesn't exist.
- Regex
- RAG evaluation
- Citations
Is retrieval finding the right articles?
Before blaming the LLM, measure retrieval. Recall@k divides by the number of relevant docs, not by k.
- Recall@k
- Set maths
- RAG evaluation
Warn accounts close to their AI token quota
Customers get a monthly AI token allowance per plan. Find accounts at 80%+ of this month's quota, without summing across months.
- Grouping
- Joins in Python
- Percentages
CityCare Hospital · #clinical-ai
Healthcare
Clinical notes, triage messages and AI summaries. Safety first, patient data never leaves unmasked.
De-identify visit notes for the summarisation model
Clinical notes must lose names, MRNs and dates before an external model summarises them, including the lowercase name a tired doctor typed.
- Regex
- PHI
- Case-insensitive
Flag urgent patient messages, without the false alarms
The triage inbox needs red-flag detection before any AI reply. 'No chest pain' must not page the on-call doctor.
- Negation
- Phrase matching
- Safety
Extract medications and doses from notes
Pharmacy wants structured meds from free-text notes to check the AI summary. 'Amlodipine 5mg' has a capital and no space.
- Regex
- Case-insensitive
- Structured output
Catch numbers the AI summary made up
An AI handover summary said '50 mg' when the note says 500. Check every number in the summary against the source note.
- Faithfulness checks
- Tokenizing numbers
- Hallucination
SwiftShip · #ops-ai
Logistics & Supply Chain
Customer emails, tracking events and an ops agent that answers 'where is my parcel?' at scale.
Pull tracking numbers out of customer emails
The 'where is my parcel' agent needs the tracking numbers from each email: unique, normalized, in order.
- Regex
- Dedupe
- Normalization
Sort the inbox: damage, address change, delay
A rules-first classifier decides which team and which AI reply template each email gets. Damage outranks delay.
- Rule priority
- Text classification
- Fallbacks
Write the 'where is my parcel' prompt from tracking events
Tracking events arrive out of order. If you don't sort them, the AI tells customers the wrong latest status.
- Sorting by time
- Prompt building
- Empty cases
Stop the ops agent from looping
The tracking agent called the same tool again and again. Add a step budget and skip repeated calls, like every production agent should.
- Agents
- Loop guards
- Max steps
Brandly · #creative-ai
Marketing & Ads
AI-written ad copy, brand rules and A/B tests. Fast creative, zero brand-safety incidents.
Check AI ad copy against platform limits
The model writes headlines and bodies, but ad platforms reject anything over the character limit. Validate before upload.
- len()
- Config-driven rules
- Validation
Brand-safety filter for banned words
Legal bans 'free', 'guaranteed' and 'cheapest' in ads. A substring filter also blocks 'Freedom from soggy shoes'.
- Word boundaries
- Case-insensitive
- Dict results
Pick the winning AI-written variant per campaign
An AI-written variant shows a 5% CTR on 800 impressions. Don't crown it yet: apply a minimum sample size and a cost tie-breaker.
- Grouping
- CTR
- Minimum sample size
Batch creative briefs into fewer LLM calls
Sending briefs one by one repeats the long system prompt every time. Batch them, remembering every call pays the system-prompt overhead.
- Token budgets
- Greedy batching
- Overhead
StreamBox · #content-ai
Media & Streaming
Synopses, subtitles and embeddings behind search, recommendations and an AI genre tagger.
Clean HTML synopses before embedding
Synopses come from the CMS full of tags and &. A greedy regex deletes the actual text.
- Regex
- html.unescape
- Whitespace
Chunk subtitles with timestamps for 'jump to scene'
Users ask 'where do they talk about the anglerfish?' and we jump to the scene. Chunks must carry the right start and end times.
- Chunking
- Sorting
- Timestamps
'Because you watched…' recommendations
Recommend titles similar to the last thing a user watched, but never something they've already seen (including the title itself).
- Embeddings
- Cosine similarity
- Exclusions
Score the AI genre tagger per genre
An LLM tags each title's genre. Overall accuracy hides which genres it's bad at: compute precision and recall per genre.
- Precision
- Recall
- Zero division
FinEdge Advisory · #fpa-ai
AI with Excel
Finance lives in Excel, and Copilot now writes formulas and summaries there. The numbers still have to tie out.
Turn an Excel export into an LLM-ready table
The FP&A sheet comes out with blank rows and empty cells. Clean it into a compact markdown table before any model reads it.
- Data cleaning
- Markdown tables
- None handling
Audit the formulas Copilot wrote
Copilot in Excel suggested six formulas for the forecast sheet. Check them before anyone trusts the totals: short ranges, volatile functions, broken syntax.
- Regex
- Formula checks
- Off-by-one ranges
Reconcile Copilot's summary with the real totals
Copilot's summary quotes a total per region. Recompute every total from the raw rows and flag the ones that don't tie out, including regions with no data at all.
- Aggregation
- Tolerances
- Hallucination checks
RetailMax · #bi-copilot
AI with Power BI
Copilot and Q&A in Power BI are only as good as the semantic model behind them: names, descriptions and synonyms.
Is our semantic model ready for Copilot?
Copilot in Power BI leans on measure names and descriptions. Score the model and list exactly what to fix first.
- Metadata checks
- Naming
- Percentages
Build synonyms from what users actually type
Users ask for 'turnover' and 'GM', Copilot doesn't know what they mean. Turn the correction log into a synonym list per measure.
- Grouping
- Normalization
- Linguistic schema
Copilot's DAX references columns that don't exist
Copilot writes DAX that looks perfect but sometimes invents a column or measure. Validate every reference against the model before anyone saves it.
- Regex
- Metadata validation
- Hallucination
Polar Freight · #snowflake-ai
AI with Snowflake (CoCo)
Cortex AI functions in SQL and Cortex Code (CoCo), Snowflake's coding agent, on a freight data platform. Fast, as long as someone checks the bill and the SQL.
What will AI_COMPLETE over this table cost?
The team wants to run a Cortex LLM function over every shipment note. Estimate tokens and credits first, skipping empty notes.
- Token estimates
- Credits
- Empty rows
Review the SQL CoCo generated before it runs
Cortex Code (CoCo) drafts SQL in seconds. A lightweight review gate catches write operations, multiple statements and unbounded SELECT * before anything runs.
- SQL safety
- Regex
- Comments & strings
Alert when AI sentiment on shipment notes drops
A Cortex sentiment function scores every shipment note. Average by week and alert when sentiment falls sharply, ignoring rows the model couldn't score.
- Grouping by week
- None handling
- Change detection
MedSupply Co · #genie-space
AI with Databricks (Genie)
A Genie space lets the sales team ask questions in plain English. Instructions, benchmarks and trusted examples decide whether the answers are right.
Write the Genie space instructions from the data dictionary
A Genie space answers better with clear instructions. Generate them from the data dictionary and business rules, without undocumented columns.
- Text generation
- Metadata
- Filtering
Score the Genie benchmark run
Genie benchmarks compare its answers with expected results. Order only matters for 'top N' questions, so compare accordingly.
- Result comparison
- Order sensitivity
- Accuracy
Which trusted example queries should we add?
Users rate Genie answers up or down. Find the topics with the most thumbs-down, among those with enough rated questions, to decide where to add trusted example SQL first.
- Feedback analysis
- Rates
- Prioritisation