app/modules/label_extractors/galaxy_zoo.rb
# extract the keys from the reduction data payload hash
# and convert the keys to the workflow question tasks
#
# e.g. workflow type (GZ) are question type 'decision tree' tasks
# looking at the 'T0' task it correlates to 3 exclusive answers:
# 0 (smooth)
# 1 (features or disk)
# 2 (star or artifact)
#
# then combined with the label prefix used to identify the correlated task name for Zoobot
extract the keys from the reduction data payload hash
and convert the keys to the workflow question tasks



then combined with the label prefix used to identify the correlated task name for Zoobot
extract the keys from the reduction data payload hash and convert the keys to the workflow question tasks then combined with the label prefix used to identify the correlated task name for Zoobot
def extract(data_hash)
      data_hash.transform_keys do |key|
        "#{task_prefix_label}-#{data_release_suffix}_#{data_payload_label(key)}"
      end
    end
def extract ( data_hash ) data_hash . transform_keys do | key | "#{task_prefix_label}-#{data_release_suffix}_#{data_payload_label(key)}" end end
extract the keys from the reduction data payload hash
and convert the keys to the workflow question tasks
extract the keys from the reduction data payload hash and convert the keys to the workflow question tasks
# create the lable key used for column headers in the derived training catalogues # note the hyphen and underscore formatting, see Zoobot lable schema for more details
data_hash