How to use RedirectLastClientRequestToClusterManager method of Microsoft.Coyote.Actors.BugFinding.Tests.ConfigureEvent class

Best Coyote code snippet using Microsoft.Coyote.Actors.BugFinding.Tests.ConfigureEvent.RedirectLastClientRequestToClusterManager

RaftTests.cs

Source:RaftTests.cs Github

copy

Full Screen

...602 if (request.Term > this.CurrentTerm)603 {604 this.CurrentTerm = request.Term;605 this.VotedFor = null;606 this.RedirectLastClientRequestToClusterManager();607 this.Vote(e as VoteRequest);608 this.RaiseEvent(new BecomeFollower());609 }610 else611 {612 this.Vote(e as VoteRequest);613 }614 }615 private void RespondVoteAsLeader(Event e)616 {617 var request = e as VoteResponse;618 if (request.Term > this.CurrentTerm)619 {620 this.CurrentTerm = request.Term;621 this.VotedFor = null;622 this.RedirectLastClientRequestToClusterManager();623 this.RaiseEvent(new BecomeFollower());624 }625 }626 private void AppendEntriesAsLeader(Event e)627 {628 var request = e as AppendEntriesRequest;629 if (request.Term > this.CurrentTerm)630 {631 this.CurrentTerm = request.Term;632 this.VotedFor = null;633 this.RedirectLastClientRequestToClusterManager();634 this.AppendEntries(e as AppendEntriesRequest);635 this.RaiseEvent(new BecomeFollower());636 }637 }638 private void RespondAppendEntriesAsLeader(Event e)639 {640 var request = e as AppendEntriesResponse;641 if (request.Term > this.CurrentTerm)642 {643 this.CurrentTerm = request.Term;644 this.VotedFor = null;645 this.RedirectLastClientRequestToClusterManager();646 this.RaiseEvent(new BecomeFollower());647 }648 else if (request.Term != this.CurrentTerm)649 {650 return;651 }652 if (request.Success)653 {654 this.NextIndex[request.Server] = this.Logs.Count + 1;655 this.MatchIndex[request.Server] = this.Logs.Count;656 this.VotesReceived++;657 if (request.ReceiverEndpoint != null &&658 this.VotesReceived >= (this.Servers.Length / 2) + 1)659 {660 var commitIndex = this.MatchIndex[request.Server];661 if (commitIndex > this.CommitIndex &&662 this.Logs[commitIndex - 1].Term == this.CurrentTerm)663 {664 this.CommitIndex = commitIndex;665 }666 this.VotesReceived = 0;667 this.LastClientRequest = null;668 this.SendEvent(request.ReceiverEndpoint, new Client.Response());669 }670 }671 else672 {673 if (this.NextIndex[request.Server] > 1)674 {675 this.NextIndex[request.Server] = this.NextIndex[request.Server] - 1;676 }677 var logs = this.Logs.GetRange(this.NextIndex[request.Server] - 1, this.Logs.Count - (this.NextIndex[request.Server] - 1));678 var prevLogIndex = this.NextIndex[request.Server] - 1;679 var prevLogTerm = this.GetLogTermForIndex(prevLogIndex);680 this.SendEvent(request.Server, new AppendEntriesRequest(this.CurrentTerm, this.Id, prevLogIndex,681 prevLogTerm, logs, this.CommitIndex, request.ReceiverEndpoint));682 }683 }684 /// <summary>685 /// Processes the given vote request.686 /// </summary>687 /// <param name="request">VoteRequest.</param>688 private void Vote(VoteRequest request)689 {690 var lastLogIndex = this.Logs.Count;691 var lastLogTerm = this.GetLogTermForIndex(lastLogIndex);692 if (request.Term < this.CurrentTerm ||693 (this.VotedFor != null && this.VotedFor != request.CandidateId) ||694 lastLogIndex > request.LastLogIndex ||695 lastLogTerm > request.LastLogTerm)696 {697 this.SendEvent(request.CandidateId, new VoteResponse(this.CurrentTerm, false));698 }699 else700 {701 this.VotedFor = request.CandidateId;702 this.LeaderId = null;703 this.SendEvent(request.CandidateId, new VoteResponse(this.CurrentTerm, true));704 }705 }706 /// <summary>707 /// Processes the given append entries request.708 /// </summary>709 /// <param name="request">AppendEntriesRequest.</param>710 private void AppendEntries(AppendEntriesRequest request)711 {712 if (request.Term < this.CurrentTerm)713 {714 this.SendEvent(request.LeaderId, new AppendEntriesResponse(this.CurrentTerm, false,715 this.Id, request.ReceiverEndpoint));716 }717 else718 {719 if (request.PrevLogIndex > 0 &&720 (this.Logs.Count < request.PrevLogIndex ||721 this.Logs[request.PrevLogIndex - 1].Term != request.PrevLogTerm))722 {723 this.SendEvent(request.LeaderId, new AppendEntriesResponse(this.CurrentTerm, false, this.Id, request.ReceiverEndpoint));724 }725 else726 {727 if (request.Entries.Count > 0)728 {729 var currentIndex = request.PrevLogIndex + 1;730 foreach (var entry in request.Entries)731 {732 if (this.Logs.Count < currentIndex)733 {734 this.Logs.Add(entry);735 }736 else if (this.Logs[currentIndex - 1].Term != entry.Term)737 {738 this.Logs.RemoveRange(currentIndex - 1, this.Logs.Count - (currentIndex - 1));739 this.Logs.Add(entry);740 }741 currentIndex++;742 }743 }744 if (request.LeaderCommit > this.CommitIndex &&745 this.Logs.Count < request.LeaderCommit)746 {747 this.CommitIndex = this.Logs.Count;748 }749 else if (request.LeaderCommit > this.CommitIndex)750 {751 this.CommitIndex = request.LeaderCommit;752 }753 if (this.CommitIndex > this.LastApplied)754 {755 this.LastApplied++;756 }757 this.LeaderId = request.LeaderId;758 this.SendEvent(request.LeaderId, new AppendEntriesResponse(this.CurrentTerm, true, this.Id, request.ReceiverEndpoint));759 }760 }761 }762 private void RedirectLastClientRequestToClusterManager()763 {764 if (this.LastClientRequest != null)765 {766 this.SendEvent(this.ClusterManager, this.LastClientRequest);767 }768 }769 /// <summary>770 /// Returns the log term for the given log index.771 /// </summary>772 /// <param name="logIndex">Index.</param>773 /// <returns>Term.</returns>774 private int GetLogTermForIndex(int logIndex)775 {776 var logTerm = 0;...

