edu.umass.cs.automan.adapters.mturk

MTurkAdapter

class MTurkAdapter extends AutomanAdapter

Linear Supertypes
AutomanAdapter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MTurkAdapter
  2. AutomanAdapter
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MTurkAdapter()

Type Members

  1. type CBDQ = MTCheckboxDistributionQuestion

    Definition Classes
    MTurkAdapterAutomanAdapter
  2. type CBQ = MTCheckboxQuestion

    Definition Classes
    MTurkAdapterAutomanAdapter
  3. type FTDQ = MTFreeTextDistributionQuestion

    Definition Classes
    MTurkAdapterAutomanAdapter
  4. type FTQ = MTFreeTextQuestion

    Definition Classes
    MTurkAdapterAutomanAdapter
  5. type MemoDB = MTMemo

    Definition Classes
    MTurkAdapterAutomanAdapter
  6. type RBDQ = MTRadioButtonDistributionQuestion

    Definition Classes
    MTurkAdapterAutomanAdapter
  7. type RBQ = MTRadioButtonQuestion

    Definition Classes
    MTurkAdapterAutomanAdapter

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def CBDQFactory(): MTCheckboxDistributionQuestion

    Attributes
    protected
    Definition Classes
    MTurkAdapterAutomanAdapter
  7. def CBQFactory(): MTCheckboxQuestion

    Attributes
    protected
    Definition Classes
    MTurkAdapterAutomanAdapter
  8. def CheckboxDistributionQuestion(init: (CBDQ) ⇒ Unit): question.MTCheckboxDistributionQuestion.O

    Definition Classes
    AutomanAdapter
  9. def CheckboxQuestion(init: (CBQ) ⇒ Unit): question.MTCheckboxQuestion.O

    Definition Classes
    AutomanAdapter
  10. def FTDQFactory(): MTFreeTextDistributionQuestion

    Attributes
    protected
    Definition Classes
    MTurkAdapterAutomanAdapter
  11. def FTQFactory(): MTFreeTextQuestion

    Attributes
    protected
    Definition Classes
    MTurkAdapterAutomanAdapter
  12. def FreeTextDistributionQuestion(init: (FTDQ) ⇒ Unit): question.MTFreeTextDistributionQuestion.O

    Definition Classes
    AutomanAdapter
  13. def FreeTextQuestion(init: (FTQ) ⇒ Unit): question.MTFreeTextQuestion.O

    Definition Classes
    AutomanAdapter
  14. def MemoDBFactory(): MemoDB

    Attributes
    protected
    Definition Classes
    MTurkAdapterAutomanAdapter
  15. def Option(id: Symbol, text: String, image_url: String): MTQuestionOption

  16. def Option(id: Symbol, text: String): MTQuestionOption

    Definition Classes
    MTurkAdapterAutomanAdapter
  17. def RBDQFactory(): MTRadioButtonDistributionQuestion

    Attributes
    protected
    Definition Classes
    MTurkAdapterAutomanAdapter
  18. def RBQFactory(): MTRadioButtonQuestion

    Attributes
    protected
    Definition Classes
    MTurkAdapterAutomanAdapter
  19. def RadioButtonDistributionQuestion(init: (RBDQ) ⇒ Unit): question.MTRadioButtonDistributionQuestion.O

    Definition Classes
    AutomanAdapter
  20. def RadioButtonQuestion(init: (RBQ) ⇒ Unit): question.MTRadioButtonQuestion.O

    Definition Classes
    AutomanAdapter
  21. var _database_path: String

    Attributes
    protected
    Definition Classes
    AutomanAdapter
  22. var _default_confidence: Double

    Attributes
    protected
    Definition Classes
    AutomanAdapter
  23. var _locale: Locale

    Attributes
    protected
    Definition Classes
    AutomanAdapter
  24. var _log_config: LogConfig

    Attributes
    protected
    Definition Classes
    AutomanAdapter
  25. var _memoizer: MemoDB

    Attributes
    protected
    Definition Classes
    AutomanAdapter
  26. var _plugins: List[Class[_ <: Plugin]]

    Attributes
    protected
    Definition Classes
    AutomanAdapter
  27. var _plugins_initialized: List[_ <: Plugin]

    Attributes
    protected
    Definition Classes
    AutomanAdapter
  28. def accept(ts: List[Task]): List[Task]

    Tell the backend to accept the answer associated with this ANSWERED task.

    Tell the backend to accept the answer associated with this ANSWERED task.

    ts

    ANSWERED tasks.

    returns

    ACCEPTED tasks.

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    MTurkAdapterAutomanAdapter
  29. def access_key_id: String

  30. def access_key_id_=(id: String): Unit

  31. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  32. def backend_budget(): BigDecimal

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    MTurkAdapterAutomanAdapter
  33. def backend_update_frequency_ms: Int

  34. def backend_update_frequency_ms_=(ms: Int): Unit

  35. def cancel(ts: List[Task]): List[Task]

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    MTurkAdapterAutomanAdapter
  36. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def close(): Unit

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    MTurkAdapterAutomanAdapter
  38. def database_path: String

    Definition Classes
    AutomanAdapter
  39. def database_path_=(path: String): Unit

    Definition Classes
    AutomanAdapter
  40. def default_confidence: Double

    Definition Classes
    AutomanAdapter
  41. def default_confidence_=(c: Double): Unit

    Definition Classes
    AutomanAdapter
  42. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  43. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  44. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  45. def getAllHITs: Array[HIT]

    Attributes
    protected[edu.umass.cs.automan]
  46. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  47. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  48. def init(): Unit

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    AutomanAdapter
  49. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  50. def locale: Locale

  51. def locale_=(l: Locale): Unit

  52. def log_verbosity: LogLevel

    Definition Classes
    AutomanAdapter
  53. def log_verbosity_=(v: LogLevel): Unit

    Definition Classes
    AutomanAdapter
  54. def logging: LogConfig

    Definition Classes
    AutomanAdapter
  55. def logging_=(lc: core.logging.LogConfig.Value): Unit

    Definition Classes
    AutomanAdapter
  56. def memo_delete(): Unit

    Definition Classes
    AutomanAdapter
  57. def memo_init(): Unit

    Definition Classes
    AutomanAdapter
  58. def memo_restore(q: Question): List[Task]

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    AutomanAdapter
  59. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  60. final def notify(): Unit

    Definition Classes
    AnyRef
  61. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  62. def plugins: List[Class[_ <: Plugin]]

    Definition Classes
    AutomanAdapter
  63. def plugins_=(ps: List[Class[_ <: Plugin]]): Unit

    Definition Classes
    AutomanAdapter
  64. def plugins_init(): Unit

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    AutomanAdapter
  65. def plugins_memo_register(): Unit

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    AutomanAdapter
  66. def plugins_shutdown(): Unit

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    AutomanAdapter
  67. def post(ts: List[Task], exclude_worker_ids: List[String]): List[Task]

    Post tasks on the backend, one task for each task.

    Post tasks on the backend, one task for each task. All tasks given should be marked READY. The method returns the complete list of tasks passed but with new states. Blocking. Invariant: the size of the list of input tasks == the size of the list of the output tasks.

    ts

    A list of new tasks.

    exclude_worker_ids

    Worker IDs to exclude, if any.

    returns

    A list of the posted tasks.

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    MTurkAdapterAutomanAdapter
  68. def question_shutdown_hook(q: Question): Unit

    This method is called by the scheduler after an answer has been accepted by the scheduler policy.

    This method is called by the scheduler after an answer has been accepted by the scheduler policy. Override it to provide a backend-specific shutdown implementation.

    q

    Question

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    MTurkAdapterAutomanAdapter
  69. def question_startup_hook(q: Question, t: Date): Unit

    This method is called by the scheduler after question initialization but before any tasks are scheduled.

    This method is called by the scheduler after question initialization but before any tasks are scheduled. Override it to provide a backend-specific startup implementation.

    q

    Question

    t

    Scheduler startup time

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    MTurkAdapterAutomanAdapter
  70. def reject(ts_reasons: List[(Task, String)]): List[Task]

    Tell the backend to reject the answer associated with this ANSWERED task.

    Tell the backend to reject the answer associated with this ANSWERED task.

    ts_reasons

    A list of pairs of ANSWERED tasks and their rejection reasons.

    returns

    REJECTED tasks.

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    MTurkAdapterAutomanAdapter
  71. def retriable_errors: Set[String]

  72. def retriable_errors_=(re: Set[String]): Unit

  73. def retrieve(ts: List[Task], current_time: Date): List[Task]

    Ask the backend to retrieve answers given a list of RUNNING tasks.

    Ask the backend to retrieve answers given a list of RUNNING tasks. Invariant: the size of the list of input tasks == the size of the list of the output tasks. The virtual_time parameter is ignored when not running in simulator mode.

    ts

    A list of RUNNING tasks.

    current_time

    The current virtual time.

    returns

    A list of RUNNING, RETRIEVED, or TIMEOUT tasks.

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    MTurkAdapterAutomanAdapter
  74. def retry_attempts: Int

  75. def retry_attempts_=(ra: Int): Unit

  76. def retry_delay_millis: Int

  77. def retry_delay_millis_=(rdm: Int): Unit

  78. def sandbox_mode: Boolean

  79. def sandbox_mode_=(b: Boolean): Unit

  80. def secret_access_key: String

  81. def secret_access_key_=(s: String): Unit

  82. def state_snapshot(): List[TaskSnapshot[_]]

    Definition Classes
    AutomanAdapter
  83. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  84. def toString(): String

    Definition Classes
    AnyRef → Any
  85. def use_mock: MockSetup

  86. def use_mock_=(mock_setup: MockSetup): Unit

  87. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  88. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  89. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AutomanAdapter

Inherited from AnyRef

Inherited from Any

Ungrouped