Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random generation of UExps #1337

Draft
wants to merge 16 commits into
base: dev
Choose a base branch
from

Shows the failing uexp when a test fails

312e7a5
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

Random generation of UExps #1337

Shows the failing uexp when a test fails
312e7a5
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Report failed Aug 3, 2024 in 0s

21 passed, 8 failed and 0 skipped

Tests failed

❌ junit_tests.xml

29 tests were completed in 0ms with 21 passed, 8 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Dynamics 21✅ 8❌ 0ms

❌ Dynamics

Dynamics.Elaboration
  ✅ Single integer
  ✅ Empty hole
  ✅ Free variable
  ✅ Let expression
  ✅ Inconsistent binary operation
  ✅ Consistent if statement
  ✅ Application of function on free variable
  ✅ Inconsistent case statement
  ✅ Let expression for a function
Dynamics.Type Assignment
  ✅ Type assignment
  ✅ Type assignment
  ✅ Type assignment
  ✅ Type assignment
  ✅ Type assignment
  ✅ Type assignment
  ✅ Type assignment
  ✅ Type assignment
  ✅ Type assignment
  ✅ Type assignment
Dynamics.Random tests
  ❌ Type assignment
	Alcotest assertion failure
  ❌ Type assignment
	Alcotest assertion failure
  ✅ Type assignment
  ❌ Type assignment
	Alcotest assertion failure
  ❌ Type assignment
	Alcotest assertion failure
  ❌ Type assignment
	Alcotest assertion failure
  ❌ Type assignment
	Alcotest assertion failure
  ❌ Type assignment
	Alcotest assertion failure
  ❌ Type assignment
	Alcotest assertion failure
  ✅ Type assignment

Annotations

Check failure on line 0 in junit_tests.xml

See this annotation in the file changed.

@github-actions github-actions / Test Report

Dynamics ► Dynamics.Random tests ► Type assignment

Failed test found in:
  junit_tests.xml
Error:
  Alcotest assertion failure
Raw output
Alcotest assertion failure
FAIL Term: { ids =
  [Option.get(Haz3lcore.Id.of_string("9994a39b-29ad-4338-ac76-0d9be94481b0"))
    ];
  term =
  (Ap (
     { ids =
       [Option.get(Haz3lcore.Id.of_string("4e90d5e7-1a75-495e-9bff-2018ec4be588"))
         ];
       term = (Var "}1*Zl9?") },
     { ids =
       [Option.get(Haz3lcore.Id.of_string("9c8ea3fe-1764-4b59-acec-faa5383af9e7"))
         ];
       term = (Bool false) }
     ))
  }

Check failure on line 0 in junit_tests.xml

See this annotation in the file changed.

@github-actions github-actions / Test Report

Dynamics ► Dynamics.Random tests ► Type assignment

Failed test found in:
  junit_tests.xml
Error:
  Alcotest assertion failure