Full Screen

Full Screen

RedirectLastClientRequestToClusterManager

Using AI Code Generation

copy

Full Screen

1{2 using System;3 using System.Collections.Generic;4 using System.Threading.Tasks;5 using Microsoft.Coyote.Actors;6 using Microsoft.Coyote.Actors.BugFinding;7 using Microsoft.Coyote.Actors.BugFinding.Tests;8 using Microsoft.Coyote.Actors.BugFinding.Tests.Nondeterministic;9 using Microsoft.Coyote.Actors.BugFinding.Tests.Nondeterministic.Actors;10 using Microsoft.Coyote.Actors.BugFinding.Tests.Nondeterministic.Events;11 using Microsoft.Coyote.Actors.BugFinding.Tests.Nondeterministic.Machines;12 using Microsoft.Coyote.Actors.BugFinding.Tests.Nondeterministic.Tasks;13 using Microsoft.Coyote.Actors.BugFinding.Tests.Nondeterministic.Tasks.TaskWithYield;14 using Microsoft.Coyote.Actors.BugFinding.Tests.Nondeterministic.Tasks.TaskWithYieldAndSend;15 using Microsoft.Coyote.Actors.BugFinding.Tests.Nondeterministic.Tasks.TaskWithYieldAndSendToActor;16 using Microsoft.Coyote.Actors.BugFinding.Tests.Nondeterministic.Tasks.TaskWithYieldAndSendToMachine;17 using Microsoft.Coyote.Actors.BugFinding.Tests.Nondeterministic.Tasks.TaskWithYieldAndSendToTask;18 using Microsoft.Coyote.Actors.BugFinding.Tests.Nondeterministic.Tasks.TaskWithYieldAndSendToTaskWithYield;19 using Microsoft.Coyote.Actors.BugFinding.Tests.Nondeterministic.Tasks.TaskWithYieldAndSendToTaskWithYieldAndSend;20 using Microsoft.Coyote.Actors.BugFinding.Tests.Nondeterministic.Tasks.TaskWithYieldAndSendToTaskWithYieldAndSendToActor;21 using Microsoft.Coyote.Actors.BugFinding.Tests.Nondeterministic.Tasks.TaskWithYieldAndSendToTaskWithYieldAndSendToMachine;22 using Microsoft.Coyote.Actors.BugFinding.Tests.Nondeterministic.Tasks.TaskWithYieldAndSendToTaskWithYieldAndSendToTask;23 using Microsoft.Coyote.Actors.BugFinding.Tests.Nondeterministic.Tasks.TaskWithYieldAndSendToTaskWithYieldAndSendToTaskWithYield;

Full Screen

Full Screen

RedirectLastClientRequestToClusterManager

Using AI Code Generation

copy

Full Screen

1{2 using System;3 using System.Collections.Generic;4 using System.Threading.Tasks;5 using Microsoft.Coyote.Actors;6 using Microsoft.Coyote.SystematicTesting;7 using Xunit;8 using Xunit.Abstractions;9 {10 public TestRedirectLastClientRequestToClusterManager(ITestOutputHelper output)11 : base(output)12 {13 }14 {15 public ActorId Id;16 public E(ActorId id)17 {18 this.Id = id;19 }20 }21 {22 private ActorId Client;23 [OnEventDoAction(typeof(E), nameof(Configure))]24 {25 }26 private void Configure()27 {28 this.Client = (this.ReceivedEvent as E).Id;29 this.RedirectLastClientRequestToClusterManager();30 }31 }32 [Fact(Timeout = 5000)]33 public void TestRedirectLastClientRequestToClusterManagerTest()34 {35 this.TestWithError(r =>36 {37 r.RegisterMonitor<ClusterManager>();38 r.CreateActor(typeof(ClusterManager), new E(r.DefaultActorId));39 },40 configuration: GetConfiguration().WithTestingIterations(100),41 replay: true);42 }43 }44}45{46 using System;47 using System.Collections.Generic;48 using System.Threading.Tasks;49 using Microsoft.Coyote.Actors;50 using Microsoft.Coyote.SystematicTesting;51 using Xunit;52 using Xunit.Abstractions;53 {54 public TestRedirectLastClientRequestToClusterManager(ITestOutputHelper output)55 : base(output)56 {57 }58 {59 public ActorId Id;60 public E(ActorId id)61 {62 this.Id = id;63 }64 }65 {66 private ActorId Client;

Full Screen

Full Screen

RedirectLastClientRequestToClusterManager

Using AI Code Generation

copy

Full Screen

1using System;2using Microsoft.Coyote.Actors;3using Microsoft.Coyote.Actors.BugFinding;4using Microsoft.Coyote.Actors.BugFinding.Tests;5using Microsoft.Coyote.Actors.BugFinding.Tests.Events;6using Microsoft.Coyote.Actors.BugFinding.Tests.Tasks;7using Microsoft.Coyote.Actors.BugFinding.Tests.Tasks.Events;8using Microsoft.Coyote.Actors.BugFinding.Tests.Tasks.Tasks;9using Microsoft.Coyote.Actors.BugFinding.Tests.Tasks.Tasks.Events;10using Microsoft.Coyote.Actors.BugFinding.Tests.Tasks.Tasks.Tasks;11using Microsoft.Coyote.Actors.BugFinding.Tests.Tasks.Tasks.Tasks.Events;12using Microsoft.Coyote.Actors.BugFinding.Tests.Tasks.Tasks.Tasks.Tasks;13using Microsoft.Coyote.Actors.BugFinding.Tests.Tasks.Tasks.Tasks.Tasks.Events;14using Microsoft.Coyote.Actors.BugFinding.Tests.Tasks.Tasks.Tasks.Tasks.Tasks;15using Microsoft.Coyote.Actors.BugFinding.Tests.Tasks.Tasks.Tasks.Tasks.Tasks.Events;16using Microsoft.Coyote.Actors.BugFinding.Tests.Tasks.Tasks.Tasks.Tasks.Tasks.Tasks;17using Microsoft.Coyote.Actors.BugFinding.Tests.Tasks.Tasks.Tasks.Tasks.Tasks.Tasks.Events;18using Microsoft.Coyote.Actors.BugFinding.Tests.Tasks.Tasks.Tasks.Tasks.Tasks.Tasks.Tasks;19using Microsoft.Coyote.Actors.BugFinding.Tests.Tasks.Tasks.Tasks.Tasks.Tasks.Tasks.Tasks.Events;20using Microsoft.Coyote.Actors.BugFinding.Tests.Tasks.Tasks.Tasks.Tasks.Tasks.Tasks.Tasks.Tasks;21using Microsoft.Coyote.Actors.BugFinding.Tests.Tasks.Tasks.Tasks.Tasks.Tasks.Tasks.Tasks.Tasks.Events;22using Microsoft.Coyote.Actors.BugFinding.Tests.Tasks.Tasks.Tasks.Tasks.Tasks.Tasks.Tasks.Tasks.Tasks;23using Microsoft.Coyote.Actors.BugFinding.Tests.Tasks.Tasks.Tasks.Tasks.Tasks.Tasks.Tasks.Tasks.Tasks.Events;

Full Screen

Full Screen

RedirectLastClientRequestToClusterManager

Using AI Code Generation

copy

Full Screen

1using Microsoft.Coyote.Actors;2using Microsoft.Coyote.Actors.BugFinding;3using Microsoft.Coyote.Actors.BugFinding.Tests;4using Microsoft.Coyote.Actors.BugFinding.Tests.ConfigureEvent;5using Microsoft.Coyote.Specifications;6using Microsoft.Coyote.Tasks;7using Microsoft.Coyote.Tests.Common;8using System;9using System.Collections.Generic;10using System.Threading.Tasks;11{12 {13 public async Task TestConfigureEvent()14 {15 this.TestBugFindingFailure<ConfigureEventBug>(1, true);16 }17 protected override bool IsReproBug(Exception ex)18 {19 return ex is AssertionFailureException;20 }21 protected override Configuration GetConfiguration()22 {23 var configuration = Configuration.Create();24 configuration.SchedulingIterations = 1000;25 configuration.SchedulingStrategy = SchedulingStrategy.DFS;26 configuration.LivenessTemperatureThreshold = 1000;27 configuration.MaxFairSchedulingSteps = 1000;28 configuration.MaxUnfairSchedulingSteps = 1000;29 configuration.RandomSchedulingSeed = 1;30 configuration.EnableCycleDetection = true;31 configuration.EnableDataRaceDetection = true;32 configuration.EnableHotStateDetection = true;33 configuration.EnableOperationInterleavings = true;34 configuration.EnablePhaseInterleavings = true;35 configuration.EnableRandomExecution = true;36 configuration.EnableRandomTesting = true;37 configuration.EnableStateGraphTesting = true;38 configuration.EnableTaskInterleavings = true;39 configuration.EnableUnfairTesting = true;40 configuration.EnableUnfairScheduling = true;41 configuration.EnableVerboseTrace = true;42 configuration.EnableFullExploration = true;43 configuration.EnableFullExploration = true;44 configuration.EnableFullExploration = true;45 return configuration;46 }47 }48}49using Microsoft.Coyote.Actors;50using Microsoft.Coyote.Actors.BugFinding;51using Microsoft.Coyote.Actors.BugFinding.Tests;52using Microsoft.Coyote.Actors.BugFinding.Tests.ConfigureEvent;53using Microsoft.Coyote.Specifications;54using Microsoft.Coyote.Tasks;55using Microsoft.Coyote.Tests.Common;56using System;57using System.Collections.Generic;58using System.Threading.Tasks;

Full Screen

Full Screen

RedirectLastClientRequestToClusterManager

Using AI Code Generation

copy

Full Screen

1using Microsoft.Coyote.Actors.BugFinding.Tests;2using Microsoft.Coyote.Actors;3using Microsoft.Coyote.Actors.BugFinding;4using Microsoft.Coyote.Actors.BugFinding.Tests;5using Microsoft.Coyote.Actors.BugFinding.Tests.Actors;6using Microsoft.Coyote.Actors.BugFinding.Tests.Actors.Actors;7using Microsoft.Coyote.Actors.BugFinding.Tests.Actors.Actors.Actors;8using Microsoft.Coyote.Actors.BugFinding.Tests.Actors.Actors.Actors.Actors;9using Microsoft.Coyote.Actors.BugFinding.Tests.Actors.Actors.Actors.Actors.Actors;10using Microsoft.Coyote.Actors.BugFinding.Tests.Actors.Actors.Actors.Actors.Actors.Actors;11using Microsoft.Coyote.Actors.BugFinding.Tests.Actors.Actors.Actors.Actors.Actors.Actors.Actors;12using Microsoft.Coyote.Actors.BugFinding.Tests.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors;13using Microsoft.Coyote.Actors.BugFinding.Tests.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors;14using Microsoft.Coyote.Actors.BugFinding.Tests.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors;15using Microsoft.Coyote.Actors.BugFinding.Tests.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors;16using Microsoft.Coyote.Actors.BugFinding.Tests.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors;17using Microsoft.Coyote.Actors.BugFinding.Tests.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors;18using Microsoft.Coyote.Actors.BugFinding.Tests.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors;19using Microsoft.Coyote.Actors.BugFinding.Tests.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors.Actors;

Full Screen

Full Screen

RedirectLastClientRequestToClusterManager

Using AI Code Generation

copy

Full Screen

1using System;2using System.Collections.Generic;3using System.Linq;4using System.Text;5using System.Threading.Tasks;6using Microsoft.Coyote.Actors.BugFinding.Tests;7using Microsoft.Coyote.Actors.BugFinding.Tests.Coyote;8using Microsoft.Coyote.Actors.BugFinding.Tests.CoyoteRuntime;9using Microsoft.Coyote.Actors.BugFinding.Tests.Runtime;10using Microsoft.Coyote.Actors.BugFinding.Tests.Runtime.Coyote;11using Microsoft.Coyote.Actors.BugFinding.Tests.Runtime.CoyoteRuntime;12using Microsoft.Coyote.Actors.BugFinding.Tests.Runtime.CoyoteRuntime.CoyoteRuntime;13using Microsoft.Coyote.Actors.BugFinding.Tests.Runtime.CoyoteRuntime.CoyoteRuntime.CoyoteRuntime;14using Microsoft.Coyote.Actors.BugFinding.Tests.Runtime.CoyoteRuntime.CoyoteRuntime.CoyoteRuntime.CoyoteRuntime;15using Microsoft.Coyote.Actors.BugFinding.Tests.Runtime.CoyoteRuntime.CoyoteRuntime.CoyoteRuntime.CoyoteRuntime.CoyoteRuntime;16using Microsoft.Coyote.Actors.BugFinding.Tests.Runtime.CoyoteRuntime.CoyoteRuntime.CoyoteRuntime.CoyoteRuntime.CoyoteRuntime.CoyoteRuntime;17using Microsoft.Coyote.Actors.BugFinding.Tests.Runtime.CoyoteRuntime.CoyoteRuntime.CoyoteRuntime.CoyoteRuntime.CoyoteRuntime.CoyoteRuntime.CoyoteRuntime;

Full Screen

Full Screen

RedirectLastClientRequestToClusterManager

Using AI Code Generation

copy

Full Screen

1Microsoft.Coyote.Actors.BugFinding.Tests.ConfigureEvent.ConfigureEvent configureEvent = new Microsoft.Coyote.Actors.BugFinding.Tests.ConfigureEvent.ConfigureEvent();2Microsoft.Coyote.Actors.BugFinding.Tests.ConfigureEvent.ConfigureEvent configureEvent = new Microsoft.Coyote.Actors.BugFinding.Tests.ConfigureEvent.ConfigureEvent();3configureEvent.RedirectLastClientRequestToClusterManager();4configureEvent.RedirectLastClientRequestToClusterManager();5Microsoft.Coyote.Actors.BugFinding.Tests.ConfigureEvent.ConfigureEvent configureEvent = new Microsoft.Coyote.Actors.BugFinding.Tests.ConfigureEvent.ConfigureEvent();6Microsoft.Coyote.Actors.BugFinding.Tests.ConfigureEvent.ConfigureEvent configureEvent = new Microsoft.Coyote.Actors.BugFinding.Tests.ConfigureEvent.ConfigureEvent();7configureEvent.RedirectLastClientRequestToClusterManager();8configureEvent.RedirectLastClientRequestToClusterManager();9Microsoft.Coyote.Actors.BugFinding.Tests.ConfigureEvent.ConfigureEvent configureEvent = new Microsoft.Coyote.Actors.BugFinding.Tests.ConfigureEvent.ConfigureEvent();10Microsoft.Coyote.Actors.BugFinding.Tests.ConfigureEvent.ConfigureEvent configureEvent = new Microsoft.Coyote.Actors.BugFinding.Tests.ConfigureEvent.ConfigureEvent();11configureEvent.RedirectLastClientRequestToClusterManager();12configureEvent.RedirectLastClientRequestToClusterManager();

Full Screen

Full Screen

RedirectLastClientRequestToClusterManager

Using AI Code Generation

copy

Full Screen

1using Microsoft.Coyote.Actors.BugFinding.Tests;2using Microsoft.Coyote.Actors;3using System;4using System.Threading.Tasks;5using System.Collections.Generic;6using System.Linq;7{8 {9 public int Value;10 public MyEvent(int value)11 {12 this.Value = value;13 }14 }15 {16 private int x = 0;17 [OnEntry(nameof(InitOnEntry))]18 [OnEventDoAction(typeof(MyEvent), nameof(HandleEvent))]19 {20 }21 private void InitOnEntry()22 {23 this.Send(this.Id, new MyEvent(1));24 }25 private void HandleEvent()26 {27 this.x = 1;28 this.Send(this.Id, new MyEvent(1));29 }30 }31 {32 [OnEventDoAction(typeof(MyEvent), nameof(HandleEvent))]33 {34 }35 private void HandleEvent()36 {37 this.Assert(false, "Monitor assertion failed.");38 }39 }40 {41 static void Main(string[] args)42 {43 var configuration = Configuration.Create().WithVerbosityEnabled(2);44 configuration = configuration.WithTestingIterations(1000);45 configuration = configuration.WithMaxSchedulingSteps(1000);46 configuration = configuration.WithRandomSchedulingSeed(0);47 configuration = configuration.WithMaxFairSchedulingSteps(1000);48 configuration = configuration.WithMaxUnfairSchedulingSteps(1000);49 configuration = configuration.WithMaxStepsFromBugFinding(1000);50 configuration = configuration.WithMaxFairStepsFromBugFinding(1000);51 configuration = configuration.WithMaxUnfairStepsFromBugFinding(1000);52 configuration = configuration.WithMaxFairSchedulingStepsFromBugFinding(1000);53 configuration = configuration.WithMaxUnfairSchedulingStepsFromBugFinding(1000);54 configuration = configuration.WithMaxFairStepsFromRandomExecution(1000);55 configuration = configuration.WithMaxUnfairStepsFromRandomExecution(1000);56 configuration = configuration.WithMaxFairSchedulingStepsFromRandomExecution(1000);57 configuration = configuration.WithMaxUnfairSchedulingStepsFromRandomExecution(1000);

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful