(terms: Tuple[str, ...])
| 2004 | |
| 2005 | def has_any(terms: Tuple[str, ...]) -> bool: |
| 2006 | return any(re.search(rf"(?<![a-z0-9]){re.escape(term)}(?![a-z0-9])", text) for term in terms) |
| 2007 | |
| 2008 | if has_any(("education", "classroom", "k-12", "school", "curriculum", "pedagogy")): |
| 2009 | return "AI for Education" |
| 2010 | if has_any(("protein", "molecular", "molecule", "biology", "bio", "chemistry", "materials science", "scientific discovery", "ai for science")): |
no outgoing calls
no test coverage detected