District Attorney George Gascon says in a statement Tuesday the partnership will help prosecutors identify those that are eligible under California's revised cannabis laws.
RELATED: Sessions says US prosecutors won't take on small-time cannabis cases
[Ads /]
Gascon in January announced his office would dismiss and seal more than 3,000 misdemeanor pot convictions dating back to 1975 after voters approved Proposition 64 legalizing recreational marijuana for adults 21 and older.
Code for America will use its algorithm to search through San Francisco's nearly 5,000 felony cases and identify those that are eligible, which will then be reviewed by a prosecutor and submitted to the court.
[Ads /]
Click here for more stories and videos related to cannabis.
MAP: Where is weed legal?
MAP: Where is weed legal?