Method Call Analysis

Although a log that shows the code a user typed is useful, it lacks the ability to describe the actual outputs that were examined during the experimentation. acorn allows the result of any method that is decorated to be analyzed by whatever code the user specifies (which may include external packages).

Methods that will be analyzed, and analysis settings are specified in each package’s configuration file (see Global and Package Configuration in ACORN).

Methods for analyzing the results of various calls, specific to each package and its methods/classes.

acorn.logging.analysis.analyze(fqdn, result, argl, argd)[source]

Analyzes the result from calling the method with the specified FQDN.

Parameters:
  • fqdn (str) – full-qualified name of the method that was called.
  • result – result of calling the method with fqdn.
  • argl (tuple) – positional arguments passed to the method call.
  • argd (dict) – keyword arguments passed to the method call.