Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
john-b-yang committed Jul 8, 2024
1 parent 35e7de4 commit 2468ca2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion swebench/collect/get_tasks_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def main(
repos: list,
path_prs: str,
path_tasks: str,
cutoff_date: str|None = None
cutoff_date: str = None,
):
"""
Spawns multiple threads given multiple GitHub tokens for collecting fine tuning data
Expand Down
8 changes: 4 additions & 4 deletions swebench/collect/print_pulls.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
def log_all_pulls(
repo: Repo,
output: str,
max_pulls: int|None=None,
cutoff_date: str|None=None,
max_pulls: int|None = None,
cutoff_date: str = None,
) -> None:
"""
Iterate over all pull requests in a repository and log them to a file
Expand All @@ -51,8 +51,8 @@ def main(
repo_name: str,
output: str,
token: Optional[str] = None,
max_pulls: int|None=None,
cutoff_date: str|None=None,
max_pulls: int|None = None,
cutoff_date: str = None,
):
"""
Logic for logging all pull requests in a repository
Expand Down

0 comments on commit 2468ca2

Please sign in to comment.