from services.content_evaluator import ContentEvaluator

# Test taco bueno kid photo. Solid pic! (should pass with 80-90)
# print(ContentEvaluator.score_content("https://firebasestorage.googleapis.com/v0/b/storyitapp.appspot.com/o/Instagram-UGC%2F47%2F0%2Ftacobueno-1696700985513.948.webp?alt=media&token=165ca596-e618-4eab-8d4d-2df1f9d1a6f3", required_tag="@tacobueno", requirements=["Show us you or your family's experience at one of our restaurants!"]))

# Test beautiful taco bueno photo. (should pass with 85+)
# print(ContentEvaluator.score_content("https://firebasestorage.googleapis.com/v0/b/storyitapp.appspot.com/o/Instagram-UGC%2F47%2F41%2Fmarlene_olmos0504_189881590.webp?alt=media&token=7b1b608a-1cd1-41b5-a095-cd7784c5459c", required_tag="@tacobueno", requirements=["Show us your food!"]))

# Test bad taco bueno photo. (should barely pass with C or D)
# print(ContentEvaluator.score_content("https://firebasestorage.googleapis.com/v0/b/storyitapp.appspot.com/o/Instagram-UGC%2F47%2F41%2Ftcoleallen_18917140.webp?alt=media&token=69609e0f-1dca-4c67-a563-a143e7df88fa", required_tag="@tacobueno", requirements=["Show us your order from our restaurant!"]))

# Test carnival cruise photo. No tag present (should fail with -1)
# print(ContentEvaluator.score_content("https://firebasestorage.googleapis.com/v0/b/storyitapp-dev.appspot.com/o/Instagram-UGC%2FkdF4EtNHeG6rQB8ocRa2%2FIMG_9856.webp?alt=media&token=35e8a442-dac9-42a1-8ea8-a27e19ca9e77", required_tag="@carnival", requirements=["Show your experience on a Carnival cruise!"]))

# Testing a UGC photo, with no required tag. Should pass with 80-90
# print(ContentEvaluator.score_content("https://firebasestorage.googleapis.com/v0/b/storyitapp.appspot.com/o/Instagram-UGC%2F47%2F41%2Fdantheman9now_189117423.webp?alt=media&token=67825c49-c986-4e4c-9b62-c1cc80e1b714", required_tag=None, requirements=["Show us you or your family's experience with our food!"]))

# Test photo of cmchicken. Pretty much a black screen (should fail with -2)
# print(ContentEvaluator.score_content("https://firebasestorage.googleapis.com/v0/b/storyitapp-dev.appspot.com/o/Instagram-UGC%2F49%2F134%2Fcmchickenusa-1690947590018.323.webp?alt=media&token=2e0bb377-b77f-4fab-a490-a8c5f04bc583", required_tag="@cmchickenusa", requirements=["Show us you or your family's experience at one of our restaurants!"]))

# Test photo of a cat eating a taco. Pretty foul. Should probably fail with -2 or -69.
# print(ContentEvaluator.score_content("https://firebasestorage.googleapis.com/v0/b/storyitapp.appspot.com/o/Instagram-UGC%2F47%2F41%2Fcaseybowden1_189488146.webp?alt=media&token=c3869615-909c-495b-a9ac-4e626d544f4e", requirements=["Show a picture of our food!"]))

# Test photo w/ profanity. should fail with -69
# print(ContentEvaluator.score_content("https://firebasestorage.googleapis.com/v0/b/storyitapp-dev.appspot.com/o/Instagram-UGC%2F49%2F46%2Fcmchickenusa-1689642379356.008.webp?alt=media&token=de90fc55-5c7b-4015-b5d3-b665fc8d8632", required_tag="@cmchickenusa", requirements=["Show a picture of you enjoying our food!"]))

# print(ContentEvaluator.score_content("https://firebasestorage.googleapis.com/v0/b/storyitapp-dev.appspot.com/o/Temp-UGC%2FIMG_5125.PNG?alt=media&token=a2d56bf4-a4b0-4596-adaa-8f0d5cd8fb3a", required_tag="@tacobueno", requirements=[]))