Given a list of events, including pageview and search events, recommend tags to add to each page based on search terms. In addition, take 30-minute session into consideration.
Set up a small project to take inputs and output the recommendations. Besides, set up tests to make sure it works correctly.