Pack Api
C+ 76 completed
Other
unknown / ruby · small
100
Files
4,123
LOC
1
Frameworks
4
Languages
Pipeline State
completedRun ID
#1535413Phase
doneProgress
0%Started
2026-04-16 16:08:51Finished
2026-04-16 16:08:51LLM tokens
0Pipeline Metadata
Stage
SkippedDecision
skip_scaffold_dupNovelty
28.98Framework unique
—Isolation
—Last stage change
2026-04-16 18:15:42Deduplication group #48880
Repobility's GitHub App fixes findings like these · https://github.com/apps/repobility-bot
🧪 Code Distillation
Browse all specs →AI Prompt
Create a Ruby gem called PackAPI that helps build robust API layers on top of domain models. The gem should provide utilities for data transformation, defining filters, and attribute mapping between domain models and API representations. Specifically, include tools like `AttributeMap` for bidirectional mapping, and components for building complex queries supporting filtering, sorting, and pagination, such as `ComposableQuery` and `CollectionQuery`. The gem should require Ruby >= 3.0.0 and depend on ActiveRecord >= 7.0 and dry-types.
ruby gem rails api data-transformation query-building activerecord dry-types backend
Generated by gemma4:latest
Catalog Information
Create a Ruby gem called PackAPI that helps build robust API layers on top of domain models. The gem should provide utilities for data transformation, defining filters, and attribute mapping between domain models and API representations. Specifically, include tools like AttributeMap for bidirectional mapping, and components for building complex queries supporting filtering, sorting, and pagination, such as ComposableQuery and CollectionQuery. The gem should require Ruby >= 3.0.0 and depend
Tags
ruby gem rails api data-transformation query-building activerecord dry-types backend
Quality Score
C+
76.1/100
Structure
78
Code Quality
90
Documentation
47
Testing
85
Practices
72
Security
75
Dependencies
80
Strengths
- CI/CD pipeline configured (github_actions)
- Good test coverage (60% test-to-source ratio)
- Consistent naming conventions (snake_case)
- Properly licensed project
Weaknesses
- 104 duplicate lines detected — consider DRY refactoring
Recommendations
- Add a linter configuration to enforce code style consistency
Languages
Frameworks
Rails
Symbols
method196
function72
property57
class48
constant17
Embed Badge
Add to your README:
Source: Repobility analyzer · https://repobility.com
BinComp Dependency Hardening
All packages →1 of this repo's dependencies have been scanned for binary hardening. Grade reflects RELRO / stack canary / FORTIFY / PIE coverage.