Commit Graph

225 Commits

Author SHA1 Message Date
Bartosz Woźniak
3323f47a94 add beginning of polish civil law tax 2021-05-08 17:38:52 +02:00
Denis Merigoux
2cad9823f7
Update after pair programming session on allocations familiales
Reviewers: Liane Huttner, Wissem Haddag, Marie Moy, Anastasia de Chanaud, Athénaïs Giscard d'Estaing
2021-04-14 23:00:46 +02:00
Denis Merigoux
e7d93a3020 Added last decret to cover 2021 2021-04-12 00:22:15 +02:00
Denis Merigoux
eaeebba72c
Basic logging exposed in Javascript
Lacks value embedding though
2021-04-03 19:31:38 +02:00
Denis Merigoux
c660720d18 Pair programming session on allocations familiales 2021-03-30 17:56:56 +02:00
Denis Merigoux
86e7c4ff34
Fixes #95 and #96 2021-03-19 17:36:09 +01:00
Denis Merigoux
c2bc7e9323 Fixed unit test 2021-03-18 18:23:04 +01:00
Denis Merigoux
76c86b6e6b Fixed subtle allocations familiales bugs in unreviewed part 2021-03-18 18:13:02 +01:00
Denis Merigoux
c67abdd0c5
Updating the allocations familiales library, various fixes 2021-03-17 19:35:21 +01:00
Denis Merigoux
c9c0fcea6c
Update allocations familiales after pair programming session 2021-03-17 16:00:48 +01:00
Jonathan Protzenko
fd1f72a313 Merge branch 'master' of github.com:CatalaLang/catala 2021-03-16 15:03:26 -06:00
Jonathan Protzenko
86038e1f02 Move to new syntax 2021-03-16 15:02:45 -06:00
EmileRolley
45b6736e84 fix(examples): fix inverted months and days 2021-03-16 12:46:03 +01:00
EmileRolley
55978cdbf6 refactor(examples): change the date format to ISO in the us_tax_code/section_1015 2021-03-16 12:24:32 +01:00
EmileRolley
28ff1b075b refactor: modify the parser and tests in order to support the ISO date format 2021-03-16 12:08:02 +01:00
Jonathan Protzenko
5f87633a04 Merge remote-tracking branch 'refs/remotes/origin/master' 2021-03-15 13:59:46 -06:00
Jonathan Protzenko
6375794d6b With Liane 2021-03-10 09:35:27 -06:00
EmileRolley
86d0476b58 docs(examples): update the README.md catala code examples 2021-03-10 10:57:13 +01:00
EmileRolley
b77b3bf164 refactor(examples): change remaining examples syntax 2021-03-10 10:53:24 +01:00
Jonathan Protzenko
499e6e74d6 Something that extracts 2021-03-09 16:10:50 -06:00
Jonathan Protzenko
f14e79bf23 First example for Hawaii Revised Statutes 2021-03-09 15:34:57 -06:00
EmileRolley
c0a9344eca refactor(tests): update tests based on the abbreviated english lexer 2021-03-09 22:07:31 +01:00
EmileRolley
a42d0c7728 refactor(tests): udpates tests based on the english lexer 2021-03-09 20:48:35 +01:00
EmileRolley
f650c70261 refactor(tests): update tests based on the french lexer 2021-03-09 19:11:44 +01:00
EmileRolley
9a29380a8d refactor(lexer_fr): simply '> #' to '>' for the markdown syntax of includes and metadata delimiters 2021-03-09 17:52:34 +01:00
EmileRolley
b3199194e1 refactor(examples): change the allocation_familiales example syntax to markdown 2021-03-09 17:13:08 +01:00
Denis Merigoux
a4a25f40c2
Merge pull request #82 from CatalaLang/protz_pygments
For syntax highlighting, use a pygments plugin rather than a fork …
2021-03-02 18:33:27 +01:00
Denis Merigoux
03774fdfc2 Fixed CI 2021-03-02 18:28:56 +01:00
Denis Merigoux
fb63c8afc8 Restore tests 2021-02-19 09:09:13 +01:00
Denis Merigoux
e9b134ab79 Progress on section121 after pair programming session 2021-02-18 18:18:34 +01:00
Denis Merigoux
252748968a Fix name 2021-02-15 21:45:11 +01:00
Denis Merigoux
494ba820b0 Continue Section121 2021-02-15 21:41:31 +01:00
Denis Merigoux
02a6cbb966 Added new decret about the SMIC 2021-02-04 18:28:56 +01:00
Denis Merigoux
b3c8b49a3b Fixed typo 2021-02-01 22:42:58 +01:00
Denis Merigoux
5c5dbc542f Js version of Allocations familiales 2021-02-01 20:09:16 +01:00
Denis Merigoux
647320d4aa Benchmark, randomness of inputs, bugs fixed 2021-01-30 17:54:05 +01:00
Denis Merigoux
313ca065f4 Benchmarked the result on allocations familiales, it is fast enough 2021-01-28 23:46:39 +01:00
Denis Merigoux
617d19df24 Improved OCaml backend, made dev loop 2021-01-28 18:30:01 +01:00
Denis Merigoux
50bccd8d13 Generated OCaml has valid syntax 2021-01-28 13:58:59 +01:00
Denis Merigoux
27b6303982 Beginning compilation to OCaml 2021-01-28 00:28:28 +01:00
Aymeric Fromherz
d856f2de72 Remove labels and named exceptions in allocations_familiales when possible 2021-01-21 23:56:36 -05:00
Aymeric Fromherz
78b4eb7ce1 Use unlabeled exceptions in US tax code 2021-01-21 23:49:43 -05:00
Denis Merigoux
c67857700a Now logging function applications 2021-01-20 23:29:50 +01:00
Denis Merigoux
3e57fe0276 Enhanced log with explanations of which definition is taken 2021-01-20 19:58:48 +01:00
James Barnes
0648f989df move metadata to prologue 2021-01-19 21:40:38 +01:00
James Barnes
2d12cf7230 correct other typo 2021-01-19 20:12:03 +01:00
James Barnes
d98df48bc4 correct typo 2021-01-19 20:11:37 +01:00
James Barnes
4cc1e92436 add subsection 1a condition 2021-01-19 20:06:39 +01:00
James Barnes
b538e4d23d add legislative text 2021-01-19 19:24:09 +01:00
Denis Merigoux
19a6a171bd Fixes #65 2021-01-18 16:21:55 +01:00
Denis Merigoux
a6338c3a9c Typos 2021-01-16 18:06:22 +01:00
Denis Merigoux
0f2937f37c Fixed date algorithm once and for all in Section121? 2021-01-16 17:23:02 +01:00
Denis Merigoux
d6426a57e5 Introduced error for experiment purposes 2021-01-15 10:42:09 +01:00
Denis Merigoux
d68d5f8018 copy/paste was too quick 2021-01-14 13:33:44 +01:00
Denis Merigoux
7ee3c62169 Precisions for French example 2021-01-14 13:25:42 +01:00
Denis Merigoux
852a6412eb Changed odate to calendarLib 2021-01-14 13:04:15 +01:00
Denis Merigoux
236c421eea Improvements for allocations familiales 2021-01-14 11:18:04 +01:00
Denis Merigoux
74647799f6 Merge branch 'master' of github.com:CatalaLang/catala 2021-01-14 00:17:42 +01:00
Denis Merigoux
267baea28d Fixes #58 2021-01-14 00:17:24 +01:00
James Barnes
00cefa68c2 correct variable case and legal error 2021-01-13 19:16:24 +01:00
James Barnes
ee6085127e note to self : Catala <> Java - use enum cases directly 2021-01-13 19:04:36 +01:00
James Barnes
ef6c9a8b3b workout total revenus depending on tax residence 2021-01-13 18:55:35 +01:00
James Barnes
2e7368b385 Revenue source enumeration 2021-01-13 18:24:08 +01:00
James Barnes
c8cedac894 add subtitle for article 2021-01-13 18:17:18 +01:00
James Barnes
a7a1a1b2c6 Add catala translation 2021-01-13 18:16:02 +01:00
James Barnes
8258a5d970 Add legislative text 2021-01-13 18:09:11 +01:00
Denis Merigoux
7a835ac5f6
Merge pull request #63 from CatalaLang/pair_programming_section_121
Pair programming section 121
2021-01-13 14:52:08 +01:00
Denis Merigoux
5a944a57a6 Pass old tests 2021-01-13 12:22:14 +01:00
Denis Merigoux
44d7b616a4 Improve type error messages 2021-01-13 12:04:14 +01:00
XB
a44c9076ec CamelCase is not an OCaml concept 2021-01-12 23:13:54 -05:00
Denis Merigoux
983b347cd5 Results from the pair programming session 2021-01-12 18:02:28 +01:00
Denis Merigoux
b12768c78c Strengthen USTC 121 implementation 2021-01-11 15:19:05 +01:00
Denis Merigoux
1b6843c6dd Web update 2021-01-10 20:47:01 +01:00
Denis Merigoux
46121bbbd7 Debugged allocations familiales 2021-01-10 19:35:24 +01:00
Denis Merigoux
839310d5ba Small tweak to make tutorial more climactic 2021-01-07 22:38:56 +01:00
Denis Merigoux
1494048869 Simplify code with new sugar 2021-01-06 17:33:38 +01:00
Denis Merigoux
113ca198e4 Update section121 code to make it correct 2021-01-05 16:00:42 +01:00
Denis Merigoux
4c760868b5 Fixed date algorithm 2021-01-05 14:58:44 +01:00
Denis Merigoux
f356712622 Reformat code 2021-01-05 14:48:13 +01:00
Denis Merigoux
7213f2850b Merge branch 'master' into pair_programming_section_121 2021-01-05 14:37:30 +01:00
Denis Merigoux
933fd02484
Merge pull request #45 from CatalaLang/dev
Ongoing Catala development
2021-01-04 14:54:11 +01:00
Louis Gesbert
3b93fc5b43 Tutorial: a few typos 2021-01-04 13:50:33 +01:00
Denis Merigoux
e94356bd0b First working prototype of allocations familiales implementation 2021-01-04 00:13:59 +01:00
Denis Merigoux
84acb971a0 More code for allocations_familiales 2021-01-03 20:36:04 +01:00
Denis Merigoux
0482acbd01 Fixed incorrect date 2021-01-03 18:52:41 +01:00
Denis Merigoux
c6b6e82b8b Various fixes, now passing first French tests 2020-12-31 00:28:26 +01:00
Denis Merigoux
5f58e93c6e Implemented all aggregate desugaring 2020-12-29 23:43:00 +01:00
Denis Merigoux
ae0cb80a25 Various fixes for French tutorial 2020-12-24 16:09:40 +01:00
James Barnes
f7bd47c38d Adapt general makefile for dual language tutorials 2020-12-24 11:37:11 +01:00
James Barnes
f0cfe89d2b Use French number notation and € symbol for monetary ops 2020-12-24 11:12:57 +01:00
James Barnes
34094be363 create seperate folders for English and French tutorials 2020-12-24 11:12:57 +01:00
James Barnes
c2e40f88c1 Translate end of document 2020-12-24 11:12:57 +01:00
James Barnes
9e160fdc06 article 6 2020-12-24 11:12:57 +01:00
James Barnes
2eaa4dd237 Translate article 5 comments 2020-12-24 11:12:57 +01:00
James Barnes
222c3262f0 Article 5 translation 2020-12-24 11:12:57 +01:00
James Barnes
87b3b45d12 Functions translation 2020-12-24 11:12:57 +01:00
James Barnes
e5cecae952 articles 1,2 and 3 translation 2020-12-24 11:12:57 +01:00
James Barnes
97481795f0 Translate metadata explanation 2020-12-24 11:12:57 +01:00
James Barnes
2ad8dafc29 Translation of article 1 paragraph 2020-12-24 11:12:57 +01:00
James Barnes
5b8a4fff9a Litterate programming paragragh translation 2020-12-24 11:12:57 +01:00