Make changes per James's comments
This commit is contained in:
parent
030cf36a21
commit
83dff15706
|
@ -53,7 +53,6 @@ export function compute(contract: Contract) {
|
||||||
const probPercent = Math.round(prob * 100) + '%'
|
const probPercent = Math.round(prob * 100) + '%'
|
||||||
const startProb =
|
const startProb =
|
||||||
startPool.YES ** 2 / (startPool.YES ** 2 + startPool.NO ** 2)
|
startPool.YES ** 2 / (startPool.YES ** 2 + startPool.NO ** 2)
|
||||||
const startProbPercent = Math.round(startProb * 100) + '%'
|
|
||||||
const createdDate = dayjs(createdTime).format('MMM D')
|
const createdDate = dayjs(createdTime).format('MMM D')
|
||||||
const resolvedDate = isResolved
|
const resolvedDate = isResolved
|
||||||
? dayjs(resolutionTime).format('MMM D')
|
? dayjs(resolutionTime).format('MMM D')
|
||||||
|
|
|
@ -149,6 +149,10 @@ ${TEST_VALUE}
|
||||||
<div className="form-control">
|
<div className="form-control">
|
||||||
<label className="label">
|
<label className="label">
|
||||||
<span className="label-text">Prediction</span>
|
<span className="label-text">Prediction</span>
|
||||||
|
<div className="text-sm text-gray-500 ml-1">
|
||||||
|
One prediction per line, each formatted like "The sun will rise
|
||||||
|
tomorrow: 99%"
|
||||||
|
</div>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<textarea
|
<textarea
|
||||||
|
|
Loading…
Reference in New Issue
Block a user