Skip to content

enhancement #23

Description

@edouardmisset

Depends on: #22

What to build

Define a fixture factory interface and implement deterministic Small/Medium/Large fixtures for each workspace (array, date, function, math, object, text). Each workspace exposes a fixtures.ts module with a factory that generates consistent test data for benchmarking.

Acceptance criteria

  • Fixture factory interface defined: interface FixtureFactory { small(): unknown, medium(): unknown, large(): unknown }
  • array/fixtures.ts implements factory (returns arrays of varying size)
  • date/fixtures.ts implements factory (returns date objects/arrays)
  • function/fixtures.ts implements factory (returns functions/callbacks)
  • math/fixtures.ts implements factory (returns number arrays)
  • object/fixtures.ts implements factory (returns plain objects)
  • text/fixtures.ts implements factory (returns strings)
  • type/fixtures.ts implements factory (or marked as N/A for type-only workspace)
  • Factories are deterministic (same size always produces same shape/values)

Out of scope

  • Using fixtures in actual benchmarks
  • Auto-generation

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified, ready for an AFK agent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions