Showing 1 of 1 files from the diff.

@@ -274,7 +274,7 @@
Loading
274 274
275 275
    def collect_model_vars(self, model):
276 276
        """ Run reporters and collect model-level variables. """
277 -
        model_vars = {}
277 +
        model_vars = OrderedDict()
278 278
        for var, reporter in self.model_reporters.items():
279 279
            model_vars[var] = reporter(model)
280 280
@@ -282,7 +282,7 @@
Loading
282 282
283 283
    def collect_agent_vars(self, model):
284 284
        """ Run reporters and collect agent-level variables. """
285 -
        agent_vars = {}
285 +
        agent_vars = OrderedDict()
286 286
        for agent in model.schedule._agents.values():
287 287
            agent_record = {}
288 288
            for var, reporter in self.agent_reporters.items():
@@ -491,8 +491,8 @@
Loading
491 491
        """
492 492
        Helper Function
493 493
        :param results: Takes results dictionary from Processpool and single processor debug run and fixes format to
494 -
        mac compatible with BatchRunner Output
495 -
        :updates model_vars and agents vars so consistent across all batchrunner
494 +
        make compatible with BatchRunner Output
495 +
        :updates model_vars and agents_vars so consistent across all batchrunner
496 496
        """
497 497
        # Take results and convert to dictionary so dataframe can be called
498 498
        for model_key, model in results.items():
Files Coverage
mesa 87.46%
Project Totals (20 files) 87.46%
1819.2
TRAVIS_PYTHON_VERSION=3.6
TRAVIS_OS_NAME=linux
1819.3
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
1819.4
TRAVIS_PYTHON_VERSION=3.8
TRAVIS_OS_NAME=linux

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading