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: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. def CBDQFactory(): MTCheckboxDistributionQuestion

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

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

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

    Definition Classes
    AutomanAdapter
  8. def FTDQFactory(): MTFreeTextDistributionQuestion

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

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

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

    Definition Classes
    AutomanAdapter
  12. def MemoDBFactory(): MemoDB

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

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

    Definition Classes
    MTurkAdapterAutomanAdapter
  15. def RBDQFactory(): MTRadioButtonDistributionQuestion

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

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

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

    Definition Classes
    AutomanAdapter
  19. var _database_path: String

    Attributes
    protected
    Definition Classes
    AutomanAdapter
  20. var _default_confidence: Double

    Attributes
    protected
    Definition Classes
    AutomanAdapter
  21. var _locale: Locale

    Attributes
    protected
    Definition Classes
    AutomanAdapter
  22. var _log_config: LogConfig

    Attributes
    protected
    Definition Classes
    AutomanAdapter
  23. var _memoizer: MemoDB

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

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

    Attributes
    protected
    Definition Classes
    AutomanAdapter
  26. 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
  27. def access_key_id: String

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

  29. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  30. def backend_budget(): BigDecimal

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

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

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

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

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

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

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

    Definition Classes
    AutomanAdapter
  38. def default_confidence: Double

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

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

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

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

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

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

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

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

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

    Definition Classes
    Any
  48. def locale: Locale

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

  50. def log_verbosity: LogLevel

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

    Definition Classes
    AutomanAdapter
  52. def logging: LogConfig

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

    Definition Classes
    AutomanAdapter
  54. def memo_delete(): Unit

    Definition Classes
    AutomanAdapter
  55. def memo_init(): Unit

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

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

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

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

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

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

    Definition Classes
    AutomanAdapter
  62. def plugins_init(): Unit

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

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

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    AutomanAdapter
  65. 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
  66. 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
  67. 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
  68. 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
  69. def retriable_errors: Set[String]

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

  71. 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
  72. def retry_attempts: Int

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

  74. def retry_delay_millis: Int

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

  76. def sandbox_mode: Boolean

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

  78. def secret_access_key: String

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

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

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

    Definition Classes
    AnyRef
  82. def toString(): String

    Definition Classes
    AnyRef → Any
  83. def use_mock: MockSetup

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

  85. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AutomanAdapter

Inherited from AnyRef

Inherited from Any

Ungrouped