Repository: pytorch
Issue: Fix docstring errors in spectral_ops_fuzz_test.py, simple_timeit.py, timer_interface.py, op_benchmark.py, _stubs.py, fuzzer.py, compare.py, compile.py, interp.py, hipify_python.py, common.py, end_to_end.py, timer.py, __init__.py, sparse_fuzzer.py, blas_compare_setup.py
Labels: module: docs,triaged,medium,docathon-h2-2023

Please fix the following issues. To test locally, run: 
 ```
pydocstyle path-to-file --count
```
Run this command before and after fixing the errors. This command prints out the number of errors at the end of the output. Paste the output to your PR description with the number before and after. 
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: ``, **Line**: 2, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: ``, **Line**: 2, **Description**: No whitespaces allowed surrounding docstring text
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `GeneratedFileCleaner`, **Line**: 93, **Description**: 1 blank line required after class docstring (found 0)
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `GeneratedFileCleaner`, **Line**: 93, **Description**: First line should end with a period (not 's')
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `match_extensions`, **Line**: 126, **Description**: First line should end with a period (not 'n')
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `match_extensions`, **Line**: 126, **Description**: First line should be in imperative mood; try rephrasing (found 'Helper')
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `add_dim3`, **Line**: 215, **Description**: Use """triple double quotes""" (found '''-quotes)
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `add_dim3`, **Line**: 215, **Description**: First line should end with a period (not 'h')
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `add_dim3`, **Line**: 215, **Description**: First line should be in imperative mood (perhaps 'Add', not 'adds')
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `add_dim3`, **Line**: 215, **Description**: First word of the first line should be properly capitalized ('Adds', not 'adds')
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `processKernelLaunches`, **Line**: 253, **Description**: No whitespaces allowed surrounding docstring text
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `find_kernel_bounds`, **Line**: 317, **Description**: First line should be in imperative mood (perhaps 'Find', not 'Finds')
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `find_closure_group`, **Line**: 407, **Description**: No blank lines allowed after function docstring (found 1)
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `find_closure_group`, **Line**: 407, **Description**: First line should end with a period (not 'p')
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `find_bracket_group`, **Line**: 445, **Description**: First line should be in imperative mood (perhaps 'Find', not 'Finds')
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `find_parentheses_group`, **Line**: 450, **Description**: First line should be in imperative mood (perhaps 'Find', not 'Finds')
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `replace_math_functions`, **Line**: 458, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `replace_math_functions`, **Line**: 458, **Description**: Docstring is over-indented
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `replace_math_functions`, **Line**: 458, **Description**: First line should end with a period (not 's')
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `hip_header_magic`, **Line**: 477, **Description**: No blank lines allowed after function docstring (found 1)
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `hip_header_magic`, **Line**: 477, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `hip_header_magic`, **Line**: 477, **Description**: First line should end with a period (not ',')
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `replace_extern_shared`, **Line**: 509, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `get_hip_file_path`, **Line**: 524, **Description**: One-line docstring should fit on one line with quotes (found 3)
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `get_hip_file_path`, **Line**: 524, **Description**: First line should end with a period (not 'e')
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `get_hip_file_path`, **Line**: 524, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `Trie`, **Line**: 644, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `Trie`, **Line**: 644, **Description**: Multi-line docstring closing quotes should be on a separate line
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `preprocessor`, **Line**: 762, **Description**: No whitespaces allowed surrounding docstring text
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `preprocessor`, **Line**: 762, **Description**: First line should be in imperative mood (perhaps 'Execute', not 'Executes')
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `fix_static_global_kernels`, **Line**: 931, **Description**: First line should be in imperative mood; try rephrasing (found 'Static')
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `extract_arguments`, **Line**: 940, **Description**: No blank lines allowed after function docstring (found 1)
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `extract_arguments`, **Line**: 940, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `extract_arguments`, **Line**: 940, **Description**: Docstring is over-indented
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `extract_arguments`, **Line**: 940, **Description**: No whitespaces allowed surrounding docstring text
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `str2bool`, **Line**: 986, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `str2bool`, **Line**: 986, **Description**: Multi-line docstring closing quotes should be on a separate line
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `str2bool`, **Line**: 986, **Description**: First line should end with a period (not 't')
- **File**: `torch/utils/hipify/hipify_python.py`, **Entity**: `str2bool`, **Line**: 986, **Description**: First word of the first line should be properly capitalized ('Argumentparser', not 'ArgumentParser')
- **File**: `torch/utils/benchmark/examples/op_benchmark.py`, **Entity**: `assert_dicts_equal`, **Line**: 18, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/utils/benchmark/examples/simple_timeit.py`, **Entity**: ``, **Line**: 1, **Description**: First line should end with a period (not '
- **File**: `torch/utils/benchmark/examples/blas_compare_setup.py`, **Entity**: `conda_run`, **Line**: 82, **Description**: First line should be in imperative mood; try rephrasing (found 'Convenience')
- **File**: `torch/utils/benchmark/examples/compare.py`, **Entity**: ``, **Line**: 1, **Description**: First line should end with a period (not '
- **File**: `torch/utils/benchmark/examples/compare.py`, **Entity**: `FauxTorch`, **Line**: 16, **Description**: 1 blank line required after class docstring (found 0)
- **File**: `torch/utils/benchmark/examples/end_to_end.py`, **Entity**: ``, **Line**: 2, **Description**: First line should end with a period (not '
- **File**: `torch/utils/benchmark/examples/end_to_end.py`, **Entity**: `test_source`, **Line**: 379, **Description**: First line should end with a period (not 's')
- **File**: `torch/utils/benchmark/examples/fuzzer.py`, **Entity**: ``, **Line**: 1, **Description**: First line should end with a period (not '
- **File**: `torch/utils/benchmark/examples/spectral_ops_fuzz_test.py`, **Entity**: ``, **Line**: 1, **Description**: First line should end with a period (not 'e')
- **File**: `torch/utils/benchmark/examples/sparse/op_benchmark.py`, **Entity**: `assert_dicts_equal`, **Line**: 16, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/utils/benchmark/examples/sparse/compare.py`, **Entity**: ``, **Line**: 1, **Description**: First line should end with a period (not '
- **File**: `torch/utils/benchmark/examples/sparse/compare.py`, **Entity**: `FauxTorch`, **Line**: 15, **Description**: 1 blank line required after class docstring (found 0)
- **File**: `torch/utils/benchmark/examples/sparse/compare.py`, **Entity**: `generate_coo_data`, **Line**: 46, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/utils/benchmark/examples/sparse/compare.py`, **Entity**: `generate_coo_data`, **Line**: 46, **Description**: First line should end with a period (not 's')
- **File**: `torch/utils/benchmark/examples/sparse/fuzzer.py`, **Entity**: ``, **Line**: 1, **Description**: First line should end with a period (not '
- **File**: `torch/utils/benchmark/utils/sparse_fuzzer.py`, **Entity**: `__init__`, **Line**: 22, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/utils/benchmark/utils/sparse_fuzzer.py`, **Entity**: `__init__`, **Line**: 22, **Description**: First line should end with a period (not '
- **File**: `torch/utils/benchmark/utils/common.py`, **Entity**: `TaskSpec`, **Line**: 32, **Description**: 1 blank line required after class docstring (found 0)
- **File**: `torch/utils/benchmark/utils/common.py`, **Entity**: `TaskSpec`, **Line**: 32, **Description**: First line should end with a period (not ')')
- **File**: `torch/utils/benchmark/utils/common.py`, **Entity**: `Measurement`, **Line**: 75, **Description**: 1 blank line required after class docstring (found 0)
- **File**: `torch/utils/benchmark/utils/common.py`, **Entity**: `__repr__`, **Line**: 203, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/utils/benchmark/utils/common.py`, **Entity**: `__repr__`, **Line**: 203, **Description**: First line should end with a period (not '
- **File**: `torch/utils/benchmark/utils/common.py`, **Entity**: `__repr__`, **Line**: 203, **Description**: First line should be in imperative mood; try rephrasing (found 'Example')
- **File**: `torch/utils/benchmark/utils/common.py`, **Entity**: `merge`, **Line**: 231, **Description**: First line should be in imperative mood; try rephrasing (found 'Convenience')
- **File**: `torch/utils/benchmark/utils/common.py`, **Entity**: `trim_sigfig`, **Line**: 277, **Description**: First line should end with a period (not ')')
- **File**: `torch/utils/benchmark/utils/_stubs.py`, **Entity**: `TimerClass`, **Line**: 5, **Description**: 1 blank line required after class docstring (found 0)
- **File**: `torch/utils/benchmark/utils/_stubs.py`, **Entity**: `TimeitModuleType`, **Line**: 22, **Description**: 1 blank line required after class docstring (found 0)
- **File**: `torch/utils/benchmark/utils/_stubs.py`, **Entity**: `CallgrindModuleType`, **Line**: 28, **Description**: 1 blank line required after class docstring (found 0)
- **File**: `torch/utils/benchmark/utils/compile.py`, **Entity**: `benchmark_compile`, **Line**: 79, **Description**: One-line docstring should fit on one line with quotes (found 3)
- **File**: `torch/utils/benchmark/utils/compile.py`, **Entity**: `benchmark_compile`, **Line**: 79, **Description**: First line should end with a period (not 'e')
- **File**: `torch/utils/benchmark/utils/compile.py`, **Entity**: `bench_all`, **Line**: 122, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/utils/benchmark/utils/compile.py`, **Entity**: `bench_all`, **Line**: 122, **Description**: First line should end with a period (not 'e')
- **File**: `torch/utils/benchmark/utils/compile.py`, **Entity**: `bench_all`, **Line**: 122, **Description**: First line should be in imperative mood; try rephrasing (found 'This')
- **File**: `torch/utils/benchmark/utils/timer.py`, **Entity**: `timeit`, **Line**: 259, **Description**: First line should not be the function's "signature"
- **File**: `torch/utils/benchmark/utils/fuzzer.py`, **Entity**: `FuzzedParameter`, **Line**: 23, **Description**: 1 blank line required after class docstring (found 0)
- **File**: `torch/utils/benchmark/utils/fuzzer.py`, **Entity**: `__init__`, **Line**: 32, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/utils/benchmark/utils/fuzzer.py`, **Entity**: `__init__`, **Line**: 32, **Description**: First line should end with a period (not '
- **File**: `torch/utils/benchmark/utils/fuzzer.py`, **Entity**: `ParameterAlias`, **Line**: 130, **Description**: 1 blank line required after class docstring (found 0)
- **File**: `torch/utils/benchmark/utils/fuzzer.py`, **Entity**: `__init__`, **Line**: 195, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/utils/benchmark/utils/fuzzer.py`, **Entity**: `__init__`, **Line**: 195, **Description**: First line should end with a period (not '
- **File**: `torch/utils/benchmark/utils/fuzzer.py`, **Entity**: `__init__`, **Line**: 351, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/utils/benchmark/utils/fuzzer.py`, **Entity**: `__init__`, **Line**: 351, **Description**: First line should end with a period (not '
- **File**: `torch/utils/benchmark/utils/valgrind_wrapper/timer_interface.py`, **Entity**: `FunctionCounts`, **Line**: 36, **Description**: 1 blank line required after class docstring (found 0)
- **File**: `torch/utils/benchmark/utils/valgrind_wrapper/timer_interface.py`, **Entity**: `denoise`, **Line**: 128, **Description**: Multi-line docstring closing quotes should be on a separate line
- **File**: `torch/utils/benchmark/utils/valgrind_wrapper/timer_interface.py`, **Entity**: `CallgrindStats`, **Line**: 160, **Description**: 1 blank line required after class docstring (found 0)
- **File**: `torch/utils/benchmark/utils/valgrind_wrapper/timer_interface.py`, **Entity**: `stats`, **Line**: 195, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **File**: `torch/utils/benchmark/utils/valgrind_wrapper/timer_interface.py`, **Entity**: `counts`, **Line**: 209, **Description**: First line should be in imperative mood (perhaps 'Return', not 'Returns')
- **File**: `torch/utils/benchmark/utils/valgrind_wrapper/timer_interface.py`, **Entity**: `CopyIfCallgrind`, **Line**: 304, **Description**: 1 blank line required after class docstring (found 0)
- **File**: `torch/utils/benchmark/utils/valgrind_wrapper/timer_interface.py`, **Entity**: `block_stmt`, **Line**: 753, **Description**: First line should be in imperative mood (perhaps 'Partial', not 'Partially')
- **File**: `torch/utils/model_dump/__init__.py`, **Entity**: `get_model_info`, **Line**: 192, **Description**: No blank lines allowed after function docstring (found 1)
- **File**: `torch/utils/model_dump/__init__.py`, **Entity**: `get_inline_skeleton`, **Line**: 355, **Description**: No blank lines allowed after function docstring (found 1)
- **File**: `torch/utils/model_dump/__init__.py`, **Entity**: `burn_in_info`, **Line**: 374, **Description**: No blank lines allowed after function docstring (found 1)
- **File**: `torch/utils/_sympy/interp.py`, **Entity**: ``, **Line**: 1, **Description**: 1 blank line required between summary line and description (found 0)
- **File**: `torch/utils/_sympy/interp.py`, **Entity**: ``, **Line**: 1, **Description**: First line should end with a period (not 'o')

cc @carljparker