Raw output
Alcotest assertion failure
FAIL Term: { ids =
  [Option.get(Haz3lcore.Id.of_string("c388a870-77c3-452e-ab2b-9f4621b56dd2"))
    ];
  term =
  (Match (
     { ids =
       [Option.get(Haz3lcore.Id.of_string("61fee401-594b-459c-a4b5-964007d15a74"))
         ];
       term = (String "7H+=\"N") },
     [({ ids =
         [Option.get(Haz3lcore.Id.of_string("ce8fd52a-d554-486d-9042-40ef6a595991"))
           ];
         term =
         (ListLit
            [{ ids =
               [Option.get(Haz3lcore.Id.of_string("370f68f2-c0c7-4acb-9c55-a3ce379c4049"))
                 ];
               term = (Int -799086029) };
              { ids =
                [Option.get(Haz3lcore.Id.of_string("c67201d4-4284-478b-ae49-380fbfeecc8c"))
                  ];
                term = (Float 423970.622905) }
              ])
         },
       { ids =
         [Option.get(Haz3lcore.Id.of_string("64d47774-e466-4ecf-96f5-863dcf24cb91"))
           ];
         term = (Float -1584110.03915) });
       ({ ids =
          [Option.get(Haz3lcore.Id.of_string("22b6eeec-5c0c-40d3-b34e-30466fd2bd2a"))
            ];
          term =
          (ListLit
             [{ ids =
                [Option.get(Haz3lcore.Id.of_string("67b160eb-eae5-4986-af93-fee15ead38bd"))
                  ];
                term = (Bool true) };
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("1a7b7786-b860-4945-a9d9-28154f677316"))
                   ];
                 term = (String "\"efp]<u") }
               ])
          },
        { ids =
          [Option.get(Haz3lcore.Id.of_string("af0058de-4dec-44c9-a16d-7e26adc96e39"))
            ];
          term = (Float -0.0997113246985) });
       ({ ids =
          [Option.get(Haz3lcore.Id.of_string("fffdccc9-3033-48dc-a1f7-050b61e40a9b"))
            ];
          term =
          (ListLit
             [{ ids =
                [Option.get(Haz3lcore.Id.of_string("bd2bbcdc-4e8a-4424-8a41-72896e246a88"))
                  ];
                term =
                (ListLit
                   [{ ids =
                      [Option.get(Haz3lcore.Id.of_string("ef2026dd-8bb0-4065-b195-0d5ae04dca39"))
                        ];
                      term = (Bool true) }
                     ])
                }
               ])
          },
        { ids =
          [Option.get(Haz3lcore.Id.of_string("95142242-b0e0-493e-824f-50b52a5a09c1"))
            ];
          term = (Var "MxmHH,l") });
       ({ ids =
          [Option.get(Haz3lcore.Id.of_string("786ac133-7991-46ed-b471-4865373f1b73"))
            ];
          term =
          (ListLit
             [{ ids =
                [Option.get(Haz3lcore.Id.of_string("2422eea0-909b-4c83-b806-4e5b67d69eb3"))
                  ];
                term = (Int 437528848) };
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("e9c8b5e7-e95c-41fd-bdbd-45ea7789d776"))
                   ];
                 term = (Float 0.000233069767111) }
               ])
          },
        { ids =
          [Option.get(Haz3lcore.Id.of_string("c72c9f76-fdc8-4146-b700-866682d24a7a"))
            ];
          term = (Int -531440078) })
       ]
     ))
  }

Check failure on line 0 in junit_tests.xml

See this annotation in the file changed.

@github-actions github-actions / Test Report

Dynamics ► Dynamics.Random tests ► Type assignment

Failed test found in:
  junit_tests.xml
Error:
  Alcotest assertion failure
