# pylint: disable=g-bad-file-header
# Copyright 2021 DeepMind Technologies Limited. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or  implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================

"""Exposing the public methods of leaderboard."""
from neural_testbed.leaderboard.entries_csv import Entry

# Leaderboard loading of testbed problem
from neural_testbed.leaderboard.load import gaussian_data
from neural_testbed.leaderboard.load import make_categorical_kl_estimator
from neural_testbed.leaderboard.load import problem_from_config
from neural_testbed.leaderboard.load import problem_from_id
from neural_testbed.leaderboard.load import problem_with_distribution_shift
from neural_testbed.leaderboard.load_csv import problem_from_id as problem_from_id_csv

# Leaderboard table
from neural_testbed.leaderboard.plotting import display_ranking_df

# Leaderboard scoring of experiments
from neural_testbed.leaderboard.score import AgentData
from neural_testbed.leaderboard.score import combine_leaderboards
from neural_testbed.leaderboard.score import join_metadata
from neural_testbed.leaderboard.score import LeaderboardData
from neural_testbed.leaderboard.score_csv import load_entries as load_entries_csv

# Leaderboard sweep of testbed problems
from neural_testbed.leaderboard.sweep import CLASSIFICATION
from neural_testbed.leaderboard.sweep import CLASSIFICATION_2D
from neural_testbed.leaderboard.sweep import CLASSIFICATION_2D_TEST
from neural_testbed.leaderboard.sweep import CLASSIFICATION_TEST
from neural_testbed.leaderboard.sweep import ENN_PAPER
from neural_testbed.leaderboard.sweep import ENN_PAPER_TEST
from neural_testbed.leaderboard.sweep import ProblemConfig
from neural_testbed.leaderboard.sweep import REGRESSION
from neural_testbed.leaderboard.sweep import REGRESSION_TEST
from neural_testbed.leaderboard.sweep import SETTINGS
from neural_testbed.leaderboard.sweep import ShiftConfig
