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.api.operation
21 
22 import cats.data.OptionT
23 import cats.implicits._
24 import grizzled.slf4j.Logging
25 import org.make.api.operation.ModerationMode.Enrichment
26 import org.make.api.proposal.ProposalSearchEngineComponent
27 import org.make.api.question.{PersistentQuestionServiceComponent, QuestionServiceComponent, SearchQuestionRequest}
28 import org.make.api.sequence.PersistentSequenceConfigurationComponent
29 import org.make.api.tag.{TagFilter, TagServiceComponent}
30 import org.make.api.technical.IdGeneratorComponent
31 import org.make.core.technical.{Multilingual, Pagination}
32 import org.make.core.elasticsearch.IndexationStatus
33 import org.make.core.operation._
34 import org.make.core.operation.indexed.{IndexedOperationOfQuestion, OperationOfQuestionSearchResult}
35 import org.make.core.proposal.ProposalStatus
36 import org.make.core.question.{Question, QuestionId}
37 import org.make.core.sequence.{ExplorationSequenceConfiguration, SequenceConfiguration, SpecificSequenceConfiguration}
38 import org.make.core.{DateHelper, Order}
39 
40 import scala.concurrent.ExecutionContext.Implicits.global
41 import scala.concurrent.Future
42 import cats.data.NonEmptyList
43 
44 trait DefaultOperationOfQuestionServiceComponent extends OperationOfQuestionServiceComponent with Logging {
45   this: PersistentQuestionServiceComponent
46     with PersistentSequenceConfigurationComponent
47     with PersistentOperationOfQuestionServiceComponent
48     with OperationOfQuestionSearchEngineComponent
49     with ProposalSearchEngineComponent
50     with IdGeneratorComponent
51     with QuestionServiceComponent
52     with OperationServiceComponent
53     with TagServiceComponent =>
54 
55   override lazy val operationOfQuestionService: OperationOfQuestionService = new DefaultOperationOfQuestionService
56 
57   class DefaultOperationOfQuestionService extends OperationOfQuestionService {
58 
59     override def count(query: OperationOfQuestionSearchQuery): Future[Long] =
60       elasticsearchOperationOfQuestionAPI.count(query)
61 
62     override def find(
63       offset: Pagination.Offset = Pagination.Offset.zero,
64       end: Option[Pagination.End] = None,
65       sort: Option[String] = None,
66       order: Option[Order] = None,
67       request: SearchOperationsOfQuestions = SearchOperationsOfQuestions()
68     ): Future[scala.Seq[OperationOfQuestion]] = {
69       persistentOperationOfQuestionService.search(
70         offset,
71         end,
72         sort,
73         order,
74         request.questionIds,
75         request.operationIds,
76         request.operationKind,
77         request.openAt,
78         request.endAfter,
79         request.slug
80       )
81     }
82 
83     override def findByQuestionId(questionId: QuestionId): Future[Option[OperationOfQuestion]] = {
84       persistentOperationOfQuestionService.getById(questionId)
85     }
86 
87     override def findByOperationId(operationId: OperationId): Future[Seq[OperationOfQuestion]] = {
88       persistentOperationOfQuestionService.find(Some(operationId))
89     }
90 
91     override def findByQuestionSlug(slug: String): Future[Option[OperationOfQuestion]] = {
92       persistentQuestionService.find(SearchQuestionRequest(maybeSlug = Some(slug))).flatMap { results =>
93         results.headOption.map { question =>
94           findByQuestionId(question.questionId)
95         }.getOrElse(Future.successful(None))
96       }
97     }
98 
99     override def search(searchQuery: OperationOfQuestionSearchQuery): Future[OperationOfQuestionSearchResult] = {
100       elasticsearchOperationOfQuestionAPI.searchOperationOfQuestions(searchQuery)
101     }
102 
103     override def updateWithQuestion(
104       operationOfQuestion: OperationOfQuestion,
105       question: Question
106     ): Future[OperationOfQuestion] = {
107       for {
108         _       <- persistentQuestionService.modify(question)
109         updated <- persistentOperationOfQuestionService.modify(operationOfQuestion)
110         _       <- indexById(question.questionId)
111       } yield updated
112     }
113 
114     override def update(operationOfQuestion: OperationOfQuestion): Future[OperationOfQuestion] = {
115       for {
116         result <- persistentOperationOfQuestionService.modify(operationOfQuestion)
117         _      <- indexById(operationOfQuestion.questionId)
118       } yield result
119     }
120 
121     override def incrementProposalsCount(id: QuestionId): Future[OperationOfQuestion] =
122       persistentOperationOfQuestionService
123         .getById(id)
124         .flatMap({
125           case Some(opOfQuestion) =>
126             persistentOperationOfQuestionService
127               .modify(opOfQuestion.copy(proposalsCount = opOfQuestion.proposalsCount + 1))
128           case None => Future.failed(new Error("Question ID not found"))
129         })
130 
131     /**
132       * Deletes an OperationOfQuestion and all its associated objects:
133       * - The associated Question
134       * - The associated sequence configuration
135       *
136       * @param questionId the operationOfQuestion to delete
137       * @return a future to follow the completion
138       */
139     override def delete(questionId: QuestionId): Future[Unit] = {
140 
141       for {
142         _ <- persistentOperationOfQuestionService.delete(questionId)
143         _ <- persistentSequenceConfigurationService.delete(questionId)
144         _ <- persistentQuestionService.delete(questionId)
145       } yield {}
146 
147     }
148 
149     /**
150       * This function will:
151       * - Create a new question
152       * - Create a new sequence for this question
153       * - Create a new OperationOfQuestion
154       *
155       * @param parameters all needed parameters to create everything
156       * @return the created OperationOfQuestion
157       */
158     override def create(parameters: CreateOperationOfQuestion): Future[OperationOfQuestion] = {
159       val questionId = idGenerator.nextQuestionId()
160       val languages = NonEmptyList.of(parameters.defaultLanguage)
161 
162       val question = Question(
163         questionId = questionId,
164         slug = parameters.slug,
165         countries = parameters.countries,
166         defaultLanguage = parameters.defaultLanguage,
167         languages = languages,
168         questions = Multilingual(parameters.defaultLanguage -> parameters.question),
169         shortTitles = None,
170         operationId = Some(parameters.operationId)
171       )
172 
173       val operationOfQuestion = OperationOfQuestion(
174         questionId = questionId,
175         operationId = parameters.operationId,
176         startDate = parameters.startDate,
177         endDate = parameters.endDate,
178         operationTitles = Multilingual(parameters.defaultLanguage -> parameters.operationTitle),
179         proposalPrefixes = Multilingual(parameters.defaultLanguage -> parameters.proposalPrefix),
180         canPropose = true,
181         sequenceCardsConfiguration = SequenceCardsConfiguration.default,
182         aboutUrls = None,
183         metas = Metas(None, None, None),
184         theme = QuestionTheme.default,
185         descriptions = None,
186         consultationImages = None,
187         consultationImageAlts = None,
188         descriptionImages = None,
189         descriptionImageAlts = None,
190         partnersLogos = None,
191         partnersLogosAlt = None,
192         initiatorsLogos = None,
193         initiatorsLogosAlt = None,
194         consultationHeader = None,
195         consultationHeaderAlts = None,
196         cobrandingLogo = None,
197         cobrandingLogoAlt = None,
198         resultsLink = None,
199         proposalsCount = 0,
200         participantsCount = 0,
201         actions = None,
202         featured = parameters.featured,
203         votesCount = 0,
204         votesTarget = 100_000,
205         timeline = OperationOfQuestionTimeline(None, None, None),
206         createdAt = DateHelper.now(),
207         sessionBindingMode = false,
208         reportUrl = None,
209         actionsUrl = None
210       )
211 
212       val sequenceConfiguration: SequenceConfiguration = createSequenceConfiguration(questionId)
213 
214       for {
215         _         <- persistentQuestionService.persist(question)
216         _         <- persistentSequenceConfigurationService.persist(sequenceConfiguration)
217         persisted <- persistentOperationOfQuestionService.persist(operationOfQuestion)
218         _         <- indexById(questionId)
219       } yield persisted
220     }
221 
222     private def createSequenceConfiguration(questionId: QuestionId) = {
223       def specificSequenceConfigurationId() = idGenerator.nextSpecificSequenceConfigurationId()
224 
225       val mainSequence = ExplorationSequenceConfiguration.default(idGenerator.nextExplorationSequenceConfigurationId())
226       val controversialSequence = SpecificSequenceConfiguration.otherSequenceDefault(specificSequenceConfigurationId())
227       val popularSequence = SpecificSequenceConfiguration.otherSequenceDefault(specificSequenceConfigurationId())
228       val keywordSequence = SpecificSequenceConfiguration.otherSequenceDefault(specificSequenceConfigurationId())
229 
230       val sequenceConfiguration =
231         SequenceConfiguration.default.copy(
232           questionId = questionId,
233           mainSequence = mainSequence,
234           controversial = controversialSequence,
235           popular = popularSequence,
236           keyword = keywordSequence
237         )
238       sequenceConfiguration
239     }
240 
241     override def count(request: SearchOperationsOfQuestions): Future[Int] = {
242       persistentOperationOfQuestionService.count(
243         request.questionIds,
244         request.operationIds,
245         request.openAt,
246         request.endAfter,
247         request.slug
248       )
249     }
250 
251     override def indexById(questionId: QuestionId): Future[Option[IndexationStatus]] = {
252       val immutableFields = elasticsearchOperationOfQuestionAPI
253         .findOperationOfQuestionById(questionId)
254         .map(_.map(_.immutableFields).getOrElse(IndexedOperationOfQuestion.ImmutableFields.empty))
255       val futureIndexedOperationOfQuestion: Future[Option[IndexedOperationOfQuestion]] = (for {
256         question            <- OptionT(questionService.getQuestion(questionId))
257         operationOfQuestion <- OptionT(findByQuestionId(question.questionId))
258         operation           <- OptionT(operationService.findOneSimple(operationOfQuestion.operationId))
259       } yield IndexedOperationOfQuestion.createFromOperationOfQuestion(operationOfQuestion, operation, question)).value
260 
261       futureIndexedOperationOfQuestion.flatMap { ooq =>
262         immutableFields.map(fields => ooq.map(_.applyImmutableFields(fields)))
263       }.flatMap {
264         case None => Future.successful(None)
265         case Some(operationOfQuestion) =>
266           elasticsearchOperationOfQuestionAPI.indexOperationOfQuestion(operationOfQuestion, None).map(Some(_))
267       }
268 
269     }
270 
271     override def getQuestionsInfos(
272       questionIds: Option[Seq[QuestionId]],
273       moderationMode: ModerationMode,
274       minVotesCount: Option[Int],
275       minScore: Option[Double]
276     ): Future[Seq[ModerationOperationOfQuestionInfosResponse]] = {
277       elasticsearchOperationOfQuestionAPI
278         .searchOperationOfQuestions(
279           OperationOfQuestionSearchQuery(
280             filters = Some(
281               OperationOfQuestionSearchFilters(
282                 questionIds = questionIds.map(QuestionIdsSearchFilter),
283                 startDate = Some(StartDateSearchFilter(lte = Some(DateHelper.now()), gte = None)),
284                 endDate = Some(EndDateSearchFilter(lte = None, gte = Some(DateHelper.now().minusWeeks(2)))),
285                 operationKinds = Some(OperationKindsSearchFilter(OperationKind.values))
286               )
287             ),
288             limit = questionIds.map(_.length + 1).orElse(Some(10000)).map(Pagination.Limit(_))
289           )
290         )
291         .flatMap { questions =>
292           val futureProposalToModerateByQuestion = elasticsearchProposalAPI.countProposalsByQuestion(
293             maybeQuestionIds = Some(questions.results.map(_.questionId)),
294             status =
295               if (moderationMode == Enrichment) Some(Seq(ProposalStatus.Accepted))
296               else Some(Seq(ProposalStatus.Pending)),
297             maybeUserId = None,
298             toEnrich = if (moderationMode == Enrichment) Some(true) else None,
299             minVotesCount = if (moderationMode == Enrichment) minVotesCount else None,
300             minScore = if (moderationMode == Enrichment) minScore else None
301           )
302           val futureProposalCountByQuestion = elasticsearchProposalAPI.countProposalsByQuestion(
303             maybeQuestionIds = Some(questions.results.map(_.questionId)),
304             status = Some(ProposalStatus.values),
305             maybeUserId = None,
306             toEnrich = None,
307             minVotesCount = None,
308             minScore = None
309           )
310           val futureHasTags = Future
311             .traverse(questions.results) { q =>
312               tagService.count(tagFilter = TagFilter(questionIds = Some(Seq(q.questionId)))).map(_ > 0).map { hasTags =>
313                 q.questionId -> hasTags
314               }
315             }
316             .map(_.toMap)
317           for {
318             moderateCount <- futureProposalToModerateByQuestion
319             totalCount    <- futureProposalCountByQuestion
320             hasTags       <- futureHasTags
321           } yield {
322             questions.results.map { q =>
323               ModerationOperationOfQuestionInfosResponse(
324                 q,
325                 moderateCount.getOrElse(q.questionId, 0L).toInt,
326                 totalCount.getOrElse(q.questionId, 0L).toInt,
327                 hasTags.getOrElse(q.questionId, false)
328               )
329             }.sortBy(_.proposalToModerateCount * -1)
330           }
331         }
332     }
333 
334   }
335 }
Line Stmt Id Pos Tree Symbol Tests Code
60 22844 2644 - 2692 Apply org.make.api.operation.OperationOfQuestionSearchEngine.count DefaultOperationOfQuestionServiceComponent.this.elasticsearchOperationOfQuestionAPI.count(query)
69 26389 3018 - 3289 Apply org.make.api.operation.PersistentOperationOfQuestionService.search org.make.api.operation.operationofquestionservicetest DefaultOperationOfQuestionServiceComponent.this.persistentOperationOfQuestionService.search(offset, end, sort, order, request.questionIds, request.operationIds, request.operationKind, request.openAt, request.endAfter, request.slug)
74 26658 3129 - 3148 Select org.make.api.operation.SearchOperationsOfQuestions.questionIds org.make.api.operation.operationofquestionservicetest request.questionIds
75 24507 3158 - 3178 Select org.make.api.operation.SearchOperationsOfQuestions.operationIds org.make.api.operation.operationofquestionservicetest request.operationIds
76 28235 3188 - 3209 Select org.make.api.operation.SearchOperationsOfQuestions.operationKind org.make.api.operation.operationofquestionservicetest request.operationKind
77 25921 3219 - 3233 Select org.make.api.operation.SearchOperationsOfQuestions.openAt org.make.api.operation.operationofquestionservicetest request.openAt
78 24716 3243 - 3259 Select org.make.api.operation.SearchOperationsOfQuestions.endAfter org.make.api.operation.operationofquestionservicetest request.endAfter
79 22362 3269 - 3281 Select org.make.api.operation.SearchOperationsOfQuestions.slug org.make.api.operation.operationofquestionservicetest request.slug
84 24119 3402 - 3458 Apply org.make.api.operation.PersistentOperationOfQuestionService.getById org.make.api.operation.operationofquestionservicetest DefaultOperationOfQuestionServiceComponent.this.persistentOperationOfQuestionService.getById(questionId)
88 26667 3571 - 3631 Apply org.make.api.operation.PersistentOperationOfQuestionService.find org.make.api.operation.operationofquestionservicetest DefaultOperationOfQuestionServiceComponent.this.persistentOperationOfQuestionService.find(scala.Some.apply[org.make.core.operation.OperationId](operationId))
88 27771 3613 - 3630 Apply scala.Some.apply org.make.api.operation.operationofquestionservicetest scala.Some.apply[org.make.core.operation.OperationId](operationId)
92 26457 3767 - 3767 Select org.make.api.question.SearchQuestionRequest.apply$default$9 org.make.api.operation.operationofquestionservicetest org.make.api.question.SearchQuestionRequest.apply$default$9
92 24253 3801 - 3811 Apply scala.Some.apply org.make.api.operation.operationofquestionservicetest scala.Some.apply[String](slug)
92 24722 3767 - 3767 Select org.make.api.question.SearchQuestionRequest.apply$default$3 org.make.api.operation.operationofquestionservicetest org.make.api.question.SearchQuestionRequest.apply$default$3
92 24261 3767 - 3812 Apply org.make.api.question.SearchQuestionRequest.apply org.make.api.operation.operationofquestionservicetest org.make.api.question.SearchQuestionRequest.apply(x$2, x$3, x$4, x$5, x$1, x$6, x$7, x$8, x$9)
92 22371 3767 - 3767 Select org.make.api.question.SearchQuestionRequest.apply$default$4 org.make.api.operation.operationofquestionservicetest org.make.api.question.SearchQuestionRequest.apply$default$4
92 27784 3767 - 3767 Select org.make.api.question.SearchQuestionRequest.apply$default$8 org.make.api.operation.operationofquestionservicetest org.make.api.question.SearchQuestionRequest.apply$default$8
92 24108 3822 - 3822 Select scala.concurrent.ExecutionContext.Implicits.global org.make.api.operation.operationofquestionservicetest scala.concurrent.ExecutionContext.Implicits.global
92 28247 3767 - 3767 Select org.make.api.question.SearchQuestionRequest.apply$default$1 org.make.api.operation.operationofquestionservicetest org.make.api.question.SearchQuestionRequest.apply$default$1
92 23991 3767 - 3767 Select org.make.api.question.SearchQuestionRequest.apply$default$7 org.make.api.operation.operationofquestionservicetest org.make.api.question.SearchQuestionRequest.apply$default$7
92 26144 3767 - 3767 Select org.make.api.question.SearchQuestionRequest.apply$default$6 org.make.api.operation.operationofquestionservicetest org.make.api.question.SearchQuestionRequest.apply$default$6
92 25860 3767 - 3767 Select org.make.api.question.SearchQuestionRequest.apply$default$2 org.make.api.operation.operationofquestionservicetest org.make.api.question.SearchQuestionRequest.apply$default$2
92 27720 3736 - 3980 ApplyToImplicitArgs scala.concurrent.Future.flatMap org.make.api.operation.operationofquestionservicetest DefaultOperationOfQuestionServiceComponent.this.persistentQuestionService.find({ <artifact> val x$1: Some[String] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[String](slug); <artifact> val x$2: Option[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.question.SearchQuestionRequest.apply$default$1; <artifact> val x$3: Option[Seq[org.make.core.operation.OperationId]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.question.SearchQuestionRequest.apply$default$2; <artifact> val x$4: Option[org.make.core.reference.Country] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.question.SearchQuestionRequest.apply$default$3; <artifact> val x$5: Option[org.make.core.reference.Language] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.question.SearchQuestionRequest.apply$default$4; <artifact> val x$6: Option[org.make.core.technical.Pagination.Offset] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.question.SearchQuestionRequest.apply$default$6; <artifact> val x$7: Option[org.make.core.technical.Pagination.End] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.question.SearchQuestionRequest.apply$default$7; <artifact> val x$8: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.question.SearchQuestionRequest.apply$default$8; <artifact> val x$9: Option[org.make.core.Order] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.question.SearchQuestionRequest.apply$default$9; org.make.api.question.SearchQuestionRequest.apply(x$2, x$3, x$4, x$5, x$1, x$6, x$7, x$8, x$9) }).flatMap[Option[org.make.core.operation.OperationOfQuestion]](((results: Seq[org.make.core.question.Question]) => results.headOption.map[scala.concurrent.Future[Option[org.make.core.operation.OperationOfQuestion]]](((question: org.make.core.question.Question) => DefaultOperationOfQuestionService.this.findByQuestionId(question.questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.operation.OperationOfQuestion]]](scala.concurrent.Future.successful[None.type](scala.None))))(scala.concurrent.ExecutionContext.Implicits.global)
94 28003 3907 - 3926 Select org.make.core.question.Question.questionId question.questionId
94 25872 3890 - 3927 Apply org.make.api.operation.DefaultOperationOfQuestionServiceComponent.DefaultOperationOfQuestionService.findByQuestionId DefaultOperationOfQuestionService.this.findByQuestionId(question.questionId)
95 26149 3843 - 3972 Apply scala.Option.getOrElse results.headOption.map[scala.concurrent.Future[Option[org.make.core.operation.OperationOfQuestion]]](((question: org.make.core.question.Question) => DefaultOperationOfQuestionService.this.findByQuestionId(question.questionId))).getOrElse[scala.concurrent.Future[Option[org.make.core.operation.OperationOfQuestion]]](scala.concurrent.Future.successful[None.type](scala.None))
95 24731 3966 - 3970 Select scala.None scala.None
95 22308 3948 - 3971 Apply scala.concurrent.Future.successful scala.concurrent.Future.successful[None.type](scala.None)
100 26465 4108 - 4183 Apply org.make.api.operation.OperationOfQuestionSearchEngine.searchOperationOfQuestions org.make.api.operation.operationofquestionservicetest DefaultOperationOfQuestionServiceComponent.this.elasticsearchOperationOfQuestionAPI.searchOperationOfQuestions(searchQuery)
108 26079 4368 - 4368 Select scala.concurrent.ExecutionContext.Implicits.global org.make.api.operation.operationofquestionservicetest scala.concurrent.ExecutionContext.Implicits.global
108 24117 4346 - 4569 ApplyToImplicitArgs scala.concurrent.Future.flatMap org.make.api.operation.operationofquestionservicetest DefaultOperationOfQuestionServiceComponent.this.persistentQuestionService.modify(question).flatMap[org.make.core.operation.OperationOfQuestion](((x$2: org.make.core.question.Question) => (x$2: org.make.core.question.Question @unchecked) match { case _ => DefaultOperationOfQuestionServiceComponent.this.persistentOperationOfQuestionService.modify(operationOfQuestion).flatMap[org.make.core.operation.OperationOfQuestion](((updated: org.make.core.operation.OperationOfQuestion) => DefaultOperationOfQuestionService.this.indexById(question.questionId).map[org.make.core.operation.OperationOfQuestion](((x$1: Option[org.make.core.elasticsearch.IndexationStatus]) => (x$1: Option[org.make.core.elasticsearch.IndexationStatus] @unchecked) match { case _ => updated }))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global) }))(scala.concurrent.ExecutionContext.Implicits.global)
109 22316 4422 - 4569 ApplyToImplicitArgs scala.concurrent.Future.flatMap DefaultOperationOfQuestionServiceComponent.this.persistentOperationOfQuestionService.modify(operationOfQuestion).flatMap[org.make.core.operation.OperationOfQuestion](((updated: org.make.core.operation.OperationOfQuestion) => DefaultOperationOfQuestionService.this.indexById(question.questionId).map[org.make.core.operation.OperationOfQuestion](((x$1: Option[org.make.core.elasticsearch.IndexationStatus]) => (x$1: Option[org.make.core.elasticsearch.IndexationStatus] @unchecked) match { case _ => updated }))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
109 23584 4430 - 4430 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
110 24196 4527 - 4546 Select org.make.core.question.Question.questionId question.questionId
110 25700 4506 - 4569 ApplyToImplicitArgs scala.concurrent.Future.map DefaultOperationOfQuestionService.this.indexById(question.questionId).map[org.make.core.operation.OperationOfQuestion](((x$1: Option[org.make.core.elasticsearch.IndexationStatus]) => (x$1: Option[org.make.core.elasticsearch.IndexationStatus] @unchecked) match { case _ => updated }))(scala.concurrent.ExecutionContext.Implicits.global)
110 28233 4514 - 4514 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
116 28245 4703 - 4703 Select scala.concurrent.ExecutionContext.Implicits.global org.make.api.operation.operationofquestionservicetest scala.concurrent.ExecutionContext.Implicits.global
116 25998 4682 - 4851 ApplyToImplicitArgs scala.concurrent.Future.flatMap org.make.api.operation.operationofquestionservicetest DefaultOperationOfQuestionServiceComponent.this.persistentOperationOfQuestionService.modify(operationOfQuestion).flatMap[org.make.core.operation.OperationOfQuestion](((result: org.make.core.operation.OperationOfQuestion) => DefaultOperationOfQuestionService.this.indexById(operationOfQuestion.questionId).map[org.make.core.operation.OperationOfQuestion](((x$3: Option[org.make.core.elasticsearch.IndexationStatus]) => (x$3: Option[org.make.core.elasticsearch.IndexationStatus] @unchecked) match { case _ => result }))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
117 26768 4786 - 4786 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
117 27560 4799 - 4829 Select org.make.core.operation.OperationOfQuestion.questionId operationOfQuestion.questionId
117 24204 4779 - 4851 ApplyToImplicitArgs scala.concurrent.Future.map DefaultOperationOfQuestionService.this.indexById(operationOfQuestion.questionId).map[org.make.core.operation.OperationOfQuestion](((x$3: Option[org.make.core.elasticsearch.IndexationStatus]) => (x$3: Option[org.make.core.elasticsearch.IndexationStatus] @unchecked) match { case _ => result }))(scala.concurrent.ExecutionContext.Implicits.global)
124 25445 4953 - 5290 ApplyToImplicitArgs scala.concurrent.Future.flatMap org.make.api.operation.operationofquestionservicetest DefaultOperationOfQuestionServiceComponent.this.persistentOperationOfQuestionService.getById(id).flatMap[org.make.core.operation.OperationOfQuestion](((x0$1: Option[org.make.core.operation.OperationOfQuestion]) => x0$1 match { case (value: org.make.core.operation.OperationOfQuestion): Some[org.make.core.operation.OperationOfQuestion]((opOfQuestion @ _)) => DefaultOperationOfQuestionServiceComponent.this.persistentOperationOfQuestionService.modify({ <artifact> val x$1: Int = opOfQuestion.proposalsCount.+(1); <artifact> val x$2: org.make.core.question.QuestionId = opOfQuestion.copy$default$1; <artifact> val x$3: org.make.core.operation.OperationId = opOfQuestion.copy$default$2; <artifact> val x$4: java.time.ZonedDateTime = opOfQuestion.copy$default$3; <artifact> val x$5: java.time.ZonedDateTime = opOfQuestion.copy$default$4; <artifact> val x$6: org.make.core.technical.Multilingual[String] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$5; <artifact> val x$7: org.make.core.technical.Multilingual[String] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$6; <artifact> val x$8: Boolean = opOfQuestion.copy$default$7; <artifact> val x$9: org.make.core.operation.SequenceCardsConfiguration = opOfQuestion.copy$default$8; <artifact> val x$10: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$9; <artifact> val x$11: org.make.core.operation.Metas = opOfQuestion.copy$default$10; <artifact> val x$12: org.make.core.operation.QuestionTheme = opOfQuestion.copy$default$11; <artifact> val x$13: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$12; <artifact> val x$14: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$13; <artifact> val x$15: Option[org.make.core.technical.Multilingual[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]]] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$14; <artifact> val x$16: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$15; <artifact> val x$17: Option[org.make.core.technical.Multilingual[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]]] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$16; <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$17; <artifact> val x$19: Option[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$18; <artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$19; <artifact> val x$21: Option[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$20; <artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$21; <artifact> val x$23: Option[org.make.core.technical.Multilingual[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]]] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$22; <artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$23; <artifact> val x$25: Option[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$24; <artifact> val x$26: Option[org.make.core.operation.ResultsLink] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$25; <artifact> val x$27: Int = opOfQuestion.copy$default$27; <artifact> val x$28: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$28; <artifact> val x$29: Boolean = opOfQuestion.copy$default$29; <artifact> val x$30: Int = opOfQuestion.copy$default$30; <artifact> val x$31: Int = opOfQuestion.copy$default$31; <artifact> val x$32: org.make.core.operation.OperationOfQuestionTimeline = opOfQuestion.copy$default$32; <artifact> val x$33: java.time.ZonedDateTime = opOfQuestion.copy$default$33; <artifact> val x$34: Boolean = opOfQuestion.copy$default$34; <artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$35; <artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$36; opOfQuestion.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$1, x$27, x$28, x$29, x$30, x$31, x$32, x$33, x$34, x$35, x$36) }) case scala.None => scala.concurrent.Future.failed[Nothing](new scala.`package`.Error("Question ID not found")) }))(scala.concurrent.ExecutionContext.Implicits.global)
124 27783 5027 - 5027 Select scala.concurrent.ExecutionContext.Implicits.global org.make.api.operation.operationofquestionservicetest scala.concurrent.ExecutionContext.Implicits.global
127 27187 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$29 opOfQuestion.copy$default$29
127 27851 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$32 opOfQuestion.copy$default$32
127 28183 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$7 opOfQuestion.copy$default$7
127 23583 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$18 opOfQuestion.copy$default$18
127 27719 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$13 opOfQuestion.copy$default$13
127 24067 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$12 opOfQuestion.copy$default$12
127 25449 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$14 opOfQuestion.copy$default$14
127 24516 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$6 opOfQuestion.copy$default$6
127 27650 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$22 opOfQuestion.copy$default$22
127 26322 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$2 opOfQuestion.copy$default$2
127 26331 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$11 opOfQuestion.copy$default$11
127 27946 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$35 opOfQuestion.copy$default$35
127 26008 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$8 opOfQuestion.copy$default$8
127 23642 5173 - 5204 Apply scala.Int.+ opOfQuestion.proposalsCount.+(1)
127 28191 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$16 opOfQuestion.copy$default$16
127 25993 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$27 opOfQuestion.copy$default$27
127 22449 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$10 opOfQuestion.copy$default$10
127 23573 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$9 opOfQuestion.copy$default$9
127 24192 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$15 opOfQuestion.copy$default$15
127 25942 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$17 opOfQuestion.copy$default$17
127 25532 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$5 opOfQuestion.copy$default$5
127 23513 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$28 opOfQuestion.copy$default$28
127 23827 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$31 opOfQuestion.copy$default$31
127 27939 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$25 opOfQuestion.copy$default$25
127 24512 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$34 opOfQuestion.copy$default$34
127 25463 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$23 opOfQuestion.copy$default$23
127 23902 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$21 opOfQuestion.copy$default$21
127 26076 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$20 opOfQuestion.copy$default$20
127 26085 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$30 opOfQuestion.copy$default$30
127 25932 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$36 opOfQuestion.copy$default$36
127 27855 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$4 opOfQuestion.copy$default$4
127 27200 5079 - 5206 Apply org.make.api.operation.PersistentOperationOfQuestionService.modify DefaultOperationOfQuestionServiceComponent.this.persistentOperationOfQuestionService.modify({ <artifact> val x$1: Int = opOfQuestion.proposalsCount.+(1); <artifact> val x$2: org.make.core.question.QuestionId = opOfQuestion.copy$default$1; <artifact> val x$3: org.make.core.operation.OperationId = opOfQuestion.copy$default$2; <artifact> val x$4: java.time.ZonedDateTime = opOfQuestion.copy$default$3; <artifact> val x$5: java.time.ZonedDateTime = opOfQuestion.copy$default$4; <artifact> val x$6: org.make.core.technical.Multilingual[String] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$5; <artifact> val x$7: org.make.core.technical.Multilingual[String] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$6; <artifact> val x$8: Boolean = opOfQuestion.copy$default$7; <artifact> val x$9: org.make.core.operation.SequenceCardsConfiguration = opOfQuestion.copy$default$8; <artifact> val x$10: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$9; <artifact> val x$11: org.make.core.operation.Metas = opOfQuestion.copy$default$10; <artifact> val x$12: org.make.core.operation.QuestionTheme = opOfQuestion.copy$default$11; <artifact> val x$13: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$12; <artifact> val x$14: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$13; <artifact> val x$15: Option[org.make.core.technical.Multilingual[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]]] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$14; <artifact> val x$16: Option[org.make.core.technical.Multilingual[String]] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$15; <artifact> val x$17: Option[org.make.core.technical.Multilingual[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]]] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$16; <artifact> val x$18: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$17; <artifact> val x$19: Option[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$18; <artifact> val x$20: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$19; <artifact> val x$21: Option[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$20; <artifact> val x$22: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$21; <artifact> val x$23: Option[org.make.core.technical.Multilingual[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]]] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$22; <artifact> val x$24: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$23; <artifact> val x$25: Option[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.MaxSize[Int(130)]]] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$24; <artifact> val x$26: Option[org.make.core.operation.ResultsLink] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$25; <artifact> val x$27: Int = opOfQuestion.copy$default$27; <artifact> val x$28: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$28; <artifact> val x$29: Boolean = opOfQuestion.copy$default$29; <artifact> val x$30: Int = opOfQuestion.copy$default$30; <artifact> val x$31: Int = opOfQuestion.copy$default$31; <artifact> val x$32: org.make.core.operation.OperationOfQuestionTimeline = opOfQuestion.copy$default$32; <artifact> val x$33: java.time.ZonedDateTime = opOfQuestion.copy$default$33; <artifact> val x$34: Boolean = opOfQuestion.copy$default$34; <artifact> val x$35: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$35; <artifact> val x$36: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = opOfQuestion.copy$default$36; opOfQuestion.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$1, x$27, x$28, x$29, x$30, x$31, x$32, x$33, x$34, x$35, x$36) })
127 22382 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$19 opOfQuestion.copy$default$19
127 24200 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$24 opOfQuestion.copy$default$24
127 25474 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$33 opOfQuestion.copy$default$33
127 22633 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$1 opOfQuestion.copy$default$1
127 24125 5151 - 5151 Select org.make.core.operation.OperationOfQuestion.copy$default$3 opOfQuestion.copy$default$3
127 23730 5138 - 5205 Apply org.make.core.operation.OperationOfQuestion.copy opOfQuestion.copy(x$2, x$3, x$4, x$5, x$6, x$7, x$8, x$9, x$10, x$11, x$12, x$13, x$14, x$15, x$16, x$17, x$18, x$19, x$20, x$21, x$22, x$23, x$24, x$25, x$26, x$1, x$27, x$28, x$29, x$30, x$31, x$32, x$33, x$34, x$35, x$36)
128 24065 5230 - 5279 Apply scala.concurrent.Future.failed scala.concurrent.Future.failed[Nothing](new scala.`package`.Error("Question ID not found"))
128 26396 5244 - 5278 Apply java.lang.Error.<init> new scala.`package`.Error("Question ID not found")
142 26030 5669 - 5669 Select scala.concurrent.ExecutionContext.Implicits.global org.make.api.operation.operationofquestionservicetest scala.concurrent.ExecutionContext.Implicits.global
142 24003 5653 - 5873 ApplyToImplicitArgs scala.concurrent.Future.flatMap org.make.api.operation.operationofquestionservicetest DefaultOperationOfQuestionServiceComponent.this.persistentOperationOfQuestionService.delete(questionId).flatMap[Unit](((x$6: Unit) => (x$6: Unit @unchecked) match { case _ => DefaultOperationOfQuestionServiceComponent.this.persistentSequenceConfigurationService.delete(questionId).flatMap[Unit](((x$5: Unit) => (x$5: Unit @unchecked) match { case _ => DefaultOperationOfQuestionServiceComponent.this.persistentQuestionService.delete(questionId).map[Unit](((x$4: Unit) => (x$4: Unit @unchecked) match { case _ => () }))(scala.concurrent.ExecutionContext.Implicits.global) }))(scala.concurrent.ExecutionContext.Implicits.global) }))(scala.concurrent.ExecutionContext.Implicits.global)
143 23742 5738 - 5738 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
143 27324 5736 - 5873 ApplyToImplicitArgs scala.concurrent.Future.flatMap DefaultOperationOfQuestionServiceComponent.this.persistentSequenceConfigurationService.delete(questionId).flatMap[Unit](((x$5: Unit) => (x$5: Unit @unchecked) match { case _ => DefaultOperationOfQuestionServiceComponent.this.persistentQuestionService.delete(questionId).map[Unit](((x$4: Unit) => (x$4: Unit @unchecked) match { case _ => () }))(scala.concurrent.ExecutionContext.Implicits.global) }))(scala.concurrent.ExecutionContext.Implicits.global)
144 25940 5807 - 5873 ApplyToImplicitArgs scala.concurrent.Future.map DefaultOperationOfQuestionServiceComponent.this.persistentQuestionService.delete(questionId).map[Unit](((x$4: Unit) => (x$4: Unit @unchecked) match { case _ => () }))(scala.concurrent.ExecutionContext.Implicits.global)
144 28254 5809 - 5809 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
145 24143 5871 - 5873 Literal <nosymbol> ()
159 27793 6296 - 6324 Apply org.make.core.technical.IdGenerator.nextQuestionId org.make.api.operation.operationofquestionservicetest DefaultOperationOfQuestionServiceComponent.this.idGenerator.nextQuestionId()
160 25458 6363 - 6389 Select org.make.api.operation.CreateOperationOfQuestion.defaultLanguage org.make.api.operation.operationofquestionservicetest parameters.defaultLanguage
160 23210 6347 - 6390 Apply cats.data.NonEmptyList.of org.make.api.operation.operationofquestionservicetest cats.data.NonEmptyList.of[org.make.core.reference.Language](parameters.defaultLanguage)
162 25895 6413 - 6786 Apply org.make.core.question.Question.apply org.make.api.operation.operationofquestionservicetest org.make.core.question.Question.apply(questionId, parameters.slug, parameters.countries, parameters.defaultLanguage, languages, org.make.core.technical.Multilingual.apply[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.NonEmpty]](scala.Predef.ArrowAssoc[org.make.core.reference.Language](parameters.defaultLanguage).->[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.NonEmpty]](parameters.question)), scala.None, scala.Some.apply[org.make.core.operation.OperationId](parameters.operationId))
164 28121 6471 - 6486 Select org.make.api.operation.CreateOperationOfQuestion.slug org.make.api.operation.operationofquestionservicetest parameters.slug
165 25883 6508 - 6528 Select org.make.api.operation.CreateOperationOfQuestion.countries org.make.api.operation.operationofquestionservicetest parameters.countries
166 23664 6556 - 6582 Select org.make.api.operation.CreateOperationOfQuestion.defaultLanguage org.make.api.operation.operationofquestionservicetest parameters.defaultLanguage
168 27800 6635 - 6698 Apply org.make.core.technical.Multilingual.apply org.make.api.operation.operationofquestionservicetest org.make.core.technical.Multilingual.apply[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.NonEmpty]](scala.Predef.ArrowAssoc[org.make.core.reference.Language](parameters.defaultLanguage).->[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.NonEmpty]](parameters.question))
168 26157 6678 - 6697 Select org.make.api.operation.CreateOperationOfQuestion.question org.make.api.operation.operationofquestionservicetest parameters.question
168 24012 6648 - 6697 Apply scala.Predef.ArrowAssoc.-> org.make.api.operation.operationofquestionservicetest scala.Predef.ArrowAssoc[org.make.core.reference.Language](parameters.defaultLanguage).->[eu.timepit.refined.api.Refined[String,eu.timepit.refined.collection.NonEmpty]](parameters.question)
168 27334 6648 - 6674 Select org.make.api.operation.CreateOperationOfQuestion.defaultLanguage org.make.api.operation.operationofquestionservicetest parameters.defaultLanguage
169 25394 6722 - 6726 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
170 28244 6750 - 6778 Apply scala.Some.apply org.make.api.operation.operationofquestionservicetest scala.Some.apply[org.make.core.operation.OperationId](parameters.operationId)
170 23222 6755 - 6777 Select org.make.api.operation.CreateOperationOfQuestion.operationId org.make.api.operation.operationofquestionservicetest parameters.operationId
173 25035 6820 - 8248 Apply org.make.core.operation.OperationOfQuestion.apply org.make.api.operation.operationofquestionservicetest org.make.core.operation.OperationOfQuestion.apply(questionId, parameters.operationId, parameters.startDate, parameters.endDate, org.make.core.technical.Multilingual.apply[String](scala.Predef.ArrowAssoc[org.make.core.reference.Language](parameters.defaultLanguage).->[String](parameters.operationTitle)), org.make.core.technical.Multilingual.apply[String](scala.Predef.ArrowAssoc[org.make.core.reference.Language](parameters.defaultLanguage).->[String](parameters.proposalPrefix)), true, org.make.core.operation.SequenceCardsConfiguration.default, scala.None, org.make.core.operation.Metas.apply(scala.None, scala.None, scala.None), org.make.core.operation.QuestionTheme.default, scala.None, scala.None, scala.None, scala.None, scala.None, scala.None, scala.None, scala.None, scala.None, scala.None, scala.None, scala.None, scala.None, scala.None, 0, 0, scala.None, parameters.featured, 0, 100000, org.make.core.operation.OperationOfQuestionTimeline.apply(scala.None, scala.None, scala.None), org.make.core.DateHelper.now(), false, scala.None, scala.None)
175 23524 6896 - 6918 Select org.make.api.operation.CreateOperationOfQuestion.operationId org.make.api.operation.operationofquestionservicetest parameters.operationId
176 27263 6940 - 6960 Select org.make.api.operation.CreateOperationOfQuestion.startDate org.make.api.operation.operationofquestionservicetest parameters.startDate
177 24939 6980 - 6998 Select org.make.api.operation.CreateOperationOfQuestion.endDate org.make.api.operation.operationofquestionservicetest parameters.endDate
178 23834 7039 - 7065 Select org.make.api.operation.CreateOperationOfQuestion.defaultLanguage org.make.api.operation.operationofquestionservicetest parameters.defaultLanguage
178 27739 7069 - 7094 Select org.make.api.operation.CreateOperationOfQuestion.operationTitle org.make.api.operation.operationofquestionservicetest parameters.operationTitle
178 23142 7026 - 7095 Apply org.make.core.technical.Multilingual.apply org.make.api.operation.operationofquestionservicetest org.make.core.technical.Multilingual.apply[String](scala.Predef.ArrowAssoc[org.make.core.reference.Language](parameters.defaultLanguage).->[String](parameters.operationTitle))
178 25405 7039 - 7094 Apply scala.Predef.ArrowAssoc.-> org.make.api.operation.operationofquestionservicetest scala.Predef.ArrowAssoc[org.make.core.reference.Language](parameters.defaultLanguage).->[String](parameters.operationTitle)
179 28251 7137 - 7163 Select org.make.api.operation.CreateOperationOfQuestion.defaultLanguage org.make.api.operation.operationofquestionservicetest parameters.defaultLanguage
179 25721 7167 - 7192 Select org.make.api.operation.CreateOperationOfQuestion.proposalPrefix org.make.api.operation.operationofquestionservicetest parameters.proposalPrefix
179 27276 7124 - 7193 Apply org.make.core.technical.Multilingual.apply org.make.api.operation.operationofquestionservicetest org.make.core.technical.Multilingual.apply[String](scala.Predef.ArrowAssoc[org.make.core.reference.Language](parameters.defaultLanguage).->[String](parameters.proposalPrefix))
179 23463 7137 - 7192 Apply scala.Predef.ArrowAssoc.-> org.make.api.operation.operationofquestionservicetest scala.Predef.ArrowAssoc[org.make.core.reference.Language](parameters.defaultLanguage).->[String](parameters.proposalPrefix)
180 25254 7216 - 7220 Literal <nosymbol> org.make.api.operation.operationofquestionservicetest true
181 24133 7259 - 7293 Select org.make.core.operation.SequenceCardsConfiguration.default org.make.api.operation.operationofquestionservicetest org.make.core.operation.SequenceCardsConfiguration.default
182 27789 7315 - 7319 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
183 27886 7355 - 7359 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
183 26016 7337 - 7360 Apply org.make.core.operation.Metas.apply org.make.api.operation.operationofquestionservicetest org.make.core.operation.Metas.apply(scala.None, scala.None, scala.None)
183 23378 7349 - 7353 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
183 25345 7343 - 7347 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
184 23660 7378 - 7399 Select org.make.core.operation.QuestionTheme.default org.make.api.operation.operationofquestionservicetest org.make.core.operation.QuestionTheme.default
185 27212 7424 - 7428 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
186 25265 7459 - 7463 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
187 23768 7497 - 7501 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
188 27729 7531 - 7535 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
189 25547 7568 - 7572 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
190 23391 7598 - 7602 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
191 27133 7631 - 7635 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
192 25891 7663 - 7667 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
193 23594 7698 - 7702 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
194 27260 7733 - 7737 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
195 25276 7772 - 7776 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
196 24079 7803 - 7807 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
197 27735 7837 - 7841 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
198 25473 7865 - 7869 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
199 23139 7896 - 7897 Literal <nosymbol> org.make.api.operation.operationofquestionservicetest 0
200 26775 7927 - 7928 Literal <nosymbol> org.make.api.operation.operationofquestionservicetest 0
201 25826 7948 - 7952 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
202 23601 7973 - 7992 Select org.make.api.operation.CreateOperationOfQuestion.featured org.make.api.operation.operationofquestionservicetest parameters.featured
203 27271 8015 - 8016 Literal <nosymbol> org.make.api.operation.operationofquestionservicetest 0
204 25024 8040 - 8047 Literal <nosymbol> org.make.api.operation.operationofquestionservicetest 100000
205 23149 8068 - 8113 Apply org.make.core.operation.OperationOfQuestionTimeline.apply org.make.api.operation.operationofquestionservicetest org.make.core.operation.OperationOfQuestionTimeline.apply(scala.None, scala.None, scala.None)
205 23952 8096 - 8100 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
205 27672 8102 - 8106 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
205 25483 8108 - 8112 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
206 26909 8135 - 8151 Apply org.make.core.DefaultDateHelper.now org.make.api.operation.operationofquestionservicetest org.make.core.DateHelper.now()
207 25832 8182 - 8187 Literal <nosymbol> org.make.api.operation.operationofquestionservicetest false
208 23536 8209 - 8213 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
209 27209 8236 - 8240 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
212 22994 8307 - 8346 Apply org.make.api.operation.DefaultOperationOfQuestionServiceComponent.DefaultOperationOfQuestionService.createSequenceConfiguration org.make.api.operation.operationofquestionservicetest DefaultOperationOfQuestionService.this.createSequenceConfiguration(questionId)
215 27217 8378 - 8378 Select scala.concurrent.ExecutionContext.Implicits.global org.make.api.operation.operationofquestionservicetest scala.concurrent.ExecutionContext.Implicits.global
215 24963 8354 - 8669 ApplyToImplicitArgs scala.concurrent.Future.flatMap org.make.api.operation.operationofquestionservicetest DefaultOperationOfQuestionServiceComponent.this.persistentQuestionService.persist(question).flatMap[org.make.core.operation.OperationOfQuestion](((x$9: org.make.core.question.Question) => (x$9: org.make.core.question.Question @unchecked) match { case _ => DefaultOperationOfQuestionServiceComponent.this.persistentSequenceConfigurationService.persist(sequenceConfiguration).flatMap[org.make.core.operation.OperationOfQuestion](((x$8: Boolean) => (x$8: Boolean @unchecked) match { case _ => DefaultOperationOfQuestionServiceComponent.this.persistentOperationOfQuestionService.persist(operationOfQuestion).flatMap[org.make.core.operation.OperationOfQuestion](((persisted: org.make.core.operation.OperationOfQuestion) => DefaultOperationOfQuestionService.this.indexById(questionId).map[org.make.core.operation.OperationOfQuestion](((x$7: Option[org.make.core.elasticsearch.IndexationStatus]) => (x$7: Option[org.make.core.elasticsearch.IndexationStatus] @unchecked) match { case _ => persisted }))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global) }))(scala.concurrent.ExecutionContext.Implicits.global) }))(scala.concurrent.ExecutionContext.Implicits.global)
216 23546 8433 - 8669 ApplyToImplicitArgs scala.concurrent.Future.flatMap DefaultOperationOfQuestionServiceComponent.this.persistentSequenceConfigurationService.persist(sequenceConfiguration).flatMap[org.make.core.operation.OperationOfQuestion](((x$8: Boolean) => (x$8: Boolean @unchecked) match { case _ => DefaultOperationOfQuestionServiceComponent.this.persistentOperationOfQuestionService.persist(operationOfQuestion).flatMap[org.make.core.operation.OperationOfQuestion](((persisted: org.make.core.operation.OperationOfQuestion) => DefaultOperationOfQuestionService.this.indexById(questionId).map[org.make.core.operation.OperationOfQuestion](((x$7: Option[org.make.core.elasticsearch.IndexationStatus]) => (x$7: Option[org.make.core.elasticsearch.IndexationStatus] @unchecked) match { case _ => persisted }))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global) }))(scala.concurrent.ExecutionContext.Implicits.global)
216 25946 8443 - 8443 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
217 27130 8524 - 8669 ApplyToImplicitArgs scala.concurrent.Future.flatMap DefaultOperationOfQuestionServiceComponent.this.persistentOperationOfQuestionService.persist(operationOfQuestion).flatMap[org.make.core.operation.OperationOfQuestion](((persisted: org.make.core.operation.OperationOfQuestion) => DefaultOperationOfQuestionService.this.indexById(questionId).map[org.make.core.operation.OperationOfQuestion](((x$7: Option[org.make.core.elasticsearch.IndexationStatus]) => (x$7: Option[org.make.core.elasticsearch.IndexationStatus] @unchecked) match { case _ => persisted }))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
217 23077 8534 - 8534 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
218 27683 8621 - 8621 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
218 25353 8611 - 8669 ApplyToImplicitArgs scala.concurrent.Future.map DefaultOperationOfQuestionService.this.indexById(questionId).map[org.make.core.operation.OperationOfQuestion](((x$7: Option[org.make.core.elasticsearch.IndexationStatus]) => (x$7: Option[org.make.core.elasticsearch.IndexationStatus] @unchecked) match { case _ => persisted }))(scala.concurrent.ExecutionContext.Implicits.global)
223 23007 8795 - 8844 Apply org.make.core.technical.IdGenerator.nextSpecificSequenceConfigurationId org.make.api.operation.operationofquestionservicetest DefaultOperationOfQuestionServiceComponent.this.idGenerator.nextSpecificSequenceConfigurationId()
225 27513 8912 - 8964 Apply org.make.core.technical.IdGenerator.nextExplorationSequenceConfigurationId org.make.api.operation.operationofquestionservicetest DefaultOperationOfQuestionServiceComponent.this.idGenerator.nextExplorationSequenceConfigurationId()
225 25289 8871 - 8965 Apply org.make.core.sequence.ExplorationSequenceConfiguration.default org.make.api.operation.operationofquestionservicetest org.make.core.sequence.ExplorationSequenceConfiguration.default(DefaultOperationOfQuestionServiceComponent.this.idGenerator.nextExplorationSequenceConfigurationId())
226 23090 9051 - 9084 Apply org.make.api.operation.DefaultOperationOfQuestionServiceComponent.DefaultOperationOfQuestionService.specificSequenceConfigurationId org.make.api.operation.operationofquestionservicetest specificSequenceConfigurationId()
226 27066 9000 - 9085 Apply org.make.core.sequence.SpecificSequenceConfiguration.otherSequenceDefault org.make.api.operation.operationofquestionservicetest org.make.core.sequence.SpecificSequenceConfiguration.otherSequenceDefault(specificSequenceConfigurationId())
227 23597 9114 - 9199 Apply org.make.core.sequence.SpecificSequenceConfiguration.otherSequenceDefault org.make.api.operation.operationofquestionservicetest org.make.core.sequence.SpecificSequenceConfiguration.otherSequenceDefault(specificSequenceConfigurationId())
227 24888 9165 - 9198 Apply org.make.api.operation.DefaultOperationOfQuestionServiceComponent.DefaultOperationOfQuestionService.specificSequenceConfigurationId org.make.api.operation.operationofquestionservicetest specificSequenceConfigurationId()
228 25210 9228 - 9313 Apply org.make.core.sequence.SpecificSequenceConfiguration.otherSequenceDefault org.make.api.operation.operationofquestionservicetest org.make.core.sequence.SpecificSequenceConfiguration.otherSequenceDefault(specificSequenceConfigurationId())
228 27158 9279 - 9312 Apply org.make.api.operation.DefaultOperationOfQuestionServiceComponent.DefaultOperationOfQuestionService.specificSequenceConfigurationId org.make.api.operation.operationofquestionservicetest specificSequenceConfigurationId()
231 27809 9387 - 9387 Select org.make.core.sequence.SequenceConfiguration.copy$default$7 org.make.api.operation.operationofquestionservicetest org.make.core.sequence.SequenceConfiguration.default.copy$default$7
231 23027 9387 - 9387 Select org.make.core.sequence.SequenceConfiguration.copy$default$9 org.make.api.operation.operationofquestionservicetest org.make.core.sequence.SequenceConfiguration.default.copy$default$9
231 27076 9387 - 9387 Select org.make.core.sequence.SequenceConfiguration.copy$default$10 org.make.api.operation.operationofquestionservicetest org.make.core.sequence.SequenceConfiguration.default.copy$default$10
231 23532 9357 - 9598 Apply org.make.core.sequence.SequenceConfiguration.copy org.make.api.operation.operationofquestionservicetest org.make.core.sequence.SequenceConfiguration.default.copy(questionId, mainSequence, controversialSequence, popularSequence, keywordSequence, org.make.core.sequence.SequenceConfiguration.default.copy$default$6, org.make.core.sequence.SequenceConfiguration.default.copy$default$7, org.make.core.sequence.SequenceConfiguration.default.copy$default$8, org.make.core.sequence.SequenceConfiguration.default.copy$default$9, org.make.core.sequence.SequenceConfiguration.default.copy$default$10, org.make.core.sequence.SequenceConfiguration.default.copy$default$11)
231 25478 9387 - 9387 Select org.make.core.sequence.SequenceConfiguration.copy$default$8 org.make.api.operation.operationofquestionservicetest org.make.core.sequence.SequenceConfiguration.default.copy$default$8
231 22935 9387 - 9387 Select org.make.core.sequence.SequenceConfiguration.copy$default$6 org.make.api.operation.operationofquestionservicetest org.make.core.sequence.SequenceConfiguration.default.copy$default$6
231 24520 9387 - 9387 Select org.make.core.sequence.SequenceConfiguration.copy$default$11 org.make.api.operation.operationofquestionservicetest org.make.core.sequence.SequenceConfiguration.default.copy$default$11
242 23072 9718 - 9899 Apply org.make.api.operation.PersistentOperationOfQuestionService.count org.make.api.operation.operationofquestionservicetest DefaultOperationOfQuestionServiceComponent.this.persistentOperationOfQuestionService.count(request.questionIds, request.operationIds, request.openAt, request.endAfter, request.slug)
243 27352 9770 - 9789 Select org.make.api.operation.SearchOperationsOfQuestions.questionIds org.make.api.operation.operationofquestionservicetest request.questionIds
244 25135 9799 - 9819 Select org.make.api.operation.SearchOperationsOfQuestions.operationIds org.make.api.operation.operationofquestionservicetest request.operationIds
245 22949 9829 - 9843 Select org.make.api.operation.SearchOperationsOfQuestions.openAt org.make.api.operation.operationofquestionservicetest request.openAt
246 27678 9853 - 9869 Select org.make.api.operation.SearchOperationsOfQuestions.endAfter org.make.api.operation.operationofquestionservicetest request.endAfter
247 25413 9879 - 9891 Select org.make.api.operation.SearchOperationsOfQuestions.slug org.make.api.operation.operationofquestionservicetest request.slug
254 27008 10128 - 10145 Select org.make.core.operation.indexed.IndexedOperationOfQuestion.immutableFields x$11.immutableFields
254 24824 10157 - 10205 Select org.make.core.operation.indexed.IndexedOperationOfQuestion.ImmutableFields.empty org.make.core.operation.indexed.IndexedOperationOfQuestion.ImmutableFields.empty
254 24959 10024 - 10207 ApplyToImplicitArgs scala.concurrent.Future.map DefaultOperationOfQuestionServiceComponent.this.elasticsearchOperationOfQuestionAPI.findOperationOfQuestionById(questionId).map[org.make.core.operation.indexed.IndexedOperationOfQuestion.ImmutableFields](((x$10: Option[org.make.core.operation.indexed.IndexedOperationOfQuestion]) => x$10.map[org.make.core.operation.indexed.IndexedOperationOfQuestion.ImmutableFields](((x$11: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$11.immutableFields)).getOrElse[org.make.core.operation.indexed.IndexedOperationOfQuestion.ImmutableFields](org.make.core.operation.indexed.IndexedOperationOfQuestion.ImmutableFields.empty)))(scala.concurrent.ExecutionContext.Implicits.global)
254 23540 10122 - 10206 Apply scala.Option.getOrElse x$10.map[org.make.core.operation.indexed.IndexedOperationOfQuestion.ImmutableFields](((x$11: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$11.immutableFields)).getOrElse[org.make.core.operation.indexed.IndexedOperationOfQuestion.ImmutableFields](org.make.core.operation.indexed.IndexedOperationOfQuestion.ImmutableFields.empty)
254 27283 10121 - 10121 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
256 23024 10332 - 10332 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
256 22961 10343 - 10382 Apply org.make.api.question.QuestionService.getQuestion DefaultOperationOfQuestionServiceComponent.this.questionService.getQuestion(questionId)
256 26853 10332 - 10332 ApplyToImplicitArgs cats.instances.FutureInstances.catsStdInstancesForFuture cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
257 22713 10412 - 10412 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
257 26562 10412 - 10412 ApplyToImplicitArgs cats.instances.FutureInstances.catsStdInstancesForFuture cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
257 25419 10423 - 10460 Apply org.make.api.operation.DefaultOperationOfQuestionServiceComponent.DefaultOperationOfQuestionService.findByQuestionId DefaultOperationOfQuestionService.this.findByQuestionId(question.questionId)
257 25361 10392 - 10678 ApplyToImplicitArgs cats.data.OptionT.flatMap cats.data.OptionT.apply[scala.concurrent.Future, org.make.core.operation.OperationOfQuestion](DefaultOperationOfQuestionService.this.findByQuestionId(question.questionId)).flatMap[org.make.core.operation.indexed.IndexedOperationOfQuestion](((operationOfQuestion: org.make.core.operation.OperationOfQuestion) => cats.data.OptionT.apply[scala.concurrent.Future, org.make.core.operation.SimpleOperation](DefaultOperationOfQuestionServiceComponent.this.operationService.findOneSimple(operationOfQuestion.operationId)).map[org.make.core.operation.indexed.IndexedOperationOfQuestion](((operation: org.make.core.operation.SimpleOperation) => org.make.core.operation.indexed.IndexedOperationOfQuestion.createFromOperationOfQuestion(operationOfQuestion, operation, question)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))
257 26548 10440 - 10459 Select org.make.core.question.Question.questionId question.questionId
258 26843 10501 - 10564 Apply org.make.api.operation.OperationService.findOneSimple DefaultOperationOfQuestionServiceComponent.this.operationService.findOneSimple(operationOfQuestion.operationId)
258 23484 10490 - 10490 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
258 24970 10470 - 10678 ApplyToImplicitArgs cats.data.OptionT.map cats.data.OptionT.apply[scala.concurrent.Future, org.make.core.operation.SimpleOperation](DefaultOperationOfQuestionServiceComponent.this.operationService.findOneSimple(operationOfQuestion.operationId)).map[org.make.core.operation.indexed.IndexedOperationOfQuestion](((operation: org.make.core.operation.SimpleOperation) => org.make.core.operation.indexed.IndexedOperationOfQuestion.createFromOperationOfQuestion(operationOfQuestion, operation, question)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))
258 23390 10532 - 10563 Select org.make.core.operation.OperationOfQuestion.operationId operationOfQuestion.operationId
258 27152 10490 - 10490 ApplyToImplicitArgs cats.instances.FutureInstances.catsStdInstancesForFuture cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)
259 24683 10580 - 10678 Apply org.make.core.operation.indexed.IndexedOperationOfQuestion.createFromOperationOfQuestion org.make.core.operation.indexed.IndexedOperationOfQuestion.createFromOperationOfQuestion(operationOfQuestion, operation, question)
259 24808 10298 - 10685 Select cats.data.OptionT.value cats.data.OptionT.apply[scala.concurrent.Future, org.make.core.question.Question](DefaultOperationOfQuestionServiceComponent.this.questionService.getQuestion(questionId)).flatMap[org.make.core.operation.indexed.IndexedOperationOfQuestion](((question: org.make.core.question.Question) => cats.data.OptionT.apply[scala.concurrent.Future, org.make.core.operation.OperationOfQuestion](DefaultOperationOfQuestionService.this.findByQuestionId(question.questionId)).flatMap[org.make.core.operation.indexed.IndexedOperationOfQuestion](((operationOfQuestion: org.make.core.operation.OperationOfQuestion) => cats.data.OptionT.apply[scala.concurrent.Future, org.make.core.operation.SimpleOperation](DefaultOperationOfQuestionServiceComponent.this.operationService.findOneSimple(operationOfQuestion.operationId)).map[org.make.core.operation.indexed.IndexedOperationOfQuestion](((operation: org.make.core.operation.SimpleOperation) => org.make.core.operation.indexed.IndexedOperationOfQuestion.createFromOperationOfQuestion(operationOfQuestion, operation, question)))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global))))(cats.implicits.catsStdInstancesForFuture(scala.concurrent.ExecutionContext.Implicits.global)).value
261 26689 10734 - 10734 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
262 27456 10781 - 10820 Apply scala.Option.map ooq.map[org.make.core.operation.indexed.IndexedOperationOfQuestion](((x$12: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$12.applyImmutableFields(fields)))
262 22945 10751 - 10821 ApplyToImplicitArgs scala.concurrent.Future.map immutableFields.map[Option[org.make.core.operation.indexed.IndexedOperationOfQuestion]](((fields: org.make.core.operation.indexed.IndexedOperationOfQuestion.ImmutableFields) => ooq.map[org.make.core.operation.indexed.IndexedOperationOfQuestion](((x$12: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$12.applyImmutableFields(fields)))))(scala.concurrent.ExecutionContext.Implicits.global)
262 24906 10770 - 10770 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
262 23488 10789 - 10819 Apply org.make.core.operation.indexed.IndexedOperationOfQuestion.applyImmutableFields x$12.applyImmutableFields(fields)
263 22877 10693 - 11045 ApplyToImplicitArgs scala.concurrent.Future.flatMap futureIndexedOperationOfQuestion.flatMap[Option[org.make.core.operation.indexed.IndexedOperationOfQuestion]](((ooq: Option[org.make.core.operation.indexed.IndexedOperationOfQuestion]) => immutableFields.map[Option[org.make.core.operation.indexed.IndexedOperationOfQuestion]](((fields: org.make.core.operation.indexed.IndexedOperationOfQuestion.ImmutableFields) => ooq.map[org.make.core.operation.indexed.IndexedOperationOfQuestion](((x$12: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$12.applyImmutableFields(fields)))))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global).flatMap[Option[org.make.core.elasticsearch.IndexationStatus]](((x0$1: Option[org.make.core.operation.indexed.IndexedOperationOfQuestion]) => x0$1 match { case scala.None => scala.concurrent.Future.successful[None.type](scala.None) case (value: org.make.core.operation.indexed.IndexedOperationOfQuestion): Some[org.make.core.operation.indexed.IndexedOperationOfQuestion]((operationOfQuestion @ _)) => DefaultOperationOfQuestionServiceComponent.this.elasticsearchOperationOfQuestionAPI.indexOperationOfQuestion(operationOfQuestion, scala.None).map[Some[org.make.core.elasticsearch.IndexationStatus]](((x$13: org.make.core.elasticsearch.IndexationStatus) => scala.Some.apply[org.make.core.elasticsearch.IndexationStatus](x$13)))(scala.concurrent.ExecutionContext.Implicits.global) }))(scala.concurrent.ExecutionContext.Implicits.global)
263 24913 10838 - 10838 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
264 25368 10879 - 10883 Select scala.None scala.None
264 23031 10861 - 10884 Apply scala.concurrent.Future.successful scala.concurrent.Future.successful[None.type](scala.None)
266 27468 10937 - 11037 ApplyToImplicitArgs scala.concurrent.Future.map DefaultOperationOfQuestionServiceComponent.this.elasticsearchOperationOfQuestionAPI.indexOperationOfQuestion(operationOfQuestion, scala.None).map[Some[org.make.core.elasticsearch.IndexationStatus]](((x$13: org.make.core.elasticsearch.IndexationStatus) => scala.Some.apply[org.make.core.elasticsearch.IndexationStatus](x$13)))(scala.concurrent.ExecutionContext.Implicits.global)
266 26783 11019 - 11023 Select scala.None scala.None
266 24821 11029 - 11036 Apply scala.Some.apply scala.Some.apply[org.make.core.elasticsearch.IndexationStatus](x$13)
266 22554 11028 - 11028 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
279 22354 11393 - 11393 Select org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$6 org.make.api.operation.operationofquestionservicetest org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$6
279 24528 11393 - 11393 Select org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$5 org.make.api.operation.operationofquestionservicetest org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$5
279 26121 11393 - 12006 Apply org.make.core.operation.OperationOfQuestionSearchQuery.apply org.make.api.operation.operationofquestionservicetest org.make.core.operation.OperationOfQuestionSearchQuery.apply(scala.Some.apply[org.make.core.operation.OperationOfQuestionSearchFilters]({ <artifact> val x$1: Option[org.make.core.operation.QuestionIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = questionIds.map[org.make.core.operation.QuestionIdsSearchFilter](org.make.core.operation.QuestionIdsSearchFilter); <artifact> val x$2: Some[org.make.core.operation.StartDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.StartDateSearchFilter](org.make.core.operation.StartDateSearchFilter.apply(scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now()), scala.None)); <artifact> val x$3: Some[org.make.core.operation.EndDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.EndDateSearchFilter](org.make.core.operation.EndDateSearchFilter.apply(scala.None, scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now().minusWeeks(2L)))); <artifact> val x$4: Some[org.make.core.operation.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.OperationKindsSearchFilter](org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.values)); <artifact> val x$5: Option[org.make.core.operation.QuestionContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$2; <artifact> val x$6: Option[org.make.core.operation.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3; <artifact> val x$7: Option[org.make.core.operation.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4; <artifact> val x$8: Option[org.make.core.operation.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$5; <artifact> val x$9: Option[org.make.core.operation.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$6; <artifact> val x$10: Option[org.make.core.operation.FeaturedSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10; <artifact> val x$11: Option[org.make.core.operation.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$11; <artifact> val x$12: Option[org.make.core.operation.HasResultsSearchFilter.type] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12; org.make.core.operation.OperationOfQuestionSearchFilters.apply(x$1, x$5, x$6, x$7, x$8, x$9, x$2, x$3, x$4, x$10, x$11, x$12) }), questionIds.map[Int](((x$14: Seq[org.make.core.question.QuestionId]) => x$14.length.+(1))).orElse[Int](scala.Some.apply[Int](10000)).map[org.make.core.technical.Pagination.Limit](((x$15: Int) => org.make.core.technical.Pagination.Limit.apply(x$15))), org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$4, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$5, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$6)
279 23342 11393 - 11393 Select org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3 org.make.api.operation.operationofquestionservicetest org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3
279 27086 11393 - 11393 Select org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$4 org.make.api.operation.operationofquestionservicetest org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$4
280 27230 11447 - 11898 Apply scala.Some.apply org.make.api.operation.operationofquestionservicetest scala.Some.apply[org.make.core.operation.OperationOfQuestionSearchFilters]({ <artifact> val x$1: Option[org.make.core.operation.QuestionIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = questionIds.map[org.make.core.operation.QuestionIdsSearchFilter](org.make.core.operation.QuestionIdsSearchFilter); <artifact> val x$2: Some[org.make.core.operation.StartDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.StartDateSearchFilter](org.make.core.operation.StartDateSearchFilter.apply(scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now()), scala.None)); <artifact> val x$3: Some[org.make.core.operation.EndDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.EndDateSearchFilter](org.make.core.operation.EndDateSearchFilter.apply(scala.None, scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now().minusWeeks(2L)))); <artifact> val x$4: Some[org.make.core.operation.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.OperationKindsSearchFilter](org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.values)); <artifact> val x$5: Option[org.make.core.operation.QuestionContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$2; <artifact> val x$6: Option[org.make.core.operation.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3; <artifact> val x$7: Option[org.make.core.operation.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4; <artifact> val x$8: Option[org.make.core.operation.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$5; <artifact> val x$9: Option[org.make.core.operation.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$6; <artifact> val x$10: Option[org.make.core.operation.FeaturedSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10; <artifact> val x$11: Option[org.make.core.operation.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$11; <artifact> val x$12: Option[org.make.core.operation.HasResultsSearchFilter.type] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12; org.make.core.operation.OperationOfQuestionSearchFilters.apply(x$1, x$5, x$6, x$7, x$8, x$9, x$2, x$3, x$4, x$10, x$11, x$12) })
281 26640 11467 - 11467 Select org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$5 org.make.api.operation.operationofquestionservicetest org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$5
281 24902 11467 - 11467 Select org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3 org.make.api.operation.operationofquestionservicetest org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3
281 22820 11467 - 11467 Select org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4 org.make.api.operation.operationofquestionservicetest org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4
281 22341 11467 - 11884 Apply org.make.core.operation.OperationOfQuestionSearchFilters.apply org.make.api.operation.operationofquestionservicetest org.make.core.operation.OperationOfQuestionSearchFilters.apply(x$1, x$5, x$6, x$7, x$8, x$9, x$2, x$3, x$4, x$10, x$11, x$12)
281 24297 11467 - 11467 Select org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$6 org.make.api.operation.operationofquestionservicetest org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$6
281 27225 11467 - 11467 Select org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$2 org.make.api.operation.operationofquestionservicetest org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$2
281 26779 11467 - 11467 Select org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$11 org.make.api.operation.operationofquestionservicetest org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$11
281 23097 11467 - 11467 Select org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10 org.make.api.operation.operationofquestionservicetest org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10
281 24697 11467 - 11467 Select org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12 org.make.api.operation.operationofquestionservicetest org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12
282 26699 11547 - 11570 Select org.make.core.operation.QuestionIdsSearchFilter org.make.api.operation.operationofquestionservicetest org.make.core.operation.QuestionIdsSearchFilter
282 25416 11531 - 11571 Apply scala.Option.map org.make.api.operation.operationofquestionservicetest questionIds.map[org.make.core.operation.QuestionIdsSearchFilter](org.make.core.operation.QuestionIdsSearchFilter)
283 27288 11601 - 11670 Apply scala.Some.apply org.make.api.operation.operationofquestionservicetest scala.Some.apply[org.make.core.operation.StartDateSearchFilter](org.make.core.operation.StartDateSearchFilter.apply(scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now()), scala.None))
283 27022 11634 - 11656 Apply scala.Some.apply org.make.api.operation.operationofquestionservicetest scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now())
283 23348 11639 - 11655 Apply org.make.core.DefaultDateHelper.now org.make.api.operation.operationofquestionservicetest org.make.core.DateHelper.now()
283 22567 11606 - 11669 Apply org.make.core.operation.StartDateSearchFilter.apply org.make.api.operation.operationofquestionservicetest org.make.core.operation.StartDateSearchFilter.apply(scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now()), scala.None)
283 24750 11664 - 11668 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
284 23168 11698 - 11779 Apply scala.Some.apply org.make.api.operation.operationofquestionservicetest scala.Some.apply[org.make.core.operation.EndDateSearchFilter](org.make.core.operation.EndDateSearchFilter.apply(scala.None, scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now().minusWeeks(2L))))
284 24286 11703 - 11778 Apply org.make.core.operation.EndDateSearchFilter.apply org.make.api.operation.operationofquestionservicetest org.make.core.operation.EndDateSearchFilter.apply(scala.None, scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now().minusWeeks(2L)))
284 25233 11729 - 11733 Select scala.None org.make.api.operation.operationofquestionservicetest scala.None
284 22888 11746 - 11776 Apply java.time.ZonedDateTime.minusWeeks org.make.api.operation.operationofquestionservicetest org.make.core.DateHelper.now().minusWeeks(2L)
284 26628 11741 - 11777 Apply scala.Some.apply org.make.api.operation.operationofquestionservicetest scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now().minusWeeks(2L))
285 24764 11819 - 11867 Apply org.make.core.operation.OperationKindsSearchFilter.apply org.make.api.operation.operationofquestionservicetest org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.values)
285 22410 11814 - 11868 Apply scala.Some.apply org.make.api.operation.operationofquestionservicetest scala.Some.apply[org.make.core.operation.OperationKindsSearchFilter](org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.values))
285 26951 11846 - 11866 Select org.make.core.operation.OperationKind.values org.make.api.operation.operationofquestionservicetest org.make.core.operation.OperationKind.values
288 24229 11920 - 11994 Apply scala.Option.map org.make.api.operation.operationofquestionservicetest questionIds.map[Int](((x$14: Seq[org.make.core.question.QuestionId]) => x$14.length.+(1))).orElse[Int](scala.Some.apply[Int](10000)).map[org.make.core.technical.Pagination.Limit](((x$15: Int) => org.make.core.technical.Pagination.Limit.apply(x$15)))
288 26504 11974 - 11993 Apply org.make.core.technical.Pagination.Limit.apply org.make.api.operation.operationofquestionservicetest org.make.core.technical.Pagination.Limit.apply(x$15)
288 25221 11936 - 11948 Apply scala.Int.+ x$14.length.+(1)
288 22646 11957 - 11968 Apply scala.Some.apply org.make.api.operation.operationofquestionservicetest scala.Some.apply[Int](10000)
291 23803 11310 - 13919 ApplyToImplicitArgs scala.concurrent.Future.flatMap org.make.api.operation.operationofquestionservicetest DefaultOperationOfQuestionServiceComponent.this.elasticsearchOperationOfQuestionAPI.searchOperationOfQuestions(org.make.core.operation.OperationOfQuestionSearchQuery.apply(scala.Some.apply[org.make.core.operation.OperationOfQuestionSearchFilters]({ <artifact> val x$1: Option[org.make.core.operation.QuestionIdsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = questionIds.map[org.make.core.operation.QuestionIdsSearchFilter](org.make.core.operation.QuestionIdsSearchFilter); <artifact> val x$2: Some[org.make.core.operation.StartDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.StartDateSearchFilter](org.make.core.operation.StartDateSearchFilter.apply(scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now()), scala.None)); <artifact> val x$3: Some[org.make.core.operation.EndDateSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.EndDateSearchFilter](org.make.core.operation.EndDateSearchFilter.apply(scala.None, scala.Some.apply[java.time.ZonedDateTime](org.make.core.DateHelper.now().minusWeeks(2L)))); <artifact> val x$4: Some[org.make.core.operation.OperationKindsSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[org.make.core.operation.OperationKindsSearchFilter](org.make.core.operation.OperationKindsSearchFilter.apply(org.make.core.operation.OperationKind.values)); <artifact> val x$5: Option[org.make.core.operation.QuestionContentSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$2; <artifact> val x$6: Option[org.make.core.operation.SlugSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$3; <artifact> val x$7: Option[org.make.core.operation.DescriptionSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$4; <artifact> val x$8: Option[org.make.core.operation.CountrySearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$5; <artifact> val x$9: Option[org.make.core.operation.LanguageSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$6; <artifact> val x$10: Option[org.make.core.operation.FeaturedSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$10; <artifact> val x$11: Option[org.make.core.operation.StatusSearchFilter] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$11; <artifact> val x$12: Option[org.make.core.operation.HasResultsSearchFilter.type] @scala.reflect.internal.annotations.uncheckedBounds = org.make.core.operation.OperationOfQuestionSearchFilters.apply$default$12; org.make.core.operation.OperationOfQuestionSearchFilters.apply(x$1, x$5, x$6, x$7, x$8, x$9, x$2, x$3, x$4, x$10, x$11, x$12) }), questionIds.map[Int](((x$14: Seq[org.make.core.question.QuestionId]) => x$14.length.+(1))).orElse[Int](scala.Some.apply[Int](10000)).map[org.make.core.technical.Pagination.Limit](((x$15: Int) => org.make.core.technical.Pagination.Limit.apply(x$15))), org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$3, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$4, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$5, org.make.core.operation.OperationOfQuestionSearchQuery.apply$default$6)).flatMap[Seq[org.make.api.operation.ModerationOperationOfQuestionInfosResponse]](((questions: org.make.core.operation.indexed.OperationOfQuestionSearchResult) => { val futureProposalToModerateByQuestion: scala.concurrent.Future[Map[org.make.core.question.QuestionId,Long]] = DefaultOperationOfQuestionServiceComponent.this.elasticsearchProposalAPI.countProposalsByQuestion(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questions.results.map[org.make.core.question.QuestionId](((x$16: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$16.questionId))), if (moderationMode.==(org.make.api.operation.ModerationMode.Enrichment)) scala.Some.apply[Seq[org.make.core.proposal.ProposalStatus.Accepted.type]](scala.`package`.Seq.apply[org.make.core.proposal.ProposalStatus.Accepted.type](org.make.core.proposal.ProposalStatus.Accepted)) else scala.Some.apply[Seq[org.make.core.proposal.ProposalStatus.Pending.type]](scala.`package`.Seq.apply[org.make.core.proposal.ProposalStatus.Pending.type](org.make.core.proposal.ProposalStatus.Pending)), scala.None, if (moderationMode.==(org.make.api.operation.ModerationMode.Enrichment)) scala.Some.apply[Boolean](true) else scala.None, if (moderationMode.==(org.make.api.operation.ModerationMode.Enrichment)) minVotesCount else scala.None, if (moderationMode.==(org.make.api.operation.ModerationMode.Enrichment)) minScore else scala.None); val futureProposalCountByQuestion: scala.concurrent.Future[Map[org.make.core.question.QuestionId,Long]] = DefaultOperationOfQuestionServiceComponent.this.elasticsearchProposalAPI.countProposalsByQuestion(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questions.results.map[org.make.core.question.QuestionId](((x$17: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$17.questionId))), scala.Some.apply[IndexedSeq[org.make.core.proposal.ProposalStatus]](org.make.core.proposal.ProposalStatus.values), scala.None, scala.None, scala.None, scala.None); val futureHasTags: scala.concurrent.Future[scala.collection.immutable.Map[org.make.core.question.QuestionId,Boolean]] = scala.concurrent.Future.traverse[org.make.core.operation.indexed.IndexedOperationOfQuestion, (org.make.core.question.QuestionId, Boolean), Seq](questions.results)(((q: org.make.core.operation.indexed.IndexedOperationOfQuestion) => DefaultOperationOfQuestionServiceComponent.this.tagService.count({ <artifact> val x$13: Some[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.question.QuestionId]](scala.`package`.Seq.apply[org.make.core.question.QuestionId](q.questionId)); <artifact> val x$14: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.tag.TagFilter.apply$default$1; <artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.tag.TagFilter.apply$default$2; <artifact> val x$16: Option[org.make.core.tag.TagTypeId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.tag.TagFilter.apply$default$3; org.make.api.tag.TagFilter.apply(x$14, x$15, x$16, x$13) }).map[Boolean](((x$18: Int) => x$18.>(0)))(scala.concurrent.ExecutionContext.Implicits.global).map[(org.make.core.question.QuestionId, Boolean)](((hasTags: Boolean) => scala.Predef.ArrowAssoc[org.make.core.question.QuestionId](q.questionId).->[Boolean](hasTags)))(scala.concurrent.ExecutionContext.Implicits.global)))(collection.this.BuildFrom.buildFromIterableOps[Seq, org.make.core.operation.indexed.IndexedOperationOfQuestion, (org.make.core.question.QuestionId, Boolean)], scala.concurrent.ExecutionContext.Implicits.global).map[scala.collection.immutable.Map[org.make.core.question.QuestionId,Boolean]](((x$19: Seq[(org.make.core.question.QuestionId, Boolean)]) => x$19.toMap[org.make.core.question.QuestionId, Boolean](scala.this.<:<.refl[(org.make.core.question.QuestionId, Boolean)])))(scala.concurrent.ExecutionContext.Implicits.global); futureProposalToModerateByQuestion.flatMap[Seq[org.make.api.operation.ModerationOperationOfQuestionInfosResponse]](((moderateCount: Map[org.make.core.question.QuestionId,Long]) => futureProposalCountByQuestion.flatMap[Seq[org.make.api.operation.ModerationOperationOfQuestionInfosResponse]](((totalCount: Map[org.make.core.question.QuestionId,Long]) => futureHasTags.map[Seq[org.make.api.operation.ModerationOperationOfQuestionInfosResponse]](((hasTags: scala.collection.immutable.Map[org.make.core.question.QuestionId,Boolean]) => questions.results.map[org.make.api.operation.ModerationOperationOfQuestionInfosResponse](((q: org.make.core.operation.indexed.IndexedOperationOfQuestion) => ModerationOperationOfQuestionInfosResponse.apply(q, moderateCount.getOrElse[Long](q.questionId, 0L).toInt, totalCount.getOrElse[Long](q.questionId, 0L).toInt, hasTags.getOrElse[Boolean](q.questionId, false)))).sortBy[Int](((x$20: org.make.api.operation.ModerationOperationOfQuestionInfosResponse) => x$20.proposalToModerateCount.*(-1)))(cats.implicits.catsKernelOrderingForOrder[Int](cats.implicits.catsKernelStdOrderForInt))))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global) }))(scala.concurrent.ExecutionContext.Implicits.global)
291 26368 12034 - 12034 Select scala.concurrent.ExecutionContext.Implicits.global org.make.api.operation.operationofquestionservicetest scala.concurrent.ExecutionContext.Implicits.global
292 24162 12100 - 12668 Apply org.make.api.proposal.ProposalSearchEngine.countProposalsByQuestion DefaultOperationOfQuestionServiceComponent.this.elasticsearchProposalAPI.countProposalsByQuestion(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questions.results.map[org.make.core.question.QuestionId](((x$16: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$16.questionId))), if (moderationMode.==(org.make.api.operation.ModerationMode.Enrichment)) scala.Some.apply[Seq[org.make.core.proposal.ProposalStatus.Accepted.type]](scala.`package`.Seq.apply[org.make.core.proposal.ProposalStatus.Accepted.type](org.make.core.proposal.ProposalStatus.Accepted)) else scala.Some.apply[Seq[org.make.core.proposal.ProposalStatus.Pending.type]](scala.`package`.Seq.apply[org.make.core.proposal.ProposalStatus.Pending.type](org.make.core.proposal.ProposalStatus.Pending)), scala.None, if (moderationMode.==(org.make.api.operation.ModerationMode.Enrichment)) scala.Some.apply[Boolean](true) else scala.None, if (moderationMode.==(org.make.api.operation.ModerationMode.Enrichment)) minVotesCount else scala.None, if (moderationMode.==(org.make.api.operation.ModerationMode.Enrichment)) minScore else scala.None)
293 25228 12209 - 12221 Select org.make.core.operation.indexed.IndexedOperationOfQuestion.questionId x$16.questionId
293 22656 12187 - 12222 Apply scala.collection.IterableOps.map questions.results.map[org.make.core.question.QuestionId](((x$16: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$16.questionId))
293 26624 12182 - 12223 Apply scala.Some.apply scala.Some.apply[Seq[org.make.core.question.QuestionId]](questions.results.map[org.make.core.question.QuestionId](((x$16: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$16.questionId)))
295 22485 12294 - 12328 Apply scala.Some.apply scala.Some.apply[Seq[org.make.core.proposal.ProposalStatus.Accepted.type]](scala.`package`.Seq.apply[org.make.core.proposal.ProposalStatus.Accepted.type](org.make.core.proposal.ProposalStatus.Accepted))
295 23277 12264 - 12292 Apply java.lang.Object.== moderationMode.==(org.make.api.operation.ModerationMode.Enrichment)
295 24242 12282 - 12292 Select org.make.api.operation.ModerationMode.Enrichment org.make.api.operation.ModerationMode.Enrichment
295 26135 12294 - 12328 Block scala.Some.apply scala.Some.apply[Seq[org.make.core.proposal.ProposalStatus.Accepted.type]](scala.`package`.Seq.apply[org.make.core.proposal.ProposalStatus.Accepted.type](org.make.core.proposal.ProposalStatus.Accepted))
295 27095 12303 - 12326 Select org.make.core.proposal.ProposalStatus.Accepted org.make.core.proposal.ProposalStatus.Accepted
295 24759 12299 - 12327 Apply scala.collection.SeqFactory.Delegate.apply scala.`package`.Seq.apply[org.make.core.proposal.ProposalStatus.Accepted.type](org.make.core.proposal.ProposalStatus.Accepted)
296 26636 12348 - 12381 Apply scala.Some.apply scala.Some.apply[Seq[org.make.core.proposal.ProposalStatus.Pending.type]](scala.`package`.Seq.apply[org.make.core.proposal.ProposalStatus.Pending.type](org.make.core.proposal.ProposalStatus.Pending))
296 25164 12357 - 12379 Select org.make.core.proposal.ProposalStatus.Pending org.make.core.proposal.ProposalStatus.Pending
296 22969 12353 - 12380 Apply scala.collection.SeqFactory.Delegate.apply scala.`package`.Seq.apply[org.make.core.proposal.ProposalStatus.Pending.type](org.make.core.proposal.ProposalStatus.Pending)
296 24371 12348 - 12381 Block scala.Some.apply scala.Some.apply[Seq[org.make.core.proposal.ProposalStatus.Pending.type]](scala.`package`.Seq.apply[org.make.core.proposal.ProposalStatus.Pending.type](org.make.core.proposal.ProposalStatus.Pending))
297 23286 12409 - 12413 Select scala.None scala.None
298 27103 12460 - 12470 Select org.make.api.operation.ModerationMode.Enrichment org.make.api.operation.ModerationMode.Enrichment
298 22497 12472 - 12482 Apply scala.Some.apply scala.Some.apply[Boolean](true)
298 24695 12442 - 12470 Apply java.lang.Object.== moderationMode.==(org.make.api.operation.ModerationMode.Enrichment)
298 26103 12472 - 12482 Block scala.Some.apply scala.Some.apply[Boolean](true)
298 25173 12488 - 12492 Select scala.None scala.None
298 22831 12488 - 12492 Block scala.None scala.None
299 27043 12575 - 12579 Select scala.None scala.None
299 24384 12526 - 12554 Apply java.lang.Object.== moderationMode.==(org.make.api.operation.ModerationMode.Enrichment)
299 26573 12544 - 12554 Select org.make.api.operation.ModerationMode.Enrichment org.make.api.operation.ModerationMode.Enrichment
299 24706 12575 - 12579 Block scala.None scala.None
299 28058 12556 - 12569 Ident org.make.api.operation.DefaultOperationOfQuestionServiceComponent.DefaultOperationOfQuestionService.minVotesCount minVotesCount
300 24989 12638 - 12646 Ident org.make.api.operation.DefaultOperationOfQuestionServiceComponent.DefaultOperationOfQuestionService.minScore minScore
300 22757 12652 - 12656 Select scala.None scala.None
300 22425 12626 - 12636 Select org.make.api.operation.ModerationMode.Enrichment org.make.api.operation.ModerationMode.Enrichment
300 26118 12608 - 12636 Apply java.lang.Object.== moderationMode.==(org.make.api.operation.ModerationMode.Enrichment)
300 26583 12652 - 12656 Block scala.None scala.None
302 27994 12715 - 13024 Apply org.make.api.proposal.ProposalSearchEngine.countProposalsByQuestion DefaultOperationOfQuestionServiceComponent.this.elasticsearchProposalAPI.countProposalsByQuestion(scala.Some.apply[Seq[org.make.core.question.QuestionId]](questions.results.map[org.make.core.question.QuestionId](((x$17: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$17.questionId))), scala.Some.apply[IndexedSeq[org.make.core.proposal.ProposalStatus]](org.make.core.proposal.ProposalStatus.values), scala.None, scala.None, scala.None, scala.None)
303 24639 12797 - 12838 Apply scala.Some.apply scala.Some.apply[Seq[org.make.core.question.QuestionId]](questions.results.map[org.make.core.question.QuestionId](((x$17: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$17.questionId)))
303 27979 12824 - 12836 Select org.make.core.operation.indexed.IndexedOperationOfQuestion.questionId x$17.questionId
303 27092 12802 - 12837 Apply scala.collection.IterableOps.map questions.results.map[org.make.core.question.QuestionId](((x$17: org.make.core.operation.indexed.IndexedOperationOfQuestion) => x$17.questionId))
304 22435 12866 - 12887 Select org.make.core.proposal.ProposalStatus.values org.make.core.proposal.ProposalStatus.values
304 26131 12861 - 12888 Apply scala.Some.apply scala.Some.apply[IndexedSeq[org.make.core.proposal.ProposalStatus]](org.make.core.proposal.ProposalStatus.values)
305 23875 12916 - 12920 Select scala.None scala.None
306 22966 12945 - 12949 Select scala.None scala.None
307 26518 12979 - 12983 Select scala.None scala.None
308 24176 13008 - 13012 Select scala.None scala.None
311 22904 13103 - 13103 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
311 24033 13103 - 13103 TypeApply scala.collection.BuildFromLowPriority2.buildFromIterableOps collection.this.BuildFrom.buildFromIterableOps[Seq, org.make.core.operation.indexed.IndexedOperationOfQuestion, (org.make.core.question.QuestionId, Boolean)]
311 27032 13084 - 13101 Select org.make.core.operation.indexed.OperationOfQuestionSearchResult.results questions.results
312 26057 13177 - 13200 Apply scala.Some.apply scala.Some.apply[Seq[org.make.core.question.QuestionId]](scala.`package`.Seq.apply[org.make.core.question.QuestionId](q.questionId))
312 22898 13153 - 13153 Select org.make.api.tag.TagFilter.apply$default$2 org.make.api.tag.TagFilter.apply$default$2
312 24839 13186 - 13198 Select org.make.core.operation.indexed.IndexedOperationOfQuestion.questionId q.questionId
312 26717 13153 - 13153 Select org.make.api.tag.TagFilter.apply$default$3 org.make.api.tag.TagFilter.apply$default$3
312 22422 13218 - 13218 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
312 27039 13206 - 13206 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
312 24186 13153 - 13201 Apply org.make.api.tag.TagFilter.apply org.make.api.tag.TagFilter.apply(x$14, x$15, x$16, x$13)
312 24096 13153 - 13153 Select org.make.api.tag.TagFilter.apply$default$1 org.make.api.tag.TagFilter.apply$default$1
312 27918 13207 - 13212 Apply scala.Int.> x$18.>(0)
312 22594 13182 - 13199 Apply scala.collection.SeqFactory.Delegate.apply scala.`package`.Seq.apply[org.make.core.question.QuestionId](q.questionId)
312 26069 13124 - 13286 ApplyToImplicitArgs scala.concurrent.Future.map DefaultOperationOfQuestionServiceComponent.this.tagService.count({ <artifact> val x$13: Some[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.question.QuestionId]](scala.`package`.Seq.apply[org.make.core.question.QuestionId](q.questionId)); <artifact> val x$14: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.tag.TagFilter.apply$default$1; <artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.tag.TagFilter.apply$default$2; <artifact> val x$16: Option[org.make.core.tag.TagTypeId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.tag.TagFilter.apply$default$3; org.make.api.tag.TagFilter.apply(x$14, x$15, x$16, x$13) }).map[Boolean](((x$18: Int) => x$18.>(0)))(scala.concurrent.ExecutionContext.Implicits.global).map[(org.make.core.question.QuestionId, Boolean)](((hasTags: Boolean) => scala.Predef.ArrowAssoc[org.make.core.question.QuestionId](q.questionId).->[Boolean](hasTags)))(scala.concurrent.ExecutionContext.Implicits.global)
313 24771 13247 - 13270 Apply scala.Predef.ArrowAssoc.-> scala.Predef.ArrowAssoc[org.make.core.question.QuestionId](q.questionId).->[Boolean](hasTags)
316 25912 13055 - 13326 ApplyToImplicitArgs scala.concurrent.Future.map scala.concurrent.Future.traverse[org.make.core.operation.indexed.IndexedOperationOfQuestion, (org.make.core.question.QuestionId, Boolean), Seq](questions.results)(((q: org.make.core.operation.indexed.IndexedOperationOfQuestion) => DefaultOperationOfQuestionServiceComponent.this.tagService.count({ <artifact> val x$13: Some[Seq[org.make.core.question.QuestionId]] @scala.reflect.internal.annotations.uncheckedBounds = scala.Some.apply[Seq[org.make.core.question.QuestionId]](scala.`package`.Seq.apply[org.make.core.question.QuestionId](q.questionId)); <artifact> val x$14: Option[Seq[org.make.core.tag.TagId]] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.tag.TagFilter.apply$default$1; <artifact> val x$15: Option[String] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.tag.TagFilter.apply$default$2; <artifact> val x$16: Option[org.make.core.tag.TagTypeId] @scala.reflect.internal.annotations.uncheckedBounds = org.make.api.tag.TagFilter.apply$default$3; org.make.api.tag.TagFilter.apply(x$14, x$15, x$16, x$13) }).map[Boolean](((x$18: Int) => x$18.>(0)))(scala.concurrent.ExecutionContext.Implicits.global).map[(org.make.core.question.QuestionId, Boolean)](((hasTags: Boolean) => scala.Predef.ArrowAssoc[org.make.core.question.QuestionId](q.questionId).->[Boolean](hasTags)))(scala.concurrent.ExecutionContext.Implicits.global)))(collection.this.BuildFrom.buildFromIterableOps[Seq, org.make.core.operation.indexed.IndexedOperationOfQuestion, (org.make.core.question.QuestionId, Boolean)], scala.concurrent.ExecutionContext.Implicits.global).map[scala.collection.immutable.Map[org.make.core.question.QuestionId,Boolean]](((x$19: Seq[(org.make.core.question.QuestionId, Boolean)]) => x$19.toMap[org.make.core.question.QuestionId, Boolean](scala.this.<:<.refl[(org.make.core.question.QuestionId, Boolean)])))(scala.concurrent.ExecutionContext.Implicits.global)
316 26579 13320 - 13320 TypeApply scala.<:<.refl scala.this.<:<.refl[(org.make.core.question.QuestionId, Boolean)]
316 27930 13317 - 13317 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
316 24305 13318 - 13325 ApplyToImplicitArgs scala.collection.IterableOnceOps.toMap x$19.toMap[org.make.core.question.QuestionId, Boolean](scala.this.<:<.refl[(org.make.core.question.QuestionId, Boolean)])
318 22373 13337 - 13897 ApplyToImplicitArgs scala.concurrent.Future.flatMap futureProposalToModerateByQuestion.flatMap[Seq[org.make.api.operation.ModerationOperationOfQuestionInfosResponse]](((moderateCount: Map[org.make.core.question.QuestionId,Long]) => futureProposalCountByQuestion.flatMap[Seq[org.make.api.operation.ModerationOperationOfQuestionInfosResponse]](((totalCount: Map[org.make.core.question.QuestionId,Long]) => futureHasTags.map[Seq[org.make.api.operation.ModerationOperationOfQuestionInfosResponse]](((hasTags: scala.collection.immutable.Map[org.make.core.question.QuestionId,Boolean]) => questions.results.map[org.make.api.operation.ModerationOperationOfQuestionInfosResponse](((q: org.make.core.operation.indexed.IndexedOperationOfQuestion) => ModerationOperationOfQuestionInfosResponse.apply(q, moderateCount.getOrElse[Long](q.questionId, 0L).toInt, totalCount.getOrElse[Long](q.questionId, 0L).toInt, hasTags.getOrElse[Boolean](q.questionId, false)))).sortBy[Int](((x$20: org.make.api.operation.ModerationOperationOfQuestionInfosResponse) => x$20.proposalToModerateCount.*(-1)))(cats.implicits.catsKernelOrderingForOrder[Int](cats.implicits.catsKernelStdOrderForInt))))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
318 24768 13369 - 13369 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
319 27915 13433 - 13433 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
319 25677 13419 - 13897 ApplyToImplicitArgs scala.concurrent.Future.flatMap futureProposalCountByQuestion.flatMap[Seq[org.make.api.operation.ModerationOperationOfQuestionInfosResponse]](((totalCount: Map[org.make.core.question.QuestionId,Long]) => futureHasTags.map[Seq[org.make.api.operation.ModerationOperationOfQuestionInfosResponse]](((hasTags: scala.collection.immutable.Map[org.make.core.question.QuestionId,Boolean]) => questions.results.map[org.make.api.operation.ModerationOperationOfQuestionInfosResponse](((q: org.make.core.operation.indexed.IndexedOperationOfQuestion) => ModerationOperationOfQuestionInfosResponse.apply(q, moderateCount.getOrElse[Long](q.questionId, 0L).toInt, totalCount.getOrElse[Long](q.questionId, 0L).toInt, hasTags.getOrElse[Boolean](q.questionId, false)))).sortBy[Int](((x$20: org.make.api.operation.ModerationOperationOfQuestionInfosResponse) => x$20.proposalToModerateCount.*(-1)))(cats.implicits.catsKernelOrderingForOrder[Int](cats.implicits.catsKernelStdOrderForInt))))(scala.concurrent.ExecutionContext.Implicits.global)))(scala.concurrent.ExecutionContext.Implicits.global)
320 26524 13492 - 13492 Select scala.concurrent.ExecutionContext.Implicits.global scala.concurrent.ExecutionContext.Implicits.global
320 24254 13478 - 13897 ApplyToImplicitArgs scala.concurrent.Future.map futureHasTags.map[Seq[org.make.api.operation.ModerationOperationOfQuestionInfosResponse]](((hasTags: scala.collection.immutable.Map[org.make.core.question.QuestionId,Boolean]) => questions.results.map[org.make.api.operation.ModerationOperationOfQuestionInfosResponse](((q: org.make.core.operation.indexed.IndexedOperationOfQuestion) => ModerationOperationOfQuestionInfosResponse.apply(q, moderateCount.getOrElse[Long](q.questionId, 0L).toInt, totalCount.getOrElse[Long](q.questionId, 0L).toInt, hasTags.getOrElse[Boolean](q.questionId, false)))).sortBy[Int](((x$20: org.make.api.operation.ModerationOperationOfQuestionInfosResponse) => x$20.proposalToModerateCount.*(-1)))(cats.implicits.catsKernelOrderingForOrder[Int](cats.implicits.catsKernelStdOrderForInt))))(scala.concurrent.ExecutionContext.Implicits.global)
323 24648 13584 - 13844 Apply org.make.api.operation.ModerationOperationOfQuestionInfosResponse.apply ModerationOperationOfQuestionInfosResponse.apply(q, moderateCount.getOrElse[Long](q.questionId, 0L).toInt, totalCount.getOrElse[Long](q.questionId, 0L).toInt, hasTags.getOrElse[Boolean](q.questionId, false))
325 24779 13687 - 13699 Select org.make.core.operation.indexed.IndexedOperationOfQuestion.questionId q.questionId
325 22431 13701 - 13703 Literal <nosymbol> 0L
325 26201 13663 - 13710 Select scala.Long.toInt moderateCount.getOrElse[Long](q.questionId, 0L).toInt
326 22845 13763 - 13765 Literal <nosymbol> 0L
326 26515 13728 - 13772 Select scala.Long.toInt totalCount.getOrElse[Long](q.questionId, 0L).toInt
326 24044 13749 - 13761 Select org.make.core.operation.indexed.IndexedOperationOfQuestion.questionId q.questionId
327 24315 13808 - 13820 Select org.make.core.operation.indexed.IndexedOperationOfQuestion.questionId q.questionId
327 27904 13822 - 13827 Literal <nosymbol> false
327 25758 13790 - 13828 Apply scala.collection.MapOps.getOrElse hasTags.getOrElse[Boolean](q.questionId, false)
329 22363 13866 - 13896 Apply scala.Int.* x$20.proposalToModerateCount.*(-1)
329 26211 13865 - 13865 Select cats.kernel.instances.IntInstances.catsKernelStdOrderForInt cats.implicits.catsKernelStdOrderForInt
329 23788 13865 - 13865 ApplyToImplicitArgs cats.kernel.OrderToOrderingConversion.catsKernelOrderingForOrder cats.implicits.catsKernelOrderingForOrder[Int](cats.implicits.catsKernelStdOrderForInt)
329 22669 13541 - 13897 ApplyToImplicitArgs scala.collection.SeqOps.sortBy questions.results.map[org.make.api.operation.ModerationOperationOfQuestionInfosResponse](((q: org.make.core.operation.indexed.IndexedOperationOfQuestion) => ModerationOperationOfQuestionInfosResponse.apply(q, moderateCount.getOrElse[Long](q.questionId, 0L).toInt, totalCount.getOrElse[Long](q.questionId, 0L).toInt, hasTags.getOrElse[Boolean](q.questionId, false)))).sortBy[Int](((x$20: org.make.api.operation.ModerationOperationOfQuestionInfosResponse) => x$20.proposalToModerateCount.*(-1)))(cats.implicits.catsKernelOrderingForOrder[Int](cats.implicits.catsKernelStdOrderForInt))