Raw output
Alcotest assertion failure
FAIL Term: { ids =
  [Option.get(Haz3lcore.Id.of_string("47183905-d87a-4ef9-ad61-74be8e4d0a4d"))
    ];
  term =
  (If (
     { ids =
       [Option.get(Haz3lcore.Id.of_string("d0802d82-60b4-450c-8fd9-e21e20cae5ca"))
         ];
       term =
       (BinOp ((Float Minus),
          { ids =
            [Option.get(Haz3lcore.Id.of_string("1c9c5566-4e99-4023-b3dc-0e3b8c33fe10"))
              ];
            term =
            (Fun (
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("6dcffc11-3a53-4919-9622-cf4a9fcef4d9"))
                   ];
                 term =
                 (TypeAnn (
                    { ids =
                      [Option.get(Haz3lcore.Id.of_string("6cb0bbd1-ecfd-467a-be95-b15db0301b4c"))
                        ];
                      term = (Var "u')V/\n[") },
                    { ids =
                      [Option.get(Haz3lcore.Id.of_string("d9b32236-f29f-40ab-97e0-2d2bd0658b7b"))
                        ];
                      term =
                      (List
                         { ids =
                           [Option.get(Haz3lcore.Id.of_string("25854e94-c465-498e-bf99-7c23d031a0e5"))
                             ];
                           term = Int })
                      }
                    ))
                 },
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("3fe32ba3-53c4-41f1-b1b6-9afa372c23ee"))
                   ];
                 term = (Bool true) }
               ))
            },
          { ids =
            [Option.get(Haz3lcore.Id.of_string("ecc95da7-33db-4d6f-8134-a5e6998c8c21"))
              ];
            term =
            (BinOp ((Float Power),
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("ab286bbb-469f-4704-9070-61171c0aaad2"))
                   ];
                 term = (String "vk_NqcX") },
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("eb92f08c-95c3-47f0-b8ae-146c4fc34f43"))
                   ];
                 term = (Float -0.000392356862285) }
               ))
            }
          ))
       },
     { ids =
       [Option.get(Haz3lcore.Id.of_string("8a8bea85-2287-46ac-8fba-f98831c5327e"))
         ];
       term =
       (If (
          { ids =
            [Option.get(Haz3lcore.Id.of_string("1f5a0358-8036-4159-8f5e-ea2a4c4b14ec"))
              ];
            term =
            (BinOp ((Int Times),
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("1e19c541-84ca-4ad1-aedf-2bdc98fc0e8b"))
                   ];
                 term = (Float -49.6318179625) },
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("2288d46e-2ec8-41ba-9426-7018db531333"))
                   ];
                 term = (Int 444117002) }
               ))
            },
          { ids =
            [Option.get(Haz3lcore.Id.of_string("9f22956d-8813-40dc-a608-d7752d4e6893"))
              ];
            term =
            (BinOp ((Int Plus),
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("5542da17-eb04-4106-9a96-878c28d27189"))
                   ];
                 term = (Float -54149.3940454) },
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("1f548689-8804-4055-9ab1-6b2c1cec4109"))
                   ];
                 term = (Bool true) }
               ))
            },
          { ids =
            [Option.get(Haz3lcore.Id.of_string("69c6753d-7cb5-44fe-83b7-96444bc74ccf"))
              ];
            term =
            (Fun (
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("586ff071-8d2c-409b-923b-13787a8eec22"))
                   ];
                 term =
                 (TypeAnn (
                    { ids =
                      [Option.get(Haz3lcore.Id.of_string("fb2e8a2b-9223-48ec-b048-7071994efc57"))
                        ];
                      term = (Var "%Pd") },
                    { ids =
                      [Option.get(Haz3lcore.Id.of_string("0bb48007-fecf-4498-885b-753b6d47ea61"))
                        ];
                      term =
                      (Arrow (
                         { ids =
                           [Option.get(Haz3lcore.Id.of_string("f7da21e8-8d14-478b-aad2-aaec95ea3e9d"))
                             ];
                           term = Int },
                         { ids =
                           [Option.get(Haz3lcore.Id.of_string("12d945a1-5706-4d41-a54c-8c06773f56b1"))
                             ];
                           term = Bool }
                         ))
                      }
                    ))
                 },
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("483718f3-a5b2-42c3-aaba-4e1f16a4cb13"))
                   ];
                 term = (String "GFN\"lV_H") }
               ))
            }
          ))
       },
     { ids =
       [Option.get(Haz3lcore.Id.of_string("d3a1a4ff-ca74-4356-9386-53a6023bd331"))
         ];
       term =
       (If (
          { ids =
            [Option.get(Haz3lcore.Id.of_string("98b5434a-7f09-40a6-aab3-b02a3884ec1f"))
              ];
            term =
            (Match (
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("ad100011-7ddf-42e3-96e1-3ee178ebb1d2"))
                   ];
                 term = (String "N") },
               [({ ids =
                   [Option.get(Haz3lcore.Id.of_string("be2d49e9-050e-43ba-b203-b05e234f6715"))
                     ];
                   term =
                   (ListLit
                      [{ ids =
                         [Option.get(Haz3lcore.Id.of_string("3d37c4c2-9c0f-44d7-9b47-f554b12807a8"))
                           ];
                         term = (Bool true) };
                        { ids =
                          [Option.get(Haz3lcore.Id.of_string("ada6fb1e-f615-484d-9272-2ea8b12635f0"))
                            ];
                          term = (Int -615065639) }
                        ])
                   },
                 { ids =
                   [Option.get(Haz3lcore.Id.of_string("9fd2a3e4-9499-44cb-b944-99a251889ae0"))
                     ];
                   term = (Int -539917028) });
                 ({ ids =
                    [Option.get(Haz3lcore.Id.of_string("43575ef3-bdd6-4221-87f8-94694fcd0d10"))
                      ];
                    term =
                    (ListLit
                       [{ ids =
                          [Option.get(Haz3lcore.Id.of_string("b926118c-5602-4b95-9005-0a8bd5511c1e"))
                            ];
                          term = (Bool false) };
                         { ids =
                           [Option.get(Haz3lcore.Id.of_string("999a83d5-c585-4ef4-b067-3af10dd39b4a"))
                             ];
                           term = (Float -3.6741738767e-06) }
                         ])
                    },
                  { ids =
                    [Option.get(Haz3lcore.Id.of_string("4dfd5e4e-5991-4ae1-b9f2-1ea2a6df6ee5"))
                      ];
                    term = (Var "a_m5zcWB") });
                 ({ ids =
                    [Option.get(Haz3lcore.Id.of_string("63377ebc-60ca-4e8d-abb0-8b6b11f1d54b"))
                      ];
                    term =
                    (ListLit
                       [{ ids =
                          [Option.get(Haz3lcore.Id.of_string("ba1cb74f-c1d5-42c9-a7de-5ed64b037670"))
                            ];
                          term =
                          (ListLit
                             [{ ids =
                                [Option.get(Haz3lcore.Id.of_string("2853525e-86bd-41ea-8815-3e11247c26ca"))
                                  ];
                                term = (Var "l,") };
                               { ids =
                                 [Option.get(Haz3lcore.Id.of_string("0cd79f76-551f-4e98-991a-26d6a9b8d51b"))
                                   ];
                                 term = (Var "cS#Bo4") }
                               ])
                          }
                         ])
                    },
                  { ids =
                    [Option.get(Haz3lcore.Id.of_string("99a53a20-e086-42e9-8b18-96bb609186f4"))
                      ];
                    term = (Bool false) })
                 ]
               ))
            },
          { ids =
            [Option.get(Haz3lcore.Id.of_string("b807ab51-8120-4ae4-aaec-f00f94433657"))
              ];
            term =
            (ListLit
               [{ ids =
                  [Option.get(Haz3lcore.Id.of_string("f7e80106-bc1a-4606-b684-78dbefbe3a54"))
                    ];
                  term = (String "A") }
                 ])
            },
          { ids =
            [Option.get(Haz3lcore.Id.of_string("542b779d-4919-4d66-a239-ab3785a701c0"))
              ];
            term =
            (BinOp ((Float Equals),
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("2cf6c013-a1e2-4156-9002-8c610e1b9f82"))
                   ];
                 term = (Int -419691547) },
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("8465479a-a80b-4f15-9102-d4b28a88e5f3"))
                   ];
                 term = (Bool false) }
               ))
            }
          ))
       }
     ))
  }

