# csmith-project/creduce

C-Reduce, a C and C++ program reducer

Repository: https://github.com/csmith-project/creduce
Canonical: https://ross.abutalabs.com/products/creduce
Language: C++
License: NOASSERTION
License Family: other
Last push: 2024-06-01T08:22:48+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5300, "days_push": 823, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1667, forks 139 (observed 2026-08-28T04:05:19.640145+00:00)

## What it is
C-Reduce is a command-line tool that automatically reduces large C or C++ programs that trigger a property of interest (such as a compiler bug) into much smaller programs with the same property. It works with any interestingness test and can also reduce code in other languages like JavaScript and Rust.

## Use cases
- minimize a C program that triggers a compiler crash before filing a bug report
- shrink a C++ test case that causes a wrong-code bug in a compiler
- reduce a JavaScript file that triggers a bug in a linter or other tool
- create a small reproducer for a bug in a static analysis tool
- automatically shrink a failing test case to its minimal form

## When to choose
- you found a compiler or tool bug in C/C++ code and need a minimal reproducer
- you want automated, parallel test-case reduction driven by a custom interestingness test
- you need to shrink code in other languages too, since it works on arbitrary text files

## When to avoid
- you need to reduce non-textual artifacts like binaries or data files
- you cannot express the bug-triggering condition as an automated interestingness test
- you need a fully supported, licensed product for commercial workflows given the nonstandard license

## Facets
- artifact type: cli-tool
- maturity: stable
- function: developer-tools, testing
- domain: developer-tools, compilers, testing
- platform: cli
- tags: test-case-reduction, compiler-bugs, c, cpp, delta-debugging, linux, macos

## Member repositories
- csmith-project/creduce (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:19.640145+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:42:52.855742+00:00, confidence not recorded.
  - readme: https://github.com/csmith-project/creduce (fetched 2026-08-28T04:05:19.640145+00:00, sha ce8a8c3c7fe9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
