
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
$(1)$ Given that the solution set of the inequality $mx^{2}+3x-2 \gt 0$ is $\{x\left|\right.n \lt x \lt 2\}$, find the values of $m$ and $n$; <br/>$(2)$ Find the solution set of the inequality $x^{2}+\left(a-1\right)x-a \gt 0($where $a\in R$).

Present the answer in LaTex format: \boxed{Your answer}
user