Deriving
C+ 70 completed
Other
unknown / vlang · tiny
30
Files
3,369
LOC
0
Frameworks
3
Languages
Pipeline State
completedRun ID
#1157885Phase
doneProgress
0%Started
2026-04-15 16:23:46Finished
2026-04-15 16:23:46LLM tokens
0Pipeline Metadata
Stage
SkippedDecision
skip_scaffold_dupNovelty
22.57Framework unique
—Isolation
—Last stage change
2026-04-16 18:15:42Deduplication group #47631
Member of a group with 18 similar repo(s) — canonical #1576798 view group →
Generated by Repobility's multi-pass static-analysis pipeline (https://repobility.com)
AI Prompt
Create a library in Coq that provides generic instances for basic MathComp classes for inductive data types, similar to Haskell's `deriving`. The tool should allow users to define instances for types like `foo` and automatically generate necessary definitions, such as `foo_indDef` and `foo_hasDecEq`. I also need to know how to handle predefined instances for `choiceType`, `countType`, `finType`, and `orderType`, and how to derive instances for record types, noting that I might need to generate the induction principle manually.
coq mathcomp library inductive-types generic-programming proof-assistant mathematics
Generated by gemma4:latest
Catalog Information
Create a library in Coq that provides generic instances for basic MathComp classes for inductive data types, similar to Haskell's deriving. The tool should allow users to define instances for types like foo and automatically generate necessary definitions, such as foo_indDef and foo_hasDecEq. I also need to know how to handle predefined instances for choiceType, countType, finType, and orderType, and how to derive instances for record types, noting that I might need to generate t
Tags
coq mathcomp library inductive-types generic-programming proof-assistant mathematics
Quality Score
C+
70.1/100
Structure
76
Code Quality
59
Documentation
38
Testing
85
Practices
78
Security
100
Dependencies
50
Strengths
- CI/CD pipeline configured (github_actions)
- Good test coverage (60% test-to-source ratio)
- Consistent naming conventions (snake_case)
- Good security practices — no major issues detected
- Properly licensed project
Weaknesses
- 1 files with critical complexity need refactoring
- 102 duplicate lines detected — consider DRY refactoring
- 2 'god files' with >500 LOC need decomposition
Recommendations
- Add a linter configuration to enforce code style consistency
Languages
Frameworks
None detected
Embed Badge
Add to your README:
