mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
Update invariant tests outputs
This commit is contained in:
parent
2823795f9f
commit
a1c1a7756f
@ -36,7 +36,8 @@ let check_invariant (inv : string * invariant_expr) (p : typed program) : bool =
|
||||
match inv p.decl_ctx e with
|
||||
| Ignore -> true
|
||||
| Fail ->
|
||||
Message.raise_spanned_error (Expr.pos e) "%s failed\n\n%a" name
|
||||
Message.raise_spanned_error (Expr.pos e)
|
||||
"@[<v 2>Invariant @{<magenta>%s@} failed.@,%a@]" name
|
||||
(Print.expr ()) e
|
||||
| Pass ->
|
||||
incr ok;
|
||||
@ -51,8 +52,7 @@ let check_invariant (inv : string * invariant_expr) (p : typed program) : bool =
|
||||
e')
|
||||
in
|
||||
assert (Bindlib.free_vars p' = Bindlib.empty_ctxt);
|
||||
Message.emit_result "Invariant %s\n checked. result: [%d/%d]" name !ok
|
||||
!total;
|
||||
Message.emit_result "Invariant %s checked.@ result: [%d/%d]" name !ok !total;
|
||||
!result
|
||||
|
||||
(* Structural invariant: no default can have as type A -> B *)
|
||||
|
@ -74,24 +74,12 @@ champ d'application Exemple2:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [29344/29344]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [771/771]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [4571/4571]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [3046/3046]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [4571/4571]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [1396/1396]
|
||||
[RESULT] Invariant typing_defaults checked. result: [25044/25044]
|
||||
[RESULT] Invariant match_inversion checked. result: [771/771]
|
||||
[RESULT] Invariant app_inversion checked. result: [271/271]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [3046/3046]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [271/271]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [1396/1396]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -127,24 +127,12 @@ champ d'application Exemple4 :
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [29687/29687]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [771/771]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [4574/4574]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [3046/3046]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [4574/4574]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [1460/1460]
|
||||
[RESULT] Invariant typing_defaults checked. result: [25388/25388]
|
||||
[RESULT] Invariant match_inversion checked. result: [771/771]
|
||||
[RESULT] Invariant app_inversion checked. result: [275/275]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [3046/3046]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [275/275]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [1460/1460]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -33,24 +33,12 @@ champ d'application CasTest1:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [29117/29117]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [771/771]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [4563/4563]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [3046/3046]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [4563/4563]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [1356/1356]
|
||||
[RESULT] Invariant typing_defaults checked. result: [24823/24823]
|
||||
[RESULT] Invariant match_inversion checked. result: [771/771]
|
||||
[RESULT] Invariant app_inversion checked. result: [269/269]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [3046/3046]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [269/269]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [1356/1356]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -5,23 +5,11 @@
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [28966/28966]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [771/771]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [4557/4557]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [3046/3046]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [4557/4557]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [1332/1332]
|
||||
[RESULT] Invariant typing_defaults checked. result: [24676/24676]
|
||||
[RESULT] Invariant match_inversion checked. result: [771/771]
|
||||
[RESULT] Invariant app_inversion checked. result: [267/267]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [3046/3046]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [267/267]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [1332/1332]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
@ -5,23 +5,11 @@
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [3971/3971]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [18/18]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [802/802]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [96/96]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [802/802]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [284/284]
|
||||
[RESULT] Invariant typing_defaults checked. result: [3195/3195]
|
||||
[RESULT] Invariant match_inversion checked. result: [18/18]
|
||||
[RESULT] Invariant app_inversion checked. result: [26/26]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [96/96]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [26/26]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [284/284]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
@ -37,10 +37,10 @@ $ catala Interpret -s Dec
|
||||
division by zero at runtime
|
||||
|
||||
The division operator:
|
||||
┌─⯈ tests/test_arithmetic/bad/division_by_zero.catala_en:20.23-20.30:
|
||||
┌─⯈ tests/test_arithmetic/bad/division_by_zero.catala_en:20.26-20.27:
|
||||
└──┐
|
||||
20 │ definition i equals 1. / 0.
|
||||
│ ‾‾‾‾‾‾‾
|
||||
│ ‾
|
||||
└┬ `Division_by_zero` exception management
|
||||
└─ with decimals
|
||||
|
||||
@ -60,10 +60,10 @@ $ catala Interpret -s Int
|
||||
division by zero at runtime
|
||||
|
||||
The division operator:
|
||||
┌─⯈ tests/test_arithmetic/bad/division_by_zero.catala_en:10.23-10.28:
|
||||
┌─⯈ tests/test_arithmetic/bad/division_by_zero.catala_en:10.25-10.26:
|
||||
└──┐
|
||||
10 │ definition i equals 1 / 0
|
||||
│ ‾‾‾‾‾
|
||||
│ ‾
|
||||
└┬ `Division_by_zero` exception management
|
||||
└─ with integers
|
||||
|
||||
@ -83,10 +83,10 @@ $ catala Interpret -s Money
|
||||
division by zero at runtime
|
||||
|
||||
The division operator:
|
||||
┌─⯈ tests/test_arithmetic/bad/division_by_zero.catala_en:30.23-30.35:
|
||||
┌─⯈ tests/test_arithmetic/bad/division_by_zero.catala_en:30.29-30.30:
|
||||
└──┐
|
||||
30 │ definition i equals $10.0 / $0.0
|
||||
│ ‾‾‾‾‾‾‾‾‾‾‾‾
|
||||
│ ‾
|
||||
└┬ `Division_by_zero` exception management
|
||||
└─ with money
|
||||
|
||||
|
@ -16,24 +16,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [75/75]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [13/13]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [13/13]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [8/8]
|
||||
[RESULT] Invariant typing_defaults checked. result: [62/62]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [8/8]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -10,24 +10,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [16/16]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [2/2]
|
||||
[RESULT] Invariant typing_defaults checked. result: [14/14]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [2/2]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -27,24 +27,12 @@ scope B:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [121/121]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [18/18]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [7/7]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [18/18]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [10/10]
|
||||
[RESULT] Invariant typing_defaults checked. result: [104/104]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [1/1]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [7/7]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [1/1]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [10/10]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -33,24 +33,12 @@ scope B:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [115/115]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [16/16]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [7/7]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [16/16]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [7/7]
|
||||
[RESULT] Invariant typing_defaults checked. result: [105/105]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [6/6]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [7/7]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [6/6]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [7/7]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -35,24 +35,12 @@ scope S:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [225/225]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [46/46]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [14/14]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [46/46]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [2/2]
|
||||
[RESULT] Invariant typing_defaults checked. result: [181/181]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [14/14]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [2/2]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [2/2]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -14,24 +14,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [39/39]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [3/3]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [3/3]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [4/4]
|
||||
[RESULT] Invariant typing_defaults checked. result: [36/36]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [4/4]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -20,24 +20,12 @@ scope B:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [41/41]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [4/4]
|
||||
[RESULT] Invariant typing_defaults checked. result: [37/37]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [1/1]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [1/1]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [1/1]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [4/4]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -21,24 +21,12 @@ scope B:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [57/57]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [7/7]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [7/7]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [6/6]
|
||||
[RESULT] Invariant typing_defaults checked. result: [51/51]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [1/1]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [2/2]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [1/1]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [6/6]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -33,24 +33,12 @@ scope B:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [115/115]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [16/16]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [7/7]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [16/16]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [7/7]
|
||||
[RESULT] Invariant typing_defaults checked. result: [105/105]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [6/6]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [7/7]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [6/6]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [7/7]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -14,24 +14,12 @@ scope B:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [28/28]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [4/4]
|
||||
[RESULT] Invariant typing_defaults checked. result: [26/26]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [1/1]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [4/4]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -25,24 +25,12 @@ scope B:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [96/96]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [13/13]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [3/3]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [13/13]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [10/10]
|
||||
[RESULT] Invariant typing_defaults checked. result: [84/84]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [1/1]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [3/3]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [1/1]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [10/10]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -14,24 +14,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [39/39]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [4/4]
|
||||
[RESULT] Invariant typing_defaults checked. result: [34/34]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [1/1]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [4/4]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -12,24 +12,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [13/13]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [2/2]
|
||||
[RESULT] Invariant typing_defaults checked. result: [13/13]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [2/2]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -15,24 +15,12 @@ scope TestBool:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [47/47]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [7/7]
|
||||
[RESULT] Invariant typing_defaults checked. result: [45/45]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [2/2]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [7/7]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -12,24 +12,12 @@ scope TestBool:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [30/30]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [3/3]
|
||||
[RESULT] Invariant typing_defaults checked. result: [26/26]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [1/1]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [1/1]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [3/3]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -18,24 +18,12 @@ scope TestXor:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [85/85]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [8/8]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [8/8]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [12/12]
|
||||
[RESULT] Invariant typing_defaults checked. result: [81/81]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [4/4]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [4/4]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [12/12]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -27,24 +27,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [85/85]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [7/7]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [7/7]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [14/14]
|
||||
[RESULT] Invariant typing_defaults checked. result: [78/78]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [14/14]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -26,24 +26,12 @@ scope Test:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [51/51]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [4/4]
|
||||
[RESULT] Invariant typing_defaults checked. result: [49/49]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [3/3]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [2/2]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [3/3]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [4/4]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -26,24 +26,12 @@ champ d'application Test:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [51/51]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [4/4]
|
||||
[RESULT] Invariant typing_defaults checked. result: [49/49]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [3/3]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [2/2]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [3/3]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [4/4]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -16,24 +16,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [58/58]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [9/9]
|
||||
[RESULT] Invariant typing_defaults checked. result: [57/57]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [3/3]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [3/3]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [9/9]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -18,24 +18,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [96/96]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [12/12]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [12/12]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [12/12]
|
||||
[RESULT] Invariant typing_defaults checked. result: [88/88]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [4/4]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [4/4]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [12/12]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -18,24 +18,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [41/41]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [8/8]
|
||||
[RESULT] Invariant typing_defaults checked. result: [39/39]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [8/8]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -18,24 +18,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [70/70]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [11/11]
|
||||
[RESULT] Invariant typing_defaults checked. result: [68/68]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [3/3]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [3/3]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [11/11]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -15,24 +15,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [48/48]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [6/6]
|
||||
[RESULT] Invariant typing_defaults checked. result: [45/45]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [2/2]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [6/6]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -24,24 +24,12 @@ $ catala Typecheck --check-invariants
|
||||
└─┐
|
||||
6 │ definition w equals 3
|
||||
│ ‾‾‾‾‾‾‾‾‾‾‾‾
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [14/14]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [3/3]
|
||||
[RESULT] Invariant typing_defaults checked. result: [14/14]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [3/3]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -25,24 +25,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [62/62]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [3/3]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [3/3]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [9/9]
|
||||
[RESULT] Invariant typing_defaults checked. result: [62/62]
|
||||
[RESULT] Invariant match_inversion checked. result: [1/1]
|
||||
[RESULT] Invariant app_inversion checked. result: [3/3]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [2/2]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [3/3]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [9/9]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -20,24 +20,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [66/66]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [3/3]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [3/3]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [9/9]
|
||||
[RESULT] Invariant typing_defaults checked. result: [66/66]
|
||||
[RESULT] Invariant match_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant app_inversion checked. result: [3/3]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [4/4]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [3/3]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [9/9]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -20,24 +20,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [43/43]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [6/6]
|
||||
[RESULT] Invariant typing_defaults checked. result: [43/43]
|
||||
[RESULT] Invariant match_inversion checked. result: [1/1]
|
||||
[RESULT] Invariant app_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [2/2]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [2/2]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [6/6]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -40,24 +40,12 @@ scope Simple_case_2:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [90/90]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [6/6]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [12/12]
|
||||
[RESULT] Invariant typing_defaults checked. result: [90/90]
|
||||
[RESULT] Invariant match_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant app_inversion checked. result: [4/4]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [6/6]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [4/4]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [12/12]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -19,24 +19,12 @@ scope Bar:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [48/48]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [3/3]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [3/3]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [8/8]
|
||||
[RESULT] Invariant typing_defaults checked. result: [47/47]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [1/1]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [2/2]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [8/8]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -27,24 +27,12 @@ $ catala Typecheck --check-invariants
|
||||
8 │ definition x equals 1
|
||||
│ ‾‾‾‾‾‾‾‾‾‾‾‾
|
||||
└─ Foo
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [14/14]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [3/3]
|
||||
[RESULT] Invariant typing_defaults checked. result: [14/14]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [3/3]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -22,24 +22,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [59/59]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [10/10]
|
||||
[RESULT] Invariant typing_defaults checked. result: [56/56]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [2/2]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [10/10]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -16,24 +16,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [28/28]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [6/6]
|
||||
[RESULT] Invariant typing_defaults checked. result: [28/28]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [1/1]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [1/1]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [6/6]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -20,24 +20,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [37/37]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [9/9]
|
||||
[RESULT] Invariant typing_defaults checked. result: [37/37]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [1/1]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [1/1]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [9/9]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -50,24 +50,12 @@ scope Benefit:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [61/61]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [10/10]
|
||||
[RESULT] Invariant typing_defaults checked. result: [59/59]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [2/2]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [10/10]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -44,24 +44,12 @@ scope Test:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [84/84]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [7/7]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [7/7]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [15/15]
|
||||
[RESULT] Invariant typing_defaults checked. result: [78/78]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [1/1]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [1/1]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [15/15]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -23,24 +23,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [67/67]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [12/12]
|
||||
[RESULT] Invariant typing_defaults checked. result: [66/66]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [3/3]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [3/3]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [12/12]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -18,24 +18,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [28/28]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [6/6]
|
||||
[RESULT] Invariant typing_defaults checked. result: [28/28]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [1/1]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [1/1]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [6/6]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -24,24 +24,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [45/45]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [10/10]
|
||||
[RESULT] Invariant typing_defaults checked. result: [43/43]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [10/10]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -21,24 +21,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [55/55]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [12/12]
|
||||
[RESULT] Invariant typing_defaults checked. result: [55/55]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [2/2]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [12/12]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -15,24 +15,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [28/28]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [6/6]
|
||||
[RESULT] Invariant typing_defaults checked. result: [28/28]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [1/1]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [1/1]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [6/6]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -21,24 +21,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [55/55]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [12/12]
|
||||
[RESULT] Invariant typing_defaults checked. result: [55/55]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [2/2]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [12/12]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -33,17 +33,17 @@ $ catala Interpret -s S
|
||||
There is a conflict between multiple valid consequences for assigning the same variable.
|
||||
|
||||
This consequence has a valid justification:
|
||||
┌─⯈ tests/test_func/bad/bad_func.catala_en:14.65-14.70:
|
||||
┌─⯈ tests/test_func/bad/bad_func.catala_en:14.67-14.68:
|
||||
└──┐
|
||||
14 │ definition f of x under condition (x >= x) consequence equals x + x
|
||||
│ ‾‾‾‾‾
|
||||
│ ‾
|
||||
└─ Article
|
||||
|
||||
This consequence has a valid justification:
|
||||
┌─⯈ tests/test_func/bad/bad_func.catala_en:15.62-15.67:
|
||||
┌─⯈ tests/test_func/bad/bad_func.catala_en:15.64-15.65:
|
||||
└──┐
|
||||
15 │ definition f of x under condition not b consequence equals x * x
|
||||
│ ‾‾‾‾‾
|
||||
│ ‾
|
||||
└─ Article
|
||||
#return code 123#
|
||||
```
|
||||
|
@ -15,24 +15,12 @@ scope S:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [28/28]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [4/4]
|
||||
[RESULT] Invariant typing_defaults checked. result: [27/27]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [1/1]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [1/1]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [1/1]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [4/4]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -15,24 +15,12 @@ scope S:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [29/29]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [3/3]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [2/2]
|
||||
[RESULT] Invariant typing_defaults checked. result: [27/27]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [3/3]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [2/2]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [2/2]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -13,24 +13,12 @@ scope S:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [18/18]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [2/2]
|
||||
[RESULT] Invariant typing_defaults checked. result: [17/17]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [1/1]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [2/2]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -21,24 +21,12 @@ scope T:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [44/44]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [3/3]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [3/3]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [6/6]
|
||||
[RESULT] Invariant typing_defaults checked. result: [43/43]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [1/1]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [2/2]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [6/6]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -19,24 +19,12 @@ scope B:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [49/49]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [6/6]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [6/6]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [5/5]
|
||||
[RESULT] Invariant typing_defaults checked. result: [45/45]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [2/2]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [2/2]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [5/5]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -25,24 +25,12 @@ scope R:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [116/116]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [12/12]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [12/12]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [15/15]
|
||||
[RESULT] Invariant typing_defaults checked. result: [110/110]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [6/6]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [4/4]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [6/6]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [15/15]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -16,24 +16,12 @@ scope S:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [37/37]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [5/5]
|
||||
[RESULT] Invariant typing_defaults checked. result: [33/33]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [1/1]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [1/1]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [1/1]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [5/5]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -44,24 +44,12 @@ two closures in Foo.r are different even with optimizations enabled.
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [133/133]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [15/15]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [10/10]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [15/15]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [11/11]
|
||||
[RESULT] Invariant typing_defaults checked. result: [130/130]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [12/12]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [10/10]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [12/12]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [11/11]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -14,24 +14,12 @@ scope S:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [14/14]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [2/2]
|
||||
[RESULT] Invariant typing_defaults checked. result: [13/13]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [2/2]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -15,24 +15,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [34/34]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [5/5]
|
||||
[RESULT] Invariant typing_defaults checked. result: [30/30]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [5/5]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -26,24 +26,12 @@ scope Foo:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [58/58]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [12/12]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [12/12]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [4/4]
|
||||
[RESULT] Invariant typing_defaults checked. result: [46/46]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [4/4]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -17,24 +17,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [66/66]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [14/14]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [14/14]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [7/7]
|
||||
[RESULT] Invariant typing_defaults checked. result: [52/52]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [7/7]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -17,24 +17,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [54/54]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [8/8]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [8/8]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [7/7]
|
||||
[RESULT] Invariant typing_defaults checked. result: [46/46]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [7/7]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -18,24 +18,12 @@ scope Foo:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [40/40]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [4/4]
|
||||
[RESULT] Invariant typing_defaults checked. result: [39/39]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [3/3]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [2/2]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [3/3]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [4/4]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -19,24 +19,12 @@ scope Foo:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [56/56]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [3/3]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [7/7]
|
||||
[RESULT] Invariant typing_defaults checked. result: [55/55]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [4/4]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [3/3]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [4/4]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [7/7]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -15,24 +15,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [34/34]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [5/5]
|
||||
[RESULT] Invariant typing_defaults checked. result: [30/30]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [5/5]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -30,24 +30,12 @@ $ catala Typecheck --check-invariants
|
||||
5 │ -- C content boolean
|
||||
│ ‾
|
||||
└─ Test
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [40/40]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [5/5]
|
||||
[RESULT] Invariant typing_defaults checked. result: [38/38]
|
||||
[RESULT] Invariant match_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [4/4]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [5/5]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -30,24 +30,12 @@ $ catala Typecheck --check-invariants
|
||||
5 │ -- C content boolean
|
||||
│ ‾
|
||||
└─ Test
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [37/37]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [5/5]
|
||||
[RESULT] Invariant typing_defaults checked. result: [36/36]
|
||||
[RESULT] Invariant match_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [4/4]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [5/5]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -29,24 +29,12 @@ $ catala Typecheck --check-invariants
|
||||
5 │ -- C content boolean
|
||||
│ ‾
|
||||
└─ Test
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [34/34]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [5/5]
|
||||
[RESULT] Invariant typing_defaults checked. result: [34/34]
|
||||
[RESULT] Invariant match_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [4/4]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [5/5]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -19,24 +19,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [31/31]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [5/5]
|
||||
[RESULT] Invariant typing_defaults checked. result: [29/29]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [5/5]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -23,24 +23,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [33/33]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [5/5]
|
||||
[RESULT] Invariant typing_defaults checked. result: [33/33]
|
||||
[RESULT] Invariant match_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [4/4]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [5/5]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -16,24 +16,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [48/48]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [7/7]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [7/7]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [7/7]
|
||||
[RESULT] Invariant typing_defaults checked. result: [44/44]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [3/3]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [1/1]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [3/3]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [7/7]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -15,24 +15,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [13/13]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [2/2]
|
||||
[RESULT] Invariant typing_defaults checked. result: [13/13]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [1/1]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [1/1]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [1/1]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [2/2]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -17,24 +17,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [54/54]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [8/8]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [8/8]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [7/7]
|
||||
[RESULT] Invariant typing_defaults checked. result: [46/46]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [7/7]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -12,24 +12,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [31/31]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [7/7]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [7/7]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [2/2]
|
||||
[RESULT] Invariant typing_defaults checked. result: [24/24]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [2/2]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -15,24 +15,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [34/34]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [5/5]
|
||||
[RESULT] Invariant typing_defaults checked. result: [30/30]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [5/5]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -18,24 +18,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [49/49]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [9/9]
|
||||
[RESULT] Invariant typing_defaults checked. result: [45/45]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [9/9]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -22,24 +22,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [48/48]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [6/6]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [6/6]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [5/5]
|
||||
[RESULT] Invariant typing_defaults checked. result: [42/42]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [5/5]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -19,24 +19,12 @@ scope ScopeB:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [25/25]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [4/4]
|
||||
[RESULT] Invariant typing_defaults checked. result: [25/25]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [1/1]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [1/1]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [4/4]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -33,24 +33,12 @@ scope C:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [126/126]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [7/7]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [3/3]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [7/7]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [19/19]
|
||||
[RESULT] Invariant typing_defaults checked. result: [126/126]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [7/7]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [3/3]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [7/7]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [19/19]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -16,24 +16,12 @@ $ catala Typecheck --check-invariants
|
||||
5 │ output bar content integer
|
||||
│ ‾‾‾
|
||||
└─ Test
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [6/6]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [1/1]
|
||||
[RESULT] Invariant typing_defaults checked. result: [6/6]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [1/1]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -24,24 +24,12 @@ scope Foo:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [90/90]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [12/12]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [12/12]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [6/6]
|
||||
[RESULT] Invariant typing_defaults checked. result: [85/85]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [7/7]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [5/5]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [7/7]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [6/6]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -22,24 +22,12 @@ scope Titi:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [94/94]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [9/9]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [7/7]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [9/9]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [11/11]
|
||||
[RESULT] Invariant typing_defaults checked. result: [93/93]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [8/8]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [7/7]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [8/8]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [11/11]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -20,24 +20,12 @@ scope RentComputation:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [69/69]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [9/9]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [6/6]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [9/9]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [8/8]
|
||||
[RESULT] Invariant typing_defaults checked. result: [67/67]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [7/7]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [6/6]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [7/7]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [8/8]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -26,24 +26,12 @@ scope RentComputation:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [129/129]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [19/19]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [13/13]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [19/19]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [13/13]
|
||||
[RESULT] Invariant typing_defaults checked. result: [126/126]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [16/16]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [13/13]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [16/16]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [13/13]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -12,24 +12,12 @@ scope Foo:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [10/10]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [2/2]
|
||||
[RESULT] Invariant typing_defaults checked. result: [10/10]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [2/2]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -27,24 +27,12 @@ scope B:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [140/140]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [9/9]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [6/6]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [9/9]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [17/17]
|
||||
[RESULT] Invariant typing_defaults checked. result: [138/138]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [7/7]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [6/6]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [7/7]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [17/17]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -34,24 +34,12 @@ scope C:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [153/153]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [11/11]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [7/7]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [11/11]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [19/19]
|
||||
[RESULT] Invariant typing_defaults checked. result: [150/150]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [8/8]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [7/7]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [8/8]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [19/19]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -21,24 +21,12 @@ scope Caller:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [75/75]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [6/6]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [3/3]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [6/6]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [9/9]
|
||||
[RESULT] Invariant typing_defaults checked. result: [74/74]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [5/5]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [3/3]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [5/5]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [9/9]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -23,24 +23,12 @@ scope Caller:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [96/96]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [6/6]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [6/6]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [16/16]
|
||||
[RESULT] Invariant typing_defaults checked. result: [95/95]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [5/5]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [4/4]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [5/5]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [16/16]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -27,24 +27,12 @@ $ catala Typecheck --check-invariants
|
||||
7 │ declaration structure Bar:
|
||||
│ ‾‾‾
|
||||
└─ Article
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [20/20]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [4/4]
|
||||
[RESULT] Invariant typing_defaults checked. result: [20/20]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [4/4]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -38,24 +38,12 @@ scope B:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [84/84]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [4/4]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [9/9]
|
||||
[RESULT] Invariant typing_defaults checked. result: [84/84]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [4/4]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [1/1]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [4/4]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [9/9]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -27,24 +27,12 @@ $ catala Typecheck --check-invariants
|
||||
7 │ declaration structure Bar:
|
||||
│ ‾‾‾
|
||||
└─ Article
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [39/39]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [6/6]
|
||||
[RESULT] Invariant typing_defaults checked. result: [39/39]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [2/2]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [6/6]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -21,24 +21,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [44/44]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [3/3]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [3/3]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [6/6]
|
||||
[RESULT] Invariant typing_defaults checked. result: [43/43]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [2/2]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [6/6]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -49,24 +49,12 @@ $ catala Typecheck --check-invariants
|
||||
└─┐
|
||||
2 │ declaration enumeration Enum:
|
||||
│ ‾‾‾‾
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [16/16]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [2/2]
|
||||
[RESULT] Invariant typing_defaults checked. result: [16/16]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [2/2]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -61,24 +61,12 @@ scope S:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [581/581]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [148/148]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [148/148]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [32/32]
|
||||
[RESULT] Invariant typing_defaults checked. result: [433/433]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [32/32]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -19,24 +19,12 @@ scope A:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [32/32]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [2/2]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [6/6]
|
||||
[RESULT] Invariant typing_defaults checked. result: [30/30]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [0/0]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [0/0]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [6/6]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
@ -34,24 +34,12 @@ scope B:
|
||||
|
||||
```catala-test-inline
|
||||
$ catala Typecheck --check-invariants
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_typing_defaults
|
||||
checked. result: [85/85]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_match_inversion
|
||||
checked. result: [0/0]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_app_inversion
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_return_a_function
|
||||
checked. result: [1/1]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_no_partial_evaluation
|
||||
checked. result: [5/5]
|
||||
[RESULT]
|
||||
Invariant Dcalc__Invariants.invariant_default_no_arrow
|
||||
checked. result: [15/15]
|
||||
[RESULT] Invariant typing_defaults checked. result: [82/82]
|
||||
[RESULT] Invariant match_inversion checked. result: [0/0]
|
||||
[RESULT] Invariant app_inversion checked. result: [2/2]
|
||||
[RESULT] Invariant no_return_a_function checked. result: [1/1]
|
||||
[RESULT] Invariant no_partial_evaluation checked. result: [2/2]
|
||||
[RESULT] Invariant default_no_arrow checked. result: [15/15]
|
||||
[RESULT] Typechecking successful!
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user