Class/Object

edu.umass.cs.automan.adapters.mturk

MTurkAdapter

Related Docs: object MTurkAdapter | package mturk

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MTurkAdapter()

    Permalink

Type Members

  1. type CBDQ = MTCheckboxVectorQuestion

    Permalink
    Definition Classes
    MTurkAdapterAutomanAdapter
  2. type CBQ = MTCheckboxQuestion

    Permalink
    Definition Classes
    MTurkAdapterAutomanAdapter
  3. type EQ = MTEstimationQuestion

    Permalink
    Definition Classes
    MTurkAdapterAutomanAdapter
  4. type FTDQ = MTFreeTextVectorQuestion

    Permalink
    Definition Classes
    MTurkAdapterAutomanAdapter
  5. type FTQ = MTFreeTextQuestion

    Permalink
    Definition Classes
    MTurkAdapterAutomanAdapter
  6. type MEQ = MTMultiEstimationQuestion

    Permalink
    Definition Classes
    MTurkAdapterAutomanAdapter
  7. type MemoDB = MTMemo

    Permalink
    Definition Classes
    MTurkAdapterAutomanAdapter
  8. type RBDQ = MTRadioButtonVectorQuestion

    Permalink
    Definition Classes
    MTurkAdapterAutomanAdapter
  9. type RBQ = MTRadioButtonQuestion

    Permalink
    Definition Classes
    MTurkAdapterAutomanAdapter

Value Members

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AutomanAdapter
  8. def EQFactory(): MTEstimationQuestion

    Permalink
    Attributes
    protected
    Definition Classes
    MTurkAdapterAutomanAdapter
  9. def EstimationQuestion(init: (EQ) ⇒ Unit): question.MTEstimationQuestion.O

    Permalink
    Definition Classes
    AutomanAdapter
  10. def FTDQFactory(): MTFreeTextVectorQuestion

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

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

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

    Permalink
    Definition Classes
    AutomanAdapter
  14. def MEQFactory(): MTMultiEstimationQuestion

    Permalink
    Attributes
    protected
    Definition Classes
    MTurkAdapterAutomanAdapter
  15. def MemoDBFactory(): MemoDB

    Permalink
    Attributes
    protected
    Definition Classes
    MTurkAdapterAutomanAdapter
  16. def MultiEstimationQuestion(init: (MEQ) ⇒ Unit): question.MTMultiEstimationQuestion.O

    Permalink
    Definition Classes
    AutomanAdapter
  17. def Option(id: Symbol, text: String, image_url: String): MTQuestionOption

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

    Permalink
    Definition Classes
    MTurkAdapterAutomanAdapter
  19. def RBDQFactory(): MTRadioButtonVectorQuestion

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

    Permalink
    Attributes
    protected
    Definition Classes
    MTurkAdapterAutomanAdapter
  21. def RadioButtonDistributionQuestion(init: (RBDQ) ⇒ Unit): question.MTRadioButtonVectorQuestion.O

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

    Permalink
    Definition Classes
    AutomanAdapter
  23. var _database_path: String

    Permalink
    Attributes
    protected
    Definition Classes
    AutomanAdapter
  24. var _default_confidence: Double

    Permalink
    Attributes
    protected
    Definition Classes
    AutomanAdapter
  25. var _in_mem_db: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    AutomanAdapter
  26. var _locale: Locale

    Permalink
    Attributes
    protected
    Definition Classes
    AutomanAdapter
  27. var _log_config: LogConfig

    Permalink
    Attributes
    protected
    Definition Classes
    AutomanAdapter
  28. var _memoizer: MemoDB

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    AutomanAdapter
  31. var _ref_cache: Map[String, List[Outcome[_]]]

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

    Permalink

    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

    Some ACCEPTED tasks if successful.

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

    Permalink
  34. def access_key_id_=(id: String): Unit

    Permalink
  35. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  36. def backend_budget(): Option[BigDecimal]

    Permalink

    Get the budget from the backend.

    Get the budget from the backend.

    returns

    Some budget if successful.

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

    Permalink
  38. def backend_update_frequency_ms_=(ms: Int): Unit

    Permalink
  39. def cancel(ts: List[Task], toState: core.scheduler.SchedulerState.Value): Option[List[Task]]

    Permalink

    Cancel the given tasks.

    Cancel the given tasks.

    ts

    A list of tasks to cancel.

    toState

    Which scheduler state tasks should become after cancellation.

    returns

    Some list of cancelled tasks if successful.

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

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

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

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

    Permalink
    Definition Classes
    AutomanAdapter
  44. def default_confidence: Double

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  52. def in_memory_db: Boolean

    Permalink
    Definition Classes
    AutomanAdapter
  53. def in_memory_db_=(use_memdb: Boolean): Unit

    Permalink
    Definition Classes
    AutomanAdapter
  54. def init(): Unit

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

    Permalink
    Definition Classes
    Any
  56. def locale: Locale

    Permalink
  57. def locale_=(l: Locale): Unit

    Permalink
  58. def log_verbosity: LogLevel

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

    Permalink
    Definition Classes
    AutomanAdapter
  60. def logging: LogConfig

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

    Permalink
    Definition Classes
    AutomanAdapter
  62. def memo_delete(): Unit

    Permalink
    Definition Classes
    AutomanAdapter
  63. def memo_init(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
  66. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  67. final def notifyAll(): Unit

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

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

    Permalink
    Definition Classes
    AutomanAdapter
  70. def plugins_init(): Unit

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

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

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

    Permalink

    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

    Some list of the posted tasks if successful.

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

    Permalink

    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
    AutomanAdapter
  75. def question_startup_hook(q: Question, t: Date): Unit

    Permalink

    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
  76. def reject(ts_reasons: List[(Task, String)]): Option[List[Task]]

    Permalink

    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

    Some REJECTED tasks if succesful.

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    MTurkAdapterAutomanAdapter
  77. def requesterService: Option[RequesterService]

    Permalink
    Attributes
    protected[edu.umass.cs.automan]
  78. def retrieve(ts: List[Task], current_time: Date): Option[List[Task]]

    Permalink

    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

    Some list of RUNNING, RETRIEVED, or TIMEOUT tasks if successful.

    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    MTurkAdapterAutomanAdapter
  79. def sandbox_mode: Boolean

    Permalink
  80. def sandbox_mode_=(b: Boolean): Unit

    Permalink
  81. def schedule[Q <: Question](q: Q, init: (Q) ⇒ Unit): core.AutomanAdapter.schedule.Q.O

    Permalink
    Attributes
    protected[edu.umass.cs.automan]
    Definition Classes
    AutomanAdapter
  82. def secret_access_key: String

    Permalink
  83. def secret_access_key_=(s: String): Unit

    Permalink
  84. def state_snapshot(): List[TaskSnapshot[_]]

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

    Permalink
    Definition Classes
    AnyRef
  86. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  87. def use_mock: MockSetup

    Permalink
  88. def use_mock_=(mock_setup: MockSetup): Unit

    Permalink
  89. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AutomanAdapter

Inherited from AnyRef

Inherited from Any

Ungrouped