Data

DataType

DataFile

class comic.eyra.models.DataFile(*args, **kwargs)[source]

Represents a file

Parameters
  • id (UUIDField) – UUID (primary key)

  • created (DateTimeField) – Moment of creation

  • modified (DateTimeField) – Moment of last modification

  • creator_id (ForeignKey) – Creator of this DataFile

  • name (CharField) – Name of this file

  • file (FileField) – This files contents (the bits)

  • sha (CharField) – Reserved for SHA checksum (currently not used)

  • short_description (TextField) – Short description of this file in plain text.

  • long_description (TextField) – Description of this file in markdown.

  • size (BigIntegerField) – The size of this file in bytes

DataSet

class comic.eyra.models.DataSet(*args, **kwargs)[source]

DataSets are used in Benchmarks.

Parameters
  • id (UUIDField) – UUID (primary key)

  • created (DateTimeField) – Moment of creation

  • modified (DateTimeField) – Moment of last modification

  • creator_id (ForeignKey) – Creator of this DataSet

  • version (CharField) – The Dataset version

  • name (CharField) – The name of this dataset

  • short_description (TextField) – Short description of this data set in plaintext.

  • long_description (TextField) – Long description of this data set in markdown.

  • card_image_url (CharField) – Image used in the DataSet card component

  • card_image_alttext (CharField) – alt attribute for image in DataSet card component

  • banner_image_url (CharField) – (wide) image used as a banner in DataSet detail page

  • banner_image_alttext (CharField) – alt attribute for image in DataSet details header

  • public_test_data_file_id (ForeignKey) – DataFile used as ‘test_data’ input in public submission container

  • public_ground_truth_data_file_id (ForeignKey) – DataFile used as ‘ground_truth’ input in public evaluation container

  • public_test_data_description (TextField) – Description of the test data.

  • public_test_data_sampling_method (TextField) – Sampling method of the test data.

  • private_test_data_file_id (ForeignKey) – DataFile used as ‘test_data’ input in private submission container

  • private_ground_truth_data_file_id (ForeignKey) – DataFile used as ‘ground_truth’ input in private evaluation container

  • private_test_data_description (TextField) – Description of the test data.

  • private_test_data_sampling_method (TextField) – Sampling method of the test data.

  • participant_data_description (TextField) – Description of the data.

  • participant_data_sampling_method (TextField) – Sampling method of the data.