CONTRIBUTIONS ONLY: Voluptuous, despite the name, is a Python data validation library.
This report summarizes scanner evidence for alecthomas/voluptuous, a Python project with 1,852 GitHub stars. SynthScan examined 8,271 lines of code across 21 source files, recording 175 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 22.0 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 139 finding(s).
Are imports declared and package/API names verified? 27 finding(s).
Are wrappers, guards, and repeated structures necessary? 131 finding(s).
Which changes need focused human review? 175 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 175 distinct pattern matches across 8 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | voluptuous/humanize.py | 51 | def validate_with_humanized_errors( | CODE |
| LOW | voluptuous/schema_builder.py | 789 | def _normalize_schema_extension( | CODE |
| LOW | voluptuous/schema_builder.py | 905 | def _iterate_mapping_candidates(schema): | CODE |
| LOW | voluptuous/schema_builder.py | 1234 | def _is_complex_key_validator(self, schema): | CODE |
| LOW | voluptuous/schema_builder.py | 1382 | def validate_schema_decorator(func): | CODE |
| LOW | voluptuous/dataclasses_support.py | 83 | def get_dataclass_field_defaults(dataclass_type: Type) -> Dict[str, Any]: | CODE |
| LOW⚡ | voluptuous/tests/test_dataclasses.py | 359 | def test_dataclass_with_list_field(self): | CODE |
| LOW | voluptuous/tests/test_dataclasses.py | 27 | def test_is_dataclass_with_dataclass(self): | CODE |
| LOW | voluptuous/tests/test_dataclasses.py | 38 | def test_is_dataclass_with_regular_class(self): | CODE |
| LOW | voluptuous/tests/test_dataclasses.py | 49 | def test_is_dataclass_with_primitive_types(self): | CODE |
| LOW | voluptuous/tests/test_dataclasses.py | 60 | def test_simple_dataclass_schema(self): | CODE |
| LOW | voluptuous/tests/test_dataclasses.py | 76 | def test_dataclass_with_defaults(self): | CODE |
| LOW | voluptuous/tests/test_dataclasses.py | 99 | def test_dataclass_with_default_factory(self): | CODE |
| LOW | voluptuous/tests/test_dataclasses.py | 136 | def test_missing_required_fields(self): | CODE |
| LOW | voluptuous/tests/test_dataclasses.py | 156 | def test_additional_constraints(self): | CODE |
| LOW | voluptuous/tests/test_dataclasses.py | 229 | def test_additional_fields_not_in_dataclass(self): | CODE |
| LOW | voluptuous/tests/test_dataclasses.py | 255 | def test_create_dataclass_schema_basic(self): | CODE |
| LOW | voluptuous/tests/test_dataclasses.py | 270 | def test_create_dataclass_schema_with_constraints(self): | CODE |
| LOW | voluptuous/tests/test_dataclasses.py | 311 | def test_nested_dataclass_like_structure(self): | CODE |
| LOW | voluptuous/tests/test_dataclasses.py | 419 | def test_regular_schema_still_works(self): | CODE |
| LOW | voluptuous/tests/test_dataclasses.py | 429 | def test_object_validator_still_works(self): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 546 | def test_schema_extend_with_schema_instance_rejects_extra_mismatch(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 556 | def test_schema_extend_with_non_dictionary_schema_instance_fails(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 566 | def test_schema_extend_overrides(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1007 | def test_schema_decorator_match_with_args(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1015 | def test_schema_decorator_unmatch_with_args(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1023 | def test_schema_decorator_match_with_kwargs(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1031 | def test_schema_decorator_unmatch_with_kwargs(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1039 | def test_schema_decorator_match_return_with_args(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1047 | def test_schema_decorator_unmatch_return_with_args(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1055 | def test_schema_decorator_match_return_with_kwargs(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1063 | def test_schema_decorator_unmatch_return_with_kwargs(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1071 | def test_schema_decorator_return_only_match(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1079 | def test_schema_decorator_return_only_unmatch(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1087 | def test_schema_decorator_partial_match_called_with_args(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1095 | def test_schema_decorator_partial_unmatch_called_with_args(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1103 | def test_schema_decorator_partial_match_called_with_kwargs(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1111 | def test_schema_decorator_partial_unmatch_called_with_kwargs(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1119 | def test_number_validation_with_string(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1557 | def test_path_with_list_index(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1566 | def test_path_with_tuple_index(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1575 | def test_path_with_integer_dict_key(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1584 | def test_path_with_float_dict_key(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1593 | def test_path_with_tuple_dict_key(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1602 | def test_path_with_arbitrary_hashable_dict_key(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1748 | def test_lower_util_handles_various_inputs(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1755 | def test_upper_util_handles_various_inputs(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1762 | def test_capitalize_util_handles_various_inputs(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1771 | def test_title_util_handles_various_inputs(): | CODE |
| LOW⚡ | voluptuous/tests/tests.py | 1778 | def test_strip_util_handles_various_inputs(): | CODE |
| LOW | voluptuous/tests/tests.py | 129 | def test_in_unsortable_container(): | CODE |
| LOW | voluptuous/tests/tests.py | 161 | def test_not_in_unsortable_container(): | CODE |
| LOW | voluptuous/tests/tests.py | 299 | def test_email_validation_with_none(): | CODE |
| LOW | voluptuous/tests/tests.py | 311 | def test_email_validation_with_empty_string(): | CODE |
| LOW | voluptuous/tests/tests.py | 323 | def test_email_validation_without_host(): | CODE |
| LOW | voluptuous/tests/tests.py | 335 | def test_invalid_repr_includes_path_and_type(): | CODE |
| LOW | voluptuous/tests/tests.py | 352 | def test_email_validation_with_bad_data(input_value: str): | CODE |
| LOW | voluptuous/tests/tests.py | 381 | def test_fqdn_url_validation_with_bad_data(input_value): | CODE |
| LOW | voluptuous/tests/tests.py | 408 | def test_url_validation_with_bad_data(input_value): | CODE |
| LOW | voluptuous/tests/tests.py | 458 | def test_schema_extend_with_schema_instance(): | CODE |
| 62 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | voluptuous/validators.py | 1074 | except Invalid: | CODE |
| HIGH | voluptuous/schema_builder.py | 929 | except AttributeError: | CODE |
| HIGH | voluptuous/schema_builder.py | 697 | except er.Invalid: | CODE |
| HIGH | voluptuous/tests/tests.py | 1356 | except Invalid: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | voluptuous/util.py | 5 | CODE | |
| LOW | voluptuous/util.py | 6 | CODE | |
| LOW | voluptuous/util.py | 7 | CODE | |
| LOW | voluptuous/util.py | 8 | CODE | |
| LOW | voluptuous/util.py | 8 | CODE | |
| LOW | voluptuous/validators.py | 2 | CODE | |
| LOW | voluptuous/validators.py | 41 | CODE | |
| LOW | voluptuous/__init__.py | 78 | CODE | |
| LOW | voluptuous/__init__.py | 78 | CODE | |
| LOW | voluptuous/__init__.py | 78 | CODE | |
| LOW | voluptuous/__init__.py | 86 | CODE | |
| LOW | voluptuous/__init__.py | 87 | CODE | |
| LOW | voluptuous/__init__.py | 88 | CODE | |
| LOW | voluptuous/__init__.py | 90 | CODE | |
| LOW | voluptuous/schema_builder.py | 2 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | README.md | 730 | result = schema({'name': 'John Doe', 'age': 30, 'active': False}) | CODE |
| LOW | README.md | 731 | # Returns: Person(name='John Doe', age=30, active=False) | COMMENT |
| LOW | README.md | 786 | 'street': '123 Main St', | CODE |
| LOW⚡ | voluptuous/tests/test_dataclasses.py | 342 | 'name': 'John Doe', | CODE |
| LOW⚡ | voluptuous/tests/test_dataclasses.py | 345 | 'street': '123 Main St', | CODE |
| LOW⚡ | voluptuous/tests/test_dataclasses.py | 352 | assert result.name == 'John Doe' | CODE |
| LOW⚡ | voluptuous/tests/test_dataclasses.py | 355 | assert result.address.street == '123 Main St' | CODE |
| LOW | voluptuous/tests/test_dataclasses.py | 175 | result = schema({'name': 'John Doe', 'age': 30, 'email': 'john@example.com'}) | CODE |
| LOW | voluptuous/tests/test_dataclasses.py | 176 | assert result.name == 'John Doe' | CODE |
| LOW | examples/dataclasses_example.py | 41 | result = schema({'name': 'John Doe', 'age': 30, 'active': False}) | CODE |
| LOW | examples/dataclasses_example.py | 149 | 'street': '123 Main St', | CODE |
| LOW | examples/dataclasses_example.py | 334 | {'name': 'John Doe', 'age': 30, 'email': 'john@example.com'} | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | voluptuous/schema_builder.py | 212 | CODE | |
| LOW | voluptuous/schema_builder.py | 238 | CODE | |
| LOW | voluptuous/schema_builder.py | 445 | CODE | |
| LOW | voluptuous/schema_builder.py | 580 | CODE | |
| LOW | voluptuous/schema_builder.py | 667 | CODE | |
| LOW | voluptuous/schema_builder.py | 789 | CODE | |
| LOW | voluptuous/schema_builder.py | 291 | CODE | |
| LOW | voluptuous/schema_builder.py | 533 | CODE | |
| LOW | voluptuous/schema_builder.py | 596 | CODE | |
| LOW | voluptuous/schema_builder.py | 683 | CODE | |
| LOW | voluptuous/dataclasses_support.py | 30 | CODE | |
| LOW | voluptuous/dataclasses_support.py | 149 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | voluptuous/dataclasses_support.py | 31 | Extract field information from a dataclass. Args: dataclass_type: The dataclass type to extract fields from | STRING |
| HIGH | voluptuous/dataclasses_support.py | 155 | Create a voluptuous Schema from a dataclass. Args: dataclass_type: The dataclass type to create a schema fo | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | voluptuous/dataclasses_support.py | 218 | # Create a custom validator that validates dict and creates dataclass instance | COMMENT |
| MEDIUM | voluptuous/dataclasses_support.py | 278 | # Create the schema using the helper function | COMMENT |
| MEDIUM | voluptuous/tests/tests.py | 2137 | # Create a very long string that will be truncated | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | voluptuous/util.py | 127 | except Exception as e: | CODE |
| MEDIUM | voluptuous/util.py | 124 | def __call__(self, v): | CODE |
| LOW | voluptuous/tests/tests.py | 429 | except Exception as e: | CODE |
| LOW | examples/dataclasses_example.py | 95 | except Exception as e: | CODE |
| LOW | examples/dataclasses_example.py | 106 | except Exception as e: | CODE |