Five industries walked through — what AI-native looks like in the wild — step 9 of 9
One last thing before we move on. Same surface as a write step — but the lesson doesn't complete until this passes.
Final drill. Synthesize the case-study method into one function:
pick_industry(candidates) that takes a list of industry profiles
and returns the name of the BEST candidate for an AI-native
rebuild.
Each candidate is a dict with:
name: stringvolume_per_week: intrules_explicit: booloutcome_structured: boolincumbent_avg_age_years: int
Score each candidate using these rules (higher = better wedge):
volume_per_week >= 100: +30rules_explicit: +25outcome_structured: +25incumbent_avg_age_years >= 20: +20 (incumbent trap is biggest)
Return the name of the highest-scoring candidate. On a tie, return
the FIRST one (Python's max with key= preserves stable order).
Five candidates run. Expected output:
best: Insurance brokerage
One last thing before we move on. Same surface as a write step — but the lesson doesn't complete until this passes.
Final drill. Synthesize the case-study method into one function:
pick_industry(candidates) that takes a list of industry profiles
and returns the name of the BEST candidate for an AI-native
rebuild.
Each candidate is a dict with:
name: stringvolume_per_week: intrules_explicit: booloutcome_structured: boolincumbent_avg_age_years: int
Score each candidate using these rules (higher = better wedge):
volume_per_week >= 100: +30rules_explicit: +25outcome_structured: +25incumbent_avg_age_years >= 20: +20 (incumbent trap is biggest)
Return the name of the highest-scoring candidate. On a tie, return
the FIRST one (Python's max with key= preserves stable order).
Five candidates run. Expected output:
best: Insurance brokerage
this step needs the editor
on desktop today; in the app (coming soon). save your spot and we'll bring you back here when you're ready.