Add EthCallChaos benchmark/compare/isolated configs + per-category scenarios - #31
Merged
Conversation
per-category regression scenario set (33 scenarios, 11 categories) Diversifies the eth_call corpus away from the ~93% all-multicall top-N. Selects top-3 by fitness in each shape/family category from the corpus test_cases (single contracts grouped by SeedRegistry family + multicall fan-out buckets small/med/ large), sidestepping the multicall-monopolised validation gate. scripts/ percat_export.py regenerates it from an EthCallChaos corpus DB (read-only); config/benchmark/ethcallchaos-percategory.yaml runs each scenario as a named call. @
per-category: behavioral/shape axes instead of protocol families
Category = kind-of-call, not which-contract: single/{worst,high-gas,low-gas,
large-calldata} + multicall/{worst,small,med,large,high-gas} + overall/worst
(multi-label — a call is the worst in every dimension it fits). 30 scenarios /
10 categories. Validated: NM vs reth deep-check 0 divergent / 0 malformed on the
full set (aggregate3 encoding executes identically on live nodes).
@
…tion_results.mean_ms)
Bring the per-category generator in line with the repo convention: every checked-in rpc-calls/*.jsonl is minted by a generator under rpc-calls/scripts/generate-from-<source>/ and each source is documented in rpc-calls/SOURCES.md. - Move scripts/percat_export.py -> rpc-calls/scripts/generate-from-ethcallchaos/main.py - Align its jsonl output name to the checked-in ethcallchaos-percategory-scenarios.jsonl - Add a README matching the sibling generators - Document the EthCallChaos corpus in SOURCES.md, covering the percategory scenarios plus the corpus/heavy/heavy2 direct exports
Contributor
|
Restructured the request generator to follow the repo convention (commit b7e35f1). Why: in this repo every checked-in Changes:
No behavioural change to the benchmark/compare configs — this is purely a structural/provenance cleanup. |
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.
Adds the json-bench configs that Nethermind's
run-rpc-benchmarks.ymlworkflow (NethermindEth/nethermind#11961) pins:config/benchmark/ethcallchaos-*.yaml) incl. the per-category validated set;config/benchmark/iso/*) for the sweep's ISOLATED view;config/compare/ethcallchaos-*-compare.yaml);rpc-calls/*.jsonl) +scripts/percat_export.py.These live only on
bench/ethcallchaos-loadtoday; merging tomainlets the workflow pin a stable ref instead of a feature branch.