Debian Codegraph @

proof.yaml

raw symbols SCIP
1 project:
2 name: jsonparser
3 specs:
4 - path: specs/stakeholder
5 prefix: STK-REQ
6 type: stakeholder
7 - path: specs/system
8 prefix: SYS-REQ
9 type: system
10 parent_spec: specs/stakeholder
11 obligation_classes:
12 - nominal
13 - missing_path
14 - malformed_input
15 - truncated_at_value_boundary
16 - truncated_mid_structure
17 - truncated_mid_key
18 - empty_input
19 - boundary
20 - type_mismatch
21 - negative_array_index
22 - sentinel_value_boundary
23 - error_propagation
24 - no_path_provided
25 - nested_mutation
26 - callback_error_propagation
27 - truncated_escape_sequence
28 - partial_literal
29 - truncated_mid_element
30 - determinism
31 - idempotency
32 - nil_safety
33 - encoding_safety
34 - edge_case
35 commands:
36 build: go build ./...
37 test: mkdir -p .proof/coverage .proof/test-results && go test ./... -count=1 -coverprofile=.proof/coverage/unit.coverprofile -json > .proof/test-results/go-test.json 2>&1
38 # Fixtures are generated artifacts, not committed to the repo.
39 # MC/DC coverage is enforced through test annotations instead.
40 # To regenerate locally:
41 # proof testgen specs/system parser --output tests/
42 # proof proptest specs/system parser --source z3 --output tests/parser/
43 checks:
44 solver_latency_clean:
45 threshold: 360
46 coverage_threshold:
47 threshold: 80
48 auto_link: false
49 report_path: .proof/coverage/unit.coverprofile
50 format: go-cover
51 test_results:
52 auto_link: true
53 report_path: .proof/test-results/go-test.json
54 slow_tests:
55 enabled: true
56 code_mcdc:
57 severity: warn
58 engine: go
59 package_pattern: ./...
60 coverpkg: ./...
61 go_test_args:
62 - -race
63 min_decision_percent: 100
64 min_condition_percent: 100
65 max_incomplete_decisions: 0
66 targets:
67 - id: parser
68 enabled: true
69 language: go
70 scope: ./...
71 test_mcdc_annotations:
72 enabled: true
73 mcdc_coverage: {}
74 proof_complexity_clean:
75 max_formalized_requirements: 120
76 max_variables: 280
77 max_guarantees: 120
78 evidence_diversity:
79 min_classes:
80 A: 3
81 B: 2
82 C: 1
83 approval:
84 required_for:
85 assurance_levels:
86 - A
87 - B
88 roles:
89 - system_owner
90 - lead_engineer
91 comment_required: true
92 documentation:
93 sources:
94 - path: .
95 type: auto
96 threshold: 0