Add a metric for the MATH dataset (competition_math).
CONTRIBUTOR
I believe the only failed test related to this PR is tests/test_metric_common.py::LocalMetricTest::test_load_metric_competition_math. It gives the following error:

ImportError: To be able to use this dataset, you need to install the following dependencies['math_equivalence'] using 'pip install git+https://github.com/hendrycks/math.git' for instance'

It fails along with (these fail with ImportError as well):
test_load_metric_bertscore
test_load_metric_bleurt
test_load_metric_comet
test_load_metric_coval

Let me know if there is anything I need to change.
2021-10-04T17:08:56Z
https://github.com/huggingface/datasets/pull/3020#issuecomment-933682879
https://api.github.com/repos/huggingface/datasets/issues/3020
IC_kwDODunzps43pt6_
https://api.github.com/repos/huggingface/datasets/issues/comments/933682879/reactions
2021-10-04T17:08:56Z
https://api.github.com/repos/huggingface/datasets/issues/comments/933682879
https://avatars.githubusercontent.com/u/91226467?v=4
https://api.github.com/users/hacobe/events{/privacy}
https://api.github.com/users/hacobe/followers
https://api.github.com/users/hacobe/following{/other_user}
https://api.github.com/users/hacobe/gists{/gist_id}
https://github.com/hacobe
hacobe
MDQ6VXNlcjkxMjI2NDY3
https://api.github.com/users/hacobe/orgs
https://api.github.com/users/hacobe/received_events
https://api.github.com/users/hacobe/repos
https://api.github.com/users/hacobe/starred{/owner}{/repo}
https://api.github.com/users/hacobe/subscriptions
User
https://api.github.com/users/hacobe
public
MEMBER
Hi ! The script looks all good thanks :)

To fix the CI you just need to merge `master` into your branch
```
git fetch upstream/master
git merge upstream/master
```

Then you also need to add `math_equivalence` to the list of git packages installed for the tests in `additional-tests-requirements.txt`
https://github.com/huggingface/datasets/blob/ba831e4bcd175ae3d52afbf7d12c4f625bf541b0/additional-tests-requirements.txt#L1-L3
2021-10-08T16:12:41Z
https://github.com/huggingface/datasets/pull/3020#issuecomment-938762320
https://api.github.com/repos/huggingface/datasets/issues/3020
IC_kwDODunzps439GBQ
https://api.github.com/repos/huggingface/datasets/issues/comments/938762320/reactions
2021-10-08T16:12:41Z
https://api.github.com/repos/huggingface/datasets/issues/comments/938762320
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
CONTRIBUTOR
I ran:

git fetch upstream
git merge upstream/master

And I also added  math_equivalence to the list of git packages installed for the tests in additional-tests-requirements.txt

tests/test_metric_common.py fails with the same errors as before. tests/test_dataset_cards.py also fails, but it doesn't look related to this PR (it's an issue datasets/ami/README.md).
2021-10-08T17:54:24Z
https://github.com/huggingface/datasets/pull/3020#issuecomment-938978952
https://api.github.com/repos/huggingface/datasets/issues/3020
IC_kwDODunzps43966I
https://api.github.com/repos/huggingface/datasets/issues/comments/938978952/reactions
2021-10-08T17:54:24Z
https://api.github.com/repos/huggingface/datasets/issues/comments/938978952
https://avatars.githubusercontent.com/u/91226467?v=4
https://api.github.com/users/hacobe/events{/privacy}
https://api.github.com/users/hacobe/followers
https://api.github.com/users/hacobe/following{/other_user}
https://api.github.com/users/hacobe/gists{/gist_id}
https://github.com/hacobe
hacobe
MDQ6VXNlcjkxMjI2NDY3
https://api.github.com/users/hacobe/orgs
https://api.github.com/users/hacobe/received_events
https://api.github.com/users/hacobe/repos
https://api.github.com/users/hacobe/starred{/owner}{/repo}
https://api.github.com/users/hacobe/subscriptions
User
https://api.github.com/users/hacobe
public
CONTRIBUTOR
@lhoestq Anything else I can do? I re-merged again and am getting the same test failures as described in the previous comment.
2021-10-18T15:37:27Z
https://github.com/huggingface/datasets/pull/3020#issuecomment-945902997
https://api.github.com/repos/huggingface/datasets/issues/3020
IC_kwDODunzps44YVWV
https://api.github.com/repos/huggingface/datasets/issues/comments/945902997/reactions
2021-10-18T15:37:27Z
https://api.github.com/repos/huggingface/datasets/issues/comments/945902997
https://avatars.githubusercontent.com/u/91226467?v=4
https://api.github.com/users/hacobe/events{/privacy}
https://api.github.com/users/hacobe/followers
https://api.github.com/users/hacobe/following{/other_user}
https://api.github.com/users/hacobe/gists{/gist_id}
https://github.com/hacobe
hacobe
MDQ6VXNlcjkxMjI2NDY3
https://api.github.com/users/hacobe/orgs
https://api.github.com/users/hacobe/received_events
https://api.github.com/users/hacobe/repos
https://api.github.com/users/hacobe/starred{/owner}{/repo}
https://api.github.com/users/hacobe/subscriptions
User
https://api.github.com/users/hacobe
public
This metric computes accuracy for the MATH dataset (https://arxiv.org/abs/2103.03874) after canonicalizing the prediction and the reference (e.g., converting "1/2" to "\\\\frac{1}{2}").