-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(source): introduce type skeleton and prototypes for context-awar… #510
Conversation
…e version enumeration. This introduces a (currently) non-working stage of context-aware version enumeration. The main idea will be a 2-phase design for version enumeration: * Phase 1: Enumerate all context-free sources, i.e., sources that do not need to know anything about the context they are being enumerated in. * Phase 2: Iterate over all versions from Phase 1 and feed each resulting variant context into all context-sensitive sources. These may provide a new list of versions for each context they are given. The resulting list of variant context objects will be iterated on by benchbuild just as before. Integration for CLI is pending. In essence, all sampling and filtering should be possible on the new enumeration just as before.
Use from benchbuild import source, instead of directly accessing source.base.
Codecov ReportBase: 50.74% // Head: 52.23% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #510 +/- ##
==========================================
+ Coverage 50.74% 52.23% +1.49%
==========================================
Files 124 124
Lines 8207 8304 +97
Branches 1274 1025 -249
==========================================
+ Hits 4165 4338 +173
+ Misses 3882 3789 -93
- Partials 160 177 +17
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Not supported in python 3.7
This fixes #514 until a permanent upgrade path can be created.
…e version enumeration.
This introduces a (currently) non-working stage of context-aware version enumeration.
The main idea will be a 2-phase design for version enumeration:
Phase 1: Enumerate all context-free sources, i.e., sources that do not need to know anything about the context they are being enumerated in.
Phase 2: Iterate over all versions from Phase 1 and feed each resulting variant context into all context-sensitive sources. These may provide a new list of versions for each context they are given.
The resulting list of variant context objects will be iterated on by benchbuild just as before.
Integration for CLI is pending. In essence, all sampling and filtering should be possible on the new enumeration just as before.