rafmacalaba commited on
Commit
5b37266
·
1 Parent(s): 1cee57d

fix: persist source field in saveAnnotation so leaderboard counts Added

Browse files
Files changed (1) hide show
  1. utils/storage.js +1 -0
utils/storage.js CHANGED
@@ -105,6 +105,7 @@ export async function saveAnnotation(annotation) {
105
  const datasetEntry = {
106
  dataset_name: annotation.dataset_name,
107
  dataset_tag: annotation.dataset_tag,
 
108
  annotator: annotation.annotator,
109
  timestamp: annotation.timestamp,
110
  description: annotation.description || null,
 
105
  const datasetEntry = {
106
  dataset_name: annotation.dataset_name,
107
  dataset_tag: annotation.dataset_tag,
108
+ source: annotation.source || 'human',
109
  annotator: annotation.annotator,
110
  timestamp: annotation.timestamp,
111
  description: annotation.description || null,