# BaseScorer is the abstract base class - for reference only# In practice, create scorers using ExampleScorer:from judgeval import ExampleScorer# Create a custom scorer using ExampleScorer (recommended approach)custom_scorer = ExampleScorer( name="similarity_scorer", scorer_fn=lambda input, output, expected: 1.0 if expected and expected.lower() in output.lower() else 0.0)# Use the scorerresult = custom_scorer.score( input="What is 2+2?", output="The answer is 4", expected="4")