Repository navigation
intent, naming-stability: reconcile the two pattern counts - #69
Merged
Merged
Conversation
intent counts the patterns of labelled events (2,277 on otel215, 406 on rec1155); naming-stability counts every event (2,687 and 582), both on the 1.1.142 image. bench/pattern_counts.py checks one run of each benchmark's engine config against the labelled capture, event for event: the two runs cut the same events and give every event the same name, and the difference is the patterns only unlabelled events take (410 and 176). Both READMEs state this. METHOD.md's unlabelled-by-container lines now match the labels file (cart 10 on rec1155; 11 smaller containers on otel215). Co-Authored-By: Claude Opus 5.5 <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.
Both READMEs ended "the difference is not reconciled here" for the two 1.1.142 pattern counts: intent's 2,277 (otel215) and 406 (rec1155), counted over labelled events, against naming-stability's 2,687 and 582, counted over every event. This PR states the reconciliation and adds the script that computes it.
Result
message_patternvalues, one per event.intent/bench/engine.shaddssymbolOriginField tenx_origin) cut each capture into the same events. Both pass the text-hash alignment against the labels, and they give every event the same name.Starting(2 metrics-server events), also names a labelled event (frontend:banner), so the unlabelled events add 410. On rec1155 no pattern is shared, so they add 176.server.ccstartup listing. Next come opensearch 83, jaeger 58 and prometheus-server 38 on otel215, and postgresql 23 and flagd 13 on rec1155.intent/bench/score.pyrun on either new events file reproduces 2,277 and 406.Changes
intent/bench/pattern_counts.py(new): checks both runs against the labelled capture and writes the counts. Its output is inintent/results/pattern-counts-1.1.142_{otel215,rec1155}.json.intent/README.mdline 50 andnaming-stability/README.mdlines 28 to 41: the "not reconciled" sentence is replaced with the reconciliation, in the same words in both. The intent Files list now names the script.intent/METHOD.mdlines 102 and 103: the unlabelled-by-container lists now matchlabels/labels_*.jsonl.gz. On rec1155, cart has 10 unlabelled events, not one; the old list summed to 231 of 240. On otel215 there are 11 smaller containers, not 13 (22 in all).How the numbers were made
Image
log10x/pipeline-10x:1.1.142@sha256:22ae6714…, with the hash-checked captures fromnaming-stability/run.sh. Each capture was run once with the arguments ofnaming-stability/bench/engine.shand once with those ofintent/bench/engine.sh, then:The engine outputs are not committed.
🤖 Generated with Claude Code