Add custom samplers, better collection, and better plotting to sinter #804
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.
sinter.Sampler
andsinter.CompiledSampler
classesperfectionist
, which discards anything with detection events and predicts the observables are not flippedsinter collect
distributes worksinter plot --point_label_func
argument for drawing text next to data pointssinter plot --group_func
to support dictionaries with special keys controlling precise grouping behaviors"color"
key, all items with the same"color"
value are drawn with the same color"linestyle"
key, all items with the same"linestyle"
value are drawn with the same linestyle"marker"
key, all items with the same"marker"
value are drawn with the same marker"label"
key, this forces the label shown in the legend"order"
key, this takes priority for ordering the legendsinter collect --processes
is no longer required (defaults to"auto"
)sinter plot --show
is no longer required (defaults to showing, unless--out
is specified, unless--show
is specified)sinter plot --preprocess_stats_func
sinter.TaskStats.with_edits
Some of the sampler design is adapted from @inmzhang's design in #735
Fixes #774
Fixes #682
Fixes #392