def METHOD_NAME(self, *args, **options):
    """
    Execute the command.
    Args:
        course_id (unicode): The ID of the course to create submissions for.
        item_id (unicode): The ID of the item in the course to create submissions for.
        num_submissions (int): Number of submissions to create.
        percentage (int or float): Percentage for assessments to be made against submissions.
    """
    if len(args) < 4:
        raise CommandError('Usage: create_oa_submissions <COURSE_ID> <ITEM_ID> <NUM_SUBMISSIONS> <PERCENTAGE>')
    course_id = str(args[0])
    item_id = str(args[1])
    try:
        num_submissions = int(args[2])
    except ValueError as ex:
        raise CommandError('Number of submissions must be an integer') from ex
    try:
        percentage = float(args[3])
        assessments_to_create = (percentage / 100) * num_submissions
    except ValueError as ex:
        raise CommandError('Percentage for completed submissions must be an integer or float') from ex
    print("Creating {num} submissions for {item} in {course}".format(
        num=num_submissions, item=item_id, course=course_id
    ))
    assessments_created = 0
    for sub_num in range(num_submissions):
        print(f"Creating submission {sub_num}")
        # Create a dummy submission
        student_item = {
            'student_id': uuid4().hex[0:10],
            'course_id': course_id,
            'item_id': item_id,
            'item_type': 'openassessment'
        }
        submission_uuid = self._create_dummy_submission(student_item)
        self._student_items.append(student_item)
        # Create a dummy rubric
        rubric, options_selected = self._dummy_rubric()
        # Create peer assessments
        for num in range(self.NUM_PEER_ASSESSMENTS):
            print(f"-- Creating peer-workflow {num}")
            scorer_id = f'test_{num}'
            # The scorer needs to make a submission before assessing
            scorer_student_item = copy.copy(student_item)
            scorer_student_item['student_id'] = scorer_id
            scorer_submission_uuid = self._create_dummy_submission(scorer_student_item)
            # Retrieve the submission we want to score
            # Note that we are NOT using the priority queue here, since we know
            # exactly which submission we want to score.
            peer_api.create_peer_workflow_item(scorer_submission_uuid, submission_uuid)
            if assessments_created < assessments_to_create:
                print(f"-- Creating peer-assessment {num}")
                # Create the peer assessment
                peer_api.create_assessment(
                    scorer_submission_uuid,
                    scorer_id,
                    options_selected, {}, "  ".join(loremipsum.get_paragraphs(2)),
                    rubric,
                    self.NUM_PEER_ASSESSMENTS
                )
        assessments_created += 1
        if self.self_assessment_required:
            # Create a self-assessment
            print("-- Creating self assessment")
            self_api.create_assessment(
                submission_uuid, student_item['student_id'],
                options_selected, {}, "  ".join(loremipsum.get_paragraphs(2)), rubric
            )
    print(f"{assessments_created} assessments being completed for {num_submissions} submissions")