def METHOD_NAME(algorithm, challenge, archive_items):
    ai = algorithm.algorithm_container_images.last()
    eval_inputs = []
    for _ in range(archive_items):
        job = Job.objects.create(
            algorithm_image=ai,
            started_at=now() - timedelta(minutes=random.randint(5, 120)),
            completed_at=now(),
            status=Job.SUCCESS,
        )
        civ = ComponentInterfaceValue.objects.create(
            interface=ComponentInterface.objects.get(slug="results-json-file"),
        )
        civ.value = ({"foo": "bar"},)
        civ.save()
        eval_inputs.append(civ)
        job.outputs.add(civ)
    phase = challenge.phase_set.first()
    sub = Submission.objects.create(
        creator=algorithm.editors_group.user_set.get(),
        algorithm_image=ai,
        phase=phase,
    )
    e1 = Evaluation.objects.create(
        submission=sub, method=phase.method_set.last()
    )
    e1.inputs.add(*eval_inputs)