def METHOD_NAME(
    *, creator, participant, archive, suffix, inputs, outputs
):
    c = Challenge.objects.create(
        short_name=f"algorithm-evaluation-{suffix}",
        creator=creator,
        hidden=False,
        logo=create_uploaded_image(),
    )
    c.add_participant(participant)
    p = Phase.objects.create(challenge=c, title="Phase 1")
    p.algorithm_inputs.set(inputs)
    p.algorithm_outputs.set(outputs)
    p.title = "Algorithm Evaluation"
    p.submission_kind = SubmissionKindChoices.ALGORITHM
    p.archive = archive
    p.score_jsonpath = "score"
    p.submissions_limit_per_user_per_period = 10
    p.save()
    m = Method(creator=creator, phase=p)
    with _uploaded_container_image() as container:
        m.image.save("algorithm_io.tar", container)