

def common_layout(sections, meta, attributes=None, regressions=None, artifacts=None, configs=None):
    attributes = attributes if attributes is not None else {}
    artifacts = artifacts if artifacts is not None else []
    configs = configs if configs is not None else []
    return {
        'meta': meta,
        'attributes': attributes,
        'sections': sections,
        'regressions': regressions,
        'artifacts': artifacts,
        'configs': configs,
        'navigation': {
            'area': {
                'axis': 'left',
                'metrics': [],
            },
            'events': [],
            'line': {
                'left': [],
            },
        }
    }
