{"size": 602, "ext": "js", "max_stars_repo_path": "test/confidence.js", "max_stars_repo_name": "iamDecode/jerzy", "max_stars_repo_stars_event_min_datetime": "2015-01-14T18:39:50.000Z", "max_stars_repo_stars_event_max_datetime": "2022-01-05T07:48:05.000Z", "max_issues_repo_path": "test/confidence.js", "max_issues_repo_name": "iamDecode/jerzy", "max_issues_repo_issues_event_min_datetime": "2015-12-23T21:50:15.000Z", "max_issues_repo_issues_event_max_datetime": "2020-10-09T09:27:37.000Z", "max_forks_repo_path": "test/confidence.js", "max_forks_repo_name": "iamDecode/jerzy", "max_forks_repo_forks_event_min_datetime": "2017-09-07T13:35:32.000Z", "max_forks_repo_forks_event_max_datetime": "2022-01-04T17:43:57.000Z"}
{"max_stars_count": 41, "max_issues_count": 6, "max_forks_count": 10, "avg_line_length": 46.3076923077, "max_line_length": 92, "alphanum_fraction": 0.6727574751}
describe('jerzy.Confidence', function() {
	var v = new jerzy.Vector([44617, 7066, 17594, 2726, 1178, 18898, 5033, 37151, 4514, 4000]);
	var v2 = new jerzy.Vector([19.9, 29.6, 18.7, 24.2]);
	describe("#confidence", function() {
		it("should return the correct confidence interval", function() {
			assert.closeTo(jerzy.Confidence.normal(v, 0.95)[0], 3299.868, 0.001);
			assert.closeTo(jerzy.Confidence.normal(v, 0.95)[1], 25255.532, 0.001);
			assert.closeTo(jerzy.Confidence.normalLower(v2, 0.95), 17.30, 0.01);
			assert.closeTo(jerzy.Confidence.normalUpper(v, 0.95), 23173.46, 0.01);
		});
	});
});
