We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8461301 commit ece0931Copy full SHA for ece0931
src/agentlab/benchmarks/gaia.py
@@ -250,11 +250,13 @@ def normalize_str(input_str, remove_punct=True) -> str:
250
- Removing all white spaces
251
- Optionally removing punctuation (if remove_punct is True)
252
- Converting to lowercase
253
- Parameters:
254
- - input_str: str, the string to normalize
255
- - remove_punct: bool, whether to remove punctuation (default: True)
+
+ Args:
+ input_str: str, the string to normalize
256
+ remove_punct: bool, whether to remove punctuation (default: True)
257
258
Returns:
- - str, the normalized string
259
+ str, the normalized string
260
"""
261
# Remove all white spaces. Required e.g for seagull vs. sea gull
262
no_spaces = re.sub(r"\s", "", input_str)
0 commit comments