GithubHelp home page GithubHelp logo

Revive `gauche.test.generative` about gauche HOT 5 CLOSED

shirok avatar shirok commented on August 20, 2024
Revive `gauche.test.generative`

from gauche.

Comments (5)

 avatar commented on August 20, 2024

Can the generative test library use SRFI-194: Random data generators for the data source? That would make it possible to set the random state for deterministic testing.

I have an implementation that extends SRFI-64 and would be happy to help if you are looking for external contributions.

For contributions, do you prefer patches to the mailing list or Github PRs? I sent a patch to gauche-devel yesterday but it may have gotten spam-filtered because I am not a member.

property-test.sld.txt
property-test-tester.scm.txt

from gauche.

shirok avatar shirok commented on August 20, 2024

That looks nice (and you're right about Gauche's make-random-real. It is actually reals-between$ in data.random which was broken). What I have in mind is to build on top of gauche.test and data.random, for our srfi-64 and srfi-194 implementations are built on top of them respectively, and having gauche.test.generative built on top of those srfis seems overly complex. However, for the broader Scheme community, a library based on extablished srifs are mroe desirable.

Are you interested in bringing your property-test to srfi? If there will be one, I'm all to adopt its API.

Regarding code contributions, github PRs is better. However, our license is BSD and the contribution needs to be the same or looser license.

from gauche.

 avatar commented on August 20, 2024

Sure, I'll draft an SRFI and a relicensed PR for the Gauche implementation.

from gauche.

shirok avatar shirok commented on August 20, 2024

Pushed the fix of real-between$. It should fix make-random-real, too.

from gauche.

shirok avatar shirok commented on August 20, 2024

We drop gauche.test.generative, in favor of srfi.252.

from gauche.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.