Check failure on line 0 in junit_tests.xml

See this annotation in the file changed.

@github-actions github-actions / Test Report

Dynamics ► Dynamics.Random tests ► Type assignment

Failed test found in:
  junit_tests.xml
Error:
  Alcotest assertion failure
Raw output
Alcotest assertion failure
FAIL Term: { ids =
  [Option.get(Haz3lcore.Id.of_string("8057ee05-71d8-426c-a7f7-350db72268b9"))
    ];
  term =
  (Match (
     { ids =
       [Option.get(Haz3lcore.Id.of_string("5aec00d5-60ad-45c8-89a0-9659d6230c8a"))
         ];
       term = (String "V2/H65.") },
     [({ ids =
         [Option.get(Haz3lcore.Id.of_string("e695c526-90e1-45d7-99d1-cbcd6bf2e21f"))
           ];
         term = (Bool false) },
       { ids =
         [Option.get(Haz3lcore.Id.of_string("6abdf147-04cf-4c38-9e94-beae6a03c2a2"))
           ];
         term = (Float -0.000111566386671) });
       ({ ids =
          [Option.get(Haz3lcore.Id.of_string("8cc92d0d-5623-4192-b3fd-4ff1002a126b"))
            ];
          term = (Float 401476.457504) },
        { ids =
          [Option.get(Haz3lcore.Id.of_string("dacd3773-6242-4ab5-a97e-26401550cc2f"))
            ];
          term = (Var "3Kf)1#") });
       ({ ids =
          [Option.get(Haz3lcore.Id.of_string("ddb07738-5f93-41eb-9423-95791545a3d8"))
            ];
          term = (Var "4") },
        { ids =
          [Option.get(Haz3lcore.Id.of_string("501b9f0f-993f-40b8-b70a-ee8322028e7c"))
            ];
          term = (Var "bb") });
       ({ ids =
          [Option.get(Haz3lcore.Id.of_string("c935e787-5983-4edb-acc7-b56b084fda3a"))
            ];
          term =
          (ListLit
             [{ ids =
                [Option.get(Haz3lcore.Id.of_string("f9d02177-034a-4d98-88d8-45fd6c75cca4"))
                  ];
                term = (String "Az.)l-") }
               ])
          },
        { ids =
          [Option.get(Haz3lcore.Id.of_string("f3c3e5e5-f748-4440-a934-b597ef0ca111"))
            ];
          term = (Bool true) })
       ]
     ))
  }

