Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/Harnesses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
dotnet build -c Release Sources/Tests/Harnesses/RuleCheck
dotnet build -c Release Sources/Tests/Harnesses/CanonCheck
dotnet build -c Release Sources/Tests/Harnesses/Confluence
dotnet build -c Release Sources/Tests/Harnesses/ModenovCorpus

# One step each, every one run whatever the one before did, so a red run names the harness.
- name: BoundCheck
Expand Down Expand Up @@ -82,6 +83,12 @@ jobs:
if: success() || failure()
run: dotnet Sources/Tests/Harnesses/Confluence/bin/Release/net10.0/confluence.dll

# Modenov's computations, each row's verdict committed in modenov-baseline.tsv: fails on a
# wrong answer, an erratum confirmed, or a verdict that moves either way.
- name: ModenovCorpus
if: success() || failure()
run: dotnet Sources/Tests/Harnesses/ModenovCorpus/bin/Release/net10.0/modenovcorpus.dll

- name: Reports
if: always()
uses: actions/upload-artifact@v6
Expand Down
11 changes: 6 additions & 5 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ nothing else is read:
[`Contributing/SimplificationContract.md`](Sources/AngouriMath/Docs/Contributing/SimplificationContract.md).
A rule states the assumptions under which it holds, or it is asserting there are none.

Ten measurement harnesses live in `Sources/Tests/Harnesses` and run in CI on every change to the
library: the boundary checker, root completeness, the self-verifying solver corpus, the property
Eleven measurement harnesses live in `Sources/Tests/Harnesses` and run in CI on every change to
the library: the boundary checker, root completeness, the self-verifying solver corpus, the property
checker, the simplification sweep, the rule-set checker, a crash harness that survives a stack
overflow, the canonical-form checker, the arm-order checker, and a checker for the code samples in
the wiki and on the website. Each fails on a defect, or the canonical-form and arm-order checkers on
a change to the findings they list; the README says which. The rest are still in the analysis
overflow, the canonical-form checker, the arm-order checker, the corpus of Modenov's computations
and his book's errata, and a checker for the code samples in the wiki and on the website. Each fails
on a defect, or the canonical-form and arm-order checkers and the Modenov corpus on a change to the
findings they list; the README says which. The rest are still in the analysis
workspace one directory up (`work/`). Run them before claiming anything is fixed.

There is also a *gate*, which is not a harness:
Expand Down
3 changes: 3 additions & 0 deletions Sources/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ file_header_template=\nCopyright (c) 2019-2026 Angouri.\nAngouriMath is licensed
[Tests/UnitTests/Common/LogarithmOfAPerfectPowerTest.cs]
file_header_template=\nCopyright (c) 2019-2026 Angouri.\nAngouriMath is licensed under MIT.\nDetails: https://github.com/asc-community/AngouriMath/blob/master/LICENSE.md.\nWebsite: https://am.angouri.org.\n

[Tests/Harnesses/ModenovCorpus/*.cs]
file_header_template=\nCopyright (c) 2019-2026 Angouri.\nAngouriMath is licensed under MIT.\nDetails: https://github.com/asc-community/AngouriMath/blob/master/LICENSE.md.\nWebsite: https://am.angouri.org.\n

[AngouriMath/Functions/PredicateEntailment.cs]
file_header_template=\nCopyright (c) 2019-2026 Angouri.\nAngouriMath is licensed under MIT.\nDetails: https://github.com/asc-community/AngouriMath/blob/master/LICENSE.md.\nWebsite: https://am.angouri.org.\n

Expand Down
7 changes: 7 additions & 0 deletions Sources/AngouriMath/Docs/References.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ and the link. Add a work here when it is first cited.
binomial identities, and induction — its examples and exercises are the rows of
`QuantifierTest`, `SubsetTest`, `IndexedSetOperationTest`, `ImageAndPreImageTest`,
`BinomialIdentityTest`, `InductionTest` and `ThresholdSetTest`.
- **Modenov, P. S.** *Problems in Geometry.* Translated from the Russian by George Yankovsky.
Mir, Moscow, 1981. <https://archive.org/details/ModenovProblemsInGeometryMir1981>.
Read for [#2131](https://github.com/asc-community/AngouriMath/issues/2131): vector algebra,
analytic geometry, complex numbers in plane geometry, inversion. Its computations, and the
errors found in it by computing, are the rows of the `ModenovCorpus` harness
([#2153](https://github.com/asc-community/AngouriMath/issues/2153)), cited by chapter, section
and problem.
- **Bronstein, Manuel.** *Symbolic Integration I: Transcendental Functions.* 2nd ed., Springer,
2005. The Hermite reduction, the rational and logarithmic parts, and the Risch structure the
integrator follows.
Expand Down
31 changes: 31 additions & 0 deletions Sources/Tests/Harnesses/ModenovCorpus/ModenovCorpus.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<Project Sdk="Microsoft.NET.Sdk">

<!--
Modenov's computations as a corpus: the identities, equations and constants of Modenov's
Problems in Geometry (Mir, 1981), each run and verified by value, and the book's errors as rows
the library must not confirm. Reports solved / refused / unsolved / wrong / error / timeout and
fails on a wrong answer or on a change to the committed verdicts, modenov-baseline.tsv.
A harness, not a test project: it is run by .github/workflows/Harnesses.yml and by hand,
and `dotnet test` does not pick it up. See ../README.md.
https://github.com/asc-community/AngouriMath/issues/2153
-->

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<Nullable>disable</Nullable>
<LangVersion>preview</LangVersion>
<AssemblyName>modenovcorpus</AssemblyName>
<RootNamespace>ModenovCorpus</RootNamespace>
<InvariantGlobalization>true</InvariantGlobalization>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<Compile Include="../Shared/*.cs" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="../../../AngouriMath/AngouriMath.csproj" />
</ItemGroup>
</Project>
Loading
Loading