Skip to content

TODOs #2

@KtorZ

Description

@KtorZ

Note

If you intend to work on one of the following points:

  • use the bulleye icon to create a new issue from a bullet point
  • assign yourself to the issue
  • keep us posted

Api

Primitives

aiken/fuzz

Common types

Note

Considering:

type Sample<a> = Fuzzer<List<a>>

aiken/fuzz/dict

  • fn dict(fuzz_key: Fuzzer<k>, fuzz_value: Fuzzer<v>) -> Fuzzer<Dict<k, v>>
  • fn dict_between(fuzz_key: Fuzzer<k>, fuzz_value: Fuzzer<v>, min: Int, max: Int) -> Fuzzer<Dict<k, v>>
  • fn dict_at_least(fuzz_key: Fuzzer<k>, fuzz_value: Fuzzer<v>, min: Int, max: Int) -> Fuzzer<Dict<k, v>>
  • fn dict_at_most(fuzz_key: Fuzzer<k>, fuzz_value: Fuzzer<v>, min: Int, max: Int) -> Fuzzer<Dict<k, v>>
  • fn dict_from(keys: Sample<k>, fuzz_value: Fuzzer<v>) -> Fuzzer<Dict<k, v>>

aiken/fuzz/math/rational

  • fn rational() -> Fuzzer<Rational>
  • fn rational_between(min: Rational, max: Rational) -> Fuzzer<Rational>
  • fn rational_at_least(min: Rational) -> Fuzzer<Rational>
  • fn rational_at_most(max: Rational) -> Fuzzer<Rational>

aiken/fuzz/transaction/value

  • fn lovelace() -> Fuzzer<Int> (a bespoke int fuzzer for lovelace quantities)

aiken/fuzz/transaction/certificate

  • fn certificate(delegators: Sample<StakeCredential>, pools: Sample<PoolId>) -> Fuzzer<Certificate>

aiken/fuzz/transaction/credential

  • fn address(payment_credentials: Sample<PaymentCredential>, delegation_credentials: Sample<DelegationCredential>) -> Fuzzer<Address>

Documentation

  • Rework README and provide a high-level overview of the project.
  • Add more inline-doc examples to (at least) primitives
  • Write a small tutorial to illustrate the capabilities of the library and showcase some patterns.

Experiments

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    🔨 Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions