-
-
Notifications
You must be signed in to change notification settings - Fork 1
Refactor comparisons subsystem to use YAML manifests #837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
💡 Enable Vercel Agent with $100 free credit for automated AI reviews |
| // Merge and sort by date | ||
| const allContent = [...blogPosts, ...reviews] | ||
| .filter((a) => a.type === 'blog' || a.type === 'video' || a.type === 'demo') | ||
| .sort((a, b) => new Date(b.date).getTime() - new Date(a.date).getTime()) as Blog[]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Content Filter Fails to Display New Metadata Types
The blog index page loads reviews and the metadata types now include 'newsletter', but the content filter isn't updated to include these new types. This means reviews and newsletters won't display on the page.
Additional Locations (1)
| }, | ||
|
|
||
| company: { | ||
| moreEstablished: (tool1.company.founded || '') < (tool2.company.founded || '') ? tool1 : tool2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: String Comparison Bug in Numeric Field
The company.founded field is compared as a string, causing incorrect lexicographical ordering instead of numeric comparison. This leads to inaccurate results for comparisons like moreEstablished.
Additional Locations (1)
|
@dependabot rebase |
Note
Migrates comparisons to a YAML‑manifest system with validation/provenance and a new decision engine/UI, adds OpenAI/Anthropic manifests, CI checks, and newsletter auto‑subscribe with analytics.
manifests/openai-api.yaml,manifests/anthropic-api.yaml) with provenance.src/lib/manifests/**) and AJV validation; scripts for validate/check/policy/migrate.src/lib/decision-engine/**).Toolusage)./comparisons/:a/vs/:b.NewsletterSubscriptionmodel/migration and local/APIs for subscription/status.Written by Cursor Bugbot for commit 0a97eb6. This will update automatically on new commits. Configure here.