Skip to content

Commit cf2e6c3

Browse files
committed
Fix issues
1 parent a554000 commit cf2e6c3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/performance_score_director.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ jobs:
7474
shell: bash
7575
run: |
7676
echo "forks=20" > scoredirector-benchmark.properties
77-
echo "warmup_iterations=5" >> scoredirector-benchmark.properties
78-
echo "measurement_iterations=15" >> scoredirector-benchmark.properties
77+
echo "warmup_iterations=10" >> scoredirector-benchmark.properties
78+
echo "measurement_iterations=10" >> scoredirector-benchmark.properties
7979
echo "relative_score_error_threshold=0.025" >> scoredirector-benchmark.properties
8080
echo "score_director_type=cs" >> scoredirector-benchmark.properties
8181
echo "example=${{ matrix.example }}" >> scoredirector-benchmark.properties
@@ -170,9 +170,9 @@ jobs:
170170
NEW_RANGE_END: ${{ steps.benchmark_new.outputs.RANGE_END }}
171171
shell: bash
172172
run: |
173-
export DIFF_START=$(echo "scale=2; ($OLD_RANGE_START / $NEW_RANGE_START) * 100" | bc)
174-
export DIFF_MID=$(echo "scale=2; ($OLD_RANGE_MID / $NEW_RANGE_MID) * 100" | bc)
175-
export DIFF_END=$(echo "scale=2; ($OLD_RANGE_END / $NEW_RANGE_END) * 100" | bc)
173+
export DIFF_START=$(echo "scale=0; ($OLD_RANGE_START / $NEW_RANGE_START) * 100" | bc)
174+
export DIFF_MID=$(echo "scale=0; ($OLD_RANGE_MID / $NEW_RANGE_MID) * 100" | bc)
175+
export DIFF_END=$(echo "scale=0; ($OLD_RANGE_END / $NEW_RANGE_END) * 100" | bc)
176176
export FAIL=false
177177
178178
if [ "$DIFF_MID" -gt "98" ] && [ "$DIFF_MID" -lt "102" ]; then

src/main/resources/logback.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</encoder>
99
</appender>
1010

11-
<logger name="ai.timefold.solver" level="${logback.level.ai.timefold.solver:-warn}"/>
11+
<logger name="ai.timefold.solver" level="${logback.level.ai.timefold.solver:-info}"/>
1212
<logger name="ai.timefold.solver.benchmarks" level="${logback.level.ai.timefold.solver:-info}"/>
1313
<logger name="ai.timefold.solver.benchmarks.examples" level="${logback.level.ai.timefold.solver:-warn}"/>
1414

0 commit comments

Comments
 (0)