def prepare(self, obj):
        data = super().prepare(obj)

        # Reduce boost of past events
        if obj.is_past:
            data['boost'] = 0.9
        elif obj.featured:
            data['boost'] = 1.2
        else:
            data['boost'] = 1.1

        return data
Find the offsets in a byte code which are start of lines in the source.
dataset/ETHPy150Open python/pythondotorg/events/search_indexes.py/EventIndex.prepare--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/trial/unittest.py/_findlinestarts