def METHOD_NAME():
    m = type("Models", (object,), {})
    m.user = f.UserFactory.create()
    m.project = f.ProjectFactory(is_private=False, owner=m.user)
    m.role1 = f.RoleFactory(project=m.project)
    m.role2 = f.RoleFactory(project=m.project)
    m.null_points = f.PointsFactory(project=m.project, value=None)
    m.default_points = f.PointsFactory(project=m.project, value=0)
    m.points1 = f.PointsFactory(project=m.project, value=1)
    m.points2 = f.PointsFactory(project=m.project, value=2)
    m.points3 = f.PointsFactory(project=m.project, value=4)
    m.points4 = f.PointsFactory(project=m.project, value=8)
    m.points5 = f.PointsFactory(project=m.project, value=16)
    m.points6 = f.PointsFactory(project=m.project, value=32)
    m.open_status = f.UserStoryStatusFactory(is_closed=False)
    m.closed_status = f.UserStoryStatusFactory(is_closed=True)
    m.project.default_points = m.default_points
    m.project.save()
    m.user_story1 = f.UserStoryFactory(project=m.project,
                                       status=m.open_status,
                                       milestone=None)
    m.user_story1.role_points.filter(role=m.role1).update(points=m.points1)
    m.user_story2 = f.UserStoryFactory(project=m.project,
                                       status=m.open_status,
                                       milestone=None)
    m.user_story2.role_points.filter(role=m.role1).update(points=m.points2)
    m.user_story3 = f.UserStoryFactory(project=m.project,
                                       status=m.open_status,
                                       milestone=None)
    m.user_story3.role_points.filter(role=m.role1).update(points=m.points3)
    m.user_story4 = f.UserStoryFactory(project=m.project,
                                       status=m.open_status,
                                       milestone=None)
    m.user_story4.role_points.filter(role=m.role1).update(points=m.points4)
    # 5 and 6 are inclosed milestones
    m.user_story5 = f.UserStoryFactory(project=m.project,
                                       status=m.open_status,
                                       milestone__closed=True,
                                       milestone__project=m.project)
    m.user_story5.role_points.filter(role=m.role1).update(points=m.points5)
    m.user_story6 = f.UserStoryFactory(project=m.project,
                                       status=m.open_status,
                                       milestone__closed=True,
                                       milestone__project=m.project)
    m.user_story6.role_points.filter(role=m.role1).update(points=m.points6)
    return m