codalab / codalab/codabench

Dump issue: dates are saved with exact time

Open
#2,490 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Beginner Bug
Dominant language
Python
Stars
176
Forks
74
Avg merge
5d 3h
Merged PRs (30d)
21

Description

When making a dump, the dates (phases' start_date and end_date) are saved with only the date (YYYY-MM-DD), not the time (e.g. 3:59pm).

When uploading the dump, we sometimes get an error because the same date is used for ending one phase and starting the next one.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the dump serialization and upload handling for phases' start_date and end_date fields. Reproduce the issue with adjacent phases whose boundary times differ, then verify that dumps retain the exact times and upload without the date-boundary error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.