public static Keyword oldInterpretFailScore(ControlFrame frame, Keyword lastmove) {
    if (lastmove == Logic.KWD_DOWN) {
      KeyValueList.setDynamicSlotValue(((QueryIterator)(Logic.$QUERYITERATOR$.get())).dynamicSlots, Logic.SYM_LOGIC_LATEST_POSITIVE_SCORE, FloatWrapper.wrapFloat(0.0), Stella.NULL_FLOAT_WRAPPER);
      if (frame.partialMatchFrame == null) {
        ControlFrame.createAndLinkPartialMatchFrame(frame, Logic.KWD_NOT);
      }
    }
    else if ((lastmove == Logic.KWD_UP_TRUE) ||
        (lastmove == Logic.KWD_UP_FAIL)) {
      ControlFrame.recordLatestPartialMatchScore(frame);
      if (ControlFrame.computePartialMatchScoreP(frame)) {
        lastmove = Logic.KWD_UP_TRUE;
      }
      else {
        lastmove = Logic.KWD_UP_FAIL;
      }
    }
    else {
      { OutputStringStream stream000 = OutputStringStream.newOutputStringStream();

        stream000.nativeStream.print("`" + lastmove + "' is not a valid case option");
        throw ((StellaException)(StellaException.newStellaException(stream000.theStringReader()).fillInStackTrace()));
      }
    }
    return (lastmove);
  }