Check failure on line 0 in junit_tests.xml

See this annotation in the file changed.

@github-actions github-actions / Test Report

Dynamics ► Dynamics.Random tests ► Type assignment

Failed test found in:
  junit_tests.xml
Error:
  Alcotest assertion failure
Raw output
Alcotest assertion failure
FAIL Term: { ids =
  [Option.get(Haz3lcore.Id.of_string("0300cc3f-b14c-452e-ad85-6bd7d5927d78"))
    ];
  term =
  (Ap (
     { ids =
       [Option.get(Haz3lcore.Id.of_string("6ad8dab3-a8db-406c-819d-a9848ef0d521"))
         ];
       term =
       (BinOp ((Float GreaterThan),
          { ids =
            [Option.get(Haz3lcore.Id.of_string("1d14c2b6-a745-4526-b1c1-fa1f9e942fd0"))
              ];
            term = (Float 8.11647875518e-07) },
          { ids =
            [Option.get(Haz3lcore.Id.of_string("abc78e7a-8aee-4d78-84da-307a32623acd"))
              ];
            term = (Float 385.514662258) }
          ))
       },
     { ids =
       [Option.get(Haz3lcore.Id.of_string("bba8b12e-2d02-4028-aa1b-cede3c1a8da7"))
         ];
       term =
       (If (
          { ids =
            [Option.get(Haz3lcore.Id.of_string("050570fd-3491-4806-890d-89e4a82f35c7"))
              ];
            term = (String "0/z3c?") },
          { ids =
            [Option.get(Haz3lcore.Id.of_string("c107f9e8-3990-43d5-b59c-57be7c6a828e"))
              ];
            term = (Bool false) },
          { ids =
            [Option.get(Haz3lcore.Id.of_string("e1d3d812-982d-4100-96d0-36de9f378b58"))
              ];
            term = (String "18v6m") }
          ))
       }
     ))
  }

Check failure on line 0 in junit_tests.xml

See this annotation in the file changed.

@github-actions github-actions / Test Report

Dynamics ► Dynamics.Random tests ► Type assignment

Failed test found in:
  junit_tests.xml
Error:
  Alcotest assertion failure
