certfix 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- certfix/THIRD_PARTY_NOTICES.md +32 -0
- certfix/__init__.py +3 -0
- certfix/__main__.py +6 -0
- certfix/cli.py +1259 -0
- certfix/config.py +375 -0
- certfix/configs/__init__.py +0 -0
- certfix/configs/deepseek-v4-flash-api.yaml +79 -0
- certfix/configs/deepseek-v4-flash-openrouter.yaml +82 -0
- certfix/configs/examples/__init__.py +0 -0
- certfix/configs/examples/deepseek-gemini-step-overrides.yaml +97 -0
- certfix/configs/examples/local-detection-deepseek-fix.yaml +79 -0
- certfix/configs/gemini-3-flash-preview-openrouter.yaml +76 -0
- certfix/configs/qwen36-mtp-check.yaml +29 -0
- certfix/configs/qwen36-mtp-local.yaml +72 -0
- certfix/core/__init__.py +26 -0
- certfix/core/detector.py +209 -0
- certfix/core/fix_validator.py +335 -0
- certfix/core/fixer.py +92 -0
- certfix/core/include_resolver.py +113 -0
- certfix/core/preprocessor.py +133 -0
- certfix/core/programmatic_checks.py +412 -0
- certfix/core/rule_selection_cards.py +546 -0
- certfix/core/simple_repair.py +244 -0
- certfix/core/splitter.py +245 -0
- certfix/core/validate_guided_retry.py +278 -0
- certfix/core/validation.py +677 -0
- certfix/data/__init__.py +1 -0
- certfix/data/cert_c_rules_with_examples.json +211 -0
- certfix/env.py +47 -0
- certfix/exceptions.py +43 -0
- certfix/inference/__init__.py +10 -0
- certfix/inference/api.py +855 -0
- certfix/inference/base.py +55 -0
- certfix/inference/factory.py +160 -0
- certfix/inference/parsing.py +371 -0
- certfix/models.py +322 -0
- certfix/output.py +490 -0
- certfix/prompt_profiles.py +426 -0
- certfix/prompts.py +734 -0
- certfix-0.1.0.dist-info/METADATA +455 -0
- certfix-0.1.0.dist-info/RECORD +44 -0
- certfix-0.1.0.dist-info/WHEEL +4 -0
- certfix-0.1.0.dist-info/entry_points.txt +2 -0
- certfix-0.1.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Third-Party Notices
|
|
2
|
+
|
|
3
|
+
This project is released under the MIT License. Some bundled test fixtures and
|
|
4
|
+
metadata refer to third-party standards. These notices preserve attribution and
|
|
5
|
+
keep the project license boundary clear.
|
|
6
|
+
|
|
7
|
+
## SARIF 2.1.0 JSON Schema Fixture
|
|
8
|
+
|
|
9
|
+
- File: `tests/fixtures/sarif-schema-2.1.0.json`
|
|
10
|
+
- Source: OASIS Static Analysis Results Interchange Format (SARIF) Version
|
|
11
|
+
2.1.0 JSON schema.
|
|
12
|
+
- Purpose: test fixture for validating SARIF output shape.
|
|
13
|
+
- Notice: SARIF is an OASIS standard. Do not treat this schema fixture as
|
|
14
|
+
project-authored MIT code.
|
|
15
|
+
|
|
16
|
+
## CERT-C Rule Metadata
|
|
17
|
+
|
|
18
|
+
- File: `src/certfix/data/cert_c_rules_with_examples.json`
|
|
19
|
+
- Source context: SEI CERT C Coding Standard rule identifiers and rule titles.
|
|
20
|
+
- Purpose: compact rule metadata used for rule-candidate prompts and CLI output.
|
|
21
|
+
- Notice: CERT and SEI CERT C are associated with Carnegie Mellon University's
|
|
22
|
+
Software Engineering Institute. The bundled metadata is not a replacement for
|
|
23
|
+
the official CERT-C standard text.
|
|
24
|
+
|
|
25
|
+
## Evaluation Datasets
|
|
26
|
+
|
|
27
|
+
Juliet, PrimeVul, calibration, holdout evaluation sample files, and derived
|
|
28
|
+
evaluation split metadata are not bundled in the initial public v0.1.0 package.
|
|
29
|
+
Maintainer scripts may generate local `*samples.jsonl.gz` files or
|
|
30
|
+
`eval-splits/` metadata for maintainer-side benchmarking, but those generated
|
|
31
|
+
datasets require separate source, license, and attribution review before public
|
|
32
|
+
redistribution.
|
certfix/__init__.py
ADDED