{"push_id":755779897,"size":1,"distinct_size":1,"ref":"refs/heads/scoring_script_demo","head":"d7c94f61d6ae4a58d260b02dfd0c67832b871c08","before":"30a1e183c1ce95229ff2ee3becdd92d35df27174","commits":[{"sha":"d7c94f61d6ae4a58d260b02dfd0c67832b871c08","author":{"email":"11aaaa0b3ae6295a0cf87bf314cdac62bf732673@vmware.com","name":"Mark T. Voelker"},"message":"Add script to tabulate scores\n\nDuring last week's DefCore sprint in Austin, we decided to move\nto a plaintext file format for our scoring working document.  Some\nparticipants expressed a desire to have a script to automatically\ntabulate total scores for capabilities scored in the new simple\ntext format, and also to be able to export them to a CSV file\nfor those who prefer to visualize the data with spreadsheet\nsoftware.\n\nThis patch adds a utility script to do just that.  It reads a DefCore\nGuideline JSON file to collect Criteria names and weights.  It also\nreads a scoring file in the new simple text format to pull individual\nCriteria scores for each Capability listed.  Using the weights and\nCriteria scores for each capability, it then computes a total score\nfor the Capability.  It creates two output files: a text document\nthat mirrors the scoring file but with an additional column for the\ntotal score, and a CSV file complete with column headers.  The total\nscores are also printed to stdout.\n\nThe source and destination files are configurable via command line\narguments (with reasonable defaults so the script can be run with\nno arguments at all).  The script also includes help output that\ncan be printed by running it with the standard -h or --help arguments.\n\nChange-Id: I7539728f1e907bebc28609977251c9f580400499","distinct":true,"url":"https://api.github.com/repos/markvoelker/defcore/commits/d7c94f61d6ae4a58d260b02dfd0c67832b871c08"}]}