openfisca / openfisca-core

OpenFisca core engine. See other repositories for countries-specific code & data.
https://openfisca.org
GNU Affero General Public License v3.0
165 stars 74 forks source link

Allow simulation customization in web API #1204

Open guillett opened 5 months ago

guillett commented 5 months ago

Depends on #1205

New features

def simulation_configurator(simulation):
    simulation.max_spiral_loops = 4    

application = create_app(tax_benefit_system,
    simulation_configurator=simulation_configurator)
coveralls commented 5 months ago

Coverage Status

coverage: 74.524% (+0.03%) from 74.492% when pulling ce89fef269e77b45c7351641f545d988236a1c3e on spiral-param into f6f6380e062a3f1642afd12fa6511096fe1158ba on master.

guillett commented 5 months ago

Depends on #1205