{ "comment": "Written by pixi run library-check in pplus-core. Do not edit.", "routines": { "align.AffineGapPenalty": { "checks": { "structure": { "status": "pass", "detail": "defines FUNCTION AffineGapPenalty" }, "pseudo": { "status": "pass", "detail": "3 case(s) run" }, "prover": { "status": "pass", "detail": "all 1 obligation(s) proved" }, "fuzz": { "status": "pass", "detail": "no failure in 201 generated input(s)" }, "mojo": { "status": "pass", "detail": "the generated Mojo prints what the pseudo prints on every case, in core's interpreter" } }, "cases": [ { "call": "AffineGapPenalty(1, -10, -1)", "result": "-10" }, { "call": "AffineGapPenalty(5, -10, -1)", "result": "-14" }, { "call": "AffineGapPenalty(3, -2, -2)", "result": "-6" } ], "references": { "python/plain": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) (exactly)" } }, "mojo/plain": { "interpreter": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) in core's interpreter (exactly)" }, "godbolt": { "status": "unverified", "detail": "no stored answer from mojo_1_1_0 for this program: pixi run library-verify-mojo" } } }, "proof": { "status": "pass", "detail": "Dafny 4.11.0: 3 verified, 0 errors" } }, "align.LinearGapPenalty": { "checks": { "structure": { "status": "pass", "detail": "defines FUNCTION LinearGapPenalty" }, "pseudo": { "status": "pass", "detail": "3 case(s) run" }, "prover": { "status": "pass", "detail": "all 1 obligation(s) proved" }, "fuzz": { "status": "pass", "detail": "no failure in 123 generated input(s)" }, "mojo": { "status": "pass", "detail": "the generated Mojo prints what the pseudo prints on every case, in core's interpreter" } }, "cases": [ { "call": "LinearGapPenalty(3, -2)", "result": "-6" }, { "call": "LinearGapPenalty(0, -2)", "result": "0" }, { "call": "LinearGapPenalty(10, -1)", "result": "-10" } ], "references": { "python/plain": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) (exactly)" } }, "mojo/plain": { "interpreter": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) in core's interpreter (exactly)" }, "godbolt": { "status": "unverified", "detail": "no stored answer from mojo_1_1_0 for this program: pixi run library-verify-mojo" } } }, "proof": { "status": "pass", "detail": "Dafny 4.11.0: 2 verified, 0 errors" } }, "align.MatchScore": { "checks": { "structure": { "status": "pass", "detail": "defines FUNCTION MatchScore" }, "pseudo": { "status": "pass", "detail": "3 case(s) run" }, "prover": { "status": "pass", "detail": "all 2 obligation(s) proved" }, "fuzz": { "status": "pass", "detail": "no failure in 285 generated input(s)" }, "mojo": { "status": "pass", "detail": "the generated Mojo prints what the pseudo prints on every case, in core's interpreter" } }, "cases": [ { "call": "MatchScore('A', 'A', 1, -1)", "result": "1" }, { "call": "MatchScore('A', 'G', 1, -1)", "result": "-1" }, { "call": "MatchScore('T', 'T', 5, -4)", "result": "5" } ], "references": { "python/plain": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) (exactly)" } }, "mojo/plain": { "interpreter": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) in core's interpreter (exactly)" }, "godbolt": { "status": "unverified", "detail": "no stored answer from mojo_1_1_0 for this program: pixi run library-verify-mojo" } } }, "proof": { "status": "pass", "detail": "Dafny 4.11.0: 1 verified, 0 errors" } }, "align.NeedlemanWunschScore": { "checks": { "structure": { "status": "pass", "detail": "defines FUNCTION NeedlemanWunschScore, using align.MatchScore, align.LinearGapPenalty" }, "pseudo": { "status": "pass", "detail": "4 case(s) run" }, "prover": { "status": "pass", "detail": "all 11 obligation(s) proved" }, "fuzz": { "status": "pass", "detail": "no failure in 300 generated input(s)" }, "mojo": { "status": "pass", "detail": "the generated Mojo prints what the pseudo prints on every case, in core's interpreter" } }, "cases": [ { "call": "NeedlemanWunschScore(\"GATTACA\", \"GCATGCU\", 1, -1, -1)", "result": "0" }, { "call": "NeedlemanWunschScore(\"ACGT\", \"ACGT\", 1, -1, -2)", "result": "4" }, { "call": "NeedlemanWunschScore(\"\", \"ACG\", 1, -1, -2)", "result": "-6" }, { "call": "NeedlemanWunschScore(\"AAAA\", \"TTTT\", 2, -3, -1)", "result": "-8" } ], "references": { "python/plain": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 4 case(s) (exactly)" } }, "python/two-rows": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 4 case(s) (exactly)" } }, "mojo/plain": { "interpreter": { "status": "pass", "detail": "agrees with the pseudo on 4 case(s) in core's interpreter (exactly)" }, "godbolt": { "status": "unverified", "detail": "no stored answer from mojo_1_1_0 for this program: pixi run library-verify-mojo" } } } }, "md.LennardJones": { "checks": { "structure": { "status": "pass", "detail": "defines FUNCTION LennardJones" }, "pseudo": { "status": "pass", "detail": "4 case(s) run" }, "prover": { "status": "pass", "detail": "all 2 obligation(s) proved" }, "fuzz": { "status": "pass", "detail": "no failure in 252 generated input(s)" }, "mojo": { "status": "pass", "detail": "the generated Mojo prints what the pseudo prints on every case, in core's interpreter" } }, "cases": [ { "call": "LennardJones(1.0, 1.0, 1.0)", "result": "0.0" }, { "call": "LennardJones(1.122462048309373, 1.0, 1.0)", "result": "-1.0" }, { "call": "LennardJones(2.5, 0.238, 3.4)", "result": "32.09189752256677" }, { "call": "LennardJones(0.9, 1.0, 1.0)", "result": "6.6361189532529234" } ], "references": { "python/multiply": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 4 case(s) (exactly)" } }, "python/powers": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 4 case(s) (within rel 1e-12, abs 0)" } }, "c/multiply": { "cc -O0": { "status": "pass", "detail": "agrees with the pseudo on 4 case(s) (exactly)" }, "cc -O2": { "status": "pass", "detail": "agrees with the pseudo on 4 case(s) (exactly)" } }, "mojo/multiply": { "interpreter": { "status": "pass", "detail": "agrees with the pseudo on 4 case(s) in core's interpreter (exactly)" }, "godbolt": { "status": "unverified", "detail": "no stored answer from mojo_1_1_0 for this program: pixi run library-verify-mojo" } } }, "proof": { "status": "pass", "detail": "Dafny 4.11.0: 14 verified, 0 errors" } }, "md.LennardJonesForce": { "checks": { "structure": { "status": "pass", "detail": "defines FUNCTION LennardJonesForce" }, "pseudo": { "status": "pass", "detail": "3 case(s) run" }, "prover": { "status": "pass", "detail": "all 3 obligation(s) proved" }, "fuzz": { "status": "pass", "detail": "no failure in 252 generated input(s)" }, "mojo": { "status": "pass", "detail": "the generated Mojo prints what the pseudo prints on every case, in core's interpreter" } }, "cases": [ { "call": "LennardJonesForce(1.0, 1.0, 1.0)", "result": "24.0" }, { "call": "LennardJonesForce(1.122462048309373, 1.0, 1.0)", "result": "-2.3738310467722616e-15" }, { "call": "LennardJonesForce(2.5, 0.238, 3.4)", "result": "168.49822326347663" } ], "references": { "python/multiply": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) (exactly)" } }, "mojo/multiply": { "interpreter": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) in core's interpreter (exactly)" }, "godbolt": { "status": "unverified", "detail": "no stored answer from mojo_1_1_0 for this program: pixi run library-verify-mojo" } } } }, "md.MinimumImage": { "checks": { "structure": { "status": "pass", "detail": "defines FUNCTION MinimumImage" }, "pseudo": { "status": "pass", "detail": "5 case(s) run" }, "prover": { "status": "pass", "detail": "all 1 obligation(s) proved" }, "fuzz": { "status": "pass", "detail": "no failure in 241 generated input(s)" }, "mojo": { "status": "pass", "detail": "the generated Mojo prints what the pseudo prints on every case, in core's interpreter" } }, "cases": [ { "call": "MinimumImage(0.75, 1.0)", "result": "-0.25" }, { "call": "MinimumImage(-0.75, 1.0)", "result": "0.25" }, { "call": "MinimumImage(2.3, 1.0)", "result": "0.2999999999999998" }, { "call": "MinimumImage(0.5, 1.0)", "result": "-0.5" }, { "call": "MinimumImage(-12.0, 10.0)", "result": "-2.0" } ], "references": { "python/plain": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 5 case(s) (exactly)" } }, "c/plain": { "cc -O0": { "status": "pass", "detail": "agrees with the pseudo on 5 case(s) (exactly)" }, "cc -O2": { "status": "pass", "detail": "agrees with the pseudo on 5 case(s) (exactly)" } }, "mojo/plain": { "interpreter": { "status": "pass", "detail": "agrees with the pseudo on 5 case(s) in core's interpreter (exactly)" }, "godbolt": { "status": "unverified", "detail": "no stored answer from mojo_1_1_0 for this program: pixi run library-verify-mojo" } } }, "proof": { "status": "pass", "detail": "Dafny 4.11.0: 4 verified, 0 errors" } }, "md.PairDistance": { "checks": { "structure": { "status": "pass", "detail": "defines FUNCTION PairDistance, using md.MinimumImage" }, "pseudo": { "status": "pass", "detail": "3 case(s) run" }, "prover": { "status": "pass", "detail": "all 9 obligation(s) proved" }, "fuzz": { "status": "pass", "detail": "no failure in 4 generated input(s)" }, "mojo": { "status": "skipped", "detail": "core's Mojo interpreter declines hypot(...) as written here; the compiler's answer is needed" } }, "cases": [ { "call": "PairDistance([0.1, 0.1, 0.1], [0.9, 0.9, 0.9], 1.0)", "result": "0.34641016151377535" }, { "call": "PairDistance([0.0, 0.0, 0.0], [3.0, 4.0, 0.0], 20.0)", "result": "5.0" }, { "call": "PairDistance([1.0, 2.0, 3.0], [1.0, 2.0, 3.0], 5.0)", "result": "0.0" } ], "references": { "python/plain": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) (within rel 1e-15, abs 0)" } }, "mojo/plain": { "interpreter": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) in core's interpreter (within rel 1e-15, abs 0)" }, "godbolt": { "status": "unverified", "detail": "no stored answer from mojo_1_1_0 for this program: pixi run library-verify-mojo" } } } }, "numerics.KahanSum": { "checks": { "structure": { "status": "pass", "detail": "defines FUNCTION KahanSum" }, "pseudo": { "status": "pass", "detail": "4 case(s) run" }, "prover": { "status": "pass", "detail": "all 1 obligation(s) proved" }, "fuzz": { "status": "pass", "detail": "no failure in 263 generated input(s)" }, "mojo": { "status": "pass", "detail": "the generated Mojo prints what the pseudo prints on every case, in core's interpreter" } }, "cases": [ { "call": "KahanSum([1.0, 2.0, 3.0])", "result": "6.0" }, { "call": "KahanSum([1.0, 1.0e-16, 1.0e-16, 1.0e-16, 1.0e-16, 1.0e-16, 1.0e-16, 1.0e-16, 1.0e-16, 1.0e-16, 1.0e-16])", "result": "1.000000000000001" }, { "call": "KahanSum([0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1])", "result": "1.0" }, { "call": "KahanSum([])", "result": "0.0" } ], "references": { "python/plain": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 4 case(s) (exactly)" } }, "c/plain": { "cc -O0": { "status": "pass", "detail": "agrees with the pseudo on 4 case(s) (exactly)" }, "cc -O2": { "status": "pass", "detail": "agrees with the pseudo on 4 case(s) (exactly)" } }, "mojo/plain": { "interpreter": { "status": "pass", "detail": "agrees with the pseudo on 4 case(s) in core's interpreter (exactly)" }, "godbolt": { "status": "unverified", "detail": "no stored answer from mojo_1_1_0 for this program: pixi run library-verify-mojo" } } }, "proof": { "status": "pass", "detail": "Dafny 4.11.0: 2 verified, 0 errors" } }, "numerics.LinearInterp": { "checks": { "structure": { "status": "pass", "detail": "defines FUNCTION LinearInterp" }, "pseudo": { "status": "pass", "detail": "3 case(s) run" }, "prover": { "status": "pass", "detail": "all 1 obligation(s) proved" }, "fuzz": { "status": "pass", "detail": "no failure in 300 generated input(s)" }, "mojo": { "status": "pass", "detail": "the generated Mojo prints what the pseudo prints on every case, in core's interpreter" } }, "cases": [ { "call": "LinearInterp(0.0, 0.0, 10.0, 5.0, 4.0)", "result": "2.0" }, { "call": "LinearInterp(1.0, 2.0, 3.0, 2.0, 2.5)", "result": "2.0" }, { "call": "LinearInterp(0.0, 1.0, 1.0, 3.0, 2.0)", "result": "5.0" } ], "references": { "python/plain": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) (exactly)" } }, "mojo/plain": { "interpreter": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) in core's interpreter (exactly)" }, "godbolt": { "status": "unverified", "detail": "no stored answer from mojo_1_1_0 for this program: pixi run library-verify-mojo" } } } }, "numerics.Trapezoid": { "checks": { "structure": { "status": "pass", "detail": "defines FUNCTION Trapezoid" }, "pseudo": { "status": "pass", "detail": "3 case(s) run" }, "prover": { "status": "pass", "detail": "all 4 obligation(s) proved" }, "fuzz": { "status": "pass", "detail": "no failure in 227 generated input(s)" }, "mojo": { "status": "pass", "detail": "the generated Mojo prints what the pseudo prints on every case, in core's interpreter" } }, "cases": [ { "call": "Trapezoid([0.0, 1.0, 4.0, 9.0, 16.0], 1.0)", "result": "22.0" }, { "call": "Trapezoid([1.0, 1.0], 0.5)", "result": "0.5" }, { "call": "Trapezoid([0.0, 0.25, 1.0], 0.5)", "result": "0.375" } ], "references": { "python/plain": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) (exactly)" } }, "mojo/plain": { "interpreter": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) in core's interpreter (exactly)" }, "godbolt": { "status": "unverified", "detail": "no stored answer from mojo_1_1_0 for this program: pixi run library-verify-mojo" } } } }, "seq.GCContent": { "checks": { "structure": { "status": "pass", "detail": "defines FUNCTION GCContent" }, "pseudo": { "status": "pass", "detail": "3 case(s) run" }, "prover": { "status": "pass", "detail": "all 3 obligation(s) proved" }, "fuzz": { "status": "pass", "detail": "no failure in 469 generated input(s)" }, "mojo": { "status": "pass", "detail": "the generated Mojo prints what the pseudo prints on every case, in core's interpreter" } }, "cases": [ { "call": "GCContent(\"GATTACA\")", "result": "0.2857142857142857" }, { "call": "GCContent(\"GGCC\")", "result": "1.0" }, { "call": "GCContent(\"ATAT\")", "result": "0.0" } ], "references": { "python/plain": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) (exactly)" } }, "mojo/plain": { "interpreter": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) in core's interpreter (exactly)" }, "godbolt": { "status": "unverified", "detail": "no stored answer from mojo_1_1_0 for this program: pixi run library-verify-mojo" } } }, "proof": { "status": "pass", "detail": "Dafny 4.11.0: 5 verified, 0 errors" } }, "seq.HammingDistance": { "checks": { "structure": { "status": "pass", "detail": "defines FUNCTION HammingDistance" }, "pseudo": { "status": "pass", "detail": "3 case(s) run" }, "prover": { "status": "pass", "detail": "all 5 obligation(s) proved" }, "fuzz": { "status": "pass", "detail": "no failure in 291 generated input(s)" }, "mojo": { "status": "pass", "detail": "the generated Mojo prints what the pseudo prints on every case, in core's interpreter" } }, "cases": [ { "call": "HammingDistance(\"GATTACA\", \"GACTATA\")", "result": "2" }, { "call": "HammingDistance(\"\", \"\")", "result": "0" }, { "call": "HammingDistance(\"AAAA\", \"TTTT\")", "result": "4" } ], "references": { "python/plain": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) (exactly)" } }, "mojo/plain": { "interpreter": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) in core's interpreter (exactly)" }, "godbolt": { "status": "unverified", "detail": "no stored answer from mojo_1_1_0 for this program: pixi run library-verify-mojo" } } }, "proof": { "status": "pass", "detail": "Dafny 4.11.0: 5 verified, 0 errors" } }, "special.ErfApprox": { "checks": { "structure": { "status": "pass", "detail": "defines FUNCTION ErfApprox" }, "pseudo": { "status": "pass", "detail": "5 case(s) run" }, "prover": { "status": "open", "detail": "0 of 1 obligation(s) proved; open: divide@12 (1.0 + 0.3275911 * A is not 0)" }, "fuzz": { "status": "pass", "detail": "no failure in 269 generated input(s)" }, "mojo": { "status": "skipped", "detail": "core's Mojo interpreter declines exp(...) as written here; the compiler's answer is needed" } }, "cases": [ { "call": "ErfApprox(0.0)", "result": "9.999999717180685e-10" }, { "call": "ErfApprox(0.5)", "result": "0.5205000163047472" }, { "call": "ErfApprox(-1.0)", "result": "-0.8427006897475899" }, { "call": "ErfApprox(2.0)", "result": "0.9953221395812188" }, { "call": "ErfApprox(3.5)", "result": "0.999999255782864" } ], "references": { "python/plain": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 5 case(s) (exactly)" } }, "python/libm": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 5 case(s) (within rel 0, abs 1.5e-7)" } }, "mojo/plain": { "interpreter": { "status": "skipped", "detail": "core's Mojo interpreter declines exp(...) as written here" }, "godbolt": { "status": "unverified", "detail": "no stored answer from mojo_1_1_0 for this program: pixi run library-verify-mojo" } } } }, "stats.Mean": { "checks": { "structure": { "status": "pass", "detail": "defines FUNCTION Mean" }, "pseudo": { "status": "pass", "detail": "5 case(s) run" }, "prover": { "status": "pass", "detail": "all 2 obligation(s) proved" }, "fuzz": { "status": "pass", "detail": "no failure in 262 generated input(s)" }, "mojo": { "status": "pass", "detail": "the generated Mojo prints what the pseudo prints on every case, in core's interpreter" } }, "cases": [ { "call": "Mean([1.0, 2.0, 3.0, 4.0])", "result": "2.5" }, { "call": "Mean([0.1, 0.1, 0.1])", "result": "0.10000000000000002" }, { "call": "Mean([-5.0, 5.0])", "result": "0.0" }, { "call": "Mean([1.0e300, 1.0e300])", "result": "1.0e300" }, { "call": "Mean([2.5])", "result": "2.5" } ], "references": { "python/plain": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 5 case(s) (exactly)" } }, "python/fsum": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 5 case(s) (within rel 1e-15, abs 0)" } }, "c/plain": { "cc -O0": { "status": "pass", "detail": "agrees with the pseudo on 5 case(s) (exactly)" }, "cc -O2": { "status": "pass", "detail": "agrees with the pseudo on 5 case(s) (exactly)" } }, "mojo/plain": { "interpreter": { "status": "pass", "detail": "agrees with the pseudo on 5 case(s) in core's interpreter (exactly)" }, "godbolt": { "status": "unverified", "detail": "no stored answer from mojo_1_1_0 for this program: pixi run library-verify-mojo" } }, "mojo/unrolled": { "interpreter": { "status": "pass", "detail": "agrees with the pseudo on 5 case(s) in core's interpreter (within rel 1e-15, abs 0)" }, "godbolt": { "status": "unverified", "detail": "no stored answer from mojo_1_1_0 for this program: pixi run library-verify-mojo" } } }, "proof": { "status": "pass", "detail": "Dafny 4.11.0: 9 verified, 0 errors" } }, "stats.Variance": { "checks": { "structure": { "status": "pass", "detail": "defines FUNCTION Variance, using stats.Mean" }, "pseudo": { "status": "pass", "detail": "3 case(s) run" }, "prover": { "status": "pass", "detail": "all 4 obligation(s) proved" }, "fuzz": { "status": "pass", "detail": "no failure in 221 generated input(s)" }, "mojo": { "status": "pass", "detail": "the generated Mojo prints what the pseudo prints on every case, in core's interpreter" } }, "cases": [ { "call": "Variance([2.0, 4.0, 4.0, 4.0, 5.0, 5.0, 7.0, 9.0])", "result": "4.571428571428571" }, { "call": "Variance([1.0, 2.0])", "result": "0.5" }, { "call": "Variance([1.0e9 + 4.0, 1.0e9 + 7.0, 1.0e9 + 13.0, 1.0e9 + 16.0])", "result": "30.0" } ], "references": { "python/plain": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) (exactly)" } }, "python/statistics": { "cpython": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) (within rel 1e-12, abs 0)" } }, "mojo/plain": { "interpreter": { "status": "pass", "detail": "agrees with the pseudo on 3 case(s) in core's interpreter (exactly)" }, "godbolt": { "status": "unverified", "detail": "no stored answer from mojo_1_1_0 for this program: pixi run library-verify-mojo" } } } } } }