#Rationale Version 140.56 can_be_loaded_by 120.53 uses_features_from 120.53 #-- Start of Prelude -- Node = None Views = [] Loading = True canSetScratchpadText = True PictureSupported = CurrentFileFormat.IsLaterThan(140, 56) if not CurrentFileFormat.IsLaterThan(130, 54): morphTarget = None if not CurrentFileFormat.IsLaterThan(130, 55): canSetScratchpadText = False def Create(type): global Node if morphTarget == None: Node = app.Create(type) else: Morph(morphTarget, type) Node = morphTarget return Node def CreateChild(parent, type): global Node Node = app.CreateChild(parent, type) return Node def CreateAnnotation(parent, type): global Node Node = app.CreateAnnotation(parent, type) return Node def SetText(text): app.SetText(Node, text) def SetEvaluation(evaluation): app.SetEvaluation(Node, evaluation) def SetTint(tint): app.SetTint(Node, tint) def SetImageKey(key): if PictureSupported: app.SetImageKey(Node, key) else: note = app.CreateAnnotation(Node, "Note") app.SetText(note, "*Pictures not supported*\r\n A picture goes here from " + key + "\r\n \r\n (download a newer version of Rationale to see the picture)") def RegisterImage(name, image): if PictureSupported: app.RegisterImage(name, image) def StringToImage(guid, imageAsString): return app.StringToImage(guid, imageAsString) def Morph(node, flavor): global Node app.Morph(node, flavor) Node = node def GetFernViews(): global Views global View global Loading Views = [v for v in app.Views if v.TypeName == "FernView"] Loading = len(Views) == 0 if Loading: View = app.Gui.CreateView("FernView") Views = [ View ] def SetLocation(node, x, y): # if Loading: # View.SetLocation(node, x, y) # else: for v in Views: v.SetLocation(node, x, y) def SetOffset(offsetFrom, node, x, y): if Loading: View.SetOffset(offsetFrom, node, x, y) else: for v in Views: v.SetOffset(offsetFrom, node, x, y) def SetSize(node, width, height): if Loading: View.SetSize(node, width, height) else: for v in Views: v.SetSize(node, width, height) def ShowPrintPagePreview(show): if Loading: View.ShowPrintPagePreview(show, False) def SetBackgroundImage(image): if Loading: View.SetBackgroundImage(image, False) def SetOpacity(opacity): if Loading: View.SetOpacity(opacity) def SetSelection(node): if Loading: View.SetSelection(node) def SetScratchpadText(text): if canSetScratchpadText: app.Gui.SetScratchpadText(text) #-- End of Prelude -- map0_0 = Create("Claim") SetText("Dumbledore is Ron Weasley") SetEvaluation("Reject") map0_1 = CreateChild(map0_0, "CompoundReason") SetEvaluation("MakesNoDifference") map0_2 = CreateChild(map0_1, "Claim") SetText("They share similar physical features") SetEvaluation("Accept") map0_3 = CreateChild(map0_2, "CompoundReason") SetEvaluation("Strong") map0_4 = CreateChild(map0_3, "Claim") SetText("Both Ron and Dumbledore are auburn-haired, tall, thin and long-nosed") SetEvaluation("Accept") map0_5 = CreateChild(map0_4, "Basis") SetText("J. K. Rowling's \"Harry Potter\" books") SetEvaluation("Accept") map0_6 = CreateAnnotation(map0_5, "Note") SetText("J. K. Rowling made these characters up, so she's the authority on their personalities, looks and actions: her books provide a good basis for accepting that they have these attributes. We'll accept this basis and the claims made on the strength of it.") SetTint(3) map0_7 = CreateChild(map0_3, "Claim") SetText("Dumbledore has a scar above his left knee while Ron sustained a serious injury to his left leg") SetEvaluation("Accept") map0_8 = CreateChild(map0_7, "Basis") SetText("J. K. Rowling's \"Harry Potter\" books") SetEvaluation("Accept") map0_9 = CreateChild(map0_3, "Inference") map0_10 = CreateAnnotation(map0_3, "Note") SetText("Together these claims provide strong support for physical similarities between the two.") SetTint(3) map0_11 = CreateChild(map0_1, "Claim") SetText("Sharing similar physical features is proof of identity") SetEvaluation("Reject") map0_12 = CreateChild(map0_11, "CompoundObjection") SetEvaluation("Strong") map0_13 = CreateChild(map0_12, "Claim") SetText("Family members or even strangers can share physical features while remaining distinct individuals") SetEvaluation("Accept") map0_14 = CreateAnnotation(map0_13, "Note") SetText("This is certainly true: think about the case of identical twins!") SetTint(3) map0_15 = CreateChild(map0_12, "Inference") map0_16 = CreateAnnotation(map0_12, "Note") SetText("The objection provides strong opposition since it is directly relevant to the claim above.") SetTint(3) map0_17 = CreateChild(map0_1, "Inference") map0_18 = CreateAnnotation(map0_1, "Note") SetText("If any one of the claims is bad then we can't accept this reason.") SetTint(3) map0_19 = CreateChild(map0_0, "CompoundReason") SetEvaluation("MakesNoDifference") map0_20 = CreateChild(map0_19, "Claim") SetText("Both have a great love for sweets") SetEvaluation("Accept") map0_21 = CreateChild(map0_20, "CompoundReason") SetEvaluation("Weak") map0_22 = CreateChild(map0_21, "Claim") SetText("Ron is always eating sweets while Dumbledore uses the names of sweets as passwords") SetEvaluation("Accept") map0_23 = CreateChild(map0_22, "Basis") SetText("J. K. Rowling's \"Harry Potter\" books") SetEvaluation("Accept") map0_24 = CreateChild(map0_21, "Inference") map0_25 = CreateAnnotation(map0_21, "Note") SetText("This provides only weak support since using the names of sweets as passwords mighn't be the result of loving sweets.") SetTint(3) map0_26 = CreateChild(map0_19, "Claim") SetText("Sharing an affinity for sweets is proof of identity") SetEvaluation("Reject") map0_27 = CreateChild(map0_26, "CompoundObjection") SetEvaluation("Strong") map0_28 = CreateChild(map0_27, "Claim") SetText("Very many people have an affinity for sweets") SetEvaluation("Accept") map0_29 = CreateAnnotation(map0_28, "Note") SetText("This is true: there are small numbers of people who don't like sweets, but most people like them.") SetTint(3) map0_30 = CreateChild(map0_27, "Inference") map0_31 = CreateAnnotation(map0_27, "Note") SetText("The objection provides strong opposition since it is directly relevant to the claim above.") SetTint(3) map0_32 = CreateChild(map0_19, "Inference") map0_33 = CreateAnnotation(map0_19, "Note") SetText("If any one of the claims is bad then we can't accept this reason.") SetTint(3) map0_34 = CreateChild(map0_0, "CompoundObjection") SetEvaluation("Strong") map0_35 = CreateChild(map0_34, "Claim") SetText("The two have very different temperaments") SetEvaluation("Accept") map0_36 = CreateChild(map0_35, "CompoundReason") SetEvaluation("Strong") map0_37 = CreateChild(map0_36, "Claim") SetText("Ron is hot-headed while Dumbledore is level headed") SetEvaluation("Accept") map0_38 = CreateChild(map0_37, "Basis") SetText("J. K. Rowling's \"Harry Potter\" books") SetEvaluation("Accept") map0_39 = CreateChild(map0_36, "Inference") map0_40 = CreateAnnotation(map0_36, "Note") SetText("This is directly relevant to the objection, so it provides strong support.") SetTint(3) map0_41 = CreateChild(map0_34, "Inference") map0_42 = CreateAnnotation(map0_34, "Note") SetText("This is relevant to the position, so it provides strong opposition.") SetTint(3) map0_43 = CreateAnnotation(map0_0, "Note") SetText("With two failed reasons and a strong objection we should reject the position.") SetTint(3) GetFernViews() SetLocation(map0_0, -106, -214) SetSize(map0_0, 234, 62) SetSize(map0_1, 329, 82) SetSize(map0_2, 123, 72) SetSize(map0_3, 334, 118) SetSize(map0_4, 128, 108) SetSize(map0_5, 88, 124) SetOffset(map0_5, map0_6, 33, -176) SetSize(map0_6, 407, 128) SetSize(map0_7, 156, 108) SetSize(map0_8, 88, 124) SetSize(map0_9, 20, 33) SetOffset(map0_3, map0_10, 207, 62) SetSize(map0_10, 167, 128) SetSize(map0_11, 156, 72) SetSize(map0_12, 187, 137) SetSize(map0_13, 147, 127) SetOffset(map0_13, map0_14, 25, -173) SetSize(map0_14, 156, 106) SetSize(map0_15, 20, 33) SetOffset(map0_12, map0_16, -88, -331) SetSize(map0_16, 156, 150) SetSize(map0_17, 20, 33) SetOffset(map0_1, map0_18, 206, 31) SetSize(map0_18, 156, 106) SetSize(map0_19, 306, 82) SetSize(map0_20, 100, 72) SetSize(map0_21, 183, 137) SetSize(map0_22, 143, 127) SetSize(map0_23, 88, 124) SetSize(map0_24, 20, 33) SetOffset(map0_21, map0_25, -78, -337) SetSize(map0_25, 176, 150) SetSize(map0_26, 156, 72) SetSize(map0_27, 149, 100) SetSize(map0_28, 109, 90) SetOffset(map0_28, map0_29, 20, -148) SetSize(map0_29, 156, 150) SetSize(map0_30, 20, 33) SetOffset(map0_27, map0_31, -95, -335) SetSize(map0_31, 156, 150) SetSize(map0_32, 20, 33) SetOffset(map0_19, map0_33, -477, 162) SetSize(map0_33, 156, 106) SetSize(map0_34, 163, 82) SetSize(map0_35, 123, 72) SetSize(map0_36, 188, 82) SetSize(map0_37, 148, 72) SetSize(map0_38, 88, 124) SetSize(map0_39, 20, 33) SetOffset(map0_36, map0_40, -263, 31) SetSize(map0_40, 135, 128) SetSize(map0_41, 20, 33) SetOffset(map0_34, map0_42, -253, 38) SetSize(map0_42, 156, 106) SetOffset(map0_0, map0_43, -284, 31) SetSize(map0_43, 213, 83) ShowPrintPagePreview(False)