# Manage Resultbag Entries This tutorial uses dictionaries to manage {term}`Resultbag entries `. A dictionary stores named values. The tutorial does not run a project. ## Tutorial Operations The tutorial creates its {class}`Resultbag ` and source file in a temporary directory. The directory is removed when the tutorial ends. It demonstrates these operations: - Add a result and log for exact {term}`project keys` and a {term}`JCMT pattern`. - Inspect stored results and logs. - Replace a result by adding the same project keys and JCMT pattern again. - Store a second suffix variant for the same project keys. - Add, inspect, and clear ordered attempt logs. - Remove one suffix variant, remove matching project keys, and reset the resultbag. Use the normal Resultbag read and query operations for analysis workflows. Use {attr}`resultbag.management ` when you must maintain stored entries or connect them to solve execution. The management namespace is provided by {class}`ResultbagManagement `. Run the tutorial from the tutorial root: ```bash python resultbag/management/run.py ``` ## Python File ```{literalinclude} ../../../demos/documentation_tutorials/resultbag/management/run.py :language: python ```