Repository navigation
fix(co-messung): Messwert-Änderungen sichtbar machen und den Verlauf ins Protokoll bringen - #432
Merged
Merged
Conversation
DeepDiver1975
force-pushed
the
fix/co-messreihe-424
branch
2 times, most recently
from
September 20, 2026 21:07
dd7f1e9 to
a9ef697
Compare
DeepDiver1975
marked this pull request as draft
September 20, 2026 21:12
DeepDiver1975
force-pushed
the
fix/co-messreihe-424
branch
from
September 20, 2026 21:22
a9ef697 to
43c5712
Compare
Practitioners reported that a changed CO reading "is not documented". It was: Incident.RecordCoValue has always written an ETB line for every real change. But it wrote it as EtbDirection.System, and the ETB hides system messages by default since #223 -- so the line only existed behind a checkbox nobody knew about. A CO reading is not bookkeeping. "Einsatz begonnen" is; what a Trupp measured is a professional record. Split the two: EtbDirection.Measurement (ordinal 4, appended last, because the direction is persisted by ordinal and 0-3 are a wire contract) carries the ppm line, and the "Systemmeldungen ausblenden" filter keeps testing for System alone. The reading is therefore visible by default while the trace around it stays hidden, which is what #223 actually asked for. Measurement is app-written like System, so it is kept out of the direction picker and out of reach of EditJournalEntry. Those two questions -- "may a human pick it" and "may a human rewrite it" -- now have one answer in EtbDirections.IsAppWritten instead of three copies of the same comparison. Visibility deliberately does not use it: that is the whole point of the split. AppendSystemEntry already had two optional parameters, so a trailing direction would have forced every call to read AppendSystemEntry(..., direction: ...) -- self-contradictory. The body is extracted once as AppendAutomaticEntry, with AppendSystemEntry and AppendMeasurementEntry as thin wrappers; the ~20 existing call sites are untouched. Only the ppm line moves. Adding, removing and searching a Wohnung stay System. Refs #424 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
Dwelling.CoValue was a single int? that RecordCoValue overwrote, so the previous reading was gone the moment a new one arrived. The only trace left was the ETB line -- German prose that nothing in the repo ever reads back. A Wohnung that went 120 -> 40 -> 5 ppm could not be asked what it had measured, which is why the CO section of the report shows a number and not a Verlauf. Dwelling now carries Readings: the whole run, oldest first. Deliberately the full series rather than ForceUnit's "superseded values only" pile -- a strength edit dates a correction, but a Messreihe has to date each measurement, and the reading an Einsatzleiter most wants a time for is the latest one. Keeping the current value out would leave exactly that one undated and force every renderer to special-case "and then the parent's value, at an unknown time". CoValue stays, and is now always the last reading rather than a separately tracked number. Value is nullable so clearing a reading is recorded as the correction it is: once the value is gone the Wohnung reads "kein Messwert" and the series is the only surviving record that 120 ppm was ever there. WithCoValue becomes WithCoReading, which moves the value and appends to the series as one operation. The value can no longer travel without leaving a trace; the invariant is in the type rather than in the caller's discipline. The no-op guard in RecordCoValue stays exactly where it was. It is what stops a retried or duplicated RecordCoValueCommand from inflating the series, and it is already the guard that suppresses a duplicate ETB line. Consequence recorded in a comment: a genuine re-measurement returning the identical value is not captured. Readings is appended to Rehydrate with a default, the convention ForceUnit already uses, so a file or snapshot written before this rehydrates with an empty series -- no history is invented for old incidents. Refs #424 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
Schema v22 adds co_readings: one row per reading, keyed by Wohnung and ordered by an ordinal, exactly the shape force_unit_edits and scba_pressure_readings use. Deliberately one row per reading rather than one column per gas. #410 turns the single CO value into up to six named slots, and it can extend this table with gas_slot/unit through AddColumnIfMissing without touching the row shape or the series it already holds -- so the history is designed once, here, and not a second time. For the same reason there is no UNIQUE (dwelling_id, measured_at): those six slots will share one timestamp. The bump also does ApplyV7's job. A file written by this build may carry the new EtbDirection.Measurement (ordinal 4) in etb_entries.direction, and the version > CurrentVersion guard is what stops an older build rendering that unknown ordinal as "4". Nothing is backfilled. The readings a pre-v22 incident took survive only as German ETB prose, and matching that text back to a (building, floor, apartment) triple would have to guess past renamed buildings and the Links/Mitte/Rechts labels. A fabricated Messreihe in a document a Kommandant relies on is worse than an honest gap, so an upgraded file keeps its co_value and gains an empty series -- pinned by a test. co_readings is in Save's DELETE list and in SchemaGuard. The first is what ApplyV21 had to clean up after for force_unit_edits: a child table missing from that list means every save stacks another copy of the history onto the file, so Save_Twice_DoesNotDuplicateTheSeries guards it directly. The second is the anti-drift guard that keeps the column repairable in a file that skipped the migration. The sample incident now measures 2. OG links three times (120 -> 40 -> 5 ppm after ventilation) so docs/samples/uebung.fwincident demonstrates an actual Verlauf instead of a single number, and is regenerated with `make samples`. Refs #424 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
A joined device has to see the Verlauf, not just the current number: the series is what the CO tab and the report render, so a device that joined mid-Einsatz would otherwise show every Wohnung as having been measured exactly once. DwellingDto gains Readings with a trailing default, the convention BuildingDto already uses for ApartmentLabels and ApartmentCounts. That default is this layer's whole compatibility story -- the wire carries no schema version of its own -- so a payload written before #424 has no readings key, deserializes to null and maps to an empty series rather than a null that throws on first render. Pinned by a test that first asserts the key is really there, so it cannot start passing vacuously if the property is ever renamed. RecordCoValueCommand is deliberately unchanged. It states an intent ("set this Wohnung to X"), not a state transfer: the host applies it through Incident.RecordCoValue, which mints the reading from its own clock and the command's operator, and the series then reaches every client through the ordinary snapshot broadcast. Giving the command a timestamp would let a client forge a measurement time, which is strictly worse. Attribution still follows the originating crew, and a resent command still appends nothing, because the no-op guard in RecordCoValue sees the unchanged value. Refs #424 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
The series existed in the model but nowhere a crew could see it. Two places now render it, and one deliberately does not. Editor sidebar: a MESSREIHE list under the ppm field, newest first, each row carrying time, value and the crew that took it. Values keep their own severity colouring through the existing coValue styles, so a reading that has since fallen still reads as having been dangerous when it was taken. The list is read-only and is not part of the edit buffer: a keystroke is not a measurement, ABBRECHEN has to be able to discard it, and the timestamp of a pending value does not exist yet -- it is minted by the clock when FERTIG commits. There is structurally nothing for ApplyPendingEditToMatrix to preview. Tile tooltip: the same run on one line, from two readings up. The 62px tile itself is untouched -- it is already tight, and #410 wants to put up to six values in it. PDF: the Verlauf indented under its Wohnung, "Messreihe: 08:14 250 ppm · 08:41 40 ppm · 09:02 5 ppm". From two readings up for the same reason as the tooltip: with one it merely repeats the ppm on the line above. Grey rather than severity-coloured, unlike the sidebar -- the report is scanned as a whole for red, and a red historical value would announce a danger that has already passed, while the current value one line up carries the coloured statement. The "Betroffene Wohnungen" roll-up keeps showing only the current value: it is a handover list, and a series per line would make the page unreadable. Both renderers format a reading through CoMeasurementLabels.ReadingLabel, so the app and the report cannot word the same series differently -- that is what the class is for. Verified on a generated PDF, since the Documents suite extracts no text: a three-reading Wohnung prints its run, a cleared one prints "09:02 gelöscht" and keeps the 120 ppm that preceded it, and a single-reading Wohnung prints no series line at all. Closes #424 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
The only demo capture affected: etb.png is taken before the demo records any CO value and co-messung.png is taken with the sidebar closed, so both are byte-identical. This one is shot on the ETB tab after the readings, and now shows what #424 fixes -- three Messung rows visible with "Systemmeldungen ausblenden" still ticked. Refs #424 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
Reported from practice with a screenshot: in WOHNUNG BEARBEITEN, ABBRECHEN and FERTIG are not merely awkward to reach, they are gone. Since #242 FERTIG is the single commit point of that sidebar -- every field edits a buffer and only ConfirmEditor writes status, ppm, Bewohner and Bezeichnung into the incident. A clipped FERTIG therefore means the Wohnung cannot be edited at all: a crew measures 10 ppm and has no way to save it. The sidebar is a Dock="Right" Border around a StackPanel, and a StackPanel measures against infinity, so nothing ever shrinks and the Border simply clips what does not fit. There was no ScrollViewer anywhere in it; the only one in the file belongs to the matrix, which is why the left half of the reported screenshot scrolls and the right half does not. This predates the Messreihe, and the new test says so in numbers: at the app's own MinHeight of 600, FERTIG is clipped by 15px with nothing measured at all. The Messreihe made it much worse -- 61px after one reading, 469px after 25 -- because the list had no ceiling and sat directly above the button that writes it. Every committed reading buried the next FERTIG a little deeper. Android, where MinHeight does not apply and the app ships as a companion, was worse still. The sidebar's StackPanel becomes a DockPanel: the title docks Top, the action buttons dock Bottom, and a ScrollViewer takes what is left -- the idiom MasterDataEditorView already uses six times, and what AboutView did for exactly this reason ("scroll rather than clip SCHLIESSEN off the bottom"). Anchoring the buttons rather than letting them scroll is deliberate: a commit button you have to go looking for is the same bug in a weaker form. AllowAutoHide="False" matches the matrix in this file, because an overlay scrollbar reserves no layout width and would sit on the input fields of a 320px column. The Messreihe gets its own cap of about six rows. Newest first, so what stays visible is what is current. This is a deliberate exception to the one-scrollbar-per-region rule HomeView documents -- there a nested list scrolling at all is the bug, here the bounded inner scroll is the point -- and the comment says so rather than leaving a future reader to find a violation. ABBRECHEN and FERTIG had no x:Name, which is precisely why no test ever missed them; they have names now, since AGENTS.md rules out finding controls by layout value. The new tests render at 600px, which no existing CO test did (they use 1200x700 and 1920x1032) -- that gap is why this shipped unnoticed. Refs #424 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
…ment #354 replaced the hand-edited `## [Unreleased]` section with one file per change, and the rule is one entry per pull request, not one per commit — so this branch's three entries become a single `added` fragment describing the Messreihe, the ETB visibility of a changed reading and the WOHNUNG BEARBEITEN sidebar together. The prose is rewritten rather than concatenated, but nothing a reader would act on is dropped: the 600px minimum-height case where FERTIG was cut off and a Wohnung could not be saved at all, the Android variant, the six-row cap, and "files written before this open unchanged with an empty Messreihe" all survive. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
The CO measurement migration moved from V23 to V24 in the rebase — #431 merged first and took V23 for checklist_lists — but this comment still said V23 adds co_readings. Everything else about the test is unchanged. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
DeepDiver1975
force-pushed
the
fix/co-messreihe-424
branch
from
September 21, 2026 08:53
43c5712 to
ba27467
Compare
Contributor
Author
|
Rebased onto What the rebase needed, beyond the renumber:
The changelog entry is also now a single fragment rather than three, following the one-entry-per-PR rule proposed in #434. Verified locally: 1620 tests pass across Domain, Persistence, AppLogic, Documents, Sync, Sync.Hosting, App and Acceptance. ( |
#431 changed LocalIncidentSession.StartNew to take ChecklistSeed, and added TestSession.StartNew for tests that need an incident but are not about Checklisten. The two CO-Messprotokoll tests added on this branch still called the session directly with the old pair of (string, bool) arrays, so they stopped compiling once the rebase put them on top of #431. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
DeepDiver1975
marked this pull request as ready for review
September 21, 2026 10:32
DeepDiver1975
added a commit
that referenced
this pull request
Sep 24, 2026
The module table, the comparison and the Probefahrt still described the CO-Messprotokoll with a single ppm value and the sample incident with "zwei Atemschutztrupps". Since 0.6.0 every Wohnung keeps a Messreihe whose history goes into the ETB and the PDF (#432), and the sample incident holds an Angriffstrupp with an assigned Sicherheitstrupp (#408) and a Wohnung measured three times. Same wording as on codeforfire.github.io (CodeForFire/codeforfire.github.io#5). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
DeepDiver1975
added a commit
that referenced
this pull request
Sep 24, 2026
….0 (#479) The module table, the comparison and the Probefahrt still described the CO-Messprotokoll with a single ppm value and the sample incident with "zwei Atemschutztrupps". Since 0.6.0 every Wohnung keeps a Messreihe whose history goes into the ETB and the PDF (#432), and the sample incident holds an Angriffstrupp with an assigned Sicherheitstrupp (#408) and a Wohnung measured three times. Same wording as on codeforfire.github.io (CodeForFire/codeforfire.github.io#5). Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Was gemeldet wurde
Der Befund stimmt. Die Ursache ist eine andere als vermutet — es sind zwei Probleme.
1. Die Änderung wurde geschrieben, nur nie gezeigt
Incident.RecordCoValuehat bei jeder echten Änderung eine ETB-Zeile geschrieben. Aber alsEtbDirection.System, und der ETB blendet Systemmeldungen seit #223 standardmäßig aus. Die Messung existierte also ausschließlich hinter einem Häkchen, von dem niemand wusste.Wie eindeutig das war, zeigt das Vorher-Bild: drei CO-Messungen erfasst, ETB komplett leer.
Messungen sind jetzt eine eigene Richtung (
Messung, Ordinal 4): standardmäßig sichtbar, weiterhin nicht von Hand bearbeitbar und weiterhin nicht in der Richtungsauswahl. Die Buchführung drumherum („Einsatz begonnen", Wohnung angelegt, Wohnung abgesucht) bleibt versteckt — genau das, worum #223 gebeten hatte.2. Einen Verlauf gab es im Modell gar nicht
Dwelling.CoValuewar ein einzelnesint?, das überschrieben wurde. Eine Wohnung, die 250 → 40 → 5 ppm gemessen hatte, konnte man nicht mehr fragen, was sie gemessen hatte. Die ETB-Zeilen waren die einzige Historie, und die ist deutscher Fließtext, den nichts im Repo je zurückliest.Jede Wohnung führt jetzt eine Messreihe: je Messung Zeitpunkt, Wert und erfassende Kraft.
Im PDF steht der Verlauf unter der Wohnung:
Die zweite Zeile ist der Fall, für den die Reihe da ist: der Wert wurde gelöscht, die Wohnung zeigt „kein Messwert" — und die 120 ppm, die vorher dort standen, sind trotzdem noch dokumentiert.
3. Nachgereicht: die Seitenleiste konnte gar nicht scrollen
Während der Arbeit an diesem PR aus der Praxis gemeldet: in WOHNUNG BEARBEITEN sind
ABBRECHENundFERTIGabgeschnitten. Seit #242 istFERTIGder einzige Commit-Punkt dieser Seitenleiste — ist er weg, lässt sich die Wohnung überhaupt nicht bearbeiten. Ein Trupp misst 10 ppm und bekommt den Wert nicht gespeichert.Die Seitenleiste ist ein
Dock="Right"-Borderum einStackPanel, und einStackPanelmisst gegen Unendlich — es schrumpft also nie, derBorderschneidet einfach ab. EinScrollViewerwar nirgends darin; der einzige der Datei gehört der Matrix, weshalb im gemeldeten Bild die linke Hälfte scrollt und die rechte nicht.Der Fehler ist älter als dieser PR, und der neue Test sagt es in Zahlen — bei der app-eigenen
MinHeightvon 600:FERTIGabgeschnitten umDie 0-Zeile ist der Beleg: ohne jede Messreihe, also im Zustand vor diesem PR, ist der Knopf bereits weg. Auf Android, wo
MinHeightgar nicht gilt und die App als Begleit-App ausgeliefert wird, ist es schlimmer.Trotzdem gehört der Fix hierher. Mein
MESSREIHE-Block hat das Problem massiv verschärft: die Liste hatte keinen Deckel und saß direkt über dem Knopf, der sie schreibt — jede gespeicherte Messung hat das nächsteFERTIGtiefer vergraben. Es soll kein Release die höhere Seitenleiste ohne Scroll ausliefern.Was geändert wurde. Das
StackPanelwird einDockPanel: TitelDock="Top", KnopfleisteDock="Bottom", dazwischen einScrollViewer— das Idiom, dasMasterDataEditorViewsechsmal benutzt und dasAboutViewaus genau diesem Grund eingeführt hat („scroll rather than clip SCHLIESSEN off the bottom"). Die Knöpfe sind verankert statt mitscrollend: ein Commit-Knopf, den man erst suchen muss, ist derselbe Fehler in schwächerer Form.AllowAutoHide="False"wie bei der Matrix, weil ein überlagernder Balken keine Layout-Breite reserviert und in einer 320-px-Spalte auf den Eingabefeldern säße.Die Messreihe bekommt einen eigenen Deckel von ~6 Zeilen, neueste zuerst. Das ist eine bewusste Ausnahme von der Ein-Scrollbalken-Regel, die
HomeViewdokumentiert — dort ist eine mitscrollende verschachtelte Liste der Fehler, hier ist der begrenzte innere Scroll der Sinn der Sache. Der Kommentar im Code sagt das, damit es niemand als Verstoß liest.ABBRECHEN/FERTIGhatten keinx:Name— genau deshalb hat sie nie ein Test vermisst. Die neuen Tests rendern bei 600 px; keine bestehende CO-Testdatei tut das (1200×700 bzw. 1920×1032), und das ist die Lücke, durch die es gerutscht ist.Entscheidungen, die Erklärung verdienen
Die volle Reihe, nicht nur die überschriebenen Vorgänger.
ForceUnit.Editsspeichert die alten Werte, weil eine Stärke-Korrektur den Moment der Korrektur datiert. Eine Messreihe muss jede Messung datieren, und der Wert, für den ein Einsatzleiter am ehesten eine Uhrzeit will, ist der letzte. Nur-Vorgänger hätte genau den ohne Zeitstempel gelassen.WithCoValue→WithCoReading. Wert setzen und Reihe fortschreiben sind eine Operation. Der Wert kann sich nicht mehr bewegen, ohne eine Spur zu hinterlassen — die Invariante liegt im Typ, nicht in der Disziplin des Aufrufers.Der No-op-Guard bleibt, wo er war. Er verhindert, dass ein wiederholtes
RecordCoValueCommanddie Reihe aufbläht. Bewusste Einschränkung, im Code vermerkt: eine echte Wiederholungsmessung mit identischem Wert wird nicht erfasst.Kein Backfill. Alte Dateien öffnen mit ihrem Wert und leerer Reihe. Die Messungen eines Alt-Einsatzes existieren nur als deutscher ETB-Fließtext; diesen Text auf ein (Haus, Geschoss, Wohnung)-Tripel zurückzurechnen hieße raten — an umbenannten Häusern und den Links/Mitte/Rechts-Bezeichnungen vorbei. Eine erfundene Messreihe in einem Dokument, auf das sich ein Kommandant verlässt, ist schlechter als eine ehrliche Lücke. Durch Test festgenagelt.
Farbe in der Seitenleiste, nicht im PDF. In der Seitenleiste trägt jede Messung ihre eigene Severity-Farbe — man sieht dort eine Wohnung bewusst im Detail an. Das PDF wird als Ganzes auf Rot überflogen; ein roter historischer Wert würde dort eine Gefahr melden, die vorbei ist. Der aktuelle Wert eine Zeile darüber trägt die farbige Aussage.
Die Kachel bleibt unverändert. Sie ist bei 62 px schon eng, und #410 will dort bis zu sechs Werte unterbringen. Der Verlauf steht im Tooltip (ab zwei Messungen) und in der Seitenleiste.
„Betroffene Wohnungen" behält den aktuellen Wert. Das ist eine Übergabeliste, keine Messdokumentation.
Verhältnis zu #410
#410 (bis zu 6 frei benennbare Gas-Slots) merkte an, eine Messhistorie solle nicht zweimal entworfen werden. Sie ist hier einmal entworfen:
co_readingsist eine Zeile je Messung, nicht eine Spalte je Gas. #410 hängtgas_slotundunitadditiv perAddColumnIfMissingan, ohne die Zeilenform oder die bereits gespeicherten Reihen anzufassen — deshalb auch bewusst keinUNIQUE (dwelling_id, measured_at): die sechs Slots teilen sich einen Zeitstempel. #410 bleibt ein eigener PR, seine drei offenen Fragen blockieren diesen nicht.Schemaversion — bitte beachten
co_readingsist V23. V22 war ursprünglich geplant, aber #408 hat sie während der Arbeit belegt; nach dem Rebase ist umnummeriert, beide Migrationen sind erhalten. Sollte vor dem Merge eine weitere V23 landen, muss dieser PR erneut umnummerieren.Der Bump erfüllt zusätzlich die Aufgabe von
ApplyV7: eine Datei dieses Builds kanndirection = 4enthalten, und derversion > CurrentVersion-Guard verhindert, dass ein älterer Build die unbekannte Richtung als „4" rendert.Eine Asymmetrie, die man kennen sollte: eine V23-Datei lehnt ein alter Build korrekt ab. Ein Sync-Peer mit altem Build bekommt
"Measurement"aber als Enum-String undJsonStringEnumConverterwirft dann auf dem ganzen Snapshot. Sync hat heute keine Versionsverhandlung, das gilt für jedes neue Enum-Mitglied — der Handshake inSyncProtocolverhindert gemischte App-Versionen ohnehin, aber es sei gesagt.ApplyV21wiederholt sich nichtforce_unit_editsbrauchte eine Aufräum-Migration, weil die Tabelle in der DELETE-Liste vonSavefehlte und jede Speicherung eine weitere Kopie der Historie stapelte.co_readingssteht in der Liste, inSchemaGuard— undSave_Twice_DoesNotDuplicateTheSeriesbewacht es direkt.Tests
1529 Tests grün, 0 Warnungen,
make format-checksauber. Neu unter anderem:Measurement_entries_survive_the_default_system_filter— die Zeile, die den gemeldeten Fehler schließtSave_Twice_DoesNotDuplicateTheSeries— dieApplyV21-RegressionV21_file_gains_an_empty_co_readings_table_and_keeps_its_co_value— kein BackfillA_DwellingDto_without_readings_restores_an_empty_series— Sync-Rückwärtskompatibilität (prüft zuerst, dass der Key überhaupt existiert, damit der Test nicht leer durchläuft)Apply_RecordCoValue_MintsAReadingWithTheHostClockAndTheCommandsOperator— ein Client kann keine Messzeit fälschenAPendingCoValue_DoesNotEnterTheMessreihe— Tippen ist kein MessenCoMessprotokollMessreiheTests— Acceptance, Controls perx:NamegefundenCoMessprotokollEditorReachabilityTests— rendert bei 600 px:FERTIGliegt bei 0/1/25 Messungen innerhalb der Seitenleiste, der Überlauf landet in einemScrollViewer, die Messreihe ist gedeckelt, und der Scrollbalken sitzt auf keinem EingabefeldDie Documents-Suite extrahiert keinen Text, deshalb ist das PDF von Hand angesehen worden — der Ausschnitt oben ist aus einem echten Export.
Artefakte
docs/samples/uebung.fwincidentneu erzeugt (make samples); die Demo misst 2. OG links jetzt dreimal (120 → 40 → 5 ppm), sonst zeigt die Probefahrt keine Messreihe.make screenshots: nurpdf-export.pngändert sich.etb.pngentsteht, bevor die Demo CO-Werte erfasst,co-messung.pngbei geschlossener Seitenleiste — beide byte-identisch. Das eine geänderte Bild zeigt jetzt drei sichtbare „Messung"-Zeilen bei weiterhin gesetztem „Systemmeldungen ausblenden".Closes #424
🤖 Generated with Claude Code