[JBoss JIRA] (DROOLS-3361) Update simulation model to support multiple types (DRL, DMN)
by Gabriele Cardosi (Jira)
[ https://issues.jboss.org/browse/DROOLS-3361?page=com.atlassian.jira.plugi... ]
Gabriele Cardosi updated DROOLS-3361:
-------------------------------------
Description:
Update simulation model to support multiple types (DMO, DMN).
Specs:
- DMO: Save name of the session to use
- DMN: Save path to the DMN file
was:
Update simulation model to support multiple types (DRL, DMN).
Specs:
- DRL: Save name of the session to use
- DMN: Save path to the DMN file
> Update simulation model to support multiple types (DRL, DMN)
> ------------------------------------------------------------
>
> Key: DROOLS-3361
> URL: https://issues.jboss.org/browse/DROOLS-3361
> Project: Drools
> Issue Type: Task
> Components: Scenario Simulation and Testing
> Reporter: Daniele Zonca
> Assignee: Gabriele Cardosi
> Priority: Major
> Labels: ScenarioSimulation
>
> Update simulation model to support multiple types (DMO, DMN).
> Specs:
> - DMO: Save name of the session to use
> - DMN: Save path to the DMN file
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (DROOLS-3410) Found duplicate declaration for type exception after generating drl from scorecards xls
by Gordon Hu (Jira)
[ https://issues.jboss.org/browse/DROOLS-3410?page=com.atlassian.jira.plugi... ]
Gordon Hu updated DROOLS-3410:
------------------------------
Attachment: phone_scorecard.drl
> Found duplicate declaration for type exception after generating drl from scorecards xls
> ---------------------------------------------------------------------------------------
>
> Key: DROOLS-3410
> URL: https://issues.jboss.org/browse/DROOLS-3410
> Project: Drools
> Issue Type: Bug
> Components: PMML, XLS Score Card Editor
> Affects Versions: 6.5.0.Final
> Reporter: Gordon Hu
> Assignee: Lance Leverich
> Priority: Major
> Attachments: gem_phone_scoremodel.xls, phone_scorecard.drl
>
>
> After generating a drl from the attached scorecard model, attempt to load the drl file with the following code:
> KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
> kbuilder.add(ResourceFactory.newByteArrayResource(drl2.getBytes()), ResourceType.DRL);
> //kbuilder.add(ResourceFactory.newByteArrayResource(drl2.getBytes()));
> for (KnowledgeBuilderError error : kbuilder.getErrors()) {
> System.out.println(error.getMessage());
> }
> Assert.assertFalse(kbuilder.hasErrors());
> StatelessKieSession session = kbuilder.newKnowledgeBase().newStatelessKieSession();
> Drools compiler gave the following exception:
> Found duplicate declaration for type com.efx.gem.rules.domain.score.PhoneScore, unable to reconcile
> Unable to process type BaselineScore
> Unable to process type ScoreRow
> Unable to process type PhoneScoreScoreCardData
> Unable to process type ScoreRank
> Unable to process type PhoneScoreOutput
> Unable to process type DataField
> Unable to process type PhoneMatch
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (DROOLS-3393) Please review scenario error cell text for legibility/accessibility.
by Liz Clayton (Jira)
[ https://issues.jboss.org/browse/DROOLS-3393?page=com.atlassian.jira.plugi... ]
Liz Clayton commented on DROOLS-3393:
-------------------------------------
[~kkufova] I agree. [~bdellasc] Wdyt (this is a pic of the current implementation) ^^. I'm realizing that adding an icon to this area might be tricky?
!Screen Shot 2018-12-04 at 9.08.37 AM.png|thumbnail!
I think we could plan to go ahead with the text changes that we're in agreement on and just skip the icon part. Do you all agree? p.s. [~kkufova] do you know why the cell grid lines are missing in this example?
Thanks!
> Please review scenario error cell text for legibility/accessibility.
> ---------------------------------------------------------------------
>
> Key: DROOLS-3393
> URL: https://issues.jboss.org/browse/DROOLS-3393
> Project: Drools
> Issue Type: Task
> Components: Scenario Simulation and Testing
> Reporter: Liz Clayton
> Assignee: Klara Kufova
> Priority: Major
> Labels: ScenarioSimulation, UX, UXTeam
> Attachments: Screen Shot 2018-11-30 at 11.59.32 AM.png, Screen Shot 2018-11-30 at 12.05.50 PM.png, Screen Shot 2018-12-04 at 9.08.37 AM.png, Screenshot from 2018-11-30 17-11-43.png
>
>
> [~kkufova] [~bdellasc]
> I noticed that the error text is a little "fuzzy" looking, the edges aren't very sharp and I was concerned that it might not be legible. I asked Danielle about the specs for it and it's the same size just bolded.
> I did an online accessibility text using the following tool, with our current hex values: https://webaim.org/resources/contrastchecker/. It failed for level 3 compliance, but I'm not sure we need to shoot for that or not? I tried the darker PatternFly red color "#8b0000" and it passed at all levels, even at smaller sizes.
> I'm wondering if we could use the darker red, in the non-bolded font? And if so, perhaps the text would be a little bit more legible.
> Just wanted to ask about this, please let me know what you think.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (DROOLS-3393) Please review scenario error cell text for legibility/accessibility.
by Liz Clayton (Jira)
[ https://issues.jboss.org/browse/DROOLS-3393?page=com.atlassian.jira.plugi... ]
Liz Clayton edited comment on DROOLS-3393 at 12/5/18 9:25 AM:
--------------------------------------------------------------
[~kkufova] I agree. [~bdellasc] Wdyt (this is a pic of the current implementation). I'm realizing that adding an icon to this area might be tricky?
!Screen Shot 2018-12-04 at 9.08.37 AM.png|thumbnail!
I think we could plan to go ahead with the text changes that we're in agreement on and just skip the icon part. Do you all agree? p.s. [~kkufova] do you know why the cell grid lines are missing in this example?
Thanks!
was (Author: uxdlc):
[~kkufova] I agree. [~bdellasc] Wdyt (this is a pic of the current implementation) ^^. I'm realizing that adding an icon to this area might be tricky?
!Screen Shot 2018-12-04 at 9.08.37 AM.png|thumbnail!
I think we could plan to go ahead with the text changes that we're in agreement on and just skip the icon part. Do you all agree? p.s. [~kkufova] do you know why the cell grid lines are missing in this example?
Thanks!
> Please review scenario error cell text for legibility/accessibility.
> ---------------------------------------------------------------------
>
> Key: DROOLS-3393
> URL: https://issues.jboss.org/browse/DROOLS-3393
> Project: Drools
> Issue Type: Task
> Components: Scenario Simulation and Testing
> Reporter: Liz Clayton
> Assignee: Klara Kufova
> Priority: Major
> Labels: ScenarioSimulation, UX, UXTeam
> Attachments: Screen Shot 2018-11-30 at 11.59.32 AM.png, Screen Shot 2018-11-30 at 12.05.50 PM.png, Screen Shot 2018-12-04 at 9.08.37 AM.png, Screenshot from 2018-11-30 17-11-43.png
>
>
> [~kkufova] [~bdellasc]
> I noticed that the error text is a little "fuzzy" looking, the edges aren't very sharp and I was concerned that it might not be legible. I asked Danielle about the specs for it and it's the same size just bolded.
> I did an online accessibility text using the following tool, with our current hex values: https://webaim.org/resources/contrastchecker/. It failed for level 3 compliance, but I'm not sure we need to shoot for that or not? I tried the darker PatternFly red color "#8b0000" and it passed at all levels, even at smaller sizes.
> I'm wondering if we could use the darker red, in the non-bolded font? And if so, perhaps the text would be a little bit more legible.
> Just wanted to ask about this, please let me know what you think.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (DROOLS-3393) Please review scenario error cell text for legibility/accessibility.
by Liz Clayton (Jira)
[ https://issues.jboss.org/browse/DROOLS-3393?page=com.atlassian.jira.plugi... ]
Liz Clayton updated DROOLS-3393:
--------------------------------
Attachment: Screen Shot 2018-12-04 at 9.08.37 AM.png
> Please review scenario error cell text for legibility/accessibility.
> ---------------------------------------------------------------------
>
> Key: DROOLS-3393
> URL: https://issues.jboss.org/browse/DROOLS-3393
> Project: Drools
> Issue Type: Task
> Components: Scenario Simulation and Testing
> Reporter: Liz Clayton
> Assignee: Klara Kufova
> Priority: Major
> Labels: ScenarioSimulation, UX, UXTeam
> Attachments: Screen Shot 2018-11-30 at 11.59.32 AM.png, Screen Shot 2018-11-30 at 12.05.50 PM.png, Screen Shot 2018-12-04 at 9.08.37 AM.png, Screenshot from 2018-11-30 17-11-43.png
>
>
> [~kkufova] [~bdellasc]
> I noticed that the error text is a little "fuzzy" looking, the edges aren't very sharp and I was concerned that it might not be legible. I asked Danielle about the specs for it and it's the same size just bolded.
> I did an online accessibility text using the following tool, with our current hex values: https://webaim.org/resources/contrastchecker/. It failed for level 3 compliance, but I'm not sure we need to shoot for that or not? I tried the darker PatternFly red color "#8b0000" and it passed at all levels, even at smaller sizes.
> I'm wondering if we could use the darker red, in the non-bolded font? And if so, perhaps the text would be a little bit more legible.
> Just wanted to ask about this, please let me know what you think.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (DROOLS-3410) Found duplicate declaration for type exception after generating drl from scorecards xls
by Gordon Hu (Jira)
[ https://issues.jboss.org/browse/DROOLS-3410?page=com.atlassian.jira.plugi... ]
Gordon Hu updated DROOLS-3410:
------------------------------
Component/s: XLS Score Card Editor
> Found duplicate declaration for type exception after generating drl from scorecards xls
> ---------------------------------------------------------------------------------------
>
> Key: DROOLS-3410
> URL: https://issues.jboss.org/browse/DROOLS-3410
> Project: Drools
> Issue Type: Bug
> Components: PMML, XLS Score Card Editor
> Affects Versions: 6.5.0.Final
> Reporter: Gordon Hu
> Assignee: Lance Leverich
> Priority: Major
> Attachments: gem_phone_scoremodel.xls
>
>
> After generating a drl from the attached scorecard model, attempt to load the drl file with the following code:
> KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
> kbuilder.add(ResourceFactory.newByteArrayResource(drl2.getBytes()), ResourceType.DRL);
> //kbuilder.add(ResourceFactory.newByteArrayResource(drl2.getBytes()));
> for (KnowledgeBuilderError error : kbuilder.getErrors()) {
> System.out.println(error.getMessage());
> }
> Assert.assertFalse(kbuilder.hasErrors());
> StatelessKieSession session = kbuilder.newKnowledgeBase().newStatelessKieSession();
> Drools compiler gave the following exception:
> Found duplicate declaration for type com.efx.gem.rules.domain.score.PhoneScore, unable to reconcile
> Unable to process type BaselineScore
> Unable to process type ScoreRow
> Unable to process type PhoneScoreScoreCardData
> Unable to process type ScoreRank
> Unable to process type PhoneScoreOutput
> Unable to process type DataField
> Unable to process type PhoneMatch
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (DROOLS-3410) Found duplicate declaration for type exception after generating drl from scorecards xls
by Gordon Hu (Jira)
Gordon Hu created DROOLS-3410:
---------------------------------
Summary: Found duplicate declaration for type exception after generating drl from scorecards xls
Key: DROOLS-3410
URL: https://issues.jboss.org/browse/DROOLS-3410
Project: Drools
Issue Type: Bug
Components: PMML
Affects Versions: 6.5.0.Final
Reporter: Gordon Hu
Assignee: Lance Leverich
Attachments: gem_phone_scoremodel.xls
After generating a drl from the attached scorecard model, attempt to load the drl file with the following code:
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newByteArrayResource(drl2.getBytes()), ResourceType.DRL);
//kbuilder.add(ResourceFactory.newByteArrayResource(drl2.getBytes()));
for (KnowledgeBuilderError error : kbuilder.getErrors()) {
System.out.println(error.getMessage());
}
Assert.assertFalse(kbuilder.hasErrors());
StatelessKieSession session = kbuilder.newKnowledgeBase().newStatelessKieSession();
Drools compiler gave the following exception:
Found duplicate declaration for type com.efx.gem.rules.domain.score.PhoneScore, unable to reconcile
Unable to process type BaselineScore
Unable to process type ScoreRow
Unable to process type PhoneScoreScoreCardData
Unable to process type ScoreRank
Unable to process type PhoneScoreOutput
Unable to process type DataField
Unable to process type PhoneMatch
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months