Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-2884

Guided Score Card build fails w/ multiple errors

XMLWordPrintable

    • Hide

      New instance of Drools Workbench Showcase (https://hub.docker.com/r/jboss/drools-workbench-showcase/)

      Create a new project.
      Add Asset -> Data Object
      Identifier: Person, add fields: age: Integer, result: Double.

      Add Asset -> Guided Score Card
      Facts: select Person
      Resultant Score Field: select result: Double
      then Add characteristic with name: AgeScore
      Add attribute
      Operator <, Value: 35, Partial Score: 10.
      Press save
      Go to Project view
      Click Build button
      Result - multiple errors.

      Generated Person.java:
      package com.myspace.projectdemo;

      /**

      • This class was automatically generated by the data modeler tool.
        */

      public class Person implements java.io.Serializable {

      static final long serialVersionUID = 1L;

      private java.lang.Integer age;
      private java.lang.Double result;

      public Person() {
      }

      public java.lang.Integer getAge()

      { return this.age; }

      public void setAge(java.lang.Integer age)

      { this.age = age; }

      public java.lang.Double getResult()

      { return this.result; }

      public void setResult(java.lang.Double result)

      { this.result = result; }

      public Person(java.lang.Integer age, java.lang.Double result)

      { this.age = age; this.result = result; }

      }

      Generated GuidedScoreCard.scgd:

      // Imported PMML Model Theory
      // Trained with :
      // Creation timestamp : 2018.08.11 at 11:08:15 UTC
      // Description : generated by the drools-scorecards module
      // Copyright : null

      package com.myspace.projectdemo;
      unit GuidedScoreCardScorecardRuleUnit

      import org.kie.pmml.pmml_4_2.*;
      import org.kie.pmml.pmml_4_2.model.*;
      import org.kie.pmml.pmml_4_2.model.scorecard.*;
      import org.kie.pmml.pmml_4_2.model.regression.*;
      import org.kie.pmml.pmml_4_2.model.tree.*;
      import org.kie.pmml.pmml_4_2.model.datatypes.*;
      import org.drools.core.factmodel.traits.Traitable;
      import org.kie.api.runtime.rule.FactHandle;
      import org.kie.api.pmml.PMMLRequestData;
      import org.kie.api.pmml.ParameterInfo;
      import org.kie.api.pmml.PMML4Result;
      import org.kie.api.pmml.PMML4Data;
      import org.kie.api.pmml.PMML4DataType;

      rule 'RuleUnitIndicator'
      when
      then
      System.out.println("Rules execution available for GuidedScoreCardScorecardRuleUnit");
      end

      rule 'Extract Parameter Info'
      @Generated
      salience 10
      no-loop
      when
      $rd: PMMLRequestData( $cid: correlationId != null, $mn: modelName ) from request
      $pi: ParameterInfo( $name: name, $value: value ) from $rd.mappedRequestParams.values()
      then
      PMML4DataFactory factory = PMML4DataFactory.get();
      PMML4Data data = factory.newPMML4Data($cid, $mn, $pi, false, false);
      pmmlData.insert(data);
      end

      rule "Override Value"

      @Generated
      salience 2
      when
      $new: PMML4Data( $value: value ) from pmmlData
      $old: PMML4Data( name == $new.name, value != $value, this before $new ) from pmmlData
      then
      retract($old);
      end

      declare PMML4AbstractField
      end

      declare DataField extends PMML4AbstractField
      @role(event)
      valid : boolean = false @position(2)
      missing : boolean = false @position(3) @key
      context : String @key @position(1)
      name : String
      // cyclic = (false) : boolean
      // continuous = (false) : boolean
      // categorical = (false) : boolean
      // ordinal = (false) : boolean
      end

      declare OutputField extends DataField
      @role(event)

      warning : String = "No Warning"
      target : boolean = false

      end

      // Display Name : null

      declare Scorecard__calculatedScore extends DataField
      @role(event)
      @Traitable

      value : double @key @position(0)
      displayValue : String = "Scorecard__calculatedScore"

      weight : double = 1.0 @key

      end

      rule "Valid_PMML4DataUnrestricted_Values_Scorecard__calculatedScore-null"

      @Generated
      dialect 'java'
      no-loop
      salience 9999
      when
      $in : PMML4Data( capitalizedName == "Scorecard__calculatedScore", valid == false, placeholder == false ) from pmmlData
      then
      modify($in)

      { setValid( true ); }
      end


















      // Display Name : null

      declare Age extends DataField
      @role(event)
      @Traitable

      value : int @key @position(0)
      displayValue : String = "Age"

      weight : double = 1.0 @key


      end


















      rule "Valid_PMML4DataUnrestricted_Values_Age-null"


      @Generated
      dialect 'java'
      no-loop
      salience 9999
      when
      $in : PMML4Data( capitalizedName == "Age", valid == false, placeholder == false ) from pmmlData
      then
      modify($in) { setValid( true ); }

      end

      rule "Mark_GuidedScoreCard"
      salience 10000
      no-loop
      when
      // not ModelMarker( "GuidedScoreCard" ; )
      then
      // System.out.println( "Marking GuidedScoreCard" );
      ModelMarker mark = new ModelMarker( "GuidedScoreCard", "Scorecard" );
      insert( mark );
      end

      rule "Enable/Disable Model_GuidedScoreCard"
      salience 10000
      when
      $flag : Boolean() from entry-point "enable_GuidedScoreCard"
      $mark : ModelMarker( modelName == "GuidedScoreCard", enabled != $flag )
      then
      delete( $flag );
      modify ( $mark )

      { setEnabled( $flag ); }

      end

      rule "Cleanup data_GuidedScoreCard"
      salience -10000
      when
      $mark : ModelMarker( modelName == "GuidedScoreCard", enabled == false )
      $data : DataField( context == "GuidedScoreCard" )
      then
      delete( $data );
      end

      rule "Score Card GuidedScoreCard"

      @Generated
      salience -10 // after data are stable
      when
      $card : ScoreCard( $ctx : modelName )
      InitialScore( scoreCard == $ctx, $zero : value )
      accumulate(
      PartialScore( scoreCard == $ctx, $val : value, $wgt : weight ),
      $tot : sum( $val );
      ((Double)$tot) + $zero != $card.getScore() )
      then
      modify ( $card )

      { setScore( $zero + ((Double)$tot) ); }

      end

      rule "Cumulate Code Scores"

      @Generated
      salience -11
      when
      $card : ScoreCard( $ctx : modelName, enableRC == true, $below : pointsBelow )
      accumulate( PartialScore( scoreCard == $ctx, $rc : reasonCode != null ),
      $set : collectSet( $rc ) )
      $code : String() from $set
      accumulate( PartialScore( scoreCard == $ctx, reasonCode == $code, $val : value, $char : characteristic )
      and
      BaselineScore( scoreCard == $ctx, characteristic == $char, $base : value ),
      // FIXME: DROOLS-1248
      $sum : sumBD( java.math.BigDecimal.valueOf( $below ? ($base - $val) : ($val - $base) ) ) )
      then
      // System.out.println( "The CUMULATED score for code " + $code + " from set " + $set + " is >>> " + $sum );
      insertLogical( new CodeScore( $card, $code, $sum.doubleValue() ) );
      end

      rule "Detect Scorecard ReasonCode Change"

      @Generated
      salience -12
      when
      $sc : ScoreCard( enableRC == true, $map : ranking )
      exists CodeScore( $c : code, score != $map.get( $c ) )
      then
      insert( new ScoreRank( $sc, new java.util.LinkedHashMap() ) );
      end

      rule "Sort Scorecard Reason Codes"

      @Generated
      salience -14
      when
      $r : ScoreRank( $sc : scoreCard, $map : rank )
      $cs : CodeScore( scoreCard == $sc, ! $map.containsKey( code ), $s : score, $c : code )
      not CodeScore( scoreCard == $sc, ! $map.containsKey( code ), score > $s )
      then
      modify ( $r )

      { getRank().put( $c, $s ); }

      end

      rule "Integrate Scorecard ReasonCode Map"

      @Generated
      salience -15
      when
      $s : ScoreCard( enableRC == true )
      $x : ScoreRank( scoreCard == $s, $map : rank )
      $reslt: PMML4Result( resultVariables == null || "ScoreCard" not memberOf resultVariables.keySet() ) from results
      then
      retract( $x );
      modify ( $s )

      { setRanking( $map ); }

      $reslt.setResultCode("OK");
      $reslt.addResultVariable("ScoreCard",$s);
      update($reslt);
      end
      /*
      rule "Add Scorecard to PMMLResult"

      @Generated
      salience -16
      when
      $sc: ScoreCard( )
      $reslt: PMML4Result( resultVariables == null || "ScoreCard" not memberOf resultVariables.keySet() ) from results
      then
      System.out.println("Adding Scorecard to PMMLResult");
      $reslt.setResultCode("OK");
      $reslt.addResultVariable("ScoreCard",$sc);
      update($reslt);
      end
      */
      rule "Update Scorecard in PMMLResult"
      salience -16
      no-loop
      when
      $reslt: PMML4Result( "Scorecard" memberOf resultVariables.keySet() ) from results
      $scold: ScoreCard() from $reslt.resultVariables["ScoreCard"]
      $sc: ScoreCard()
      then
      $reslt.updateResultVariable("ScoreCard",$sc);
      update($reslt);
      end

      // Display Name : Final Score

      declare Result extends OutputField
      @role(event)
      @Traitable

      value : double @key @position(0)
      displayValue : String = "Final Score"

      weight : double = 1.0 @key

      tgtValue : double
      end

      rule "update_Result_GuidedScoreCard"

      @Generated
      salience 2000

      when
      $new: PMML4Data( $cid: correlationId != null, capitalizedName == "Result", $ctx : context == "GuidedScoreCard" ) from pmmlData
      $old: PMML4Data( correlationId == $cid, name == $new.name, context == $ctx, this before $new ) from pmmlData
      then
      retract( $old );
      end

      rule "Bind result Output into Fact Person"

      @Generated
      dialect "mvel"
      when
      Result( $val : value)
      $x : Person( result != $val )
      then
      modify ( $x )

      { setResult( $val ); }
      end













      rule "simpleOutput_Scorecard__calculatedScore_to_Result"


      @Generated
      salience -110

      when
      $src : Scorecard__calculatedScore( $m : missing, $v : valid == true, $val : value, $ctx : context, $wgt : weight
      , context == "GuidedScoreCard"

      )

      then
      // System.out.println("Cloning output " + $src );
      Result x = new Result();
      x.setValue( $val );
      x.setMissing( $m );
      x.setValid( $v );
      x.setName( "Result" );
      x.setContext( $ctx );
      x.setWeight( $wgt );
      insertLogical( x );
      end

      rule "Update PMML4Result with aliased output Result"


      @Generated
      salience -115
      when
      $tgt: Result()
      $reslt: PMML4Result( resultVariables == null || "Result" not memberOf resultVariables.keySet() ) from results
      then
      $reslt.setResultCode("OK");
      $reslt.addResultVariable("Result",$tgt);
      update($reslt);
      end


      //rule "Clear Output_GuidedScoreCard_Result"
      //salience -110
      //when
      // not ModelMarker( enabled == true, modelName == "GuidedScoreCard" )
      // $x : Result( context == "GuidedScoreCard")
      //then
      // retract( $x );
      //end
      //
















      query "Result" ( String ctx, Double $result )
      Result( context == ctx , $result := value )
      end














      rule miningPmml4Data_GuidedScoreCard_Age


      @Generated
      when
      $src: PMML4Data( name == "age", $m : missing, $v : valid, $x : value, context == null, placeholder == false ) from pmmlData
      then
      PMML4Data data = (PMML4Data)PMML4DataFactory.get().copy($src);
      data.setContext("GuidedScoreCard");
      pmmlData.insert(data);
      end;


      rule "InitAsMissing_PMML4Data_GuidedScoreCard_Age"


      @Generated
      salience 1000
      when
      ModelMarker( modelName == "GuidedScoreCard", enabled == true )
      not PMML4Data( capitalizedName == "Age", context == null ) from pmmlData
      then
      PMML4DataType data = PMML4DataFactory.get().getPlaceholder("","Age","GuidedScoreCard");
      pmmlData.insert( data );
      end



      rule "RemoveMissing_PMML4Data_GuidedScoreCard_Age"


      @Generated
      salience 1000
      when
      $val : PMML4Data( capitalizedName == "Age", context == "GuidedScoreCard", missing == false ) from pmmlData
      $mis : PMML4Data( capitalizedName == "Age", context == "GuidedScoreCard", missing == true ) from pmmlData
      then
      delete( $mis );
      end















      rule "Scorecard GuidedScoreCard output"


      @Generated
      salience -5
      when
      ScoreCard( modelName == "GuidedScoreCard", $score : score )
      then
      Scorecard_calculatedScore x = new Scorecard_calculatedScore();
      x.setContext( "GuidedScoreCard" );
      x.setValid( true );
      x.setMissing( false );
      x.setValue( $score );
      insertLogical( x );
      end

      rule "Add PMMLResult with Scorecard output GuidedScoreCard"


      @Generated
      dialect "java"
      when
      $tgt: Scorecard__calculatedScore()
      $reslt: PMML4Result( resultVariables == null || "Scorecard__calculatedScore" not memberOf resultVariables.keySet() ) from results
      then
      $reslt.setResultCode("OK");
      $reslt.addResultVariable("Scorecard__calculatedScore",$tgt);
      update($reslt);
      end


      rule "Update PMMLResult containing Scorecard output GuidedScoreCard"


      @Generated
      no-loop
      when
      $reslt: PMML4Result( "Scorecard__calculatedScore" memberOf resultVariables.keySet() ) from results
      $told: Scorecard__calculatedScore( $v: value ) from $reslt.resultVariables["Scorecard__calculatedScore"]
      $tgt: Scorecard__calculatedScore( value != null )
      then
      $reslt.updateResultVariable("Scorecard__calculatedScore",$tgt);
      update($reslt);
      end



















      rule "Bind_Scorecard_PMML4Data_GuidedScoreCard_Age"


      @Generated
      when
      $in : PMML4Data( capitalizedName == "Age", context == "GuidedScoreCard",
      placeholder == false, missing == true || valid == true, $m : missing, $v : value ) from pmmlData
      $sc : GuidedScoreCardScoreCardData( ( mAge == true && != $m )
      || vAge != $v )
      then
      modify( $sc ) { setMAge( $m ), setVAge( (Integer)$v); }
      end

      rule "Bind_Scorecard_GuidedScoreCard_Age"


      @Generated
      when
      $in : Age( context == "GuidedScoreCard", missing == true || valid == true, $m : missing, $v : value )
      $sc : GuidedScoreCardScoreCardData( ( mAge == true && != $m )
      || vAge != $v )
      then
      modify ( $sc ) { setMAge( $m ), setVAge( $v ); }
      end





















      rule "Init ScoreCard GuidedScoreCard"


      @Generated
      when
      // ModelMarker( "GuidedScoreCard" ; enabled == true )
      $rqst: PMMLRequestData( correlationId != null, requestParams != null ) from request
      then
      AbstractPMMLData data = new GuidedScoreCardScoreCardData($rqst);
      // org.kie.pmml.pmml_4_2.ScoreCardData data = new GuidedScoreCardScoreCardData ( "GuidedScoreCard" );
      ScoreCard card = new ScoreCard( "GuidedScoreCard", 0.0, data, false, true, new java.util.LinkedHashMap() );
      insert( data );
      insert( card );

      insertLogical( new InitialScore( "GuidedScoreCard", 0.0 ) );
      end

      rule "Scoring Complete"


      @Generated
      salience -200
      when
      $tgt: ScoreCard()
      $reslt: PMML4Result( resultVariables == null || "ScoreCard" not memberOf resultVariables.keySet() ) from results
      then
      $reslt.setResultCode("OK");
      $reslt.addResultVariable("ScoreCard",$tgt);
      update($reslt);
      end










      declare GuidedScoreCard
      @propertyReactive


      age : int


      scorecard__calculatedScore : java.lang.Object


      end

      rule "Link GuidedScoreCard Bean Input"


      @Generated
      when
      GuidedScoreCard(

      _age : age

      )
      then

      drools.getEntryPoint("in_Age").insert(_age);

      end

      rule "Own GuidedScoreCard"


      @Generated
      when
      $obj : GuidedScoreCard()
      $mark : org.kie.pmml.pmml_4_2.ModelMarker( enabled == true, modelName == "GuidedScoreCard" )
      then
      modify( $mark ) { setBoundInput( $obj ); }
      end




      rule "Link GuidedScoreCard Predicted Fields scorecard__calculatedScore "


      @Generated
      when
      Scorecard__calculatedScore( $val : value)
      $x : GuidedScoreCard( scorecard__calculatedScore != $val )
      $mark : org.kie.pmml.pmml_4_2.ModelMarker( modelName == "GuidedScoreCard", boundInput == $x )
      then
      modify ( $x ) { setScorecard__calculatedScore( $val ); }
      end















      rule "Bind age Input from Fact Person"


      @Generated
      dialect "mvel"
      when
      Person( $val : age )
      then
      drools.getEntryPoint("in_Age").insert( $val );
      end
















      rule "PartialScore_GuidedScoreCard_AgeScore_3"


      @Generated
      when
      ScoreRow( scoreCard == "GuidedScoreCard", id == "AgeScore0", $val : value, $char : characteristic, $code : reasonCode )
      $sc : GuidedScoreCardScoreCardData( ( mAge == false && vAge < 35 ) )
      then
      // System.out.println( "PARTIALLY SCORING SC " + $val + " " + $char );
      // weigth is null
      insertLogical( new PartialScore( "GuidedScoreCard", $val, $char, $code, 1.0 ) );
      end













      rule "Init ScoreCard Params GuidedScoreCard"


      @Generated
      when
      ModelMarker( "GuidedScoreCard" ; enabled == true )
      then

      insert( new BaselineScore( "GuidedScoreCard", 0.0, "AgeScore" ) );

      insert( new ScoreRow( "GuidedScoreCard",
      10.0,
      "AgeScore",
      "null",
      "AgeScore0" ) );


      end









      declare GuidedScoreCardOutput
      @propertyReactive


      result : double


      end


      rule "Create GuidedScoreCard Output Bean"


      @Generated
      when
      $mark : ModelMarker( modelName == "GuidedScoreCard", enabled == true )
      then
      insertLogical( new GuidedScoreCardOutput() );
      end





      rule "Link GuidedScoreCard Output Fields result "


      @Generated
      when
      Result( $val : value)
      $x : GuidedScoreCardOutput ( result != $val )
      then
      modify ( $x ) { setResult( $val ); }

      end

      Show
      New instance of Drools Workbench Showcase ( https://hub.docker.com/r/jboss/drools-workbench-showcase/ ) Create a new project. Add Asset -> Data Object Identifier: Person, add fields: age: Integer, result: Double. Add Asset -> Guided Score Card Facts: select Person Resultant Score Field: select result: Double then Add characteristic with name: AgeScore Add attribute Operator <, Value: 35, Partial Score: 10. Press save Go to Project view Click Build button Result - multiple errors. Generated Person.java: package com.myspace.projectdemo; /** This class was automatically generated by the data modeler tool. */ public class Person implements java.io.Serializable { static final long serialVersionUID = 1L; private java.lang.Integer age; private java.lang.Double result; public Person() { } public java.lang.Integer getAge() { return this.age; } public void setAge(java.lang.Integer age) { this.age = age; } public java.lang.Double getResult() { return this.result; } public void setResult(java.lang.Double result) { this.result = result; } public Person(java.lang.Integer age, java.lang.Double result) { this.age = age; this.result = result; } } Generated GuidedScoreCard.scgd: // Imported PMML Model Theory // Trained with : // Creation timestamp : 2018.08.11 at 11:08:15 UTC // Description : generated by the drools-scorecards module // Copyright : null package com.myspace.projectdemo; unit GuidedScoreCardScorecardRuleUnit import org.kie.pmml.pmml_4_2.*; import org.kie.pmml.pmml_4_2.model.*; import org.kie.pmml.pmml_4_2.model.scorecard.*; import org.kie.pmml.pmml_4_2.model.regression.*; import org.kie.pmml.pmml_4_2.model.tree.*; import org.kie.pmml.pmml_4_2.model.datatypes.*; import org.drools.core.factmodel.traits.Traitable; import org.kie.api.runtime.rule.FactHandle; import org.kie.api.pmml.PMMLRequestData; import org.kie.api.pmml.ParameterInfo; import org.kie.api.pmml.PMML4Result; import org.kie.api.pmml.PMML4Data; import org.kie.api.pmml.PMML4DataType; rule 'RuleUnitIndicator' when then System.out.println("Rules execution available for GuidedScoreCardScorecardRuleUnit"); end rule 'Extract Parameter Info' @Generated salience 10 no-loop when $rd: PMMLRequestData( $cid: correlationId != null, $mn: modelName ) from request $pi: ParameterInfo( $name: name, $value: value ) from $rd.mappedRequestParams.values() then PMML4DataFactory factory = PMML4DataFactory.get(); PMML4Data data = factory.newPMML4Data($cid, $mn, $pi, false, false); pmmlData.insert(data); end rule "Override Value" @Generated salience 2 when $new: PMML4Data( $value: value ) from pmmlData $old: PMML4Data( name == $new.name, value != $value, this before $new ) from pmmlData then retract($old); end declare PMML4AbstractField end declare DataField extends PMML4AbstractField @role(event) valid : boolean = false @position(2) missing : boolean = false @position(3) @key context : String @key @position(1) name : String // cyclic = (false) : boolean // continuous = (false) : boolean // categorical = (false) : boolean // ordinal = (false) : boolean end declare OutputField extends DataField @role(event) warning : String = "No Warning" target : boolean = false end // Display Name : null declare Scorecard__calculatedScore extends DataField @role(event) @Traitable value : double @key @position(0) displayValue : String = "Scorecard__calculatedScore" weight : double = 1.0 @key end rule "Valid_PMML4DataUnrestricted_Values_Scorecard__calculatedScore-null" @Generated dialect 'java' no-loop salience 9999 when $in : PMML4Data( capitalizedName == "Scorecard__calculatedScore", valid == false, placeholder == false ) from pmmlData then modify($in) { setValid( true ); } end // Display Name : null declare Age extends DataField @role(event) @Traitable value : int @key @position(0) displayValue : String = "Age" weight : double = 1.0 @key end rule "Valid_PMML4DataUnrestricted_Values_Age-null" @Generated dialect 'java' no-loop salience 9999 when $in : PMML4Data( capitalizedName == "Age", valid == false, placeholder == false ) from pmmlData then modify($in) { setValid( true ); } end rule "Mark_GuidedScoreCard" salience 10000 no-loop when // not ModelMarker( "GuidedScoreCard" ; ) then // System.out.println( "Marking GuidedScoreCard" ); ModelMarker mark = new ModelMarker( "GuidedScoreCard", "Scorecard" ); insert( mark ); end rule "Enable/Disable Model_GuidedScoreCard" salience 10000 when $flag : Boolean() from entry-point "enable_GuidedScoreCard" $mark : ModelMarker( modelName == "GuidedScoreCard", enabled != $flag ) then delete( $flag ); modify ( $mark ) { setEnabled( $flag ); } end rule "Cleanup data_GuidedScoreCard" salience -10000 when $mark : ModelMarker( modelName == "GuidedScoreCard", enabled == false ) $data : DataField( context == "GuidedScoreCard" ) then delete( $data ); end rule "Score Card GuidedScoreCard" @Generated salience -10 // after data are stable when $card : ScoreCard( $ctx : modelName ) InitialScore( scoreCard == $ctx, $zero : value ) accumulate( PartialScore( scoreCard == $ctx, $val : value, $wgt : weight ), $tot : sum( $val ); ((Double)$tot) + $zero != $card.getScore() ) then modify ( $card ) { setScore( $zero + ((Double)$tot) ); } end rule "Cumulate Code Scores" @Generated salience -11 when $card : ScoreCard( $ctx : modelName, enableRC == true, $below : pointsBelow ) accumulate( PartialScore( scoreCard == $ctx, $rc : reasonCode != null ), $set : collectSet( $rc ) ) $code : String() from $set accumulate( PartialScore( scoreCard == $ctx, reasonCode == $code, $val : value, $char : characteristic ) and BaselineScore( scoreCard == $ctx, characteristic == $char, $base : value ), // FIXME: DROOLS-1248 $sum : sumBD( java.math.BigDecimal.valueOf( $below ? ($base - $val) : ($val - $base) ) ) ) then // System.out.println( "The CUMULATED score for code " + $code + " from set " + $set + " is >>> " + $sum ); insertLogical( new CodeScore( $card, $code, $sum.doubleValue() ) ); end rule "Detect Scorecard ReasonCode Change" @Generated salience -12 when $sc : ScoreCard( enableRC == true, $map : ranking ) exists CodeScore( $c : code, score != $map.get( $c ) ) then insert( new ScoreRank( $sc, new java.util.LinkedHashMap() ) ); end rule "Sort Scorecard Reason Codes" @Generated salience -14 when $r : ScoreRank( $sc : scoreCard, $map : rank ) $cs : CodeScore( scoreCard == $sc, ! $map.containsKey( code ), $s : score, $c : code ) not CodeScore( scoreCard == $sc, ! $map.containsKey( code ), score > $s ) then modify ( $r ) { getRank().put( $c, $s ); } end rule "Integrate Scorecard ReasonCode Map" @Generated salience -15 when $s : ScoreCard( enableRC == true ) $x : ScoreRank( scoreCard == $s, $map : rank ) $reslt: PMML4Result( resultVariables == null || "ScoreCard" not memberOf resultVariables.keySet() ) from results then retract( $x ); modify ( $s ) { setRanking( $map ); } $reslt.setResultCode("OK"); $reslt.addResultVariable("ScoreCard",$s); update($reslt); end /* rule "Add Scorecard to PMMLResult" @Generated salience -16 when $sc: ScoreCard( ) $reslt: PMML4Result( resultVariables == null || "ScoreCard" not memberOf resultVariables.keySet() ) from results then System.out.println("Adding Scorecard to PMMLResult"); $reslt.setResultCode("OK"); $reslt.addResultVariable("ScoreCard",$sc); update($reslt); end */ rule "Update Scorecard in PMMLResult" salience -16 no-loop when $reslt: PMML4Result( "Scorecard" memberOf resultVariables.keySet() ) from results $scold: ScoreCard() from $reslt.resultVariables ["ScoreCard"] $sc: ScoreCard() then $reslt.updateResultVariable("ScoreCard",$sc); update($reslt); end // Display Name : Final Score declare Result extends OutputField @role(event) @Traitable value : double @key @position(0) displayValue : String = "Final Score" weight : double = 1.0 @key tgtValue : double end rule "update_Result_GuidedScoreCard" @Generated salience 2000 when $new: PMML4Data( $cid: correlationId != null, capitalizedName == "Result", $ctx : context == "GuidedScoreCard" ) from pmmlData $old: PMML4Data( correlationId == $cid, name == $new.name, context == $ctx, this before $new ) from pmmlData then retract( $old ); end rule "Bind result Output into Fact Person" @Generated dialect "mvel" when Result( $val : value) $x : Person( result != $val ) then modify ( $x ) { setResult( $val ); } end rule "simpleOutput_Scorecard__calculatedScore_to_Result" @Generated salience -110 when $src : Scorecard__calculatedScore( $m : missing, $v : valid == true, $val : value, $ctx : context, $wgt : weight , context == "GuidedScoreCard" ) then // System.out.println("Cloning output " + $src ); Result x = new Result(); x.setValue( $val ); x.setMissing( $m ); x.setValid( $v ); x.setName( "Result" ); x.setContext( $ctx ); x.setWeight( $wgt ); insertLogical( x ); end rule "Update PMML4Result with aliased output Result" @Generated salience -115 when $tgt: Result() $reslt: PMML4Result( resultVariables == null || "Result" not memberOf resultVariables.keySet() ) from results then $reslt.setResultCode("OK"); $reslt.addResultVariable("Result",$tgt); update($reslt); end //rule "Clear Output_GuidedScoreCard_Result" //salience -110 //when // not ModelMarker( enabled == true, modelName == "GuidedScoreCard" ) // $x : Result( context == "GuidedScoreCard") //then // retract( $x ); //end // query "Result" ( String ctx, Double $result ) Result( context == ctx , $result := value ) end rule miningPmml4Data_GuidedScoreCard_Age @Generated when $src: PMML4Data( name == "age", $m : missing, $v : valid, $x : value, context == null, placeholder == false ) from pmmlData then PMML4Data data = (PMML4Data)PMML4DataFactory.get().copy($src); data.setContext("GuidedScoreCard"); pmmlData.insert(data); end; rule "InitAsMissing_PMML4Data_GuidedScoreCard_Age" @Generated salience 1000 when ModelMarker( modelName == "GuidedScoreCard", enabled == true ) not PMML4Data( capitalizedName == "Age", context == null ) from pmmlData then PMML4DataType data = PMML4DataFactory.get().getPlaceholder("","Age","GuidedScoreCard"); pmmlData.insert( data ); end rule "RemoveMissing_PMML4Data_GuidedScoreCard_Age" @Generated salience 1000 when $val : PMML4Data( capitalizedName == "Age", context == "GuidedScoreCard", missing == false ) from pmmlData $mis : PMML4Data( capitalizedName == "Age", context == "GuidedScoreCard", missing == true ) from pmmlData then delete( $mis ); end rule "Scorecard GuidedScoreCard output" @Generated salience -5 when ScoreCard( modelName == "GuidedScoreCard", $score : score ) then Scorecard_ calculatedScore x = new Scorecard _calculatedScore(); x.setContext( "GuidedScoreCard" ); x.setValid( true ); x.setMissing( false ); x.setValue( $score ); insertLogical( x ); end rule "Add PMMLResult with Scorecard output GuidedScoreCard" @Generated dialect "java" when $tgt: Scorecard__calculatedScore() $reslt: PMML4Result( resultVariables == null || "Scorecard__calculatedScore" not memberOf resultVariables.keySet() ) from results then $reslt.setResultCode("OK"); $reslt.addResultVariable("Scorecard__calculatedScore",$tgt); update($reslt); end rule "Update PMMLResult containing Scorecard output GuidedScoreCard" @Generated no-loop when $reslt: PMML4Result( "Scorecard__calculatedScore" memberOf resultVariables.keySet() ) from results $told: Scorecard__calculatedScore( $v: value ) from $reslt.resultVariables ["Scorecard__calculatedScore"] $tgt: Scorecard__calculatedScore( value != null ) then $reslt.updateResultVariable("Scorecard__calculatedScore",$tgt); update($reslt); end rule "Bind_Scorecard_PMML4Data_GuidedScoreCard_Age" @Generated when $in : PMML4Data( capitalizedName == "Age", context == "GuidedScoreCard", placeholder == false, missing == true || valid == true, $m : missing, $v : value ) from pmmlData $sc : GuidedScoreCardScoreCardData( ( mAge == true && != $m ) || vAge != $v ) then modify( $sc ) { setMAge( $m ), setVAge( (Integer)$v); } end rule "Bind_Scorecard_GuidedScoreCard_Age" @Generated when $in : Age( context == "GuidedScoreCard", missing == true || valid == true, $m : missing, $v : value ) $sc : GuidedScoreCardScoreCardData( ( mAge == true && != $m ) || vAge != $v ) then modify ( $sc ) { setMAge( $m ), setVAge( $v ); } end rule "Init ScoreCard GuidedScoreCard" @Generated when // ModelMarker( "GuidedScoreCard" ; enabled == true ) $rqst: PMMLRequestData( correlationId != null, requestParams != null ) from request then AbstractPMMLData data = new GuidedScoreCardScoreCardData($rqst); // org.kie.pmml.pmml_4_2.ScoreCardData data = new GuidedScoreCardScoreCardData ( "GuidedScoreCard" ); ScoreCard card = new ScoreCard( "GuidedScoreCard", 0.0, data, false, true, new java.util.LinkedHashMap() ); insert( data ); insert( card ); insertLogical( new InitialScore( "GuidedScoreCard", 0.0 ) ); end rule "Scoring Complete" @Generated salience -200 when $tgt: ScoreCard() $reslt: PMML4Result( resultVariables == null || "ScoreCard" not memberOf resultVariables.keySet() ) from results then $reslt.setResultCode("OK"); $reslt.addResultVariable("ScoreCard",$tgt); update($reslt); end declare GuidedScoreCard @propertyReactive age : int scorecard__calculatedScore : java.lang.Object end rule "Link GuidedScoreCard Bean Input" @Generated when GuidedScoreCard( _age : age ) then drools.getEntryPoint("in_Age").insert(_age); end rule "Own GuidedScoreCard" @Generated when $obj : GuidedScoreCard() $mark : org.kie.pmml.pmml_4_2.ModelMarker( enabled == true, modelName == "GuidedScoreCard" ) then modify( $mark ) { setBoundInput( $obj ); } end rule "Link GuidedScoreCard Predicted Fields scorecard__calculatedScore " @Generated when Scorecard__calculatedScore( $val : value) $x : GuidedScoreCard( scorecard__calculatedScore != $val ) $mark : org.kie.pmml.pmml_4_2.ModelMarker( modelName == "GuidedScoreCard", boundInput == $x ) then modify ( $x ) { setScorecard__calculatedScore( $val ); } end rule "Bind age Input from Fact Person" @Generated dialect "mvel" when Person( $val : age ) then drools.getEntryPoint("in_Age").insert( $val ); end rule "PartialScore_GuidedScoreCard_AgeScore_3" @Generated when ScoreRow( scoreCard == "GuidedScoreCard", id == "AgeScore0", $val : value, $char : characteristic, $code : reasonCode ) $sc : GuidedScoreCardScoreCardData( ( mAge == false && vAge < 35 ) ) then // System.out.println( "PARTIALLY SCORING SC " + $val + " " + $char ); // weigth is null insertLogical( new PartialScore( "GuidedScoreCard", $val, $char, $code, 1.0 ) ); end rule "Init ScoreCard Params GuidedScoreCard" @Generated when ModelMarker( "GuidedScoreCard" ; enabled == true ) then insert( new BaselineScore( "GuidedScoreCard", 0.0, "AgeScore" ) ); insert( new ScoreRow( "GuidedScoreCard", 10.0, "AgeScore", "null", "AgeScore0" ) ); end declare GuidedScoreCardOutput @propertyReactive result : double end rule "Create GuidedScoreCard Output Bean" @Generated when $mark : ModelMarker( modelName == "GuidedScoreCard", enabled == true ) then insertLogical( new GuidedScoreCardOutput() ); end rule "Link GuidedScoreCard Output Fields result " @Generated when Result( $val : value) $x : GuidedScoreCardOutput ( result != $val ) then modify ( $x ) { setResult( $val ); } end
    • Hide

      Works fine in 7.5

      Show
      Works fine in 7.5
    • NEW
    • NEW

      Multiple build errors when creating a new simple Guided Score Card from UI. But works fine in 7.5.

      10:51:26,427 ERROR [org.kie.workbench.common.services.backend.builder.core.Builder] (EJB default - 5) null: java.lang.NullPointerException
      at org.drools.compiler.kie.builder.impl.KieBuilderSetImpl.findResourcesWithErrors(KieBuilderSetImpl.java:105)
      at org.drools.compiler.kie.builder.impl.KieBuilderSetImpl.buildChanges(KieBuilderSetImpl.java:153)
      at org.drools.compiler.kie.builder.impl.KieBuilderSetImpl.build(KieBuilderSetImpl.java:95)
      at org.kie.workbench.common.services.backend.builder.core.Builder.buildIncrementally(Builder.java:533)
      at org.kie.workbench.common.services.backend.builder.core.Builder.addResource(Builder.java:354)
      at org.kie.workbench.common.services.backend.builder.core.Builder.addResource(Builder.java:320)
      at org.kie.workbench.common.services.backend.builder.core.Builder.updateResource(Builder.java:414)
      at org.kie.workbench.common.services.backend.builder.core.BuildHelper.updatePackageResource(BuildHelper.java:167)
      at org.kie.workbench.common.services.backend.builder.core.BuildHelper$Proxy$_$$_WeldClientProxy.updatePackageResource(Unknown Source)
      at org.kie.workbench.common.services.backend.builder.ala.LocalBuildExecConfigExecutor.apply(LocalBuildExecConfigExecutor.java:70)
      at org.kie.workbench.common.services.backend.builder.ala.LocalBuildExecConfigExecutor.apply(LocalBuildExecConfigExecutor.java:32)
      at org.kie.workbench.common.services.backend.builder.ala.LocalBuildExecConfigExecutor$Proxy$_$$_WeldClientProxy.apply(Unknown Source)
      at org.guvnor.ala.pipeline.execution.PipelineExecutor.lambda$continuePipeline$0(PipelineExecutor.java:109)
      at org.guvnor.ala.pipeline.StageUtil$1.execute(StageUtil.java:38)
      at org.guvnor.ala.pipeline.StageUtil$1.execute(StageUtil.java:33)
      at org.guvnor.ala.pipeline.execution.PipelineExecutor.continuePipeline(PipelineExecutor.java:94)
      at org.guvnor.ala.pipeline.execution.PipelineExecutor.execute(PipelineExecutor.java:76)
      at org.kie.workbench.common.services.backend.builder.ala.BuildPipelineInvoker.invokeLocalBuildPipeLine(BuildPipelineInvoker.java:88)
      at org.kie.workbench.common.services.backend.builder.ala.BuildPipelineInvoker$Proxy$_$$_WeldClientProxy.invokeLocalBuildPipeLine(Unknown Source)
      at org.kie.workbench.common.services.backend.builder.service.BuildServiceHelper.invokeLocalBuildPipeLine(BuildServiceHelper.java:163)
      at org.kie.workbench.common.services.backend.builder.service.BuildServiceHelper.localBuild(BuildServiceHelper.java:98)
      at org.kie.workbench.common.services.backend.builder.service.BuildServiceHelper$Proxy$_$$_WeldClientProxy.localBuild(Unknown Source)
      at org.kie.workbench.common.services.backend.builder.service.BuildServiceImpl.buildIncrementally(BuildServiceImpl.java:136)
      at org.kie.workbench.common.services.backend.builder.service.BuildServiceImpl.updatePackageResource(BuildServiceImpl.java:126)
      at org.kie.workbench.common.services.backend.builder.service.BuildServiceImpl$Proxy$_$$_WeldClientProxy.updatePackageResource(Unknown Source)
      at org.guvnor.common.services.builder.ResourceChangeIncrementalBuilder$4.execute(ResourceChangeIncrementalBuilder.java:262)
      at org.guvnor.common.services.builder.IncrementalBuilderExecutorManager.execute(IncrementalBuilderExecutorManager.java:90)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
      at org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:90)
      at org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:101)
      at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:40)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
      at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.as.ejb3.component.singleton.SingletonComponentInstanceAssociationInterceptor.processInvocation(SingletonComponentInstanceAssociationInterceptor.java:53)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:264)
      at org.jboss.as.ejb3.tx.CMTTxInterceptor.notSupported(CMTTxInterceptor.java:318)
      at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:238)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
      at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73)
      at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:89)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
      at org.jboss.as.ejb3.concurrency.ContainerManagedConcurrencyInterceptor.processInvocation(ContainerManagedConcurrencyInterceptor.java:110)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:60)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:438)
      at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:609)
      at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:57)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
      at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198)
      at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:185)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.as.ejb3.component.interceptors.LogDiagnosticContextRecoveryInterceptor.processInvocation(LogDiagnosticContextRecoveryInterceptor.java:82)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
      at org.jboss.as.ejb3.component.interceptors.AsyncFutureInterceptorFactory$2$2.runInvocation(AsyncFutureInterceptorFactory.java:152)
      at org.jboss.as.ejb3.component.interceptors.AsyncInvocationTask.run(AsyncInvocationTask.java:81)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      at org.jboss.threads.JBossThread.run(JBossThread.java:320)

      10:51:28,413 INFO [org.kie.workbench.common.screens.impl.LibraryServiceImpl] (default task-58) Asset lookup result: project [git://MySpace/ProjectDemo] is indexed with 2 index hits.
      10:51:31,159 INFO [stdout] (default task-61) Creating output structures!
      10:51:33,819 ERROR [org.drools.compiler.kie.builder.impl.KieProject] (default task-61) Unable to build KieBaseModel:defaultKieBase
      Only a type can be imported. org.kie.pmml.externalbean.Person resolves to a package :
      src/main/java/com/myspace/projectdemo/GuidedScoreCard/GuidedScoreCardScorecardRuleUnit.java
      Person cannot be resolved to a type :
      src/main/java/com/myspace/projectdemo/GuidedScoreCard/GuidedScoreCardScorecardRuleUnit.java
      Person cannot be resolved to a type :
      src/main/java/com/myspace/projectdemo/GuidedScoreCard/GuidedScoreCardScorecardRuleUnit.java
      externalBeanPerson cannot be resolved or is not a field :
      src/main/java/com/myspace/projectdemo/GuidedScoreCard/GuidedScoreCardScorecardRuleUnit.java
      Person cannot be resolved to a type :
      src/main/java/com/myspace/projectdemo/GuidedScoreCard/GuidedScoreCardScorecardRuleUnit.java
      externalBeanPerson cannot be resolved to a variable :
      src/main/java/com/myspace/projectdemo/GuidedScoreCard/GuidedScoreCardScorecardRuleUnit.java
      Unable to process type Result
      Unable to process type Scorecard__calculatedScore
      Unable to process type GuidedScoreCard
      Unable to process type GuidedScoreCardOutput
      Unable to process type DataField
      Unable to process type OutputField
      Unable to process type PMML4AbstractField
      Unable to process type Age
      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Query name='Result']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Query name='Result']

      Query's must use positional or bindings, not field constraints:
      context == ctx : [Query name='Result']

      Unable to compile expression: value : [Query name='Result']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Add PMMLResult with Scorecard output GuidedScoreCard']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Add PMMLResult with Scorecard output GuidedScoreCard']

      Unable to resolve ObjectType 'Scorecard__calculatedScore' : [Rule name='Add PMMLResult with Scorecard output GuidedScoreCard']

      Unable to Analyse Expression results:
      [Error: unable to resolve method using strict-mode: java.lang.Object.results()]
      [Near :

      {... results ....}]
      ^ : [Rule name='Add PMMLResult with Scorecard output GuidedScoreCard']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Update PMMLResult containing Scorecard output GuidedScoreCard']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Update PMMLResult containing Scorecard output GuidedScoreCard']

      Unable to Analyse Expression results:
      [Error: unable to resolve method using strict-mode: java.lang.Object.results()]
      [Near : {... results ....}

      ]
      ^ : [Rule name='Update PMMLResult containing Scorecard output GuidedScoreCard']

      Unable to resolve ObjectType 'Scorecard__calculatedScore' : [Rule name='Update PMMLResult containing Scorecard output GuidedScoreCard']

      Unable to resolve ObjectType 'Scorecard__calculatedScore' : [Rule name='Update PMMLResult containing Scorecard output GuidedScoreCard']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='PartialScore_GuidedScoreCard_AgeScore_1']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='PartialScore_GuidedScoreCard_AgeScore_1']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Valid_PMML4DataUnrestricted_Values_Age-null']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Valid_PMML4DataUnrestricted_Values_Age-null']

      Unable to Analyse Expression pmmlData:
      [Error: unable to resolve method using strict-mode: java.lang.Object.pmmlData()]
      [Near :

      {... pmmlData ....}]
      ^ : [Rule name='Valid_PMML4DataUnrestricted_Values_Age-null']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Mark_GuidedScoreCard']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Mark_GuidedScoreCard']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Sort Scorecard Reason Codes']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Sort Scorecard Reason Codes']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Init ScoreCard Params GuidedScoreCard']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Init ScoreCard Params GuidedScoreCard']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Create GuidedScoreCard Output Bean']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Create GuidedScoreCard Output Bean']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Integrate Scorecard ReasonCode Map']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Integrate Scorecard ReasonCode Map']

      Unable to Analyse Expression results:
      [Error: unable to resolve method using strict-mode: java.lang.Object.results()]
      [Near : {... results ....}]
      ^ : [Rule name='Integrate Scorecard ReasonCode Map']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Bind_Scorecard_PMML4Data_GuidedScoreCard_Age']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Bind_Scorecard_PMML4Data_GuidedScoreCard_Age']

      Unable to Analyse Expression pmmlData:
      [Error: unable to resolve method using strict-mode: java.lang.Object.pmmlData()]
      [Near : {... pmmlData ....}

      ]
      ^ : [Rule name='Bind_Scorecard_PMML4Data_GuidedScoreCard_Age']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Enable/Disable Model_GuidedScoreCard']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Enable/Disable Model_GuidedScoreCard']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Link GuidedScoreCard Output Fields result ']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Link GuidedScoreCard Output Fields result ']

      named argument does not exist:
      value : [Rule name='Link GuidedScoreCard Output Fields result ']

      Unable to resolve ObjectType 'GuidedScoreCardOutput' : [Rule name='Link GuidedScoreCard Output Fields result ']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Bind_Scorecard_GuidedScoreCard_Age']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Bind_Scorecard_GuidedScoreCard_Age']

      Unable to resolve ObjectType 'Age' : [Rule name='Bind_Scorecard_GuidedScoreCard_Age']

      Unable to Analyse Expression (mAge == true && mAge != $m) || vAge != $v:
      [Error: unable to resolve method using strict-mode: org.kie.pmml.pmml_4_2.model.GuidedScoreCardScoreCardData.$m()]
      [Near :

      {... (mAge == true && mAge != $m) || vAge != $v ....}

      ]
      ^
      [Line: 737, Column: 4] : [Rule name='Bind_Scorecard_GuidedScoreCard_Age']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Cleanup data_GuidedScoreCard']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Cleanup data_GuidedScoreCard']

      Unable to resolve ObjectType 'DataField' : [Rule name='Cleanup data_GuidedScoreCard']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Init ScoreCard GuidedScoreCard']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Init ScoreCard GuidedScoreCard']

      Unable to Analyse Expression request:
      [Error: unable to resolve method using strict-mode: java.lang.Object.request()]
      [Near :

      {... request ....}]
      ^ : [Rule name='Init ScoreCard GuidedScoreCard']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='RemoveMissing_PMML4Data_GuidedScoreCard_Age']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='RemoveMissing_PMML4Data_GuidedScoreCard_Age']

      Unable to Analyse Expression pmmlData:
      [Error: unable to resolve method using strict-mode: java.lang.Object.pmmlData()]
      [Near : {... pmmlData ....}]
      ^ : [Rule name='RemoveMissing_PMML4Data_GuidedScoreCard_Age']

      Unable to Analyse Expression pmmlData:
      [Error: unable to resolve method using strict-mode: java.lang.Object.pmmlData()]
      [Near : {... pmmlData ....}]

      ^ : [Rule name='RemoveMissing_PMML4Data_GuidedScoreCard_Age']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Scorecard GuidedScoreCard output']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Scorecard GuidedScoreCard output']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='miningPmml4Data_GuidedScoreCard_Age']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='miningPmml4Data_GuidedScoreCard_Age']

      Unable to Analyse Expression pmmlData:
      [Error: unable to resolve method using strict-mode: java.lang.Object.pmmlData()]
      [Near : {... pmmlData ....}]
      ^ : [Rule name='miningPmml4Data_GuidedScoreCard_Age']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='InitAsMissing_PMML4Data_GuidedScoreCard_Age']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='InitAsMissing_PMML4Data_GuidedScoreCard_Age']

      Unable to Analyse Expression pmmlData:
      [Error: unable to resolve method using strict-mode: java.lang.Object.pmmlData()]
      [Near : {... pmmlData ....}]

      ^ : [Rule name='InitAsMissing_PMML4Data_GuidedScoreCard_Age']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Extract age from Person']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Extract age from Person']

      Unable to Analyse Expression request:
      [Error: unable to resolve method using strict-mode: java.lang.Object.request()]
      [Near : {... request ....}

      ]
      ^ : [Rule name='Extract age from Person']

      Unable to resolve ObjectType 'org.kie.pmml.externalbean.Person' : [Rule name='Extract age from Person']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Bind result Output into Fact Person']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Bind result Output into Fact Person']

      named argument does not exist:
      value : [Rule name='Bind result Output into Fact Person']

      Unable to resolve ObjectType 'Person' : [Rule name='Bind result Output into Fact Person']

      Unable to Analyse Expression @Modify with ( $x )

      { setResult( $val ); };:
      [Error: unable to resolve method using strict-mode: org.drools.core.spi.KnowledgeHelper.$x()]
      [Near : {... @Modify with ( $x ) { setResult( $val ); }

      ; ....}]
      ^
      [Line: 493, Column: 1] : [Rule name='Bind result Output into Fact Person']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='simpleOutput_Scorecard__calculatedScore_to_Result']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='simpleOutput_Scorecard__calculatedScore_to_Result']

      Unable to resolve ObjectType 'Scorecard__calculatedScore' : [Rule name='simpleOutput_Scorecard__calculatedScore_to_Result']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Own GuidedScoreCard']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Own GuidedScoreCard']

      Unable to resolve ObjectType 'GuidedScoreCard' : [Rule name='Own GuidedScoreCard']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Update PMML4Result with aliased output Result']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Update PMML4Result with aliased output Result']

      Query binding is not supported by non-abductive queries : $tgt : [Rule name='Update PMML4Result with aliased output Result']

      Unable to Analyse Expression results:
      [Error: unable to resolve method using strict-mode: java.lang.Object.results()]
      [Near :

      {... results ....}]
      ^ : [Rule name='Update PMML4Result with aliased output Result']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Update Scorecard in PMMLResult']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Update Scorecard in PMMLResult']

      Unable to Analyse Expression results:
      [Error: unable to resolve method using strict-mode: java.lang.Object.results()]
      [Near : {... results ....}

      ]
      ^ : [Rule name='Update Scorecard in PMMLResult']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Score Card GuidedScoreCard']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Score Card GuidedScoreCard']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Link GuidedScoreCard Predicted Fields scorecard__calculatedScore ']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Link GuidedScoreCard Predicted Fields scorecard__calculatedScore ']

      Unable to resolve ObjectType 'Scorecard__calculatedScore' : [Rule name='Link GuidedScoreCard Predicted Fields scorecard__calculatedScore ']

      Unable to resolve ObjectType 'GuidedScoreCard' : [Rule name='Link GuidedScoreCard Predicted Fields scorecard__calculatedScore ']

      Unable to Analyse Expression boundInput == $x:
      [Error: unable to resolve method using strict-mode: org.kie.pmml.pmml_4_2.ModelMarker.$x()]
      [Near :

      {... boundInput == $x ....}

      ]
      ^ : [Rule name='Link GuidedScoreCard Predicted Fields scorecard__calculatedScore ']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Cumulate Code Scores']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Cumulate Code Scores']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Bind age Input from Fact Person']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Bind age Input from Fact Person']

      Unable to resolve ObjectType 'Person' : [Rule name='Bind age Input from Fact Person']

      Unable to Analyse Expression drools.getEntryPoint("in_Age").insert( $val );:
      [Error: unable to resolve method using strict-mode: org.drools.core.spi.KnowledgeHelper.$val()]
      [Near :

      {... drools.getEntryPoint("in_Age").insert( $val ); ....}

      ]
      ^
      [Line: 874, Column: 1] : [Rule name='Bind age Input from Fact Person']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Scoring Complete']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Scoring Complete']

      Unable to Analyse Expression results:
      [Error: unable to resolve method using strict-mode: java.lang.Object.results()]
      [Near :

      {... results ....}

      ]
      ^ : [Rule name='Scoring Complete']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Link GuidedScoreCard Bean Input']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Link GuidedScoreCard Bean Input']

      Unable to resolve ObjectType 'GuidedScoreCard' : [Rule name='Link GuidedScoreCard Bean Input']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='RuleUnitIndicator']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='RuleUnitIndicator']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Extract Parameter Info']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Extract Parameter Info']

      Unable to Analyse Expression request:
      [Error: unable to resolve method using strict-mode: java.lang.Object.request()]
      [Near :

      {... request ....}

      ]
      ^ : [Rule name='Extract Parameter Info']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Detect Scorecard ReasonCode Change']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Detect Scorecard ReasonCode Change']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='update_Result_GuidedScoreCard']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='update_Result_GuidedScoreCard']

      Unable to Analyse Expression pmmlData:
      [Error: unable to resolve method using strict-mode: java.lang.Object.pmmlData()]
      [Near :

      {... pmmlData ....}]
      ^ : [Rule name='update_Result_GuidedScoreCard']

      Unable to Analyse Expression pmmlData:
      [Error: unable to resolve method using strict-mode: java.lang.Object.pmmlData()]
      [Near : {... pmmlData ....}

      ]
      ^ : [Rule name='update_Result_GuidedScoreCard']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Override Value']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Override Value']

      Unable to Analyse Expression pmmlData:
      [Error: unable to resolve method using strict-mode: java.lang.Object.pmmlData()]
      [Near :

      {... pmmlData ....}]
      ^ : [Rule name='Override Value']

      Unable to Analyse Expression pmmlData:
      [Error: unable to resolve method using strict-mode: java.lang.Object.pmmlData()]
      [Near : {... pmmlData ....}

      ]
      ^ : [Rule name='Override Value']

      com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit is not a valid RuleUnit class name : [Rule name='Valid_PMML4DataUnrestricted_Values_Scorecard__calculatedScore-null']

      Unable to resolve ObjectType 'com.myspace.projectdemo.GuidedScoreCard.GuidedScoreCardScorecardRuleUnit' : [Rule name='Valid_PMML4DataUnrestricted_Values_Scorecard__calculatedScore-null']

      Unable to Analyse Expression pmmlData:
      [Error: unable to resolve method using strict-mode: java.lang.Object.pmmlData()]
      [Near :

      {... pmmlData ....}

      ]
      ^ : [Rule name='Valid_PMML4DataUnrestricted_Values_Scorecard__calculatedScore-null']

      Rule Compilation error : [Rule name='simpleOutput_Scorecard__calculatedScore_to_Result']
      com/myspace/projectdemo/GuidedScoreCard/Rule_simpleOutput_Scorecard__calculatedScore_to_Result28215628.java (8:1014) : Result cannot be resolved to a type
      com/myspace/projectdemo/GuidedScoreCard/Rule_simpleOutput_Scorecard__calculatedScore_to_Result28215628.java (8:1029) : Result cannot be resolved to a type
      com/myspace/projectdemo/GuidedScoreCard/Rule_simpleOutput_Scorecard__calculatedScore_to_Result28215628.java (9:1055) : $val cannot be resolved to a variable
      com/myspace/projectdemo/GuidedScoreCard/Rule_simpleOutput_Scorecard__calculatedScore_to_Result28215628.java (10:1081) : $m cannot be resolved to a variable
      com/myspace/projectdemo/GuidedScoreCard/Rule_simpleOutput_Scorecard__calculatedScore_to_Result28215628.java (11:1103) : $v cannot be resolved to a variable
      com/myspace/projectdemo/GuidedScoreCard/Rule_simpleOutput_Scorecard__calculatedScore_to_Result28215628.java (13:1154) : $ctx cannot be resolved to a variable
      com/myspace/projectdemo/GuidedScoreCard/Rule_simpleOutput_Scorecard__calculatedScore_to_Result28215628.java (14:1179) : $wgt cannot be resolved to a variable

      Rule Compilation error : [Rule name='miningPmml4Data_GuidedScoreCard_Age']
      com/myspace/projectdemo/GuidedScoreCard/Rule_miningPmml4Data_GuidedScoreCard_Age791815586.java (9:1139) : pmmlData cannot be resolved

      Rule Compilation error : [Rule name='Create GuidedScoreCard Output Bean']
      com/myspace/projectdemo/GuidedScoreCard/Rule_Create_GuidedScoreCard_Output_Bean293196212.java (7:973) : GuidedScoreCardOutput cannot be resolved to a type

      Rule Compilation error : [Rule name='Link GuidedScoreCard Output Fields result ']
      com/myspace/projectdemo/GuidedScoreCard/Rule_Link_GuidedScoreCard__Output_Fields_result_706560581.java (7:987) : $x cannot be resolved to a variable
      com/myspace/projectdemo/GuidedScoreCard/Rule_Link_GuidedScoreCard__Output_Fields_result_706560581.java (7:1099) : $val cannot be resolved to a variable

      Rule Compilation error : [Rule name='Add PMMLResult with Scorecard output GuidedScoreCard']
      com/myspace/projectdemo/GuidedScoreCard/Rule_Add_PMMLResult_with_Scorecard_output_GuidedScoreCard221492110.java (8:1142) : $tgt cannot be resolved to a variable

      Rule Compilation error : [Rule name='Link GuidedScoreCard Bean Input']
      com/myspace/projectdemo/GuidedScoreCard/Rule_Link_GuidedScoreCard_Bean_Input11610676.java (7:983) : _age cannot be resolved to a variable

      Rule Compilation error : [Rule name='Cleanup data_GuidedScoreCard']
      com/myspace/projectdemo/GuidedScoreCard/Rule_Cleanup_data_GuidedScoreCard1283344573.java (7:971) : $data cannot be resolved to a variable

      Rule Compilation error : [Rule name='Own GuidedScoreCard']
      com/myspace/projectdemo/GuidedScoreCard/Rule_Own_GuidedScoreCard801973129.java (7:1050) : $obj cannot be resolved to a variable

      Rule Compilation error : [Rule name='Extract Parameter Info']
      com/myspace/projectdemo/GuidedScoreCard/Rule_Extract_Parameter_Info209253815.java (9:1299) : pmmlData cannot be resolved

      Rule Compilation error : [Rule name='Scorecard GuidedScoreCard output']
      com/myspace/projectdemo/GuidedScoreCard/Rule_Scorecard_GuidedScoreCard_output1709810438.java (7:1016) : Scorecard__calculatedScore cannot be resolved to a type
      com/myspace/projectdemo/GuidedScoreCard/Rule_Scorecard_GuidedScoreCard_output1709810438.java (7:1051) : Scorecard__calculatedScore cannot be resolved to a type

      Rule Compilation error : [Rule name='Bind_Scorecard_GuidedScoreCard_Age']
      com/myspace/projectdemo/GuidedScoreCard/Rule_Bind_Scorecard_GuidedScoreCard_Age1384125906.java (8:1078) : $m cannot be resolved to a variable
      com/myspace/projectdemo/GuidedScoreCard/Rule_Bind_Scorecard_GuidedScoreCard_Age1384125906.java (9:1098) : $v cannot be resolved to a variable

      Rule Compilation error : [Rule name='Update PMMLResult containing Scorecard output GuidedScoreCard']
      com/myspace/projectdemo/GuidedScoreCard/Rule_Update_PMMLResult_containing_Scorecard_output_GuidedScoreCard374570524.java (7:1123) : $tgt cannot be resolved to a variable

      Rule Compilation error : [Rule name='InitAsMissing_PMML4Data_GuidedScoreCard_Age']
      com/myspace/projectdemo/GuidedScoreCard/Rule_InitAsMissing_PMML4Data_GuidedScoreCard_Age2007342439.java (8:1048) : pmmlData cannot be resolved

      Rule Compilation error : [Rule name='Update PMML4Result with aliased output Result']
      com/myspace/projectdemo/GuidedScoreCard/Rule_Update_PMML4Result_with_aliased_output_Result1975799587.java (8:1116) : $tgt cannot be resolved to a variable

      Rule Compilation error : [Rule name='Link GuidedScoreCard Predicted Fields scorecard__calculatedScore ']
      com/myspace/projectdemo/GuidedScoreCard/Rule_Link_GuidedScoreCardPredicted_Fields_scorecard_calculatedScore_1030365382.java (7:1012) : $x cannot be resolved to a variable
      com/myspace/projectdemo/GuidedScoreCard/Rule_Link_GuidedScoreCardPredicted_Fields_scorecard_calculatedScore_1030365382.java (7:1144) : $val cannot be resolved to a variable

      Rule Compilation error : [Rule name='Extract age from Person']
      com/myspace/projectdemo/GuidedScoreCard/Rule_Extract_age_from_Person309604676.java (7:1052) : $value cannot be resolved to a variable

        1. Screen Shot 2018-08-11 at 13.58.01.png
          216 kB
          Dmitry Yartsev
        2. Screen Shot 2018-08-11 at 14.11.13.png
          556 kB
          Dmitry Yartsev
        3. Screen Shot 2018-08-11 at 14.12.39.png
          458 kB
          Dmitry Yartsev

              lleveric Lance Leverich (Inactive)
              yaadyaad Dmitry Yartsev (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: