Hack23 / cia

Citizen Intelligence Agency (OSINT) , monitoring key political figures and institutions, provides insights into financial performance, risk metrics, and political trends
https://hack23.github.io/cia/
Apache License 2.0
139 stars 42 forks source link

Rules engine for politicians/parties #8

Open pethers opened 6 years ago

pethers commented 6 years ago

https://github.com/kiegroup/drools/blob/master/drools-examples/src/main/resources/org/drools/examples/honestpolitician/HonestPolitician.drl

http://www.baeldung.com/drools-spring-integration

pethers commented 6 years ago

Add a few categories and 4-12 rules for each, target cia ruleset for sonarqube https://www.hack23.com/sonar/profiles/show?language=java&name=CIA-RULES

Rules Active Inactive
Total 1.3k 188
Bugs 542 9
Vulnerabilities 141 7
Code Smells 583 172

add support to disable/enable rules.

pethers commented 5 years ago

select distinct title,sub_Title,created_date,rm,committee_report,embedded_id_issue,embedded_id_concern from view_riksdagen_committee_ballot_decision_politician_summary order by created_date desc;

pethers commented 5 years ago

Ändrade mediegrundlagar | Grundlagsförslagen i övrigt | 2018-05-25 | 2017/18 | KU16 | 3 | SAKFRÅGAN Ändrade mediegrundlagar | Meddelarskydd i offentligt finansierad verksamhet | 2018-05-25 | 2017/18 | KU16 | 5 | SAKFRÅGAN Ändrade mediegrundlagar | Motverka hybridkrigföring i form av propaganda | 2018-05-25 | 2017/18 | KU16 | 8 | SAKFRÅGAN Ändrade mediegrundlagar | Personlig integritet och grundlagsskydd

pethers commented 4 years ago

Pregenerate risk rules, just display results already saved in database.