Louis Gesbert
9db038812c
Include generation of json_schema artifacts
...
(plus other small Makefile improvements)
2022-08-03 18:55:42 +02:00
Louis Gesbert
0600501ec6
Generate french_law artifacts through dune
...
The files where manually generated through Makefile rules, and
versionned (with an outdated version).
The issue was that we had:
- `dune` building Catala
- Makefiles calling `catala` to build and copy the `french_law/ocaml/law_source`
files
- then `dune` again to build `french_law`
The result was that `dune build` (without running `make` first) would
return a weird error.
The proposed solution adds ad-hoc dune rules to call the catala
binary, so that it can handle the whole pipeline correctly. If OCaml
is purely a backend, though, a simpler solution that makes us less
dependent on dune would be to handle the compilation of `french_law`
manually.
The dune rules are set to 'promote' the files so that it preserves the
fact that they are versionned (but with no confusion of the build system
about where they should come from anymore)
2022-08-03 18:55:42 +02:00
Louis Gesbert
1d268a940b
Add tests for the examples as well
2022-07-08 17:18:58 +02:00
Denis Merigoux
96f1845afd
Merge branch 'master' into allocations_logement
2022-05-08 15:20:04 +02:00
Denis Merigoux
080e60c25d
Fixes money cents parsing
2022-05-05 16:50:33 +02:00
Denis Merigoux
7d9379e43c
Merge branch 'master' into allocations_logement
2022-02-16 14:56:48 +01:00
Denis Merigoux
5c6a43da57
Fixed compilation to examples
...
Had to rename fields of allocations familiales because of a stupid record field confusion in OCaml
2022-02-07 18:38:31 +01:00
Denis Merigoux
1c4a0bdd5d
Updated all examples with input/output decorations [skip ci]
2022-02-07 18:18:23 +01:00
Denis Merigoux
a5ed25c5c6
Merge branch 'master' into allocations_logement
2022-02-03 16:57:14 +01:00
Denis Merigoux
a963a01f60
Unit tests for examples now use clerk
2022-01-11 10:42:12 +01:00
Denis Merigoux
e36725a2a8
Added other field
2022-01-07 09:47:10 +01:00
Denis Merigoux
c869c47e8e
Restore tests to allocations familiales
2022-01-05 16:29:30 +01:00
Denis Merigoux
cbee66db24
Added Mayotte computation to allocations familiales
2021-11-07 00:39:12 +01:00
Denis Merigoux
a171e8aaed
Fixed title hierarchy in allocations familiales
2021-11-06 23:38:43 +01:00
Denis Merigoux
03b44f5b15
Python backend debugged and tested
2021-06-25 00:47:12 +02:00
Denis Merigoux
3c8d187be0
Big refactoring of the literate programming structure
...
Partially fixes #120
Removes the distinction between headers and articles, streamlines the surface AST
Changes affects lexers and parser
2021-05-15 01:16:08 +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
eaeebba72c
Basic logging exposed in Javascript
...
Lacks value embedding though
2021-04-03 19:31:38 +02: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
c9c0fcea6c
Update allocations familiales after pair programming session
2021-03-17 16:00:48 +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
EmileRolley
f650c70261
refactor(tests): update tests based on the french lexer
2021-03-09 19:11:44 +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
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
c67857700a
Now logging function applications
2021-01-20 23:29:50 +01:00
Denis Merigoux
236c421eea
Improvements for allocations familiales
2021-01-14 11:18:04 +01:00
Denis Merigoux
46121bbbd7
Debugged allocations familiales
2021-01-10 19:35:24 +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
c6b6e82b8b
Various fixes, now passing first French tests
2020-12-31 00:28:26 +01:00