Skip to main content

design-research

CI Coverage Examples Passing API in Examples Docs PyPI Version Python Versions

design-research is the umbrella entry point for the CMU Design Research Collective design-research ecosystem. It supplies one discoverable namespace, exact component-version pins, and compatibility-tested examples for the package family while leaving component implementation in the packages that own it.

Quickstart

Python 3.12 or newer is required.

python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install design-research

Then use the four wrapper submodules through the umbrella namespace:

import design_research as dr

problem_ids = dr.problems.list_problems()
problem = dr.problems.get_problem(problem_ids[0])

print(problem.metadata.title)
print(dr.agents.Workflow)
print(dr.experiments.Study)
print(dr.analysis.validate_unified_table)

The package root intentionally exports only __version__ and the four wrapper submodules. For the pinned package family, each wrapper mirrors its component package's public exports. Use design_research.problems, design_research.agents, design_research.experiments, and design_research.analysis; install a component directly when you only need that package or its optional extras.

See the installation guide, learning path, and compatibility and package status for the next step.

Study to Evidence to Paper Draft

Study execution always retains terminal run evidence; it does not create a manuscript. An explicit later action can use the exported study directory and installed component packages to create a clearly labeled paper-draft/ in a fresh process. The output contains evidence-backed LaTeX and Markdown, curated references, linked tables and figures, and visible TODOs wherever evidence or author judgment is still required.

The deterministic offline examples ideation_evidence_to_paper.py and computational_design_evidence_to_paper.py exercise that full handoff, compile the LaTeX when Tectonic is installed, and verify study-paper-draft.zip. The generated material is a review-required paper draft, not an asserted scientific interpretation or publication-ready manuscript.

Architecture: Two Complementary Views

The same four packages are useful to describe in two different ways:

  • Control topology: Problems and Agents are peer study inputs. Experiments owns study design and coordinates their execution, then defines the artifact handoff to Analysis.
  • Runtime and data flow: Problems + Agents → Experiments artifact set → Analysis → evidence that can refine the next study protocol.

Neither view is a package-install order. The umbrella routes imports and pins a tested combination; it does not move implementation ownership out of the component packages.

Two complementary views of the design-research ecosystem

Ecosystem Packages

  • Problems — tasks, prompts, grammars, benchmarks, and evaluators: documentation · source
  • Agents — AI participants, workflows, tools, and traceable reasoning: documentation · source
  • Experiments — hypotheses, factors, conditions, replications, execution, and artifact export: documentation · source
  • Analysis — validation, transformation, statistics, and visualization of study artifacts: documentation · source

Repository Development

For a source checkout, install contributor tooling and run the deterministic all-layer compatibility path:

git clone https://github.com/cmudrc/design-research.git
cd design-research
python -m venv .venv
source .venv/bin/activate
make dev
make test
python examples/canonical_artifact_flow.py
make examples-test

examples/canonical_artifact_flow.py resolves a packaged problem, runs the public seeded baseline agent, exports experiment artifacts, and validates them through the umbrella's Analysis wrapper. The default checks remain deterministic and offline-first.

The separate live walkthrough uses the Agents package's llama_cpp extra:

python -m pip install "design-research-agents[llama_cpp]==0.7.0"
make run-example

Set LLAMA_CPP_MODEL to a local GGUF file or allow the installed Hugging Face client to fetch the walkthrough's default model. Set RUN_LLAMA_CPP_EXAMPLES=1 to include this path in make examples-test; RUN_OLLAMA_EXAMPLES=1 independently enables the Ollama tutorial.

Quality Signals

  • Coverage reports total line coverage for the default deterministic test suite; CI requires at least 95%.
  • Examples Passing reports per-file pass/fail evidence from checked-in scripts and notebooks.
  • API in Examples reports curated top-level __all__ exports referenced by runnable examples; CI requires 100%.

Run make coverage, make examples-test, and make examples-coverage to reproduce those checks. make notebooks-check verifies that focused notebooks' saved outputs match their source.

For documentation changes, run:

make docs-check
make docs-build

docs-check validates generated tutorial material and cross-file contracts; docs-build performs the strict Sphinx HTML build. Run make docs-linkcheck when public links change.

The tested package versions and current package metadata status are documented in the compatibility page. Those factual classifiers are not an ecosystem-wide maturity scheme; that separate policy remains tracked in issue #12.

Public API

The supported umbrella surface is what design_research.__all__ and the four wrapper modules export for the exact component versions pinned in pyproject.toml. Package-specific APIs, optional dependencies, and behavior remain documented by their owning packages.

Contributing

See CONTRIBUTING.md for the contributor workflow and release gates.

Metadata

Release files for design-research 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for design-research 0.5.0
File Size Uploaded
design_research-0.5.0.tar.gz 29.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for design-research 0.5.0
File Interpreter ABI Platform
design_research-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 41.1 kB

Release files / design_research-0.5.0.tar.gz

Download URL design_research-0.5.0.tar.gz
Size 29.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3233b6204e176394d7021383ade64e5a72e493479309409411b47abb2b822273
BLAKE2b-256 checksum
How to use checksums
be70d717d91576d674a1153234f51bed75edebb9646125c3d829c82e662874c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release files / design_research-0.5.0-py3-none-any.whl

Download URL design_research-0.5.0-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11cf1190407a54392e83443a377fb8f52795ca8bbc2c03becd00df74d66b17cc
BLAKE2b-256 checksum
How to use checksums
3e8182cecece2f02b61fdcbfe8620d01daf9f653682e375633a7f957f4fcd67a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page