Skip to content

Commit

Permalink
Disable complexity
Browse files Browse the repository at this point in the history
  • Loading branch information
metopa committed Nov 20, 2019
1 parent 377d61c commit e51c1df
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion epi_judge_cpp/test_framework/test_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ struct TestConfig {
update_js(true),
timeout_seconds(timeout_seconds),
num_failed_tests_before_stop(num_failed_tests_before_stop),
analyze_complexity(true),
analyze_complexity(false),
complexity_timeout(20),
metric_names_override(
[](const std::vector<std::string>& names) { return names; }),
Expand Down
2 changes: 1 addition & 1 deletion epi_judge_cpp_solutions/test_framework/test_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ struct TestConfig {
update_js(true),
timeout_seconds(timeout_seconds),
num_failed_tests_before_stop(num_failed_tests_before_stop),
analyze_complexity(true),
analyze_complexity(false),
complexity_timeout(20),
metric_names_override(
[](const std::vector<std::string>& names) { return names; }),
Expand Down
2 changes: 1 addition & 1 deletion epi_judge_java/epi/test_framework/TestConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public TestConfig(String testFile, String testDataFile, long timeoutSeconds,
this.updateJs = true;
this.timeoutSeconds = timeoutSeconds;
this.numFailedTestsBeforeStop = numFailedTestsBeforeStop;
this.analyzeComplexity = true;
this.analyzeComplexity = false;
this.complexityTimeout = 20;
this.metricNamesOverride = (names) -> names;
this.metricsOverride = (metrics, funcArgs) -> metrics;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public TestConfig(String testFile, String testDataFile, long timeoutSeconds,
this.updateJs = true;
this.timeoutSeconds = timeoutSeconds;
this.numFailedTestsBeforeStop = numFailedTestsBeforeStop;
this.analyzeComplexity = true;
this.analyzeComplexity = false;
this.complexityTimeout = 20;
this.metricNamesOverride = (names) -> names;
this.metricsOverride = (metrics, funcArgs) -> metrics;
Expand Down
2 changes: 1 addition & 1 deletion epi_judge_python/test_framework/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self, test_file, test_data_file, timeout_seconds,
self.update_js = True
self.timeout_seconds = timeout_seconds
self.num_failed_tests_before_stop = num_failed_tests_before_stop
self.analyze_complexity = True
self.analyze_complexity = False
self.complexity_timeout = 20
self.metric_names_override = lambda names: names
self.metrics_override = lambda metrics, *func_args: metrics
Expand Down
2 changes: 1 addition & 1 deletion epi_judge_python_solutions/test_framework/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self, test_file, test_data_file, timeout_seconds,
self.update_js = True
self.timeout_seconds = timeout_seconds
self.num_failed_tests_before_stop = num_failed_tests_before_stop
self.analyze_complexity = True
self.analyze_complexity = False
self.complexity_timeout = 20
self.metric_names_override = lambda names: names
self.metrics_override = lambda metrics, *func_args: metrics
Expand Down

0 comments on commit e51c1df

Please sign in to comment.