#include "components/segmentation_platform/internal/post_processor/post_processing_test_utils.h"
#include "components/segmentation_platform/internal/metadata/metadata_writer.h"
namespace segmentation_platform::test_utils {
const char kNotShowShare[] = …;
const char kShowShare[] = …;
const int kShowShareTTL = …;
const int kDefaultTTL = …;
const char kLowUsed[] = …;
const char kMediumUsed[] = …;
const char kHighUsed[] = …;
const char kUnderflowLabel[] = …;
const char kNewTabUser[] = …;
const char kShareUser[] = …;
const char kShoppingUser[] = …;
const char kVoiceUser[] = …;
std::unique_ptr<Config> CreateTestConfig() { … }
std::unique_ptr<Config> CreateTestConfig(const std::string& client_key,
proto::SegmentId segment_id) { … }
proto::OutputConfig GetTestOutputConfigForBinaryClassifier(
bool ignore_previous_model_ttl) { … }
proto::OutputConfig GetTestOutputConfigForBinnedClassifier() { … }
proto::OutputConfig GetTestOutputConfigForMultiClassClassifier(
int top_k_outputs,
std::optional<float> threshold) { … }
proto::OutputConfig GetTestOutputConfigForGenericPredictor(
const std::vector<std::string>& labels) { … }
proto::ClientResult CreateClientResult(proto::PredictionResult pred_result) { … }
}