edu
.
umass
.
cs
.
automan
.
adapters
.
mturk
DSL
Related Doc:
package mturk
object
DSL
extends
DSL
Linear Supertypes
DSL
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
DSL
DSL
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Type Members
type
Answer
[
T
]
=
core.answer.Answer
[
T
]
Definition Classes
DSL
type
Answers
[
T
]
=
core.answer.Answers
[
T
]
Definition Classes
DSL
type
AsymmetricCI
=
core.question.confidence.AsymmetricCI
Definition Classes
DSL
type
DistributionOutcome
[
T
]
=
VectorOutcome
[
T
]
Definition Classes
DSL
type
Estimate
=
core.answer.Estimate
Definition Classes
DSL
type
IncompleteAnswers
[
T
]
=
core.answer.IncompleteAnswers
[
T
]
Definition Classes
DSL
type
LowConfidenceAnswer
[
T
]
=
core.answer.LowConfidenceAnswer
[
T
]
Definition Classes
DSL
type
LowConfidenceEstimate
=
core.answer.LowConfidenceEstimate
Definition Classes
DSL
type
MTQuestionOption
=
question.MTQuestionOption
type
Outcome
[
T
]
=
core.answer.Outcome
[
T
]
Definition Classes
DSL
type
OverBudgetAnswer
[
T
]
=
core.answer.OverBudgetAnswer
[
T
]
Definition Classes
DSL
type
OverBudgetAnswers
[
T
]
=
core.answer.OverBudgetAnswers
[
T
]
Definition Classes
DSL
type
OverBudgetEstimate
=
core.answer.OverBudgetEstimate
Definition Classes
DSL
type
ScalarOutcome
[
T
]
=
core.answer.ScalarOutcome
[
T
]
Definition Classes
DSL
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
val
Answer
:
core.answer.Answer
.type
Definition Classes
DSL
val
Answers
:
core.answer.Answers
.type
Definition Classes
DSL
val
Estimate
:
core.answer.Estimate
.type
Definition Classes
DSL
val
IncompleteAnswers
:
core.answer.IncompleteAnswers
.type
Definition Classes
DSL
val
LogConfig
:
core.logging.LogConfig
.type
Definition Classes
DSL
val
LowConfidenceAnswer
:
core.answer.LowConfidenceAnswer
.type
Definition Classes
DSL
val
LowConfidenceEstimate
:
core.answer.LowConfidenceEstimate
.type
Definition Classes
DSL
val
OverBudgetAnswer
:
core.answer.OverBudgetAnswer
.type
Definition Classes
DSL
val
OverBudgetAnswers
:
core.answer.OverBudgetAnswers
.type
Definition Classes
DSL
val
OverBudgetEstimate
:
core.answer.OverBudgetEstimate
.type
Definition Classes
DSL
val
SymmetricCI
:
core.question.confidence.SymmetricCI
.type
Definition Classes
DSL
val
UnconstrainedCI
:
core.question.confidence.UnconstrainedCI
.type
Definition Classes
DSL
val
Utilities
:
core.util.Utilities
.type
Definition Classes
DSL
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
automan
:
automan.automan
.type
Definition Classes
DSL
def
checkbox
[
A <:
AutomanAdapter
,
O
]
(
confidence:
Double
=
MagicNumbers.DefaultConfidence
,
budget:
BigDecimal
=
MagicNumbers.DefaultBudget
,
dont_reject:
Boolean
=
true
,
dry_run:
Boolean
=
false
,
image_alt_text:
String
=
null
,
image_url:
String
=
null
,
initial_worker_timeout_in_s:
Int
=
...
,
minimum_spawn_policy:
MinimumSpawnPolicy
=
null
,
mock_answers:
Iterable
[
MockAnswer
[
Set
[
Symbol
]]] =
null
,
options:
List
[
AnyRef
]
,
pay_all_on_failure:
Boolean
=
true
,
question_timeout_multiplier:
Double
=
...
,
text:
String
,
title:
String
=
null
,
wage:
BigDecimal
=
MagicNumbers.USFederalMinimumWage
)
(
implicit
a:
A
)
:
ScalarOutcome
[
Set
[
Symbol
]]
Definition Classes
DSL
def
checkboxes
[
A <:
AutomanAdapter
,
O
]
(
sample_size:
Int
=
...
,
budget:
BigDecimal
=
MagicNumbers.DefaultBudget
,
dont_reject:
Boolean
=
true
,
dry_run:
Boolean
=
false
,
image_alt_text:
String
=
null
,
image_url:
String
=
null
,
initial_worker_timeout_in_s:
Int
=
...
,
minimum_spawn_policy:
MinimumSpawnPolicy
=
null
,
mock_answers:
Iterable
[
MockAnswer
[
Set
[
Symbol
]]] =
null
,
options:
List
[
AnyRef
]
,
pay_all_on_failure:
Boolean
=
true
,
question_timeout_multiplier:
Double
=
...
,
text:
String
,
title:
String
=
null
,
wage:
BigDecimal
=
MagicNumbers.USFederalMinimumWage
)
(
implicit
a:
A
)
:
VectorOutcome
[
Set
[
Symbol
]]
Definition Classes
DSL
def
choice
(
key:
Symbol
,
text:
String
,
image_url:
String
)
(
implicit
mt:
MTurkAdapter
)
:
MTQuestionOption
def
choice
(
key:
Symbol
,
text:
String
)
(
implicit
mt:
MTurkAdapter
)
:
MTQuestionOption
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
estimate
[
A <:
AutomanAdapter
]
(
confidence_interval:
ConfidenceInterval
=
UnconstrainedCI()
,
confidence:
Double
=
MagicNumbers.DefaultConfidence
,
budget:
BigDecimal
=
MagicNumbers.DefaultBudget
,
default_sample_size:
Int
=
1
,
dont_reject:
Boolean
=
true
,
dry_run:
Boolean
=
false
,
estimator: (
Seq
[
Double
]) ⇒
Double
=
null
,
image_alt_text:
String
=
null
,
image_url:
String
=
null
,
initial_worker_timeout_in_s:
Int
=
...
,
max_value:
Double
=
Double.MaxValue
,
minimum_spawn_policy:
MinimumSpawnPolicy
=
null
,
min_value:
Double
=
Double.MinValue
,
mock_answers:
Iterable
[
MockAnswer
[
Double
]] =
null
,
pay_all_on_failure:
Boolean
=
true
,
question_timeout_multiplier:
Double
=
...
,
text:
String
,
title:
String
=
null
,
wage:
BigDecimal
=
MagicNumbers.USFederalMinimumWage
)
(
implicit
a:
A
)
:
EstimationOutcome
Definition Classes
DSL
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
freetext
[
A <:
AutomanAdapter
]
(
allow_empty_pattern:
Boolean
=
false
,
confidence:
Double
=
MagicNumbers.DefaultConfidence
,
before_filter: (
String
) ⇒
String
=
(a: String) => a
,
budget:
BigDecimal
=
MagicNumbers.DefaultBudget
,
dont_reject:
Boolean
=
true
,
dry_run:
Boolean
=
false
,
image_alt_text:
String
=
null
,
image_url:
String
=
null
,
initial_worker_timeout_in_s:
Int
=
...
,
minimum_spawn_policy:
MinimumSpawnPolicy
=
null
,
mock_answers:
Iterable
[
MockAnswer
[
String
]] =
null
,
pay_all_on_failure:
Boolean
=
true
,
pattern:
String
,
pattern_error_text:
String
=
null
,
question_timeout_multiplier:
Double
=
...
,
text:
String
,
title:
String
=
null
,
wage:
BigDecimal
=
MagicNumbers.USFederalMinimumWage
)
(
implicit
a:
A
)
:
ScalarOutcome
[
String
]
Definition Classes
DSL
def
freetexts
[
A <:
AutomanAdapter
]
(
allow_empty_pattern:
Boolean
=
false
,
sample_size:
Int
=
...
,
before_filter: (
String
) ⇒
String
=
(a: String) => a
,
budget:
BigDecimal
=
MagicNumbers.DefaultBudget
,
dont_reject:
Boolean
=
true
,
dry_run:
Boolean
=
false
,
image_alt_text:
String
=
null
,
image_url:
String
=
null
,
initial_worker_timeout_in_s:
Int
=
...
,
minimum_spawn_policy:
MinimumSpawnPolicy
=
null
,
mock_answers:
Iterable
[
MockAnswer
[
String
]] =
null
,
pay_all_on_failure:
Boolean
=
true
,
pattern:
String
=
null
,
pattern_error_text:
String
=
null
,
question_timeout_multiplier:
Double
=
...
,
text:
String
,
title:
String
=
null
,
wage:
BigDecimal
=
MagicNumbers.USFederalMinimumWage
)
(
implicit
a:
A
)
:
VectorOutcome
[
String
]
Definition Classes
DSL
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
mturk
(
access_key_id:
String
,
secret_access_key:
String
,
sandbox_mode:
Boolean
=
false
,
database_path:
String
=
null
,
use_mock:
MockSetup
=
null
,
logging:
LogConfig
=
LogConfig.TRACE_MEMOIZE
,
log_verbosity:
LogLevel
=
LogLevelInfo()
)
:
MTurkAdapter
def
multiestimate
[
A <:
AutomanAdapter
]
(
dimensions:
Array
[
Dimension
]
,
confidence:
Double
=
MagicNumbers.DefaultConfidence
,
budget:
BigDecimal
=
MagicNumbers.DefaultBudget
,
default_sample_size:
Int
=
1
,
dont_reject:
Boolean
=
true
,
dry_run:
Boolean
=
false
,
image_alt_text:
String
=
null
,
image_url:
String
=
null
,
initial_worker_timeout_in_s:
Int
=
...
,
minimum_spawn_policy:
MinimumSpawnPolicy
=
null
,
mock_answers:
Iterable
[
MockAnswer
[
Array
[
Double
]]] =
null
,
pay_all_on_failure:
Boolean
=
true
,
question_timeout_multiplier:
Double
=
...
,
text:
String
,
title:
String
=
null
,
wage:
BigDecimal
=
MagicNumbers.USFederalMinimumWage
)
(
implicit
a:
A
)
:
MultiEstimationOutcome
Definition Classes
DSL
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
implicit
def
product2OptionList
(
p:
Product
)
:
List
[
MTQuestionOption
]
def
radio
[
A <:
AutomanAdapter
,
O
]
(
confidence:
Double
=
MagicNumbers.DefaultConfidence
,
budget:
BigDecimal
=
MagicNumbers.DefaultBudget
,
dont_reject:
Boolean
=
true
,
dry_run:
Boolean
=
false
,
image_alt_text:
String
=
null
,
image_url:
String
=
null
,
initial_worker_timeout_in_s:
Int
=
...
,
minimum_spawn_policy:
MinimumSpawnPolicy
=
null
,
mock_answers:
Iterable
[
MockAnswer
[
Symbol
]] =
null
,
options:
List
[
AnyRef
]
,
pay_all_on_failure:
Boolean
=
true
,
question_timeout_multiplier:
Double
=
...
,
text:
String
,
title:
String
=
null
,
wage:
BigDecimal
=
MagicNumbers.USFederalMinimumWage
)
(
implicit
a:
A
)
:
ScalarOutcome
[
Symbol
]
Definition Classes
DSL
def
radios
[
A <:
AutomanAdapter
,
O
]
(
sample_size:
Int
=
...
,
budget:
BigDecimal
=
MagicNumbers.DefaultBudget
,
dont_reject:
Boolean
=
true
,
dry_run:
Boolean
=
false
,
image_alt_text:
String
=
null
,
image_url:
String
=
null
,
initial_worker_timeout_in_s:
Int
=
...
,
minimum_spawn_policy:
MinimumSpawnPolicy
=
null
,
mock_answers:
Iterable
[
MockAnswer
[
Symbol
]] =
null
,
options:
List
[
AnyRef
]
,
pay_all_on_failure:
Boolean
=
true
,
question_timeout_multiplier:
Double
=
...
,
text:
String
,
title:
String
=
null
,
wage:
BigDecimal
=
MagicNumbers.USFederalMinimumWage
)
(
implicit
a:
A
)
:
VectorOutcome
[
Symbol
]
Definition Classes
DSL
implicit
def
str2MTQuestionOption
(
s:
String
)
(
implicit
mt:
MTurkAdapter
)
:
MTQuestionOption
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
implicit
def
tupStrURL2MTQuestionOption
(
opt: (
String
,
String
)
)
(
implicit
mt:
MTurkAdapter
)
:
MTQuestionOption
implicit
def
tupSymbString2MTQuestionOption
(
opt: (
Symbol
,
String
)
)
(
implicit
mt:
MTurkAdapter
)
:
MTQuestionOption
implicit
def
tupWithURL2MTQuestionOption
(
opt: (
Symbol
,
String
,
String
)
)
(
implicit
mt:
MTurkAdapter
)
:
MTQuestionOption
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
DSL
Inherited from
AnyRef
Inherited from
Any
Ungrouped