{"blocks": [{"key": "15bc2cda", "text": "Scenario", "type": "header-two", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}, {"key": "5b1cc546", "text": "Tech round code-review: Python class that follows a fit/transform pattern used in a data pipeline", "type": "unstyled", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}, {"key": "bdd09edf", "text": "Question", "type": "header-two", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}, {"key": "02f7242e", "text": "a) At a high level, what does this class accomplish?", "type": "unstyled", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}, {"key": "b2d56c42", "text": "b) Why is the logic separated into fit() and transform() steps—what advantages does this design bring?", "type": "unstyled", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}, {"key": "3a7f0b21", "text": "c) Point out any shortcomings or code-smells you see.", "type": "unstyled", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}, {"key": "fdfe602a", "text": "Hints", "type": "header-two", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}, {"key": "0ec0156b", "text": "Think about reusability, data leakage prevention, state management, and performance.", "type": "unstyled", "depth": 0, "inlineStyleRanges": [], "entityRanges": [], "data": {}}], "entityMap": {}}