Skip to content

Commit

Permalink
fixed dockerfile, setup.py and added test data#
Browse files Browse the repository at this point in the history
  • Loading branch information
James Berthoty authored and James Berthoty committed Nov 5, 2020
1 parent 481a456 commit 1d0cc81
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Expand Up @@ -6,6 +6,7 @@ WORKDIR /src
COPY . /src/

RUN pip install .
RUN cp -R /src/riskquant/model /usr/local/lib/python3.7/site-packages/riskquant
RUN python setup.py install

ENTRYPOINT ["/src/build/scripts-3.7/riskquant"]
14 changes: 14 additions & 0 deletions data/test.csv
@@ -0,0 +1,14 @@
FraudThreats,Overstated/falseemployeequalificationsorcertifications,"$247,000"
InternalRiskAreas,AWSSpecificVulnerability(e.g.S3Bucketmadepublic),"$133,000"
PersonnelThreats,PersonnelPhishing/SocialEngineeringAttack,"$101,000"
PersonnelThreats,InsiderThreatDataLeak,"$72,300"
TechnicalThreats,EscalationofPrivilege,"$72,300"
PersonnelThreats,PersonnelLabor/SkillsShortage,"$61,700"
FraudThreats,ManipulationofLiabilities/Expenses-Unrecordedvendorinvoices,"$40,400"
InternalRiskAreas,AWSSpecificVulnerability(e.g.APIGatewaypermissionsoverlybroad),"$40,000"
ResourceThreats,DisruptionofCommunicationServices,"$2,870"
Physical,EmployeeLaptopisStolen,"$1,230"
Physical,EmployeeLaptopisLost,$840
TechnicalThreats,CredentialDiscoveryviaBruteForceorGuessing,$404
Physical,VandalismofEmployeeHome,$143

2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -31,7 +31,7 @@
python_requires='>=3.5, <3.8',
install_requires=[
'matplotlib',
'numpy',
'numpy <1.19.0, >= 1.16.0',
'scipy',
# Tensorflow probability is tested and stable against Tensorflow 2.1.0
# https://github.com/tensorflow/probability/releases
Expand Down

0 comments on commit 1d0cc81

Please sign in to comment.