Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
verbman committed May 20, 2024
1 parent e39c843 commit 1cf22e2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion source/simulate/profile-simulation.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Profiling a simulation's performance
# Profiling a simulation's performance

The following outlines how to tackle a simulation that is running too slow.

Expand Down
2 changes: 1 addition & 1 deletion source/simulate/replicate-simulation-inputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ simulation = simulation_builder.build_from_entities(tax_benefit_system, WITH_AXE

Be careful to note the structure of the "axes" field: an **array of arrays** of axis objects.

This example describes one household with two parents and one child, plus a second household which is in fact a single adult person.
This example describes one household with two parents and one child, plus a second household which is in fact a single adult person.
With this simulation the following code indicates that there will be 40 results:

```py
Expand Down
6 changes: 3 additions & 3 deletions source/simulate/run-simulation.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# How to run a simulation

To calculate legislation variables on people's situations, a _Simulation_ needs to be created and run.
To calculate legislation variables on people's situations, a _Simulation_ needs to be created and run.
OpenFisca looks for two kinds of inputs:

- how persons are dispatched in other entities,
- what variables' values are already known.

This is true for both [test cases](run-simulation.md#test-cases) and [data](run-simulation.md#data), the two approaches to running Simulations,
This is true for both [test cases](run-simulation.md#test-cases) and [data](run-simulation.md#data), the two approaches to running Simulations.

## How to run a simulation on a test case

Expand Down Expand Up @@ -249,7 +249,7 @@ The following example calculates the `income_tax` of the 8th person in the list:

#### Application: calculate households total taxes from a CSV file

This example will manage the `persons` and `households` entities. To calculate households' `total_taxes`, it requires each persons' `income_tax`.
This example will manage the `persons` and `households` entities. To calculate households' `total_taxes`, it requires each persons' `income_tax`.
First link the persons list to the households and define their roles.

Persons and households lists in this example are defined in distinct files:
Expand Down

0 comments on commit 1cf22e2

Please sign in to comment.