Pin the shake's upper bound, the golden table's line endings, and a clean BDS tree for regeneration
Soul lows on cut-nervous-layers.s2: shake-test-has-no-upper-bound (0.06 and 0.15 now fail at 7.7 and 14 cm), golden-tsv-eol-unpinned, golden-generator-trusts-head. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
05b74e864e
commit
1491bed18d
3 changed files with 3 additions and 0 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
|
@ -1 +1,2 @@
|
|||
*.sh text eol=lf
|
||||
tests/Lodur.Core.Tests/pain-box-golden.tsv text eol=lf
|
||||
|
|
|
|||
|
|
@ -179,6 +179,7 @@ public sealed class ConnectedPainBoxTests
|
|||
for (var s = 8; s <= 13; s++)
|
||||
{
|
||||
Assert.True(VerticalPeakToPeak(shaking, s) > 0.03f, $"shipped shake only {VerticalPeakToPeak(shaking, s)} m peak to peak in second {s}");
|
||||
Assert.True(VerticalPeakToPeak(shaking, s) < 0.07f, $"shipped shake is {VerticalPeakToPeak(shaking, s)} m peak to peak in second {s}, more than a strain tremor");
|
||||
Assert.True(VerticalPeakToPeak(still, s) < 0.015f, $"no shake still moved {VerticalPeakToPeak(still, s)} m in second {s}");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,5 +6,6 @@ bds="${1:?path to a BadDaySimulator checkout at 9f59764}"
|
|||
want=9f597647a608a6c6e44473cc9f1399983de14616
|
||||
have="$(git -C "$bds" rev-parse HEAD)"
|
||||
[ "$have" = "$want" ] || { echo "BadDaySimulator is at $have, need $want" >&2; exit 1; }
|
||||
[ -z "$(git -C "$bds" status --porcelain -- src)" ] || { echo "BadDaySimulator has local changes under src/; the table must come from $want as committed" >&2; exit 1; }
|
||||
here="$(cd "$(dirname "$0")" && pwd)"
|
||||
dotnet run --project "$here/PainBoxGolden.csproj" -p:BdsRoot="$(cd "$bds" && pwd -W 2>/dev/null || pwd)" -- "$here/../../tests/Lodur.Core.Tests/pain-box-golden.tsv"
|
||||
|
|
|
|||
Loading…
Reference in a new issue