Raw output
Alcotest assertion failure
FAIL Term: { ids =
  [Option.get(Haz3lcore.Id.of_string("2d2e9425-c23e-414d-899a-4c4e70b6d199"))
    ];
  term =
  (BinOp ((Float Plus),
     { ids =
       [Option.get(Haz3lcore.Id.of_string("74959319-901b-4a1c-9be8-87a5fa1a3927"))
         ];
       term =
       (Ap (
          { ids =
            [Option.get(Haz3lcore.Id.of_string("6af4bd33-0323-49ce-9324-328fe39b7470"))
              ];
            term = (Float -6.20824429552e-06) },
          { ids =
            [Option.get(Haz3lcore.Id.of_string("c57f0593-c7d1-418b-a0da-36ce0be6bf5f"))
              ];
            term = (Int -670061511) }
          ))
       },
     { ids =
       [Option.get(Haz3lcore.Id.of_string("b21cdc99-19c5-461f-8655-d124a7d662b8"))
         ];
       term =
       (BinOp ((Float Divide),
          { ids =
            [Option.get(Haz3lcore.Id.of_string("c7930e87-f1f9-4102-9cfc-e429e95fd761"))
              ];
            term = (String ",G(:8KaR") },
          { ids =
            [Option.get(Haz3lcore.Id.of_string("90057a30-e08f-4b62-8745-0c53b8f08647"))
              ];
            term = (String "N^X18[A,") }
          ))
       }
     ))
  }

Check failure on line 0 in junit_tests.xml

See this annotation in the file changed.

@github-actions github-actions / Test Report

Dynamics ► Dynamics.Random tests ► Type assignment

Failed test found in:
  junit_tests.xml
Error:
  Alcotest assertion failure
Raw output
Alcotest assertion failure
FAIL Term: { ids =
  [Option.get(Haz3lcore.Id.of_string("3861e65a-93e5-4fe9-90a1-a9ca03abfcf7"))
    ];
  term =
  (Ap (
     { ids =
       [Option.get(Haz3lcore.Id.of_string("38ed5a59-c94c-44c8-9b41-e3802eee8bd6"))
         ];
       term =
       (BinOp ((Int LessThan),
          { ids =
            [Option.get(Haz3lcore.Id.of_string("9f3d210b-5d8d-46ef-8d24-5c8119e08b21"))
              ];
            term =
            (BinOp ((Bool Or),
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("441bdcbc-82d0-4a5a-b079-a05c3b15c823"))
                   ];
                 term = (Float -10.1361250871) },
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("4864c931-8db0-431a-9720-ade7fd94c736"))
                   ];
                 term = (Float -0.000134847910768) }
               ))
            },
          { ids =
            [Option.get(Haz3lcore.Id.of_string("ce1b7f78-7903-46d1-a32f-4b60e87333e6"))
              ];
            term =
            (ListLit
               [{ ids =
                  [Option.get(Haz3lcore.Id.of_string("6da598d0-3382-4029-91e3-c6d248d0f515"))
                    ];
                  term = (String "^j+") };
                 { ids =
                   [Option.get(Haz3lcore.Id.of_string("ba40f9b7-8011-41d2-90b2-b49297f75f96"))
                     ];
                   term = (Var "]qss") };
                 { ids =
                   [Option.get(Haz3lcore.Id.of_string("f7bf86f4-926c-4d35-97cc-4aeb39b0a6d6"))
                     ];
                   term = (Int 576907713) };
                 { ids =
                   [Option.get(Haz3lcore.Id.of_string("d533a0af-e738-4a39-9d97-cce5c9281434"))
                     ];
                   term = (Int -619501187) };
                 { ids =
                   [Option.get(Haz3lcore.Id.of_string("db92c86f-9ad8-4f4b-a194-9defa793b602"))
                     ];
                   term = (Var "wf&P#G}") }
                 ])
            }
          ))
       },
     { ids =
       [Option.get(Haz3lcore.Id.of_string("17440a56-1c78-4fe5-b0db-5aba040619de"))
         ];
       term =
       (ListLit
          [{ ids =
             [Option.get(Haz3lcore.Id.of_string("96ccc3bc-6a62-4525-801a-6ad99ac05a0c"))
               ];
             term =
             (BinOp ((Int Plus),
                { ids =
                  [Option.get(Haz3lcore.Id.of_string("f7bacfb6-7d66-4f27-a257-5046d503b8e1"))
                    ];
                  term = (Bool false) },
                { ids =
                  [Option.get(Haz3lcore.Id.of_string("23c73b2b-64a0-46e2-b64e-18b0da1e327c"))
                    ];
                  term = (Int -583456810) }
                ))
             };
            { ids =
              [Option.get(Haz3lcore.Id.of_string("d48f16db-84cf-4f62-b87e-10d14287ab65"))
                ];
              term =
              (Ap (
                 { ids =
                   [Option.get(Haz3lcore.Id.of_string("5da0cfc9-1f96-4f64-a42c-eb1810822cf8"))
                     ];
                   term = (Float -0.00022921693814) },
                 { ids =
                   [Option.get(Haz3lcore.Id.of_string("f4c044cf-800a-40bf-916f-aab9a3623106"))
                     ];
                   term = (Var "@") }
                 ))
              }
            ])
       }
     ))
  }

