Skip to content

Information printing should be enhanced #79

@guerinclement

Description

@guerinclement

Description of Problem:

Eurybia prints a fair amount of information during the smartdrift compilation.

Exemple:

The variable BsmtCond has mismatching unique values:
['Poor -Severe cracking, settling, or wetness'] | []

The variable Condition2 has mismatching unique values:
['Near positive off-site feature--park, greenbelt, etc.', 'Adjacent to North-South Railroad', 'Adjacent to East-West Railroad'] | ['Adjacent to feeder street']

The variable Electrical has mismatching unique values:
['Mixed'] | ['60 AMP Fuse Box and mostly knob & tube wiring (poor)']

The variable ExterQual has mismatching unique values:
['Fair'] | []

The variable Exterior1st has mismatching unique values:
[] | ['Stone', 'Imitation Stucco']

The variable Exterior2nd has mismatching unique values:
['Asphalt Shingles', 'Brick Common'] | ['Other']

The variable Foundation has mismatching unique values:
[] | ['Stone', 'Wood']

The variable Functional has mismatching unique values:
['Major Deductions 2', 'Severely Damaged'] | ['Moderate Deductions']
...
['Gravel'] | []

This printing is pretty cheap and should be formatted in a more pleasant way depending on the execution context.

Overview of the Solution:

Printing method could be delegated to a function that will use the appropriate render depending on the execution environment and the user choice.

Examples:

A notebook could have a markdown render, a script could use a common logger, etc.

Blockers: None

Definition of Done:

Printing method can be configure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions