{'fraction_non_alphanumeric': 0.030456773548971246, 'fraction_numerical': 0.01340972243903962, 'mean_word_length': 5.160111549187421, 'pattern_counts': {'":': 0, '<': 2, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
How social challenges affect children’s regulation and assignment quality in hypermedia: a process mining study

The present study investigated the extent to which 18 dyads in 5th and 6th grade, who experienced low levels of social challenge, differed from 12 dyads who experience high levels of social challenge in terms of the quality of their written assignment, as well as the frequency and sequential pattern of their cognitive, metacognitive, relational, and off-task activities during a collaborative hypermedia assignment. Sequential analyses were performed by means of process mining with a fuzzy miner algorithm. Results showed that assignment quality was higher for low social challenge dyads. In addition, these more successful dyads showed more cognitive processing activities, more high-cognition, and fewer off-task activities. In terms of their process models, low and high challenge dyads showed marked differences. More specifically, high social challenge dyads showed a vicious cycle of social challenges and off-task behaviors, whereas low social challenge dyads engaged in high-cognition. In addition, for low challenge dyads, but not high challenge dyads, the various metacognitive activities were closely connected to each other. These findings indicate that social challenges not only affect assignment quality, but also fundamentally affect the overall learning process.

multiple representations such as text, audio, and video (Azevedo and Cromley 2004). However, working and learning together in such complex environments is not an easy task for children, because dyad members not only have to regulate their own learning, but also have to focus on the collaborative process (Greene et al. 2011;Kirschner and Erkens 2013;Kreijns et al. 2013). In this view, socially-shared regulation of learning (SSRL) describes how children interdependently engage in cognitive, metacognitive, and relational activities to regulate group learning (Hadwin et al. 2011). However, social challenges between dyad members can affect children's engagement in SSRL (Rogat and Linnenbrink-Garcia 2011). Such challenges refer to communicative and relational issues between children, such as having opposing views on a topic, a failure to get along, or being highly critical of the other dyad member's contributions (Järvenoja and Järvelä 2009). While social challenges have been shown to negatively affect learning (Barron 2003), it is not yet clear how they relate to children's regulation of learning, both in terms of the frequencies of cognitive, metacognitive and relational activities, as well as their relative arrangement. Investigating these frequencies and relative arrangements (i.e., sequential patterns) may explain how multiple activities interact and thereby influence the overall learning process (Molenaar and Järvelä 2014;Reimann 2009). In the current study, we therefore investigated how social challenges affected dyad's quality of their written assignment as well as the frequencies and sequential patterns of their learning activities.

Children's SSRL in hypermedia
Working and learning together in hypermedia environments can be demanding for children, because of the non-linear and technology-rich nature of the learning environment (Azevedo and Cromley 2004). These environments offer a high degree of autonomy, but, as a result, also require students to exercise more control over their learning (Azevedo 2005;Azevedo and Cromley 2004). In addition, collaborative learning offers both opportunities and challenges for learners (Rogat and Linnenbrink-Garcia 2011;Ucan and Webb 2015). Simply having children perform a task together, does not automatically lead to productive collaboration (Khosa and Volet 2014).
It has been argued that a characteristic of successful collaborations is that dyad members engage in SSRL (Hadwin et al. 2011). SSRL can be defined as the collective and interdependently sharing of regulatory processes, beliefs, and knowledge, in order to arrive at a shared and coconstructed product or learning outcome (Hadwin et al. 2011;Panadero and Järvelä 2015). In their model on regulated learning in collaborative settings, Järvelä and Hadwin (2013), distinguish between three types of regulation. Firstly, during self-regulated learning the learners regulate their own learning independently of each other. Secondly, during co-regulation collaborating peers provide temporary support to each other's self-regulated learning. Finally, shared regulation (SSRL) is characterized by a shared task understanding and by collective goals and strategies. During SSRL, learners also engage in the shared regulation of motivation and emotions (Panadero and Järvelä 2015). All three forms of regulation have their place during collaborations, and may provide benefits, when adequately applied. For SSRL in particular, it was found that higher levels of SSRL have been related to better learning outcomes (Järvelä et al. 2016;Panadero and Järvelä 2015), whereas lower levels have been associated with lower satisfaction during the collaboration (Hadwin et al. 2011). SSRL is especially salient during the learning process when the task becomes more demanding, when challenges need to be resolved, or when activities need to be coordinated (Iiskala et al. 2011;Isohätälä et al. 2017). As such, SSRL may be important for explaining learning outcomes, motivational factors, and emotional factors.

The content space and relational space of learning
While SSRL is a crucial component of collaborations, relatively little is known about which processes affect the quality of regulation in collaborative settings. Potentially relevant are social aspects of learning. In this light, a distinction has been made between two dimensions of learning, namely the content space and the relational space of learning (Barron 2003;Slof et al. 2010). These spaces may compete for the attention of the dyad and may affect each other (Barron 2003;Roy and Howe 1990). Below, we will first describe these two dimensions in more detail. In the next section, we will address how social challenges in the relational space may affect collaborative success.
The content space of learning contains discussions around the learning task (Barron 2003). In this space, cognitive activities are used to form a proper understanding of the knowledge domain, and metacognitive activities are used to monitor and regulate these cognitive activities (Slof et al. 2010). Cognitive activities can be divided into low-level cognitive processing and high-level cognitive processing (King 2002). Lowlevel cognitive processing (hereafter referred to as low-cognition) involves the processing of content-information, for example, with the aim of memorisation or simple application of the learning material. It helps learners to build a shared task understanding (Volet et al. 2009). In contrast, high-level cognitive processing (hereafter referred to as high-cognition) refers to cognitive activities, such as elaborating, making inferences, or asking questions, that enable the construction of new cognitive schemas, or a deeper understanding of the material (King 2002;Volet et al. 2009). While both types of cognitive activities are important for learning, especially highcognition has been related to better learning outcomes (King 2002;Molenaar and Chiu 2017). Metacognitive activities refer to the activities learners use to monitor and control their cognitive activities . These activities include orienting oneself on the task, planning how to proceed with the assignment, monitoring progress and understanding, and evaluating the learning progress (Meijer et al. 2006;Veenman et al. 2006). As such, learners use these activities to achieve their learning goal and complete their (hypermedia) task or assignment. Both the frequency and the quality of metacognitive activities have been associated with better learning outcomes (e.g., Goos et al. 2002;Paans et al. 2018).
The relational space of learning contains challenges and opportunities that arise during social interactions (Barron 2003;Panadero and Järvelä 2015). Collaborating children have to engage in social and communicative activities, as well as in the regulation thereof (Rogat and Linnenbrink-Garcia 2011;Slof et al. 2010). These activities include supporting each other's contributions, planning and monitoring how to collaborate, and being respectful to each other (Barron 2003;Janssen et al. 2012;Rogat and Linnenbrink-Garcia 2011). While much SSRL research has focused on the execution of cognitive and metacognitive activities, which are both part of the content space of learning, the relational space is also important for explaining successful collaborative learning (Kreijins et al. 2003(Kreijins et al. , 2002Salonen et al. 2005). In fact, social interactions and cognitive activities have been found to be interdependent (Roy and Howe 1990). Therefore, taking into account the relational space may help to explain how groups arrive at socially sharing their cognitive and metacognitive activities and how they subsequently achieve better learning outcomes (Van den Bossche et al. 2006).

Social challenges and regulation of learning in dyadic tasks
Within the relational space of learning, social challenges may arise (Rogat and Linnenbrink-Garcia 2011). Social challenges include a failure to get along, a lack of joint attention, being highly critical, using social comparisons, unbalanced levels of participation or contributions to the regulation of learning, and keeping one's own contributions central to the learning product (Järvenoja and Järvelä 2009;Rogat and Adams-Wiggins 2015). If children focus too narrowly on their own thoughts and contributions, this may leave little room for negotiating a different perspective (Barron 2003). Consequently, social challenges may affect the quality of the learning process, occurrences of cognitive and metacognitive activities, and learning outcomes. Such social challenges may be particularly difficult for dyads, compared to larger groups, because dyads dissolve more quickly upon disengagement or disagreement, and emotions tend to be stronger (Moreland 2010).
Social challenges may affect the quality of the learning process and the extent to which SSRL occurs. Frequent negative utterances negatively affect interactions, and subsequently the dyad's learning (Barron 2003). For example, rudeness and disruptive communication decreases the likelihood by which high-school students arrive at correct solutions during problem solving (Chiu and Khoo 2003). Equally, groups with a negative group climate have more difficulty adapting under time pressure (Bakhtiar et al. 2018). In sixth-graders, disagreements and arguments affected the quality of shared learning activities and reduced the learners' engagement in on-task behaviours (Rogat and Linnenbrink-Garcia 2011). Social challenges may thus result in resistance within the dyad and put an end to collective task engagement (Bakhtiar et al. 2018). In turn, the occurrence of SSRL becomes rare once one member becomes disengaged (Isohätälä et al. 2017). Consequently, negative interactions have been related to lower quality regulation among collaborating peers (Rogat and Adams-Wiggins 2014).
Social challenges may not only increase negative interactions and disengagement, but may also result in fewer positive interactions overall, by affecting the group climate (see also Bakhtiar et al. 2018). Positive social interactions include activities such as attentive listening, respectful communication, and mutual participation (Ucan and Webb 2015). Additionally, new ideas and proposals are discussed or accepted (Barron 2003;Rogat and Adams-Wiggins 2015). As such, positive interactions appear to facilitate the occurrence of SSRL, as well as its quality (Rogat and Linnenbrink-Garcia 2011;Ucan and Webb 2015;Volet et al. 2009). They have also been related to better learning outcomes (Barron 2003). For example, they have been found to support the emergence of low-cognition (Molenaar and Chiu 2014).
It has been suggested that successful dyads are able to overcome social challenges during learning (Hadwin et al. 2011). When conflicts arise during collaboration, interpersonal disagreements can lead to intellectual development in the group or dyad (Levine and Resnick 1993). Additionally, constructive conflict has been related to the development of shared mental models, which in turn has been associated with improved task performance (van den Bossche et al. 2011). However, conflict is potentially more difficult in children. At least in young children, research suggests that conflict may actually result in worse performance (Tudge 1989(Tudge , 1992. The hallmark of constructive conflict is that dyad members evaluate each other's contributions critically, consider each other's ideas and differences in opinion seriously, and are able to speak openly (van den Bossche et al. 2011). These results suggest that the effect of social challenges on learning does not lie in the frequency of social challenges, but in how the learners resolve these challenges. Therefore, part of the quality of the learning process is revealed by how social challenges and cognitive and metacognitive activities are sequentially embedded in the learning process as a whole.

Sequential variations in SSRL
While research has shown that social challenges affect the learning outcomes of collaborating individuals, so far, little research has analyzed how social challenges affect the sequential order of activities in the learning process. This sequential order of the activities is relevant for understanding how students use SSRL to guide their learning. Furthermore, because it has been suggested that the quality of regulation is more important for learning than its frequency , the temporal unfolding of learning activities over time needs to be understood (Järvelä et al. 2016). At a practical level, sequential analyses will show how one can differentiate between challenges that are successfully resolved, and challenges that require the involvement of a teacher to help the dyad get back on task.
Specifically for (S)SRL, studies that incorporate time and the sequence of events have been fairly limited. Two methods have been used most frequently, namely discourse analysis and process mining (e.g., Chiu and Fujita 2014;Günther and van der Aalst 2007). Both analytical methods investigate temporal and sequential characteristics of events. Two studies used statistical discourse analysis to examine the sequential pattern of learning activities in primary school children Chiu 2014, 2017). These two studies investigated how sequences of cognitive, metacognitive and relational activities affected subsequent cognition in primary school children (Molenaar and Chiu 2014), and how sequential patterns leading to cognitive activities affected group performance (Molenaar and Chiu 2017). Their analyses indicated that positive interactions, as well as metacognitive planning and monitoring activities could set the stage for cognitive activities. Negative interactions, on the other hand, reduced the chance that high-cognition occurred (Molenaar and Chiu 2014). In turn, cognitive activities were related to learning outcomes. Low-cognition on its own predicted essay length, whereas high-cognition on its own predicted essay quality (Molenaar and Chiu 2017). When lowcognition occurred in the context of other (either low or high) cognitive activities, however, it too had a positive effect on essay quality. This shows that the sequential context in which learning activities take place influences their effect on overall learning outcomes.
Process mining is also used to investigate differences in learning processes, especially between two distinct groups of students Sobocinski et al. 2017) For example, Sobocinski et al. (2017) showed differences between learning sessions that learners estimated to be high or low in terms of cognitive, motivational, and emotional challenges. Bannert et al. (2014) showed that successful and less successful students differed from each other in terms of their learning process. Successful students used more diverse metacognitive activities, including analysis (i.e., orientation, planning, and goal specification), monitoring, and evaluation. Their analyses activities were connected to both monitoring and evaluation in the process model. For less successful students, however, the process model displayed no evaluation activities and showed no connections between analysis and monitoring. Similarly, using sequence pattern mining, Kinnebrew et al. (2014) found that high performing 8th grade students monitored their task understanding more when they made an erroneous attempt in an open-ended learning environment than their low performing counterparts. Subsequently, they were more likely to attempt to correct their mistakes (Kinnebrew et al. 2014).
Hence, both process mining and statistical discourse analysis have been used previously to unravel sequential patterns in SSRL. Process mining may be an especially relevant analytical method to analyze the differences between the learning processes of groups experiencing high and low levels of social challenge during collaborations. While statistical discourse analysis offers insight into the sequential patterns of activities, process mining shows the relations between the various activities in the process as a whole. In addition, process mining structures and simplifies process data in such a way that an understandable and clear representation of the learning process emerges (Günther and van der Aalst 2007). One type of process mining, that has been used before in this type of research Schoor and Bannert 2012), is referred to as Fuzzy Mining. It amplifies the most relevant and dominant sequences in the process model and removes weaker connections between activities (Günther and van der Aalst 2007). The resulting patterns are displayed in a roadmap-like process model that consist of nodes (events) and edges (relations between events). Based on two principal concepts, significance and correlation, Fuzzy Mining decides which nodes and edges are displayed and how they are organized in the process model (Günther and van der Aalst 2007). Significance indicates the relative importance of an event or sequence in the model. This importance can be measured by the frequency of their occurrence. In addition, for the significance of events, significance is also measured by the importance of the node for directing the process to another node (i.e., routing significance). Correlation indicates how closely related two consecutive events are in terms of their data attributes (Günther and van der Aalst 2007). The result is a simplified model of the learning process in which the relative arrangement of the various activities is shown. As such, Fuzzy Mining can show how social challenges are positioned in the larger learning process. A comparison between dyads with more versus fewer social challenges can show how differences in social challenges affect cognitive, metacognitive, relational activities, and off-task and their sequential relationship. Fuzzy Mining can show the antecedents of challenges, as well as how learners respond to these challenges once they arise.

The present study
In conclusion, the aim of the current study was to examine how social challenges affect collaborative learning processes and outcomes of primary school children during a dyadic hypermedia assignment. For this purpose, three research questions were addressed: RQ 1: To what extent do low and high social challenge dyads differ in the quality of their written assignment? RQ 2: How do low and high social challenge dyads differ in terms of the frequency of their cognitive, metacognitive, relational, and off-task activities? RQ 3: How do low and high social challenge dyads differ in terms of the sequential pattern of their cognitive, metacognitive, relational, and off-task activities?
In order to answer these questions, children participated in a dyadic hypermedia assignment on the subject of the heart and living a healthy lifestyle. Their verbal interactions during the collaboration were transcribed and coded, based on which dyads with low and high levels of social challenge were distinguished. The hypotheses were that low challenge dyads would show higher assignment quality (e.g., Barron 2003;Chiu and Khoo 2003), more highcognition (e.g., Bakhtiar et al. 2018;van den Bossche et al. 2011), more metacognitive activities (e.g., Rogat and Adams-Wiggins 2014), and fewer off-task activities (e.g., Rogat and Linnenbrink-Garcia 2011) than high challenge dyads. In terms of the sequential patterns, no a priori hypotheses were formulated.

Participants
Participants were 60 5th an 6th grade children, making up 30 randomly assigned same-sex dyads (12 boy and 18 girl-dyads) from six different schools in the Netherlands. Of these dyads, 18 had low levels of social challenge, and 12 had high levels of challenge (see Analyses section below). Their age ranged from 10 to 12 years (M = 10 years, 9 months; SD = 7.8 months). The sample was predominantly Dutch. In total, 80.0% of all participants had two Dutch parents, and 86.7% reported that Dutch was the first home language. Recruitment took place by letter, distributed by the schools. This sample was selected from a larger sample of 88 dyads (Paans et al. 2019). Only 30 dyads were included because of the timeintensiveness of transcribing and coding the videos. Dyads were selected such that all schools were represented proportionally to the number of participants from that school and equal numbers of dyads with low, medium, high, or unequal learning gain on a declarative knowledge test (see Prior knowledge measure below) were included in the sample.

Materials
Hypermedia environment In the present study, a WebQuest environment was used to teach on the subject of the heart and healthy living. A WebQuest is a sheltered Internet environment in which the teacher can structure and organize the learning process through predefined instructions and resources (Segers and Verhoeven 2009). In the current WebQuest, children were asked to collaboratively write a text of 300 words about the functions of the heart and how to keep the heart healthy, that could be understood by 3rd grade students. The length of 300 words was chosen to ensure that the assignment was sufficiently challenging and required learners to spend some time working on it. The third-grade audience was chosen, so that learners were encouraged to use higher cognitive processing. It required them to adjust the text from the website, by giving examples, simplifying or explaining the terms they used, or to summarize lengthy passages. As such, it required them to collaborate, and to share and coconstruct knowledge. The quality of the text they wrote during this assignment was later analysed as a measure of learning (see Assignment quality).
For the purpose of this assignment, the children could use nine Web pages that presented the learning content through texts and images, and that contained links to four short videos. In a menu on the left of the screen, the WebQuest contained links to: an introduction page, an assignment page where the assignment was explained; a roadmap page where the assignment was structured into several steps; a resources page that contained the links to the 9 content pages; a review page where children could evaluate their work; and a conclusion page. In addition, there was a link to a worksheet, where the assignment could be written. Children could navigate through the website via in-text hyperlinks and the navigation menu.
Prior knowledge Prior knowledge of the participants was measured using a two-part declarative knowledge test. In the first part, children had to match 14 words to explanatory sentences. For example, 'red blood cell' had to be connected to 'brings oxygen to every part of the body'. In the second part, children had to label 10 parts in two pictures of the heart and the circulatory system. The names of the parts were presented in random order. For example, children had to locate the 'left atrium' in the picture of the heart. Children were given 15 min for the first task, and 10 min for the second. Both were introduced with a worked-out example that the test leader went through together with the class. Internal consistency was moderate for the connecting part (α = .61) and sufficient for the labelling part (α = .74).
Verbal interactions During the WebQuest assignment, the verbal utterances within dyads were video-recorded. These utterances were segmented and coded with the coding scheme created by (Molenaar et al. 2011; Table 1). This coding scheme had mutually exclusive mainand sub-categories for each conversational turn. Turns were segmented when the focus of the topic changed, the speaker changed, or both dyad members were silent for longer than 2 s. The current study did not code SSRL episodes, but only coded activities at the level of individual turns. As such, the coding could distinguish between cognitive and metacognitive activities, but not between self-regulation, co-regulation, or shared regulation of learning. The transcripts of five dyads (3063 turns; 16% of total turns) were coded by a trained second coder to establish interrater reliability. Reliability was excellent for main categories (Κ = .90) and subcategories (Κ's ranged from .88 to .97). All utterances were initially coded according to the original coding scheme, but we focused on cognitive, metacognitive, relational, and off-task activities for the purpose of this study. Cognitive activities included the sub-categories reading, processing, elaboration, questioning, and summarizing; metacognitive activities consisted of orientation, planning, monitoring, evaluation, and reflection; and relational activities were support, rejection, engagement, and task-division. Finally, all the utterances that were not relevant to the task were coded as off-task activities. In terms of social challenges, it should be noted that, if dyad members only voiced a rejection of their partner's idea, it was coded as social challenge. However, if dyad members referred to the content, for example, by giving a reason for their rejection, it was coded as metacognitive evaluation.
To ensure the data fitted the requirements for process mining, we combined some subcategories and excluded others. This reduced the effects of sub-categories with considerably low frequencies on the process mining results (<10 occurences; see also Bannert et al. 2014;Sobocinski et al. 2017). First, we checked whether these low-occurring activities were correlated with another sub-category. Whenever this was the case, it was considered whether it made sense theoretically to combine the correlated activities. Categories that met these criteria were combined, whereas those that did not were removed from the analyses. This resulted in the following changes. For cognitive activities, elaboration, questioning, and summarizing were combined into High-Cognition (Molenaar and Chiu 2017). For metacognitive activities, orientation and planning were combined into Analysis, as they are both related to the forethought phase of self-regulated learning (Zimmerman 2002). Additionally, evaluation and reflection were combined into Evaluation, as they are both related to the self-reflection phase (Zimmerman 2002). In relational activities, rejection and engagement were combined into Social Challenge, because earlier research showed that positive social climate among dyad members is threatened by students' failure to get along, frequently opposing views on the topic, and lack of joint attention (Barron 2003;Rogat and Linnenbrink-Garcia 2011). Finally, task-division was excluded because its frequency of occurrence was too low and correlations were not high enough to justify combining it with other sub-categories.
Assignment quality The quality of the dyads' writing assignments was assessed with a predefined list of 50 terms and explanations describing the function of different parts of heart, the circulatory system, blood-cell types, and healthy living. Two independent raters scored the quality of the assignments and interrater agreement was high (intraclass r = .97).

Procedure
The present study is part of a larger research project that focused on children's collaborative hypermedia learning. Data was collected on their executive functions, social relations, motivation, collaboration satisfaction, navigation activities, verbal interactions, and learning outcomes. Only aspects relevant to the current study will be described.
Data collection started with a classroom session. In this session, participants received a short presentation that introduced the WebQuest environment and assignment. In addition, they performed the prior knowledge test.
The WebQuest took place outside the classroom. Participants were first shortly reintroduced to the WebQuest, to ensure they understood what they had to do, and to provide an opportunity to ask questions. The children performed the assignment in same-sex dyads and had 45 min to complete it. They were allowed to finish early. However, dyads who informed the test leader that they finished the assignment within the first 30 min were asked to reread the assignment page, and reflect on whether their assignment met the requirements. While children were working together, they were periodically reminded of the time they had left to finish the assignment. These notifications took place after 15, 30, and 40 min. Test leaders did not answer any questions about the learning content, but did answer questions about the use of the WebQuest environment and the meaning of words. During the assignment, the interactions between dyad members were video-recorded for later analysis. Upon finishing, they received a small gift for participating.

Analyses
Low and high social challenge Low and high social challenge groups were distinguished as follows. First, the relative frequency of the verbal activities that were coded as social challenge was calculated. Relative frequencies were used because of the large differences between dyads in their absolute number of conversational turns. Next, these relative frequencies were transformed into z-scores. A z-score of 0 was used as the cut-off value to dichotomize the variable. That is, all dyads showing frequencies below 0 were seen as low social challenge dyads (n = 18), whereas dyads that scored above 0 were seen as high social challenge dyads (n = 12). To check if these two groups indeed differed in terms of their relative level of social challenge, an independent samples t-test was performed. The result showed that high challenge groups (M = .09, SD = .03) indeed had higher levels of challenge than low challenge groups (M = .03, SD = .01), t (12.98), = 6.78, p < .001, d = 2.71. Groups were similar in terms of their gender, χ 2 (1) = 2.80, p = .094. Furthermore, group differences between low and high challenge groups were not due to differences in prior knowledge. For both groups, the mean dyadic level of prior knowledge was similar, t (28) = .12, p = .903, and showed equal variances, F (28) = .76, p = .391. In addition, the difference between dyad member's prior knowledge within each dyad was similar in both groups, t (28) = .15, p = .885.

Research questions 1 and 2
In order to answer the first research questions -to what extent do low and high social challenge dyads differ in terms of the quality of their written assignmentan ANCOVA was performed, with social challenge as the independent variable, assignment quality as the dependent variable, and prior knowledge as a covariate. Assignment quality was a collaborative measure, but prior knowledge was tested individually. Therefore, the mean level of prior knowledge of both dyad members was used as a covariate. Individual levels of prior knowledge were not used, because of the low sample size.
In order to answer the second research question -how do low and high social challenge dyads differ in terms of the frequency of their cognitive, metacognitive, relational, and off-task activitiesseveral Mann-Withney U tests were performed, with social challenge as the independent variable, and the various learning activities as the dependent variables.
Fuzzy miner In order to investigate the third research question -How do low and high social challenge dyads differ in terms of the sequential pattern of their cognitive, metacognitive, relational, and off-task activities?the data was analysed using the Fuzzy Miner process mining algorithm and the ProM 6.7 software.
Parameter settings for fuzzy miner Within the ProM software, the process models generated by Fuzzy Miner can be further simplified with three parameters: utility ratio, edge cut-off and node cut-off. Values for these parameters were based on standard settings and earlier research that used this method .
For removing edges, the model measures both the significance and correlation of each edge. The utility ratio then determines the relative weight significance and correlation have in establishing the importance (i.e., utility) of the edges. The current utility ratio was set at .75, which indicates that more weight was given to the significance of the edges relative to their correlation. The edge cut-off then determines the threshold value for the utility of each edge. The current edge cut-off was set at .20, indicating that the utility of each edge had to reach at least .20 for the edge to be included in the model.
For removing nodes, the node cut-off is the threshold value that determines the level of significance (unary significance) a node should have to be included in the model. If the significance is below this threshold it is either removed from the model, or clustered together with other nodes that show low levels of significance, but are correlated with the node in question. The current node cut-off value was set at .25.
Other settings that were used in ProM were the following. First, attenuation indicates that the effect of events closer to each other have a stronger effect on the measurement than those further apart. Linear attenuation was used, which means that the effect of events decreased linearly with distance. Second, the originator correlation was set to not active. This setting allows for choosing to emphasize either sequences within one dyad member or sequences between dyad members. However, the current data mostly showed sequences in which the dyad members followed up on each other, making the setting superfluous.

Results
The effect of social challenge on assignment quality In order to investigate the extent to which low and high social challenge dyads differed in terms of their assignment quality, an analysis of covariance (ANCOVA) was performed that controlled for the mean prior knowledge in the dyad. Results showed that low social challenge dyads (M = 21.17; SD = 8.95) scored higher on assignment quality than high social challenge dyads (M = 14.50; SD = 6.63), F (1, 27) = 6.17, p = .019, ή 2 = .186. This indicates that, while taking prior knowledge into account, assignment quality is higher in low social challenge dyads compared to high social challenge dyads.
The effect of social challenge on the frequency of learning activities Table 2 shows the relative frequencies of the final categories of the verbal interactions, and prior knowledge and assignment quality for low and high social challenge dyads separately. The absolute frequencies of the verbal interactions are displayed in Appendix Table 7. In order to investigate the extent to which low and high social challenge dyads differed in terms of the relative frequency of their cognitive, metacognitive, relational, and off-task activities, several Mann-Withney U tests were performed. The results indicated that cognitive processing was more frequent for low challenge dyads (Mdn = 27.18) than for high challenge dyads (Mdn = 20.84), U = 53, Z = 2.33, p = .019, r = .43. High-cognition was also more frequent for low challenge dyads (Mdn = 4.02) than high challenge dyads (Mdn = 1.99), U = 60.5, Z = 2.01, p = 0.044, r = .37. In contrast, off-task activities were more frequent for high challenge dyads (Mdn = 09.12) than for low challenge dyads (Mdn = 2.71), U = 29, Z = 3.34, p = .001, r = .61. Reading, supporting, and metacognitive activities did not differ between the two groups. Summarizing, low social challenge dyads verbalized more cognitive processing and highcognition, whereas high social challenge dyads verbalized more off-task activities.

Process models for low and high social challenge dyads
In order to investigate the sequential patterns of cognitive, metacognitive, relational, and off-task activities of low and high social challenge dyads, process mining was performed. Tables 3, 4, 5 and 6 show examples of the coded interactions that were used as input for the process models. Figure 1 shows the process model of low challenge dyads. The numbers in the nodes represent the level of significance (i.e., importance of the node), the top numbers on the edges also represent the level of significance (i.e., importance of the edge), and the bottom number on the edge represents the correlation (i.e., how closely related events are) between the We could also browse some more, because there are two more sources.

Metacognition Planning
Lisa Yes Relational Support Lisa The pulmonary circulation Cognition Reading two nodes. The conformance of this model was good. A measure of conformance is similar to the notion of explained variance, as it gives an estimate regarding the extent to which the fitted model represents the original data. When comparing the original event logs to the model, on average 77.22% (SD = 6.76%) of the direct event sequences (that is, for two consecutive events) were represented by the model. For all individual dyads, conformance ranged between 61.54% and 90.26%. Looking at the relationships between sub-categories within each main category, the process model shows one-directional relationships between the cognitive activities. More specifically, reading leads to both high-cognition and processing, and high-cognition leads to processing. In terms of metacognitive activities, analysis and evaluation are clustered together by the process model, because of the low significance of and high correlation among the individual nodes. This analysis*evaluation cluster has a bi-directional relation with monitoring. This shows there is a high interaction between the various metacognitive activities. With respect to relational activities, the model shows no relations between the sub-categories. Secondly, looking at the relations between sub-categories across the various main categories, the model shows that processing leads to either monitoring or social challenge. Monitoring can feed back to processing, or move on to analyses*evaluation. Social challenge also leads to analysis*evaluation, from which BDay and night, your heart pumps blood through your body^Cognition Reading there are multiple pathways. The first pathway leads to monitoring, which could either go back to analysis*evaluation, or move on to processing. The second pathway leads to support, and then to reading, which is the only predecessor of high-cognition.
Finally, there is a one-drectional path from high-cognition to support. Summarizing, the verbal interactions of low challenge dyads can be characterized by strong relations between processing, monitoring and analysis*evaluation. In addition, relational activities play a distinct role. While social challenge leads to analyses*evaluation, support leads to reading, and then on to high-cognition or processing.  Figure 2 shows the process model of high challenge dyads. The conformance of this model was somewhat lower than that of low challenge dyads. On average, 62.85% (SD = 12.33%) of event sequences of the original log could be replayed successfully, based on this model. For all but two dyads, conformance was higher than 50%. Looking at the relations between subcategories within each main category, the model shows that for cognitive activities, reading has a one-directional pathway to processing. High-cognition did not reach the significance cutoff value and was therefore not included in the process model. For metacognitive activities, analysis and evaluation remained individual categories, with evaluation leading to analysis in the model. Monitoring is not connected to the other metacognitive activities. Relational activities are also not connected to each other. Second, looking at the relations between sub-categories across the various main categories, the model shows that processing is bi-directionally connected to monitoring. Processing is also connected with evaluation, which in turn is connected to analysis. The relational activity support is located between analysis and reading and is bi-directionally connected to both. Finally, the model shows an isolated process with a bi-directional pathway between challenge and off-task activities in high challenge dyads. Summarizing, the verbal interactions of high challenge dyads can be characterized by a strong relation between processing and monitoring. In terms of the relational activities, support is related bidirectionally to both reading and analysis, whereas challenge shows an isolated process with off-task activities.

Comparison of the process models
A comparison of the process models of low and high social challenge dyads shows two similarities. First, both models contain a one-directional path from reading to processing that continues into a bi-directional path between processing and monitoring. Second, both models show a path from support to reading. However, for high challenge dyads this path is bi-directional, whereas for low challenge dyads it is onedirectional. The most important differences between the process models of low and high social challenge dyads are found in high-cognition, challenge, off-task activities, and the relations between metacognitive sub-categories. Only low challenge dyads shows high-cognition, which shows one-directional paths from reading, and to processing and support. On the other hand, only high challenge dyads shows off-task activities which is bi-directionally related to challenge. For low challenge dyads, these challenges shows a path from processing, and to analysis*evaluation. Notably, although challenge in low-challenge dyads was very infrequent, it has a high significance (0.726). Since the significance of events is established based on the frequency of their occurrence and their routing significance (i.e., its importance for directing the process to another activity), this finding indicates that the significance of challenge in low-challenge dyads was likely due to routing significance. Finally, another difference between the two models is the relation between metacognitive activities among each other and with support. For low challenge dyads, monitoring was bi-directionally related to an analysis*evaluation cluster, which, in turn, was one-directionally related to support. For high challenge dyads, however, monitoring was not related to the other metacognitive activities. Instead, the model showed a pathway from processing to evaluation, then on to analysis, and finally to a bi-directional path to support.
In order to illustrate the differences between the process models of high and low social challenge dyads, and to facilitate interpretation of these differences, transcript extracts are presented below. Because we distinguished the groups based on their level of social challenge, these transcripts will emphasize the position of challenge and support in the models. Tables 3 and 4 show the effects of challenge in a low and high social challenge dyad respectively. For the low challenge dyad, the transcript (Table 3) starts with a discussion of the functions of capillaries when the dyad members try to describe them in their assignment. Lisa 1 is writing and Emma is looking on. At the start of the sequence, Lisa is monitoring her content understanding, because she wants to ensure she understands the topic correctly: BYour cap, what was it again?; Capillaries, right?^. She continues to whisper something to herself while she is typing. In the next turn, the collaboration process is threatened when Emma seems to disagree with the text Lisa is writing, and rejects Lisa's suggestion by saying BNo^. However, Emma immediately suggests an alternative action in her next turn, by referring to other sources that might help explain the functions of capillaries: BWe could also browse some more, because there are two more sources^. The challenge is resolved when Lisa agrees with Emma's planning activity and continues the sequence by reading new information BYes.; The pulmonary circulation^.
In the high challenge dyad, the social challenge is not so easily resolved. In the example (Table 4), one dyad member (Mandy) tries to proceed with the learning assignment while the other dyad member (Jill) seems to be distracted and performs off-task activities. The conversation starts with Mandy's attempt to draw Jill's attention to the task: BBe, quiet now *…*^, when they are watching a video. However, this attempt does not reach its goal as Jill performs off-task activities, by pretending to speak to the narrator of the video: BDo you want my number?; Five, two, *…*, Call me.; Five, two, three.^. Subsequently, Jill's engagement in off-task activities triggers Mandy's second attempt to engage Jill in the topic: BNo, stop. I should quickly *…*^, but her second attempt also fails as Jill continues to ignore Mandy's attempts and continues to perform off-task activities: BFive, two, three.; Nine, two, seven, call me okay^. This socially challenging situation seems to influence Mandy's approach to Jill's later turns because she starts rejecting her further utterances: BNo, don't do that, alright?^; and BNot at all.Ŝ ummarizing, these two examples show some important differences between low and high challenge dyads. First, in the low challenge dyad the challenge is directly related to the task performance, whereas in the high challenge dyad the challenge is initially directed at the behaviour of the dyad partner, and only towards the end of the extract at the task performance. Second, in the low challenge dyad the dyad member who performs the challenge also immediately offers an alternative task approach, which provides an opportunity to resolve the challenge. In contrast, in the high challenge dyad, the challenge is not followed up by an alternative approach and is ignored by the dyad partner.
Tables 5 and 6 illustrate the position of support in a low and high social challenge dyad respectively. The transcript of low challenge dyads (Table 5) shows two consecutive examples of the sequence monitoring ➔ analysis*evaluation ➔ support, in which the second sequence continues into reading. In the example, the dyad is writing a passage about the importance of the heart and how one can keep it healthy. The first sequence starts with Lisa's metacognitive turn, in which she monitors how far they progressed with their task. She counts the number of words they wrote and tells how many more words they should write: B72, 3 more words^. This leads Emma to control the dyad's plan by hinting a suggestion: BShall we just start with the next one?^. They reach agreement, because Emma's suggestion is being accepted by Lisa's BAll right^. This mutual agreement triggers the dyad's second sequence of monitoring ➔ analysis*evaluation ➔ support. Again, Lisa starts the sequence by monitoring the plan in detail: BOkay, and after that we should?^, after which she proposes a new page to visit: BYour blood in the rollercoaster.^At this point, the dyad reaches mutual agreement for the second time when Lisa's planning activity is approved by Emma's BYes^. Since both group members agree on the topic they want to focus on, Lisa ends the sequence by reading new information about the blood circulation in the human body: BDay and night, your heart pumps blood through your body^. These sequences show that, in this low challenge dyad, support is used to reach mutual agreement and move the task forward.
The transcript of the high-challenge dyad (Table 6) shows an example of the bidirectional connection between analysis and support in high-challenge dyads. In the example, Tim and Max are trying to finish the passage they are working on, and the sequence starts with Tim's suggestion to copy the rest of the information from the Web page BJust copy it^. Max approves Tim's suggestion BYes^and Tim indicates which information is going to be copied: BAll of it^. For the second time, Max shows agreement with Tim and supports his idea BYes.; Good plan.^. This example shows that, while mutual agreement is also reached in this highchallenge dyad, it does not result in cognitive engagement with the learning material. Furthermore, the lack of any monitoring in the sequence, suggests that their planning activities are not strongly informed by their current task progress.
Summarizing, while both the low and high social challenge dyad used support to reach mutual agreement on a suggested plan, only the high social challenge dyad appeared to be able to base their plan on their current task progress and to follow up on their agreement with cognitive engagement.

Discussion
The present study investigated the extent to which low and high social challenge dyads differed in terms of the quality of their written assignment, as well as the frequency and sequential pattern of their cognitive, metacognitive, relational, and off-task activities during a collaborative hypermedia assignment. We first investigated the effect of social challenge on assignment quality. Results showed that, controlling for prior knowledge, assignment quality was higher for low challenge dyads. Second, we studied the effect of social challenge on the frequency of learning activities. Results showed that low challenge dyads showed more cognitive processing (low-cognition) and more high-cognition, whereas high challenge dyads showed more off-task activities. Finally, we investigated the effect of social challenge on the sequential patterns of learning activities. The process models of low and high challenge dyads showed marked differences. More specifically, the occurrence of high-cognition was only substantial enough for inclusion in the low-challenge model, whereas off-task activities only appeared in the highchallenge model. In the low challenge model, social challenges were positioned between cognitive processing and a cluster of metacognitive activities (analysis and evaluation). In addition, their monitoring was bi-directionally related to the other metacognitive activities, which in turn were a precursor for positive relational activities (support). In contrast, in the highchallenge model, social challenges were bi-directionally related to off-task activities in an isolated process. Additionally, their monitoring was not related to the other metacognitive activities, and only analysis showed a bi-directional relation to support.

Social challenge in relation to assignment quality and frequencies of learning activities
In support of the first hypothesis, low challenge dyads had higher assignment quality than high challenge dyads. This is in line with previous findings that indicated that negative interactions decreased problem solving success in high-school students (Chiu and Khoo 2003). As expected in the second hypothesis, low challenge dyads also had more high-cognition and fewer off-task activities. These results are in agreement with previous research which suggested that the content space and relational space of learning may compete for attention of the dyad (Barron 2003). The lower frequency of social challenges in the low challenge dyads may have given them the opportunity to spend more of their attention on engaging with the learning material. Furthermore, the large number of social challenges in the high challenge dyads may have triggered maladaptive emotion regulation strategies, such as avoidance-focused strategies (see also : Näykki et al. 2014). A finding not in line with the second hypothesis was that low and high challenge dyads did not differ in their number of metacognitive activities. Potentially, social challenges affect the quality rather than the quantity of metacognitive activities (see also . In fact, previous research has shown that negative interactions lead to lower quality regulation (Rogat and Adams-Wiggins 2014), and may reduce collective task engagement (Bakhtiar et al. 2018).

Social challenges in relation to sequential patterns of learning activities
In terms of the sequential patterns, for which no a priori hypotheses were formulated, the process mining results show some similarities, but also marked differences between the learning process of low and high social challenge dyads. A similarity is that in both models, support showed a relation with low-cognition. This is in line with earlier research which showed that positive relational activities encouraged low-cognition (Molenaar and Chiu 2014). An important difference is the position of social challenges in the models. For low challenge dyads, they are positioned between processing and metacognitive activities, whereas for high challenge dyads, they were positioned in an isolated process together with off-task activities. The fact that for high challenge dyads off-task activities and social challenge were not connected to the rest of the learning process implies that there was no single most frequent antecedent to social challenge or off-task verbalisations. As such, no other activity in the model clearly triggered these activities. However, once the high challenge dyads displayed social challenge or off-task activities, it resulted in a relatively stable pattern, a vicious cycle, in which the two activities repeatedly followed each other. The fact that there is also no path from these two separate activities back to the larger process indicates there was no clear or frequently used route out of this cycle. This is in line with research that suggests that the occurrence of SSRL becomes less frequent once one member becomes disengaged (Isohätälä et al. 2017). As such, it appears to become difficult to re-enter the larger process that contains cognitive and metacognitive activities. For low challenge dyads, the social challenges were not part of an isolated process. Instead, they were sequentially embedded within cognitive and metacognitive activities. This pattern seems to be more in line with what is referred to as constructive conflict, during which there is an open atmosphere, dyad members seriously and critically consider each other's ideas, and differences in opinion can be resolved (van den Bossche et al. 2011). In low challenge dyads, therefore, cognitive processing appeared to trigger a conflict, after which the dyads used evaluation and planning activities to overcome their disagreement. This then allowed them to remain engaged with the task.
When comparing the results for the frequency analysis and the sequential analysis for metacognitive activities, the differences in the process models of low and high challenge dyads might explain the lack of frequency effects. High challenge dyads appeared to have been unable to follow up their monitoring with metacognitive control activities, such as planning or evaluation. Instead, low-cognition (processing) directly followed their monitoring. This may indicate that they could not sufficiently change their behaviour during the writing process when they encountered difficulties or became aware of a lack of understanding.

Limitations
This study has several limitations. First, the current study did not investigate why differences existed between dyads in terms of their level of social challenge during the collaboration. Previous research has suggested that several factors may affect group interactions, such peer status in the classroom Faulkner 2000, 2006), ability level (Denessen et al. 2008;Fuchs et al. 1998;Saleh et al. 2005), or non-verbal cues (Louwerse et al. 2012). While this study took into account prior knowledge in the analyses of the effect of social challenges on assignment quality, the measurement of prior knowledge was a simple declarative knowledge test. A more comprehensive assessment of prior knowledge, for example, by means of a concept mapping procedure, might have given more-detailed information. Future research could therefore investigate how such factors affect the sequential patterns of the verbal interactions of collaborating children.
A second limitation is that the results of the current study are shaped by the environment in which they were measured. Other hypermedia environments might show different collaborative interactions, and other coding schemes might result in different process models. Moreover, because the approach is descriptive in nature, caution is needed when these results are used for prediction or practical prescription ).
Finally, a third limitation is that the current study could not assess SSRL directly. SSRL is often coded at the level of episodes, rather than individual codes (e.g., Grau and Whitebread 2012;Iiskala et al. 2011;Khosa and Volet 2014;Volet et al. 2009). Capturing SSRL in a process model would therefore result in too great a loss of information about the individual cognitive and metacognitive activities in the learning process. Consequently, however, the study could not differentiate between the different forms of regulation (self-, co-, or shared).

Theoretical implications and suggestions for future research
This study has implications for the field of SSRL and metacognition, and leads to several suggestions for future research. An important implication of this research lies in the differences in results between the frequency analyses and process mining. The results suggest that studying sequences provides additional insight into group differences. More specifically, process mining enabled us to observe how dyads who differed in their level of challenge responded to challenges during the collaboration and how they used metacognitive activities. As such, process mining may be an alternative way to investigate the qualitative aspect of learning activities based on their relationships to each other, as opposed to a more qualitative approach, in which the quality of activities is coded. Naturally, future research should explore the comparability of a qualitative coding approach and a process mining approach.
In terms of the suggestions for future research, the transcripts showed that collaborating dyads with fewer social challenges were able to follow up on their challenges with a plan for an alternative approach, which appears to indicate a strategy for conflict resolution (Hadwin et al. 2011). This was not the case for dyads with more frequent social challenges. However, because this difference stems from transcript examples, it is unclear to which extent it generalized to the entire sample. Future research could test this empirically, by investigating how training children to use metacognitive planning and evaluation activities after a disagreement affects the over learning process and assignment quality. In addition, the current findings on conflict resolution could be compared to a more direct assessment, in which the data is coded at an episodic level, with specific attention to conflicts and conflict resolution.
Second, process mining provides a description of the process in terms of sequences of events. It should be acknowledged, however, that the quality of individual learning activities consists of more than their sequential position in the overall process. Future research may also include other assessments of the quality of the activities, such as coding the quality of activities at the utterance level, or adding a layer of coding at the level of episodes in order to capture the socially shared nature of the activities. In addition, process mining does not capture all aspects of the quality of the learning process, because it does not take into account non-linear changes that might occur during a learning process. For example, a group member's contribution may act as a moment in time from which onwards the nature of the process fundamentally changes (see e.g., Wise and Chiu 2011). Such a (sudden) change in the process is also referred to as a phase transition (Spivey et al. 2009). While the assumption of linearity of change is often made in the social sciences, non-linear change may actually be an important characteristic of development and change in a complex and open system such as humans are (Jacobson et al. 2016;Reimann et al. 2014;van Geert 2011). Future research could therefore investigate the extent to which, and under what conditions, social challenges bring about fundamental changes in the learning process of children.
Finally, this study investigated the effect of social challenge in dyads. Since interaction patterns are likely to be different in groups compared to dyads (Moreland 2010), the effects of social challenge on the learning process may likely also be different in groups. Therefore, future research will need to establish the extent to which the present findings transfer to group settings.

Practical implications
Although practical implications based on process models should be made with caution , the results of the sequential analyses show that not only frequencies of social challenges matter, but that one can also differentiate between challenges that are successfully resolved, and challenges that require the involvement of a teacher to help the dyad get back on task. More specifically, teachers may be able to recognize maladaptive social challenges more adequately by paying attention to how learners respond to the social challenges that occur. Based on the differences between the process models, it appears that not all social challenges require an equal amount of teacher interference. Moreover, teachers can be alerted to off-task transitions after a social challenge occurred which may be indicative of ineffective conflict resolution in the dyad. Finally, instances of monitoring that are not followed up by either evaluation or control activities may be guided by teachers to become more productive.

Conclusion
To conclude, the present study showed that repeated occurrences of social challenge during collaboration have a negative effect on learning outcomes and result in changes in the overall learning process. Those pairs with fewer social challenges showed more cognitive processing activities, more high-cognition, and fewer off-task activities. Their metacognitive activities were closely connected to each other in the learning process. However, pairs with more social challenges, and who therefore repeatedly have disagreements, may be at risk for lower assignment quality. They are more easily distracted, more easily go off-topic, and have trouble getting back on-topic once they enter a vicious cycle of off-topic verbalizations and negativity.

Compliance with ethical standards
Conflict of interest The authors declare that they have no conflict of interest.
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.