{"size": 638, "ext": "js", "max_stars_repo_path": "ci/workspace/workspace.js", "max_stars_repo_name": "anirban59/workcraft", "max_stars_repo_stars_event_min_datetime": "2017-10-20T22:34:37.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-05T16:46:51.000Z", "max_issues_repo_path": "ci/workspace/workspace.js", "max_issues_repo_name": "anirban59/workcraft", "max_issues_repo_issues_event_min_datetime": "2017-03-04T21:41:38.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-18T15:45:59.000Z", "max_forks_repo_path": "ci/workspace/workspace.js", "max_forks_repo_name": "anirban59/workcraft", "max_forks_repo_forks_event_min_datetime": "2017-03-07T14:33:38.000Z", "max_forks_repo_forks_event_max_datetime": "2021-11-26T12:42:05.000Z"}
{"max_stars_count": 28, "max_issues_count": 605, "max_forks_count": 263, "avg_line_length": 22.7857142857, "max_line_length": 62, "alphanum_fraction": 0.5313479624}
var files =
    [ "vme-tm.circuit.work"
    , "vme.stg.work"
    ];

// Load work files
for (var i = 0; i < files.length; i++) {
    var f = files[i];
    load(f);
}

// Iterate over loaded works and get their types
s = "";
for each (work in getWorks()) {
    s += work.getTitle() + "\n";
    s += "  * Descriptor: " + getModelDescriptor(work) + "\n";
    s += "  * File: " + getWorkFile(work).getName() + "\n";
    title = getModelTitle(work);
    s += "  * Old title: " + title + "\n";
    setModelTitle(work, title.toUpperCase());
    s += "  * New title: " + getModelTitle(work);
    s += "\n";
}

write(s, "workspace.txt");

exit();
