Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

评分卡行列赋值问题导致最终结果与期望不符 #117

Closed
Askerlve opened this issue Jan 16, 2019 · 1 comment
Closed

评分卡行列赋值问题导致最终结果与期望不符 #117

Askerlve opened this issue Jan 16, 2019 · 1 comment

Comments

@Askerlve
Copy link

Askerlve commented Jan 16, 2019

为了您的问题能得到及时准确解答,请认真填写下面各个选项,感谢您的配合。

  • 当前使用的URule的具体版本号

    2.0.5-SNAPSHOT

  • 问题描述

  • 定义评分卡规则如图
    image

  • 输入
    age:52;自有-年龄:26

  • 输出
    image

  • 期望
    得分为1的行应该为1,求和结果应该为7,实际为6

  • 原因
    ScorecardResourceBuilder在构建ScoreRule的ScoringAction时,传入的参数不对。
    image
    尝试做处改变:
    image
    问题解决:
    image

  • 看了下最新版本的代码,应该也有这个问题哦~

@Askerlve Askerlve changed the title 评分卡执行问题,行列赋值问题导致最终结果与期望不符 评分卡行列赋值问题导致最终结果与期望不符 Jan 16, 2019
@youseries
Copy link
Owner

BUG.已修复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants