|
|
@@ -68,9 +68,6 @@
|
|
|
<Button @click="runTest(false)" :disabled="buttonDisabled">
|
|
|
无欢乐值
|
|
|
</Button>
|
|
|
- <Button @click="verifyData" :disabled="buttonDisabled">
|
|
|
- 验证数据
|
|
|
- </Button>
|
|
|
<Button @click="filterLive" :disabled="buttonDisabled">
|
|
|
筛选滚球
|
|
|
</Button>
|
|
|
@@ -182,20 +179,6 @@ const runTest = (hasSolutions=true) => {
|
|
|
console.log('gamesRelation', dataList);
|
|
|
}
|
|
|
|
|
|
-const verifyData = () => {
|
|
|
- const solutions = gamesSolution.value.solutions;
|
|
|
- const invalidSolutions = [];
|
|
|
- solutions.forEach((solution) => {
|
|
|
- const { sol: { win_average, win_profit_rate } } = solution;
|
|
|
- if (win_average * win_profit_rate < 0) {
|
|
|
- invalidSolutions.push(solution)
|
|
|
- }
|
|
|
- });
|
|
|
- dataCount.value = `${invalidSolutions.length}`;
|
|
|
- showDataPretty(invalidSolutions, 2);
|
|
|
- console.log('invalidSolutions', invalidSolutions);
|
|
|
-}
|
|
|
-
|
|
|
const filterLive = () => {
|
|
|
const solutions = gamesSolution.value.solutions;
|
|
|
const liveSolutions = solutions.filter((solution) => {
|