Check failure on line 0 in junit_tests.xml

See this annotation in the file changed.

@github-actions github-actions / Test Report

Dynamics ► Dynamics.Random tests ► Type assignment

Failed test found in:
  junit_tests.xml
Error:
  Alcotest assertion failure
Raw output
Alcotest assertion failure
FAIL Term: { ids =
  [Option.get(Haz3lcore.Id.of_string("ee9595bb-abb8-4e0f-aa3d-8f934030e820"))
    ];
  term =
  (BinOp ((Bool Or),
     { ids =
       [Option.get(Haz3lcore.Id.of_string("e840fa0c-886e-4b99-a7fd-f9cbd1f65075"))
         ];
       term =
       (Ap (
          { ids =
            [Option.get(Haz3lcore.Id.of_string("2293a91f-6d31-4a4e-96d1-463843d98feb"))
              ];
            term =
            (BinOp ((Float NotEquals),
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("20bf4b3c-be8f-49fc-87a2-88a0264c45c2"))
                   ];
                 term = (Int -397346139) },
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("4f00c66f-1959-40b5-a055-f8f43e347a9f"))
                   ];
                 term = (Float 0.000480021387543) }
               ))
            },
          { ids =
            [Option.get(Haz3lcore.Id.of_string("4e4da336-af3d-49d4-9d16-a5e12e3f2c67"))
              ];
            term =
            (Ap (
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("94dd6a6e-d1a6-41e4-9110-0b446a27a955"))
                   ];
                 term = (String "y[O&") },
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("f76058b8-63eb-4525-802f-a76450bd9874"))
                   ];
                 term = (Bool false) }
               ))
            }
          ))
       },
     { ids =
       [Option.get(Haz3lcore.Id.of_string("dca413fc-6a1c-40ad-83bf-dade92444262"))
         ];
       term =
       (Fun (
          { ids =
            [Option.get(Haz3lcore.Id.of_string("1563aad5-0303-4c94-8260-5d991cb6abc7"))
              ];
            term =
            (TypeAnn (
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("8e2e1cdc-29ab-4fdc-ae28-81049c6bf56f"))
                   ];
                 term = (Var "w%K") },
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("4c055eb5-d71f-429f-b758-0313a9c56d27"))
                   ];
                 term =
                 (List
                    { ids =
                      [Option.get(Haz3lcore.Id.of_string("6e9e7c27-1f20-4a70-9501-7b1000955489"))
                        ];
                      term = Bool })
                 }
               ))
            },
          { ids =
            [Option.get(Haz3lcore.Id.of_string("e867b539-4dfc-42da-9305-568dcc5932c2"))
              ];
            term =
            (BinOp ((Int Power),
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("00a11802-6cca-473f-ac39-2263583f93f8"))
                   ];
                 term = (Var "\"g") },
               { ids =
                 [Option.get(Haz3lcore.Id.of_string("f70f3907-ce7b-4ad1-ad9f-0a25d5b809e3"))
                   ];
                 term = (Int 738769130) }
               ))
            }
          ))
       }
     ))
  }