make all arguments in test_history.py optional kwarg (#54797)
Summary:
This is to make it more flexible to be reused when pulling test stats other than by-test-case.
Also it makes it less likely to use it wrong with positional arguments.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/54797
Test Plan: see the updated tools/test/test_test_history.py examples.
Reviewed By: samestep
Differential Revision: D27371903
Pulled By: walterddr
fbshipit-source-id: 0ee02d654684315b44f5942904b857053d27e954
Author
Rong Rong (AI Infra)