Skip to content

Commit

Permalink
Separate ICSR-Sof. Reuse from ICSR-Social Robotics
Browse files Browse the repository at this point in the history
  • Loading branch information
KyriakosFrang committed Feb 25, 2017
1 parent 15a997b commit c29ab25
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions show_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,20 @@ def main(filter:("filter","option")=None):
print('{:>25} {:>8d}'.format("Successful extractions VLDB papers", result))

# print the papers from SOCROB
result = db.publications.count({"booktitle": "ICSR"})
print('{:>25} {:>8d}'.format("ICSR papers", result))
result = db.publications.count({'$and' : [{"booktitle": "ICSR"}, {'_id' : {'$regex':'socrob'}}]})
print('{:>25} {:>8d}'.format("ICSR (Social Robotis) papers", result))

result = db.publications.count(
{'$and': [{'booktitle': 'ICSR'}, {'content.chapters': {'$exists': True}}]})
{'$and': [{'booktitle': 'ICSR'}, {'content.chapters': {'$exists': True}},{'_id' : {'$regex':'socrob'}}]})
print('{:>25} {:>8d}'.format("Successful extractions ICSR papers", result))

# print the papers from icsr SOFTWARE REUSE
result = db.publications.count({'$and': [{"booktitle": "ICSR"}, {'_id': {'$regex': 'icsr'}}]})
print('{:>25} {:>8d}'.format("ICSR (Software Reuse) papers", result))

result = db.publications.count(
{'$and': [{'booktitle': 'ICSR'}, {'content.chapters': {'$exists': True}},
{'_id': {'$regex': 'icsr'}}]})
print('{:>25} {:>8d}'.format("Successful extractions ICSR papers", result))

# print the papers from HRI
Expand Down

0 comments on commit c29ab25

Please sign in to comment.