Skip to content

feat: added the new datasets - #1249

Open
chakravarthik27 wants to merge 7 commits into
mainfrom
release/2.8.0
Open

feat: added the new datasets#1249
chakravarthik27 wants to merge 7 commits into
mainfrom
release/2.8.0

Conversation

@chakravarthik27

Copy link
Copy Markdown
Collaborator
  • HeadQA
  • MedExQA

@chakravarthik27 chakravarthik27 self-assigned this Aug 3, 2026

@blidiselalin blidiselalin left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are unit tests not needed for this 2 new evaluations?


print(f"Successfully downloaded and extracted to {extract_to}")

except requests.exceptions.RequestException as e:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix ensure_download_and_unzip error handling -> Exceptions are caught and only printed; the function returns None and callers proceed as if the download succeeded. If the directory exists but is incomplete or corrupted from a previous interrupted run, the code silently reuses it.


else:
# 2. Download the file (Removed stream=True since response.content reads all at once)
response = requests.get(url)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add timeouts, retries, and validation to the network download

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants