Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Bug report

## Summary

Describe the observable problem and the contract you expected to hold. Do not include secrets or private data.

## Environment

- Python or Node version:
- Package version or commit:
- Operating system and version:
- Relevant dependency versions:
- Installation source (editable checkout, wheel, source archive, or other):

## Exact command

```text
Provide the exact command and arguments that reproduce the issue.
```

## Minimal sanitized input

Provide the smallest synthetic or fully sanitized input. Remove credentials, private paths, proprietary data, model weights, prompts, database rows, footage, and other sensitive content.

## Expected result

State the expected status, output, and exit code, and cite the relevant contract if applicable.

## Actual result

State the observed status, output, and exit code. Include bounded logs or report excerpts with sensitive values removed.

## Installed package reproduction

State whether the issue reproduces from an installed package outside the source checkout. If not, explain what differs and include the clean-install command you tried.

## Evidence and coverage boundaries

List the tests or checks you ran, any optional integrations that were unavailable, and what the evidence does not establish.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Feature request

## Problem

Describe the concrete workflow or failure mode. Explain why existing behavior is insufficient without claiming unmeasured users, benchmarks, or compatibility.

## Proposed behavior

Describe the smallest useful behavior, its inputs and outputs, expected exit/status semantics, and how it fits the existing contract.

## Alternatives

List alternatives considered, including existing tools or a smaller documentation-only change.

## Additional context

Include Python/Node and OS versions, package version or commit, a minimal sanitized example, and any evidence or coverage boundaries. Do not include credentials or private data.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
with:
python-version: "3.12"
- name: Install
Expand All @@ -28,7 +28,7 @@ jobs:
run: python benchmark/validate_manifest.py
- name: Demo reports
run: python -m plotproof demo --output ci-demo
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
if: always()
with:
name: demo-${{ matrix.os }}
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
32 changes: 32 additions & 0 deletions .pytest-tmp2/test_invalid_hash_path_and_non0/not-pdf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# Changelog


## Unreleased

- Align public governance, bilingual quickstarts, issue templates, and documentation validation.
- Make CLI failures structured and fail closed, add explicit `--force` and rollback-safe paired
report publication, and apply the same overwrite policy to demo evidence.
- Add the optional positive `max_d3_work` budget (default 1,000,000 declared operations) to the
library and CLI. Over-budget runs skip all D3 pairs, mark D3 not assessed, emit a transparent
`complexity_budget` record, and remain UNKNOWN unless ERROR/high-confidence FAIL dominates.
- Replace rectangle-union strip rescans with an exact O(m log m) coordinate-compressed segment-tree
sweep, scale extreme axes independently, reject unrepresentable union areas, and pin all external CI Actions to full commit SHAs.
- Prevent alias-error overwrites and backup-name collisions, publish paired error evidence, suppress user stdout/stderr,
structure argparse/check `SystemExit` failures, validate both demo controls, and report only remaining recovery backups.
- Include fill sorting/scanning and the exact m/2m/2m union-sort passes in the D3 estimate.
- Reject ambiguous Windows output components, isolate user output at OS-fd level, preserve rollback recovery names, and use an exact rational union sweep that cannot underflow mixed-scale evidence to false zero.
- D4 `missing_glyph` remains not assessed: no font cmap evidence is collected.

## 0.1.0a3 — 2026-11-29

- Add structured CLI errors, explicit force semantics, paired rollback-safe reports, OS-fd output isolation and strict Windows output-component checks.
- Replace rectangle-union rescans with an exact rational coordinate-compressed segment-tree sweep; reject unrepresentable areas and account for fill and union sorting in the D3 work budget.
- Validate clean and clipped demo controls before publication and preserve named recovery evidence on failed rollback.
- Reject positive exact union areas that underflow binary64, count full aligned witness/background scans in D3 work, and refuse destination identity changes after preflight.
- Remove partial backup copies after copy failures.
- Verify 432 tests with two Windows privilege skips, the 228-sample manifest and real demo outputs. D4 remains unassessed and no holdout accuracy is claimed.

## 0.1.0a2 — 2026-11-19

Fixes what a fresh install would have hit.
Expand Down
27 changes: 27 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Code of Conduct

## Our pledge

We pledge to make participation in this project a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.

## Our standards

Examples of behavior that contributes to a positive environment include showing empathy, respecting differing viewpoints, giving and gracefully accepting constructive feedback, and focusing on reproducible evidence rather than personal attacks.

Unacceptable behavior includes sexualized language or imagery, trolling or insulting comments, public or private harassment, publishing private information without permission, and other conduct that could reasonably be considered inappropriate in a professional setting.

## Enforcement responsibilities

Project maintainers are responsible for clarifying and enforcing these standards. They may remove, edit, or reject comments, commits, code, issues, and other contributions that violate this Code of Conduct, and will communicate reasons when appropriate.

## Scope

This Code of Conduct applies in project spaces and when an individual officially represents the project in public spaces.

## Enforcement

Report security vulnerabilities privately through GitHub Security Advisories as described in [SECURITY.md](SECURITY.md). For conduct concerns, request private contact in a minimal issue without naming individuals or including sensitive details; if no private channel is published, do not post evidence publicly. Maintainers will review reports promptly and handle them with discretion. Retaliation against a reporter is not tolerated.

## Attribution

Adapted from the [Contributor Covenant, version 2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct/).
35 changes: 35 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Contributing

Contributions of focused fixes, reproducible counterexamples, and documentation improvements are welcome. Read the README support status and limitations before proposing work.

## Before you start

- Use synthetic, self-generated, or fully sanitized inputs. Never post credentials, private datasets, model weights, prompts, databases, videos, or personal filesystem paths.
- Search existing issues and pull requests before opening a duplicate.
- For a behavior change, add a failing regression test first and show the named assertion fail before the fix.
- Keep claims bounded by executable evidence. Do not invent benchmarks, users, adoption, release URLs, or compatibility results.

## Development setup

Supported version: **0.1.0a2**. Install and run the primary test command:

```sh
python -m pip install -e ".[dev]"
python -m pytest
python scripts/check_docs.py
```

The install and test commands above are the documented source-checkout workflow. If an optional integration dependency is unavailable, report the exact skip or failure instead of treating it as a pass.

## Pull requests

- Keep the change scoped and explain the problem, contract, and evidence.
- Preserve existing CLI/API/report semantics unless the pull request explicitly revises the contract and updates tests and documentation.
- Add positive and negative controls for security, correctness, or output-publication changes.
- Do not add runtime network access, telemetry, hidden dependencies, or unsupported compatibility claims without an explicit design discussion.
- Run the relevant tests plus `python scripts/check_docs.py`, and state any environment you could not verify.
- Contributions are provided under the repository's MIT license; third-party dependencies retain their own licenses.

## Reporting issues

Use the bug or feature template. Include Python/Node and OS versions, package version or commit, the exact command, minimal sanitized input, expected and actual results, and whether the issue reproduces from an installed package. For vulnerabilities, follow [SECURITY.md](SECURITY.md) instead of opening a public issue.
Loading
Loading