1 /*
2  *  Make.org Core API
3  *  Copyright (C) 2018 Make.org
4  *
5  * This program is free software: you can redistribute it and/or modify
6  *  it under the terms of the GNU Affero General Public License as
7  *  published by the Free Software Foundation, either version 3 of the
8  *  License, or (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU Affero General Public License for more details.
14  *
15  *  You should have received a copy of the GNU Affero General Public License
16  *  along with this program.  If not, see <https://www.gnu.org/licenses/>.
17  *
18  */
19 
20 package org.make.core.proposal
21 
22 import grizzled.slf4j.Logging
23 import org.make.core.proposal.{Qualification, VotingOptions}
24 import org.make.core.proposal.QualificationKey._
25 
26 object LegacyVotesConverter extends Logging {
27 
28   private def findVoteOrFallback(votes: Seq[Vote], key: VoteKey): Vote =
29     votes.find(_.key == key) match {
30       case Some(baseVote) => baseVote
31       case None =>
32 //        logger.warn(s"No $key vote found in: ${votes.mkString(", ")}")
33         Vote(key, 0, 0, 0, 0)
34     }
35 
36   private def findQualificationOrFallback(qualifications: Seq[Qualification], key: QualificationKey): Qualification =
37     qualifications.find(_.key == key) match {
38       case Some(qualification) => qualification
39       case None =>
40 //        logger.warn(s"No $key qualification found in: ${qualifications.mkString(", ")}")
41         Qualification(key, 0, 0, 0, 0)
42     }
43 
44   def convertSeqToVotingOptions(votes: Seq[Vote]): VotingOptions = {
45     val agreeOption = findVoteOrFallback(votes, VoteKey.Agree)
46     val neutralOption = findVoteOrFallback(votes, VoteKey.Neutral)
47     val disagreeOption = findVoteOrFallback(votes, VoteKey.Disagree)
48     VotingOptions(
49       AgreeWrapper(
50         vote = agreeOption.copy(qualifications = Seq.empty),
51         likeIt = findQualificationOrFallback(agreeOption.qualifications, LikeIt),
52         platitudeAgree = findQualificationOrFallback(agreeOption.qualifications, PlatitudeAgree),
53         doable = findQualificationOrFallback(agreeOption.qualifications, Doable)
54       ),
55       NeutralWrapper(
56         vote = neutralOption.copy(qualifications = Seq.empty),
57         noOpinion = findQualificationOrFallback(neutralOption.qualifications, NoOpinion),
58         doNotUnderstand = findQualificationOrFallback(neutralOption.qualifications, DoNotUnderstand),
59         doNotCare = findQualificationOrFallback(neutralOption.qualifications, DoNotCare)
60       ),
61       DisagreeWrapper(
62         vote = disagreeOption.copy(qualifications = Seq.empty),
63         impossible = findQualificationOrFallback(disagreeOption.qualifications, Impossible),
64         noWay = findQualificationOrFallback(disagreeOption.qualifications, NoWay),
65         platitudeDisagree = findQualificationOrFallback(disagreeOption.qualifications, PlatitudeDisagree)
66       )
67     )
68   }
69 }
Line Stmt Id Pos Tree Symbol Tests Code
29 3747 1053 - 1065 Apply java.lang.Object.== org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest x$1.key.==(key)
29 1872 1042 - 1066 Apply scala.collection.IterableOnceOps.find org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest votes.find(((x$1: org.make.core.proposal.Vote) => x$1.key.==(key)))
33 5478 1232 - 1233 Literal <nosymbol> org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest 0
33 5194 1223 - 1224 Literal <nosymbol> org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest 0
33 1179 1229 - 1230 Literal <nosymbol> org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest 0
33 3685 1213 - 1213 Select org.make.core.proposal.Vote.apply$default$6 org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest Vote.apply$default$6
33 1573 1213 - 1234 Apply org.make.core.proposal.Vote.apply org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest Vote.apply(key, 0, 0, 0, 0, Vote.apply$default$6)
33 3218 1226 - 1227 Literal <nosymbol> org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest 0
37 4871 1384 - 1396 Apply java.lang.Object.== org.make.api.proposal.proposalstatetest,org.make.core.proposal.indexed.proposaltest x$2.key.==(key)
37 2837 1364 - 1397 Apply scala.collection.IterableOnceOps.find org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest qualifications.find(((x$2: org.make.core.proposal.Qualification) => x$2.key.==(key)))
41 1884 1572 - 1602 Apply org.make.core.proposal.Qualification.apply org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest org.make.core.proposal.Qualification.apply(key, 0, 0, 0, 0)
45 3228 1701 - 1741 Apply org.make.core.proposal.LegacyVotesConverter.findVoteOrFallback org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest LegacyVotesConverter.this.findVoteOrFallback(votes, VoteKey.Agree)
45 5320 1727 - 1740 Select org.make.core.proposal.VoteKey.Agree org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest VoteKey.Agree
46 5402 1766 - 1808 Apply org.make.core.proposal.LegacyVotesConverter.findVoteOrFallback org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest LegacyVotesConverter.this.findVoteOrFallback(votes, VoteKey.Neutral)
46 1112 1792 - 1807 Select org.make.core.proposal.VoteKey.Neutral org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest VoteKey.Neutral
47 1713 1834 - 1877 Apply org.make.core.proposal.LegacyVotesConverter.findVoteOrFallback org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest LegacyVotesConverter.this.findVoteOrFallback(votes, VoteKey.Disagree)
47 3371 1860 - 1876 Select org.make.core.proposal.VoteKey.Disagree org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest VoteKey.Disagree
48 4359 1882 - 3005 Apply org.make.core.proposal.VotingOptions.apply org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest org.make.core.proposal.VotingOptions.apply(AgreeWrapper.apply({ <artifact> val x$1: Seq[Nothing] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.empty[Nothing]; <artifact> val x$2: org.make.core.proposal.VoteKey = agreeOption.copy$default$1; <artifact> val x$3: Int = agreeOption.copy$default$2; <artifact> val x$4: Int = agreeOption.copy$default$3; <artifact> val x$5: Int = agreeOption.copy$default$4; <artifact> val x$6: Int = agreeOption.copy$default$5; agreeOption.copy(x$2, x$3, x$4, x$5, x$6, x$1) }, LegacyVotesConverter.this.findQualificationOrFallback(agreeOption.qualifications, org.make.core.proposal.QualificationKey.LikeIt), LegacyVotesConverter.this.findQualificationOrFallback(agreeOption.qualifications, org.make.core.proposal.QualificationKey.PlatitudeAgree), LegacyVotesConverter.this.findQualificationOrFallback(agreeOption.qualifications, org.make.core.proposal.QualificationKey.Doable)), NeutralWrapper.apply({ <artifact> val x$7: Seq[Nothing] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.empty[Nothing]; <artifact> val x$8: org.make.core.proposal.VoteKey = neutralOption.copy$default$1; <artifact> val x$9: Int = neutralOption.copy$default$2; <artifact> val x$10: Int = neutralOption.copy$default$3; <artifact> val x$11: Int = neutralOption.copy$default$4; <artifact> val x$12: Int = neutralOption.copy$default$5; neutralOption.copy(x$8, x$9, x$10, x$11, x$12, x$7) }, LegacyVotesConverter.this.findQualificationOrFallback(neutralOption.qualifications, org.make.core.proposal.QualificationKey.NoOpinion), LegacyVotesConverter.this.findQualificationOrFallback(neutralOption.qualifications, org.make.core.proposal.QualificationKey.DoNotUnderstand), LegacyVotesConverter.this.findQualificationOrFallback(neutralOption.qualifications, org.make.core.proposal.QualificationKey.DoNotCare)), DisagreeWrapper.apply({ <artifact> val x$13: Seq[Nothing] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.empty[Nothing]; <artifact> val x$14: org.make.core.proposal.VoteKey = disagreeOption.copy$default$1; <artifact> val x$15: Int = disagreeOption.copy$default$2; <artifact> val x$16: Int = disagreeOption.copy$default$3; <artifact> val x$17: Int = disagreeOption.copy$default$4; <artifact> val x$18: Int = disagreeOption.copy$default$5; disagreeOption.copy(x$14, x$15, x$16, x$17, x$18, x$13) }, LegacyVotesConverter.this.findQualificationOrFallback(disagreeOption.qualifications, org.make.core.proposal.QualificationKey.Impossible), LegacyVotesConverter.this.findQualificationOrFallback(disagreeOption.qualifications, org.make.core.proposal.QualificationKey.NoWay), LegacyVotesConverter.this.findQualificationOrFallback(disagreeOption.qualifications, org.make.core.proposal.QualificationKey.PlatitudeDisagree)))
49 3641 1903 - 2246 Apply org.make.core.proposal.AgreeWrapper.apply org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest AgreeWrapper.apply({ <artifact> val x$1: Seq[Nothing] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.empty[Nothing]; <artifact> val x$2: org.make.core.proposal.VoteKey = agreeOption.copy$default$1; <artifact> val x$3: Int = agreeOption.copy$default$2; <artifact> val x$4: Int = agreeOption.copy$default$3; <artifact> val x$5: Int = agreeOption.copy$default$4; <artifact> val x$6: Int = agreeOption.copy$default$5; agreeOption.copy(x$2, x$3, x$4, x$5, x$6, x$1) }, LegacyVotesConverter.this.findQualificationOrFallback(agreeOption.qualifications, org.make.core.proposal.QualificationKey.LikeIt), LegacyVotesConverter.this.findQualificationOrFallback(agreeOption.qualifications, org.make.core.proposal.QualificationKey.PlatitudeAgree), LegacyVotesConverter.this.findQualificationOrFallback(agreeOption.qualifications, org.make.core.proposal.QualificationKey.Doable))
50 1991 1944 - 1944 Select org.make.core.proposal.Vote.copy$default$2 org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest agreeOption.copy$default$2
50 2846 1944 - 1944 Select org.make.core.proposal.Vote.copy$default$1 org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest agreeOption.copy$default$1
50 4739 1966 - 1975 TypeApply scala.collection.SeqFactory.Delegate.empty org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest scala.`package`.Seq.empty[Nothing]
50 3363 1944 - 1944 Select org.make.core.proposal.Vote.copy$default$4 org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest agreeOption.copy$default$4
50 5414 1932 - 1976 Apply org.make.core.proposal.Vote.copy org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest agreeOption.copy(x$2, x$3, x$4, x$5, x$6, x$1)
50 1122 1944 - 1944 Select org.make.core.proposal.Vote.copy$default$5 org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest agreeOption.copy$default$5
50 5006 1944 - 1944 Select org.make.core.proposal.Vote.copy$default$3 org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest agreeOption.copy$default$3
51 3631 2023 - 2049 Select org.make.core.proposal.Vote.qualifications org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest agreeOption.qualifications
51 1391 2051 - 2057 Select org.make.core.proposal.QualificationKey.LikeIt org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest org.make.core.proposal.QualificationKey.LikeIt
51 4857 1995 - 2058 Apply org.make.core.proposal.LegacyVotesConverter.findQualificationOrFallback org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest LegacyVotesConverter.this.findQualificationOrFallback(agreeOption.qualifications, org.make.core.proposal.QualificationKey.LikeIt)
52 5259 2085 - 2156 Apply org.make.core.proposal.LegacyVotesConverter.findQualificationOrFallback org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest LegacyVotesConverter.this.findQualificationOrFallback(agreeOption.qualifications, org.make.core.proposal.QualificationKey.PlatitudeAgree)
52 2776 2113 - 2139 Select org.make.core.proposal.Vote.qualifications org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest agreeOption.qualifications
52 1998 2141 - 2155 Select org.make.core.proposal.QualificationKey.PlatitudeAgree org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest org.make.core.proposal.QualificationKey.PlatitudeAgree
53 1330 2231 - 2237 Select org.make.core.proposal.QualificationKey.Doable org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest org.make.core.proposal.QualificationKey.Doable
53 4430 2175 - 2238 Apply org.make.core.proposal.LegacyVotesConverter.findQualificationOrFallback org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest LegacyVotesConverter.this.findQualificationOrFallback(agreeOption.qualifications, org.make.core.proposal.QualificationKey.Doable)
53 3213 2203 - 2229 Select org.make.core.proposal.Vote.qualifications org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest agreeOption.qualifications
55 4417 2254 - 2621 Apply org.make.core.proposal.NeutralWrapper.apply org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest NeutralWrapper.apply({ <artifact> val x$7: Seq[Nothing] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.empty[Nothing]; <artifact> val x$8: org.make.core.proposal.VoteKey = neutralOption.copy$default$1; <artifact> val x$9: Int = neutralOption.copy$default$2; <artifact> val x$10: Int = neutralOption.copy$default$3; <artifact> val x$11: Int = neutralOption.copy$default$4; <artifact> val x$12: Int = neutralOption.copy$default$5; neutralOption.copy(x$8, x$9, x$10, x$11, x$12, x$7) }, LegacyVotesConverter.this.findQualificationOrFallback(neutralOption.qualifications, org.make.core.proposal.QualificationKey.NoOpinion), LegacyVotesConverter.this.findQualificationOrFallback(neutralOption.qualifications, org.make.core.proposal.QualificationKey.DoNotUnderstand), LegacyVotesConverter.this.findQualificationOrFallback(neutralOption.qualifications, org.make.core.proposal.QualificationKey.DoNotCare))
56 5269 2299 - 2299 Select org.make.core.proposal.Vote.copy$default$4 org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest neutralOption.copy$default$4
56 1650 2321 - 2330 TypeApply scala.collection.SeqFactory.Delegate.empty org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest scala.`package`.Seq.empty[Nothing]
56 2977 2299 - 2299 Select org.make.core.proposal.Vote.copy$default$2 org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest neutralOption.copy$default$2
56 1951 2299 - 2299 Select org.make.core.proposal.Vote.copy$default$3 org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest neutralOption.copy$default$3
56 4867 2299 - 2299 Select org.make.core.proposal.Vote.copy$default$1 org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest neutralOption.copy$default$1
56 3221 2299 - 2299 Select org.make.core.proposal.Vote.copy$default$5 org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest neutralOption.copy$default$5
56 1268 2285 - 2331 Apply org.make.core.proposal.Vote.copy org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest neutralOption.copy(x$8, x$9, x$10, x$11, x$12, x$7)
57 1519 2353 - 2421 Apply org.make.core.proposal.LegacyVotesConverter.findQualificationOrFallback org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest LegacyVotesConverter.this.findQualificationOrFallback(neutralOption.qualifications, org.make.core.proposal.QualificationKey.NoOpinion)
57 4486 2381 - 2409 Select org.make.core.proposal.Vote.qualifications org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest neutralOption.qualifications
57 3589 2411 - 2420 Select org.make.core.proposal.QualificationKey.NoOpinion org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest org.make.core.proposal.QualificationKey.NoOpinion
58 4877 2477 - 2505 Select org.make.core.proposal.Vote.qualifications org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest neutralOption.qualifications
58 2917 2507 - 2522 Select org.make.core.proposal.QualificationKey.DoNotUnderstand org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest org.make.core.proposal.QualificationKey.DoNotUnderstand
58 1804 2449 - 2523 Apply org.make.core.proposal.LegacyVotesConverter.findQualificationOrFallback org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest LegacyVotesConverter.this.findQualificationOrFallback(neutralOption.qualifications, org.make.core.proposal.QualificationKey.DoNotUnderstand)
59 5203 2573 - 2601 Select org.make.core.proposal.Vote.qualifications org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest neutralOption.qualifications
59 1278 2545 - 2613 Apply org.make.core.proposal.LegacyVotesConverter.findQualificationOrFallback org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest LegacyVotesConverter.this.findQualificationOrFallback(neutralOption.qualifications, org.make.core.proposal.QualificationKey.DoNotCare)
59 3161 2603 - 2612 Select org.make.core.proposal.QualificationKey.DoNotCare org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest org.make.core.proposal.QualificationKey.DoNotCare
61 1070 2629 - 2999 Apply org.make.core.proposal.DisagreeWrapper.apply org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest DisagreeWrapper.apply({ <artifact> val x$13: Seq[Nothing] @scala.reflect.internal.annotations.uncheckedBounds = scala.`package`.Seq.empty[Nothing]; <artifact> val x$14: org.make.core.proposal.VoteKey = disagreeOption.copy$default$1; <artifact> val x$15: Int = disagreeOption.copy$default$2; <artifact> val x$16: Int = disagreeOption.copy$default$3; <artifact> val x$17: Int = disagreeOption.copy$default$4; <artifact> val x$18: Int = disagreeOption.copy$default$5; disagreeOption.copy(x$14, x$15, x$16, x$17, x$18, x$13) }, LegacyVotesConverter.this.findQualificationOrFallback(disagreeOption.qualifications, org.make.core.proposal.QualificationKey.Impossible), LegacyVotesConverter.this.findQualificationOrFallback(disagreeOption.qualifications, org.make.core.proposal.QualificationKey.NoWay), LegacyVotesConverter.this.findQualificationOrFallback(disagreeOption.qualifications, org.make.core.proposal.QualificationKey.PlatitudeDisagree))
62 3166 2661 - 2708 Apply org.make.core.proposal.Vote.copy org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest disagreeOption.copy(x$14, x$15, x$16, x$17, x$18, x$13)
62 2774 2676 - 2676 Select org.make.core.proposal.Vote.copy$default$3 org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest disagreeOption.copy$default$3
62 1524 2676 - 2676 Select org.make.core.proposal.Vote.copy$default$1 org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest disagreeOption.copy$default$1
62 4807 2676 - 2676 Select org.make.core.proposal.Vote.copy$default$2 org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest disagreeOption.copy$default$2
62 3458 2698 - 2707 TypeApply scala.collection.SeqFactory.Delegate.empty org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest scala.`package`.Seq.empty[Nothing]
62 5255 2676 - 2676 Select org.make.core.proposal.Vote.copy$default$5 org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest disagreeOption.copy$default$5
62 796 2676 - 2676 Select org.make.core.proposal.Vote.copy$default$4 org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest disagreeOption.copy$default$4
63 3385 2731 - 2801 Apply org.make.core.proposal.LegacyVotesConverter.findQualificationOrFallback org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest LegacyVotesConverter.this.findQualificationOrFallback(disagreeOption.qualifications, org.make.core.proposal.QualificationKey.Impossible)
63 4428 2790 - 2800 Select org.make.core.proposal.QualificationKey.Impossible org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest org.make.core.proposal.QualificationKey.Impossible
63 1203 2759 - 2788 Select org.make.core.proposal.Vote.qualifications org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest disagreeOption.qualifications
64 2712 2819 - 2884 Apply org.make.core.proposal.LegacyVotesConverter.findQualificationOrFallback org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest LegacyVotesConverter.this.findQualificationOrFallback(disagreeOption.qualifications, org.make.core.proposal.QualificationKey.NoWay)
64 1642 2847 - 2876 Select org.make.core.proposal.Vote.qualifications org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest disagreeOption.qualifications
64 4812 2878 - 2883 Select org.make.core.proposal.QualificationKey.NoWay org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest org.make.core.proposal.QualificationKey.NoWay
65 5265 2973 - 2990 Select org.make.core.proposal.QualificationKey.PlatitudeDisagree org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest org.make.core.proposal.QualificationKey.PlatitudeDisagree
65 3303 2914 - 2991 Apply org.make.core.proposal.LegacyVotesConverter.findQualificationOrFallback org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest LegacyVotesConverter.this.findQualificationOrFallback(disagreeOption.qualifications, org.make.core.proposal.QualificationKey.PlatitudeDisagree)
65 809 2942 - 2971 Select org.make.core.proposal.Vote.qualifications org.make.api.proposal.proposalstatetest,org.make.api.sequence.selectionalgorithmtest,org.make.core.proposal.indexed.proposaltest disagreeOption.qualifications