fraud-scenario's People
fraud-scenario's Issues
Fails to evaluate situation DoubleSessionLocation in the FraudScenarioTest
there's an error when evaluationg temporal operators in drools involving situations
Session(this.client == client, this overlappedby firstSession || this after [1h] firstSession)
brings an error
Exception in thread "Thread-0" java.lang.RuntimeException: Error evaluating constraint 'overlappedby0.evaluate( this, firstSes
sion ) || after1.evaluate( this, firstSession )' in [Rule "DoubleSessionLocation" in FraudScenario.drl]
FraudScenarioTest fails to build metamodel
The main FraudScenarioTest is failling right at the moment to evaluate the `KieSession``.
14:28:12,472 INFO FraudScenarioTest:58 - Now running data
14:28:12,476 DEBUG SCENELogger:24 - INSERT - co.pextra.fraud.Client@1d05366
14:28:12,476 DEBUG SCENELogger:24 - INSERT - co.pextra.fraud.Device@f143ed
14:28:12,476 DEBUG SCENELogger:24 - INSERT - co.pextra.fraud.AuthToken@1e3314
14:28:12,477 INFO FraudScenarioTest:67 - Final checks
Exception in thread "Thread-0" Exception executing consequence for rule "Session" in co.pextra.fraud: br.ufes.inf.lprm.scene.exceptions.SituationTypeNotFound: co.pextra.fraud.Session not found
at org.drools.core.runtime.rule.impl.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:39)
at org.drools.core.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1063)
at org.drools.core.phreak.RuleExecutor.fire(RuleExecutor.java:121)
at org.drools.core.phreak.RuleExecutor.evaluateNetworkAndFire(RuleExecutor.java:74)
at org.drools.core.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:970)
at org.drools.core.common.DefaultAgenda.fireLoop(DefaultAgenda.java:1312)
at org.drools.core.common.DefaultAgenda.fireUntilHalt(DefaultAgenda.java:1232)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireUntilHalt(StatefulKnowledgeSessionImpl.java:1398)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireUntilHalt(StatefulKnowledgeSessionImpl.java:1377)
at co.pextra.fraud.RuleEngineThread.run(RuleEngineThread.java:14)
Caused by: br.ufes.inf.lprm.scene.exceptions.SituationTypeNotFound: co.pextra.fraud.Session not found
at br.ufes.inf.lprm.scene.util.SituationHelper.situationDetected(SituationHelper.java:34)
at co.pextra.fraud.Rule_Session1742232626.defaultConsequence(Rule_Session1742232626.java:7)
at co.pextra.fraud.Rule_Session1742232626DefaultConsequenceInvokerGenerated.evaluate(Unknown Source)
at co.pextra.fraud.Rule_Session1742232626DefaultConsequenceInvoker.evaluate(Unknown Source)
at org.drools.core.common.DefaultAgenda.fireActivation(DefaultAgenda.java:1052)
... 8 more```
Improve fraud scenario
Add a README for the project
This project needs a README explaining its model e situation scenarios.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.