Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
leximpact-server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leximpact
Simulateur dotations aux communes
leximpact-server
Commits
0543e0e0
Commit
0543e0e0
authored
May 28, 2020
by
sandcha
Committed by
Augustin Wenger
Jun 8, 2020
Browse files
Options
Downloads
Patches
Plain Diff
Fix typo and add text in comments
parent
28dd801f
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!17
Quotient Familial : réformer le mode de calcul
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Simulation_engine/lexception.py
+2
-2
2 additions, 2 deletions
Simulation_engine/lexception.py
Simulation_engine/reformePLF.py
+1
-1
1 addition, 1 deletion
Simulation_engine/reformePLF.py
with
3 additions
and
3 deletions
Simulation_engine/lexception.py
+
2
−
2
View file @
0543e0e0
# The LexCeption exception is raised when an error occ
c
urs within a
# The LexCeption exception is raised when an error occurs within a
# simulation. It is used to dispatch the error message to the client,
# so messages should be clear for an external API user.
# so messages should be clear for an external
Web
API user.
class
LexCeption
(
Exception
):
...
...
This diff is collapsed.
Click to expand it.
Simulation_engine/reformePLF.py
+
1
−
1
View file @
0543e0e0
...
...
@@ -39,7 +39,7 @@ reforme_base = {
{
"
veuf
"
:
6
,
"
mariesOuPacses
"
:
6
,
"
celibataire
"
:
5
,
"
divorce
"
:
5
},
{
"
veuf
"
:
7
,
"
mariesOuPacses
"
:
7
,
"
celibataire
"
:
6
,
"
divorce
"
:
6
},
],
"
partsParPACAuDela
"
:
1
,
# L
E
"Et ainsi de suite..."
"
partsParPACAuDela
"
:
1
,
# L
e
"Et ainsi de suite..."
pour toute PAC au-delà du tableau "partsSelonNombrePAC".
"
partsParPACChargePartagee
"
:
{
# On a maintenant 12 cas différents en fonction du nobre d'enfants.
"
zeroChargePrincipale
"
:
{
"
deuxPremiers
"
:
0.25
,
"
suivants
"
:
0.5
},
"
unChargePrincipale
"
:
{
"
premier
"
:
0.25
,
"
suivants
"
:
0.5
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment