Denis Merigoux
92189e6439
Fix bug introduced by a1ebb67
2022-08-16 14:40:12 +02:00
Denis Merigoux
a1ebb6715c
Remove age prompts, deduct from birth date correctly
2022-08-16 11:08:13 +02:00
Denis Merigoux
d93e00c7bc
Some factorization
2022-08-15 18:33:09 +02:00
Denis Merigoux
1fdb21326b
Fix logement meublé thing
2022-08-15 17:43:29 +02:00
Denis Merigoux
489d2f9506
Fixed bugs in allocation logement eligibility
2022-08-15 17:16:23 +02:00
Denis Merigoux
c71b8e28c6
Moving parameters into property-section of data
2022-08-12 11:16:52 +02:00
Denis Merigoux
ef269df553
Restore tests
2022-08-12 09:51:35 +02:00
Denis Merigoux
c062ac2924
Added a new test
2022-08-11 18:18:04 +02:00
Denis Merigoux
9184b1e265
Further use let-in
2022-08-11 18:17:53 +02:00
Denis Merigoux
35a893920b
Précision chambre CROUS
2022-08-11 18:17:33 +02:00
Denis Merigoux
9eef072cdd
Logement à usage locatif s'applique aussi aux logements-foyers
2022-08-11 18:17:00 +02:00
Denis Merigoux
7b7d31d0a5
Fix non-negative value bug in housing benefits
2022-08-11 16:16:00 +02:00
Denis Merigoux
a48e90150c
Use let-bindings to refactor code
2022-08-11 14:12:11 +02:00
Denis Merigoux
038e6068e6
Small improvements to housing benefits
2022-08-10 18:13:07 +02:00
Denis Merigoux
e5d6c26eb4
Merge pull request #303 from CatalaLang/feat-add-details-to-html
...
Feat: improve the HTML generation with ToC and details tags
2022-08-05 20:42:36 +02:00
Denis Merigoux
d75d86d321
Merge pull request #305 from CatalaLang/aides_logement
...
Mise à jour du calcul des aides au logement suite à revalorisation
2022-08-05 20:28:13 +02:00
Emile Rolley
03aebf7f1c
feat(backends/html): improve the code generation with ToC and details tags
2022-08-05 10:55:45 +02:00
Denis Merigoux
0e2bc96789
Mise à jour du calcul des aides au logement avec https://www.legifrance.gouv.fr/jorf/id/JORFSCTA000046114996
2022-08-04 18:07:29 +02:00
Louis Gesbert
e50b567000
Fix relative dir in french_law artifacts ; add a note in examples/README.md
2022-08-04 17:36:50 +02:00
Louis Gesbert
289975ebe8
Generate french law python artifacts through dune
...
(they're no longer reformatted, at the moment, though)
2022-08-03 19:04:14 +02:00
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
Emile Rolley
1a6934b538
feat(build): add the generation of json schemas to the build workflow
2022-07-29 18:47:42 +02:00
Emile Rolley
32ec53d918
refactor(plugins): jsoo -> web
2022-07-29 18:42:41 +02:00
Denis Merigoux
27560b0ab8
Fix conflict
2022-07-28 17:18:41 +02:00
Denis Merigoux
97b6e14740
Removed useless variable
2022-07-28 15:02:43 +02:00
Denis Merigoux
d91ed27e28
The JS version of the housing benefits computation is working!
2022-07-28 15:02:43 +02:00
Denis Merigoux
fa55a83fb4
Merge branch 'master' into 290-jsoo-wrapper-plugin
2022-07-22 17:54:51 +02:00
Denis Merigoux
aa3820c2a7
Nitpicks
2022-07-22 17:42:24 +02:00
Denis Merigoux
4002c22570
Contre-ordre: DGLAN admet l'arrondi par défaut
2022-07-22 17:05:09 +02:00
Emile Rolley
d9045499c0
refactor(french_law/ocaml): refactor the api_web.ml
2022-07-22 17:01:33 +02:00
Denis Merigoux
dc00ce8957
Merge branch 'master' into aides_logement
2022-07-22 16:49:01 +02:00
Denis Merigoux
ad0f02837c
Fix some TODOs
2022-07-21 14:54:05 +02:00
Emile Rolley
61899cd698
fix(examples): assets are now generated from the repo root
2022-07-20 18:29:01 +02:00
Denis Merigoux
5bcee7ceba
Correctly generate HTML output
2022-07-20 15:35:26 +02:00
Denis Merigoux
58cb48fb28
Merge remote-tracking branch 'origin/master' into aides_logement
2022-07-20 11:20:00 +02:00
Denis Merigoux
59bdd2a3a0
Do not round for mensualite_minimale [skip ci]
2022-07-19 18:14:22 +02:00
Denis Merigoux
47f3632b5a
Don't round as much according to DGALN
2022-07-19 16:29:26 +02:00
Denis Merigoux
793efb4682
In the process of switching some money types to decimal [skip ci]
2022-07-19 13:53:12 +02:00
Denis Merigoux
c134dc4b45
Fix tests with new info from DGALN
2022-07-19 10:53:28 +02:00
Denis Merigoux
f5c3910e74
Formatting [skip ci]
2022-07-16 18:36:26 +02:00
Denis Merigoux
bd6218fe94
Include some tests given by DGALN/DHUP/FE4
2022-07-16 14:36:56 +02:00
Denis Merigoux
5e0b20ca63
Invert hierarchy for old articles [skip ci]
2022-07-14 18:54:44 +02:00
Denis Merigoux
94a1d9bf21
Fix subtle bug. Might be worth it to ask to DGALN! [skip ci]
2022-07-14 18:11:31 +02:00
Denis Merigoux
edbb862709
Factorize equivalence minimal loyer and nombre parts into their own scopes
2022-07-14 18:10:45 +02:00
Denis Merigoux
29f9dfe055
More testing and code fixing
2022-07-14 15:11:28 +02:00
Denis Merigoux
0d21884f26
In the process of debugging AccessionPropriété
2022-07-13 18:40:27 +02:00
Denis Merigoux
80843ccefb
More testing
2022-07-13 17:27:29 +02:00
Denis Merigoux
e0ad15b21f
Fix test format
2022-07-13 16:18:56 +02:00
Denis Merigoux
71b03d85ef
Modified tests because of change to participation minimale formula
2022-07-11 23:10:24 +02:00