Comments (1)
Awesome!
It seems like #28 would be a nice way to ensure that there are always some listcomps without rejection sampling - although the implementation is a bit of a lift to cover all node types.
Relatedly I love that you used the AST for easier implementation, but that doesn't seem to help much here if we want to have a cst-based strategy too. The runtime gains we can probably get with "swarm testing" to probabilistically disable all the weird flourishes - almost as fast as doing it always, but a bit less cognitive load (from fewer options) and a chance of finding unexpected bugs too...
from hypothesmith.
Related Issues (20)
- FailedHealthCheck when generating eval_input
- Python3.9 related bug. HOT 2
- New failure on Python3.9 HOT 11
- No git version tags HOT 4
- Generated programs are missing spaces HOT 17
- Failure on py3.9: SystemError: Negative size passed to PyUnicode_New HOT 7
- Generate names which collide when NFKC-normalized
- Register a strategy for `libcst.MatchSingleton` HOT 2
- libcst version requirement should be updated HOT 1
- Grammar definition file handling is broken HOT 1
- hypothesmith on PyPI breaks with FileNotFoundError when importing from_grammar or from_node HOT 3
- Generate programs matching a syntatic pattern... using `libcst` matchers
- can pysource-codegen be used to generate code with hypothesmith HOT 3
- How to get hypothesmith to generate a FunctionDef with arguments? HOT 2
- Broken with `hypothesis==6.84.0` HOT 2
- Use `from_regex(..., alphabet=st.characters(min_codepoint=1, codec="utf-8"))` to reduce rejection sampling HOT 1
- 0.3.1: no git tag and no commits HOT 3
- hypothesmith powered testing for isort HOT 1
- Error when generating single_input HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hypothesmith.