Skip to content

Add Jenkins ID to submission table - #159

Merged
mschrimpf merged 8 commits into
masterfrom
hotfix_dev_db_submission_p_key
Mar 30, 2023
Merged

mschrimpf merged 8 commits into
masterfrom
hotfix_dev_db_submission_p_key

Conversation

@mike-ferguson

Copy link
Copy Markdown
Member

Adds a jenkins_id column to submission table in DB, auto-increments the primary key (ID)

Some things to note:

  1. The reason for this change is that language models now have their own Jenkins jobs that start at 0. If no changes were made, then the submission IDs (Jenkins job #s) for language would start to override the vision entries.
  2. As of 3/9/2023, all submissions 6756 and below will have their old primary key (the previousIDcolumn that was generated automatically by Django) duplicated in the new jenkins_id column. This preserves old IDs for models before language integration (models 6756 and below).
  3. ID column now will start auto-incrementing at 6756
  4. ID and jenkins_id column values will be identical up until 6756 ID. after that, they will diverge due to language models being scored.
  5. The purpose of the jenkins_id column is simply to preserve that information in case we need it

Comment thread benchmarks/models.py Resolved
Comment thread benchmarks/models.py Resolved
Comment thread benchmarks/models.py Resolved
@mike-ferguson mike-ferguson changed the title Hotfix: add Jenkins ID to submission table Add Jenkins ID to submission table Mar 15, 2023
@mike-ferguson
mike-ferguson requested a review from mschrimpf March 15, 2023 19:13
Comment thread benchmarks/models.py Resolved
@mschrimpf
mschrimpf requested a review from kvfairchild March 30, 2023 16:35
@mschrimpf
mschrimpf merged commit c734e55 into master Mar 30, 2023
@mschrimpf
mschrimpf deleted the hotfix_dev_db_submission_p_key branch March 30, 2023 16:45
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