Explore Library
Code QuizAdvanced

Writing to a Feature Store

Spot why saving one feature silently erases the others for an entity.

Codepython
def write_feature(store, entity, feature, value):
    store[entity] = {feature: value}

def read_feature(store, entity, feature):
    return store[entity][feature]

What is the bug in this feature-store write logic?