utk-se / CodeAnalytics-analyzer

Single-shot code analysis for a code repo
1 stars 0 forks source link

Versioning of Result Data Types #23

Closed robobenklein closed 4 years ago

robobenklein commented 4 years ago

I think we will end up running some jobs and then want to change the results (add or rename more metrics) so we need a way to ID what type of result some data is.

I would suggest using something similar to either the git commit ID of the analyzer or a package.version string that IDs the data structure.

robobenklein commented 4 years ago

scaffold from worker is

        result = config['analysis']['function'](repodir)
        assert result['version'] is not None
robobenklein commented 4 years ago

should be an alphanumeric + _ string