This issue tracks adding Google-style docstrings to public APIs in dspy/evaluate/metrics.py
.
Scope:
- Add/complete function docstrings for public metrics (e.g., answer_exact_match, answer_passage_match).
- Follow the Google Python Style Guide.
- Include a short usage example where helpful.
- Ensure correctness (no speculative behavior).
Context: refs #8926 (docstrings help-wanted)
I’m claiming this file and will open a PR that resolves this issue.
Reviewer: @chenmoneygithub