Write a small Python function that summarizes temperature readings from a greenhouse. Include runnable examples and explain the design to someone who knows basic Python but has never processed sensor data. Each reading is a pair consisting of a sensor name and a temperature in degrees Celsius. An afternoon upload may contain pairs from several rooms in any order. The nursery sensor sometimes sends the string "offline" while it reconnects. An older sensor once sent a value of infinity. The greenhouse manager wants to retain valid readings from the same upload even when some entries are unusable. Treat the input as a finite iterable that you can traverse only once. A generator reading from a file should work as well as a list. Accept nonempty string names after trimming surrounding whitespace. Keep names case sensitive. Accept finite Python integers and floats between minus twenty and sixty degrees inclusive. Reject booleans, even though Python treats them as integers. Reject numeric strings, missing values, malformed pairs, and entries with an invalid name. Count each rejected entry once, even if it breaks more than one rule. Preserve repeated readings because two sensors can legitimately report the same value twice. Return a summary for each accepted sensor with its count, minimum, maximum, and arithmetic mean, along with a single total of rejected entries. A sensor with no accepted readings should have no summary. Keep the unrounded mean in the result so the caller can decide how many digits to display. The manager will print names in alphabetical order, but your function may return them in any order. You may use the Python standard library. Keep memory use proportional to the number of sensors rather than the number of readings. Use a short example that includes valid readings from two sensors, a repeated value, an out-of-range value, and an offline report. Show the expected result and explain how each rejected entry affected it. Add assertions for an empty upload, temperatures at both accepted boundaries, a boolean, and a generator. State how you would check the mean in a test when floating point arithmetic makes an exact comparison inconvenient. After the code, walk through the working state for one sensor as its readings arrive. Explain why the algorithm can finish without storing earlier readings, and describe one limitation of its treatment of bad data. Aim for about 600 words of code and explanation together. Make the example complete enough that a volunteer could paste it into a new file and run it. The next volunteer may want a different display precision for each room. Point out which part of the example they could change without affecting the summary that another caller receives. Leave the input unchanged.