human
I wrote the below code

    equity_info = make_simple_equity_info(sids=sids, start_date=calendar[0], end_date=calendar[(-1)], symbols=symbols)
    loader = make_seeded_random_loader(random_seed, calendar, sids)
    def get_loader(column):
        return loader
    with tmp_asset_finder(equities=equity_info) as finder:
        (yield SimplePipelineEngine(get_loader, calendar, finder))

What's a good function header?
assistant
#Here's a good function header.

@contextmanager
def temp_pipeline_engine(calendar, sids, random_seed, symbols=None):