AI Slop Code Risk Monitor

calcom/cal.diy

SlopCodeMonitor badge for calcom/cal.diy Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Scheduling infrastructure for absolutely everyone.

2.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for calcom/cal.diy, a TypeScript project with 49,576 GitHub stars. SynthScan examined 801,822 lines of code across 6056 source files, recording 1209 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 2.5 (Low 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.

2.5
Adjusted Signal
2.5
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
49.6K
Stars
TypeScript
Language
801.8K
Lines of Code
6.1K
Files
1.2K
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 4.1/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 565 finding(s).

Hallucinated Dependency & Supply Chain Risk 7.9/100 · LOW

Are imports declared and package/API names verified? 631 finding(s).

Agent Over-Engineering Ratio 3.4/100 · LOW

Are wrappers, guards, and repeated structures necessary? 510 finding(s).

PR Review Velocity Impact 11.6/100 · LOW

Which changes need focused human review? 1209 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 77HIGH 9MEDIUM 17LOW 1106

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 1209 distinct pattern matches across 12 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.

Hallucination Indicators77 hits · 775 pts
SeverityFileLineSnippetContext
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts251 mockHubspotClient.crm.owners.ownersApi.getPage.mockResolvedValue({ results: [] });CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts254 mockHubspotClient.crm.objects.meetings.basicApi.create.mockResolvedValue({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts260 mockHubspotClient.crm.associations.batchApi.create.mockResolvedValue({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts267 mockHubspotClient.crm.contacts.searchApi.doSearch.mockResolvedValueOnce({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts590 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts889 mockHubspotClient.crm.owners.ownersApi.getPage.mockResolvedValue({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts894 mockHubspotClient.crm.contacts.basicApi.getById.mockResolvedValue({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts900 mockHubspotClient.crm.contacts.basicApi.update.mockResolvedValue({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts905 mockHubspotClient.crm.objects.meetings.basicApi.create.mockResolvedValue({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts910 mockHubspotClient.crm.associations.batchApi.create.mockResolvedValue({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts932 mockHubspotClient.crm.owners.ownersApi.getPage.mockResolvedValue({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts936 mockHubspotClient.crm.contacts.basicApi.update.mockResolvedValue({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts941 mockHubspotClient.crm.objects.meetings.basicApi.create.mockResolvedValue({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts946 mockHubspotClient.crm.associations.batchApi.create.mockResolvedValue({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts964 mockHubspotClient.crm.owners.ownersApi.getPage.mockResolvedValue({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts968 mockHubspotClient.crm.contacts.basicApi.getById.mockResolvedValue({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts973 mockHubspotClient.crm.objects.meetings.basicApi.create.mockResolvedValue({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts978 mockHubspotClient.crm.associations.batchApi.create.mockResolvedValue({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts996 mockHubspotClient.crm.owners.ownersApi.getPage.mockResolvedValue({ results: [] });CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts998 mockHubspotClient.crm.objects.meetings.basicApi.create.mockResolvedValue({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts1003 mockHubspotClient.crm.associations.batchApi.create.mockResolvedValue({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts1023 mockHubspotClient.crm.owners.ownersApi.getPage.mockRejectedValue({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts1032 mockHubspotClient.crm.objects.meetings.basicApi.create.mockResolvedValue({CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.test.ts1037 mockHubspotClient.crm.associations.batchApi.create.mockResolvedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts283 mockHubspotClient.crm.contacts.searchApi.doSearch.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts293 mockHubspotClient.crm.contacts.searchApi.doSearch.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts306 mockHubspotClient.crm.contacts.searchApi.doSearch.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts318 mockHubspotClient.crm.owners.ownersApi.getById.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts350 mockHubspotClient.crm.contacts.searchApi.doSearch.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts384 mockHubspotClient.crm.contacts.searchApi.doSearch.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts420 mockHubspotClient.crm.contacts.searchApi.doSearch.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts432 mockHubspotClient.crm.owners.ownersApi.getById.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts463 mockHubspotClient.crm.contacts.searchApi.doSearch.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts475 mockHubspotClient.crm.owners.ownersApi.getById.mockRejectedValueOnce(new Error("Owner not found"));CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts497 mockHubspotClient.crm.contacts.basicApi.create.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts515 mockHubspotClient.crm.contacts.basicApi.create.mockRejectedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts564 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts620 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts651 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts677 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts703 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts735 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts767 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts809 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts846 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts1068 mockHubspotClient.crm.objects.meetings.basicApi.update.mockResolvedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts1092 mockHubspotClient.crm.objects.meetings.basicApi.update.mockResolvedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts1109 mockHubspotClient.crm.objects.meetings.basicApi.archive.mockResolvedValue(undefined);CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.ts95 const properties = await this.hubspotClient.crm.properties.coreApi.getAll("meetings");CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.ts314 return this.hubspotClient.crm.objects.meetings.basicApi.create(simplePublicObjectInput);CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.ts325 return this.hubspotClient.crm.associations.batchApi.create(CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.ts350 return this.hubspotClient.crm.objects.meetings.basicApi.update(uid, simplePublicObjectInput);CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.ts360 return this.hubspotClient.crm.objects.meetings.basicApi.update(uid, simplePublicObjectInput);CODE
CRITICAL⚡packages/app-store/hubspot/lib/CrmService.ts364 return this.hubspotClient.crm.objects.meetings.basicApi.archive(uid);CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.ts579 this.hubspotClient.crm.contacts.basicApi.create(contact).catch((error) => {CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.ts611 const ownersResponse = await this.hubspotClient.crm.owners.ownersApi.getPage(CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.ts630 await this.hubspotClient.crm.contacts.basicApi.update(contactId, {CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.ts639 const contact = await this.hubspotClient.crm.contacts.basicApi.getById(contactId, ["hubspot_owner_id"]);CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.ts665 const owner = await this.hubspotClient.crm.owners.ownersApi.getById(parseInt(ownerId, 10));CODE
CRITICAL…ents/getting-started/steps-views/SetupAvailability.tsx25 const queryAvailability = trpc.viewer.availability.schedule.get.useQuery(CODE
17 more matches not shown…
Fake / Example Data553 hits · 540 pts
SeverityFileLineSnippetContext
LOWagents/skills/calcom-api/SKILL.md95 "name": "John Doe",CODE
LOWagents/skills/calcom-api/references/authentication.md240 "email": "user@example.com",CODE
LOWagents/skills/calcom-api/references/authentication.md242 "name": "John Doe",CODE
LOWagents/skills/calcom-api/references/webhooks.md108 "name": "John Doe",CODE
LOWagents/skills/calcom-api/references/webhooks.md121 "name": "John Doe",CODE
LOWagents/skills/calcom-api/references/event-types.md89 "placeholder": "Any additional information..."CODE
LOWagents/skills/calcom-api/references/event-types.md211 "placeholder": "Enter your company name"CODE
LOWagents/skills/calcom-api/references/bookings.md62 "name": "John Doe",CODE
LOWagents/skills/calcom-api/references/bookings.md96 "name": "John Doe",CODE
LOWdocs/api-reference/v2/openapi.json166 "example": "John Doe",CODE
LOWdocs/api-reference/v2/openapi.json7465 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json7477 "required": ["type", "slug", "label", "required", "placeholder", "hidden"]CODE
LOWdocs/api-reference/v2/openapi.json7499 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json7512 "required": ["type", "slug", "label", "required", "placeholder", "hidden"]CODE
LOWdocs/api-reference/v2/openapi.json7534 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json7547 "required": ["type", "slug", "label", "required", "placeholder", "hidden"]CODE
LOWdocs/api-reference/v2/openapi.json7569 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json7582 "required": ["type", "slug", "label", "required", "placeholder", "hidden"]CODE
LOWdocs/api-reference/v2/openapi.json7604 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json7617 "required": ["type", "slug", "label", "required", "placeholder", "hidden"]CODE
LOWdocs/api-reference/v2/openapi.json7639 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json7659 "required": ["type", "slug", "label", "required", "placeholder", "options", "hidden"]CODE
LOWdocs/api-reference/v2/openapi.json7719 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json7732 "required": ["type", "slug", "label", "required", "placeholder", "hidden"]CODE
LOWdocs/api-reference/v2/openapi.json7861 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json7874 "required": ["type", "slug", "label", "required", "placeholder", "hidden"]CODE
LOWdocs/api-reference/v2/openapi.json8141 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json8149 "required": ["type", "label", "placeholder"]CODE
LOWdocs/api-reference/v2/openapi.json8170 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json8178 "required": ["type", "label", "placeholder"]CODE
LOWdocs/api-reference/v2/openapi.json8198 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json8240 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json8268 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json8296 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json8932 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json8950 "required": ["type", "label", "placeholder", "isDefault", "slug"]CODE
LOWdocs/api-reference/v2/openapi.json8964 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json8985 "required": ["type", "label", "placeholder", "isDefault", "slug", "required"]CODE
LOWdocs/api-reference/v2/openapi.json9037 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9076 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9115 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9154 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9194 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9213 "required": ["type", "slug", "label", "required", "placeholder", "hidden", "isDefault"]CODE
LOWdocs/api-reference/v2/openapi.json9316 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9335 "required": ["type", "slug", "label", "required", "placeholder", "hidden", "isDefault"]CODE
LOWdocs/api-reference/v2/openapi.json9401 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9420 "required": ["type", "slug", "label", "required", "placeholder", "hidden", "isDefault"]CODE
LOWdocs/api-reference/v2/openapi.json9442 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9461 "required": ["type", "slug", "label", "required", "placeholder", "hidden", "isDefault"]CODE
LOWdocs/api-reference/v2/openapi.json9482 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9500 "required": ["type", "slug", "label", "required", "placeholder", "hidden", "isDefault"]CODE
LOWdocs/api-reference/v2/openapi.json9566 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9592 "required": ["type", "slug", "label", "required", "placeholder", "options", "hidden", "isDefault"]CODE
LOWdocs/api-reference/v2/openapi.json9614 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9633 "required": ["type", "slug", "label", "required", "placeholder", "hidden", "isDefault"]CODE
LOWdocs/api-reference/v2/openapi.json9655 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9674 "required": ["type", "slug", "label", "required", "placeholder", "hidden", "isDefault"]CODE
LOWdocs/api-reference/v2/openapi.json12206 "example": "John Doe"CODE
LOWdocs/api-reference/v2/openapi.json12576 "example": "Jane Doe"CODE
493 more matches not shown…
Hyper-Verbose Identifiers497 hits · 510 pts
SeverityFileLineSnippetContext
LOWplaywright.config.ts335function ensureAppServerIsReadyToServeEmbed(webServer: { port?: number; url?: string }) {CODE
LOWexample-apps/credential-sync/lib/integrations.ts10export async function generateGoogleCalendarAccessToken() {CODE
LOWagents/rules/performance-scheduling-complexity.md41async function precomputeTeamAvailability(teamId: number) {CODE
LOWscripts/seed-performance-testing.ts242async function createAUserWithManyBookings() {CODE
LOWscripts/seed-huge-event-types.ts29async function createTeamsWithEventTypes({CODE
LOWscripts/seed.ts113async function createOrganizationAndAddMembersAndTeams({CODE
LOWscripts/seed.ts522async function ensureAcmeOwnerHasApiKeySeeded() {CODE
LOWscripts/seed.ts531async function seedPerHostLocationsInAcmeOrg() {CODE
LOW…ges/ui/components/dialog/ConfirmationDialogContent.tsx21export function ConfirmationDialogContent(props: PropsWithChildren<ConfirmationDialogContentProps>) {CODE
LOWpackages/types/business-days-plugin.d.ts42 function getAdditionalWorkingDayFormat(): string | undefined;CODE
LOWpackages/types/business-days-plugin.d.ts43 function setAdditionalWorkingDayFormat(additionalWorkingDayFormat: string): void;CODE
LOW…/routers/loggedInViewer/connectAndJoin.handler.test.ts55function mockPrismaForSuccessfulJoin({ oldStatus = BookingStatus.AWAITING_HOST } = {}) {CODE
LOW…iewer/calendars/setDestinationCalendar.handler.test.ts74function createMockConnectedCalendars({CODE
LOW…server/routers/viewer/bookings/editLocation.handler.ts41async function updateLocationInConnectedAppForBooking({CODE
LOW…server/routers/viewer/bookings/editLocation.handler.ts66function extractAdditionalInformation(result: {CODE
LOW…server/routers/viewer/bookings/editLocation.handler.ts78async function updateBookingLocationInDb({CODE
LOW…server/routers/viewer/bookings/editLocation.handler.ts127async function getAllCredentialsIncludeServiceAccountKey({CODE
LOW…server/routers/viewer/bookings/editLocation.handler.ts159async function getLocationInEvtFormatOrThrow({CODE
LOW…server/routers/viewer/bookings/editLocation.handler.ts213export function getLocationForOrganizerDefaultConferencingAppInEvtFormat({CODE
LOW…pc/server/routers/viewer/bookings/addGuests.handler.ts115export function validateGuestsFieldEnabled(booking: Booking): void {CODE
LOW…pc/server/routers/viewer/bookings/addGuests.handler.ts172async function getEmailVerificationRequirements(guestEmails: string[]): Promise<Map<string, boolean>> {CODE
LOW…ges/trpc/server/routers/viewer/bookings/get.handler.ts877async function getEventTypeIdsFromTeamIdsFilter(prisma: PrismaClient, teamIds?: number[]) {CODE
LOW…ges/trpc/server/routers/viewer/bookings/get.handler.ts897async function getAttendeeEmailsFromUserIdsFilter(CODE
LOW…ges/trpc/server/routers/viewer/bookings/get.handler.ts929async function getEventTypeIdsFromEventTypeIdsFilter(prisma: PrismaClient, eventTypeIds?: number[]) {CODE
LOW…ges/trpc/server/routers/viewer/bookings/get.handler.ts1051function addAdvancedAttendeeWhereClause(CODE
LOW…uters/viewer/holidays/getSupportedCountries.handler.ts3export async function getSupportedCountriesHandler() {CODE
LOWpackages/trpc/server/routers/viewer/eventTypes/util.ts252export function ensureUniqueBookingFields(fields: TUpdateInputSchema["bookingFields"]) {CODE
LOWpackages/trpc/server/routers/viewer/eventTypes/util.ts274export function ensureEmailOrPhoneNumberIsPresent(fields: TUpdateInputSchema["bookingFields"]) {CODE
LOW…rver/routers/viewer/eventTypes/utils/transformUtils.ts121export function createProfilesWithPermissions(CODE
LOW…/server/routers/viewer/eventTypes/utils/filterUtils.ts26export function shouldIncludeTeamMembership(CODE
LOWpackages/trpc/server/lib/toTRPCError.ts62export function convertErrorWithCodeToTRPCError(cause: unknown) {CODE
LOWpackages/emails/templates/organizer-request-email.ts12async function getOrganizerRequestTemplate(userId?: number) {CODE
LOW…ooks/organizations/bookings/useOrganizationBookings.ts36function extractOrganizationBookingsQueryKeys(query: GetOrganizationsBookingsInput) {CODE
LOW…ility/wrappers/AvailabilitySettingsPlatformWrapper.tsx44>(function AvailabilitySettingsPlatformWrapper(props, ref) {CODE
LOW…nnect/conferencing-apps/AppListCardPlatformWrapper.tsx4export default function AppListCardPlatformWrapper(props: AppListCardProps) {CODE
LOW…pes/bookings/2024-08-13/inputs/create-booking.input.ts48function RequireEventTypeIdentification(validationOptions?: ValidationOptions) {CODE
LOW…pes_2024_06_14/inputs/booking-limits-duration.input.ts97export function ValidateBookingLimistsDuration(validationOptions?: ValidationOptions) {CODE
LOW…-types_2024_06_14/inputs/booking-limits-count.input.ts106export function ValidateBookingLimitsCount(validationOptions?: ValidationOptions) {CODE
LOW…t-types_2024_06_14/inputs/confirmation-policy.input.ts92export function ValidateConfirmationPolicy(validationOptions?: ValidationOptions) {CODE
LOW…/event-types_2024_06_14/inputs/booker-layouts.input.ts63function IsDefaultLayoutWithinEnabledLayouts(validationOptions?: ValidationOptions) {CODE
LOW…tors/CantHaveRecurrenceAndBookerActiveBookingsLimit.ts9export function CantHaveRecurrenceAndBookerActiveBookingsLimit(validationOptions?: ValidationOptions) {CODE
LOW…/types/utils/RequiresOneOfPropertiesWhenNotDisabled.ts13export function RequiresAtLeastOnePropertyWhenNotDisabled(validationOptions?: ValidationOptions) {CODE
LOWpackages/platform/libraries/app-store.ts47export async function enrichUserWithDelegationConferencingCredentialsWithoutOrgId(_args: {CODE
LOWpackages/platform/libraries/organizations.ts22export function getActiveUserBillingService(): ActiveUserBillingServiceStub {CODE
LOWpackages/platform/libraries/emails.ts54export async function sendSignupToOrganizationEmail(_args: {CODE
LOWpackages/platform/libraries/tasker.ts5export function getIncrementUsageIdempotencyKey(bookingUid: string): string {CODE
LOWpackages/platform/libraries/slots.ts14export async function validateRoundRobinSlotAvailability(CODE
LOWpackages/platform/libraries/index.ts126export async function roundRobinManualReassignment(_args: {CODE
LOWpackages/platform/libraries/index.ts166export function getClientSecretFromPayment(payment: { data: Record<string, unknown> }): string | null {CODE
LOWpackages/platform/libraries/index.ts184export async function createNewUsersConnectToOrgIfExists(_args: {CODE
LOW…s/platform/examples/base/src/pages/api/managed-user.ts15async function createUserWithDefaultSchedule(email: string, name: string, avatarUrl: string) {CODE
LOW…s/platform/examples/base/src/pages/api/managed-user.ts175async function createOrgTeamMembershipMember(orgId: number, teamId: number, userId: number) {CODE
LOW…s/platform/examples/base/src/pages/api/managed-user.ts221async function createCollectiveEventType(orgId: number, teamId: number, userIds: number[]) {CODE
LOW…s/platform/examples/base/src/pages/api/managed-user.ts246async function createRoundRobinEventType(orgId: number, teamId: number, userIds: number[]) {CODE
LOW…tures/settings/appDir/SettingsHeaderWithBackButton.tsx17export default function SettingsHeaderWithBackButton(props: SettingsHeaderWithBackButtonProps) {CODE
LOW…slation/di/EventTypeTranslationRepository.container.ts10export function getEventTypeTranslationRepository(): EventTypeTranslationRepository {CODE
LOW…ures/calendars/lib/getConnectedDestinationCalendars.ts69async function handleNoConnectedCalendars(user: UserWithCalendars) {CODE
LOW…ures/calendars/lib/getConnectedDestinationCalendars.ts88async function handleNoDestinationCalendar({CODE
LOW…ures/calendars/lib/getConnectedDestinationCalendars.ts153async function handleDestinationCalendarNotInConnectedCalendars({CODE
LOW…ures/calendars/lib/getConnectedDestinationCalendars.ts213async function ensureSelectedCalendarIsInDb({CODE
437 more matches not shown…
Synthetic Comment Markers8 hits · 86 pts
SeverityFileLineSnippetContext
HIGH⚡agents/rules/culture-leverage-ai.md39 // AI-generated test caseCOMMENT
HIGH⚡agents/rules/culture-leverage-ai.md43 // AI-generated test caseCOMMENT
HIGH⚡agents/rules/culture-leverage-ai.md47 // AI-generated test caseCOMMENT
HIGH⚡agents/rules/culture-leverage-ai.md51 // AI-generated test caseCOMMENT
HIGH⚡agents/rules/culture-leverage-ai.md55 // AI-generated test caseCOMMENT
HIGH⚡agents/rules/culture-leverage-ai.md59 // AI-generated test caseCOMMENT
HIGH⚡agents/rules/culture-leverage-ai.md64 // AI-generated edge caseCOMMENT
HIGHapps/api/v2/src/main.ts114 // Preserved as requested:COMMENT
Decorative Section Separators13 hits · 39 pts
SeverityFileLineSnippetContext
MEDIUM…sync/__tests__/CalendarSyncService.integration.test.ts125// ─── Helper function tests (pure, no mocks needed) ───────────────────────────COMMENT
MEDIUM…sync/__tests__/CalendarSyncService.integration.test.ts426// ─── Change detection ─────────────────────────────────────────────────────────COMMENT
MEDIUM…sync/__tests__/CalendarSyncService.integration.test.ts529// ─── iCalUID parsing edge cases ───────────────────────────────────────────────COMMENT
MEDIUM…sync/__tests__/CalendarSyncService.integration.test.ts608// ─── Zero/negative duration edge cases ────────────────────────────────────────COMMENT
MEDIUM…sync/__tests__/CalendarSyncService.integration.test.ts658// ─── End-to-end data flow: event fields → createBooking ───────────────────────COMMENT
MEDIUM…sync/__tests__/CalendarSyncService.integration.test.ts845// ─── Service-level integration tests ──────────────────────────────────────────COMMENT
MEDIUM…unified-calendars/services/unified-calendar.service.ts51 // ─── Strategy: validate calendar type ──────────────────────────────────COMMENT
MEDIUM…unified-calendars/services/unified-calendar.service.ts69 // ─── Connections ───────────────────────────────────────────────────────COMMENT
MEDIUM…unified-calendars/services/unified-calendar.service.ts93 // ─── User-scoped calendar operations ───────────────────────────────────COMMENT
MEDIUM…unified-calendars/services/unified-calendar.service.ts129 // ─── Connection-scoped operations ──────────────────────────────────────COMMENT
MEDIUM…-unified-calendars/services/google-calendar.service.ts213 // ─── Shared private helpers (DRY calendar CRUD) ──────────────────────COMMENT
MEDIUM…-unified-calendars/services/google-calendar.service.ts369 // ─── Public user-scoped methods ──────────────────────────────────────COMMENT
MEDIUM…-unified-calendars/services/google-calendar.service.ts405 // ─── Public connection-scoped methods ─────────────────────────────────COMMENT
Over-Commented Block29 hits · 29 pts
SeverityFileLineSnippetContext
LOWexample-apps/credential-sync/next-env.d.ts1/// <reference types="next" />COMMENT
LOWscripts/wait-for-it.sh1#!/bin/shCOMMENT
LOWpackages/trpc/index.ts1// React exports have been moved to @calcom/trpc/reactCOMMENT
LOW…atures/bookings/lib/service/RecurringBookingService.ts81 // .flatMap((book) => (book.appsStatus !== undefined ? book.appsStatus : []))COMMENT
LOW…eatures/bookings/Booker/utils/getPrefetchMonthCount.ts21 // Column view always needs 2 months because it displays multiple weeks side-by-side,COMMENT
LOWpackages/features/schedules/lib/slots.ts41 // so that maximum possible slots are shown.COMMENT
LOW…pes/repositories/__tests__/EventTypeRepository.test.ts201 // - describe("findById", () => { ... })COMMENT
LOWpackages/features/webhooks/lib/WebhookService.test.ts61 const service = await WebhookService.init(mockOptions);COMMENT
LOWpackages/features/webhooks/lib/WebhookService.test.ts81 // appId: "appId2",COMMENT
LOWpackages/features/webhooks/lib/WebhookService.test.ts101 //COMMENT
LOWpackages/features/webhooks/lib/WebhookService.test.ts121 // appId: "appId",COMMENT
LOWpackages/features/webhooks/lib/WebhookService.test.ts141 // data: "test"COMMENT
LOWpackages/features/tasker/repository.ts201 // TODO: Uncomment this laterCOMMENT
LOWpackages/prisma/run-enum-generator.js1#!/usr/bin/env nodeCOMMENT
LOWpackages/lib/sdk-event.ts1// We can't use sdkActionManager without embed because sdkActionManager needs embed namespace to be able to inform the cCOMMENT
LOWpackages/lib/deriveAppDictKeyFromType.ts41 // if (appType.match(matcher)) {COMMENT
LOWpackages/embeds/embed-core/src/embed.test.ts681 })COMMENT
LOW.github/workflows/nextjs-bundle-analysis-annotation.yml21 uses: dawidd6/action-download-artifact@v6COMMENT
LOWapps/web/pagesAndRewritePaths.ts61// It would also not match /free/30min/embed because we are ensuring just two slashesCOMMENT
LOWapps/web/playwright/overlay-calendar.e2e.ts1export {};COMMENT
LOWapps/web/playwright/overlay-calendar.e2e.ts21// await test.step("Log in and return to booking page", async () => {COMMENT
LOWapps/web/pages/_error.tsx81 // threw or returned a Promise that rejectedCOMMENT
LOWapps/docs/next-env.d.ts1/// <reference types="next" />COMMENT
LOW…ent-types_2024_04_15/inputs/update-event-type.input.ts321 // @IsOptional()COMMENT
LOW…ent-types_2024_04_15/inputs/update-event-type.input.ts361 // periodStartDate?: Date;COMMENT
LOW…ent-types_2024_04_15/inputs/update-event-type.input.ts381 // requiresConfirmation?: boolean;COMMENT
LOW…ent-types_2024_04_15/inputs/update-event-type.input.ts441 // @IsOptional()COMMENT
LOW…ent-types_2024_04_15/inputs/update-event-type.input.ts461 @Min(0)COMMENT
LOW…ent-types_2024_04_15/inputs/update-event-type.input.ts481 // @IsBoolean()COMMENT
Structural Annotation Overuse15 hits · 22 pts
SeverityFileLineSnippetContext
LOWAGENTS.md200// Step 1: In packages/platform/libraries/index.ts, add the exportCOMMENT
LOWAGENTS.md203// Step 2: In apps/api/v2, import from platform-librariesCOMMENT
LOWCLAUDE.md200// Step 1: In packages/platform/libraries/index.ts, add the exportCOMMENT
LOWCLAUDE.md203// Step 2: In apps/api/v2, import from platform-librariesCOMMENT
LOWscripts/seed.ts276 // Step 1: Create organization (team) with just metadata and organizationSettingsCOMMENT
LOWscripts/seed.ts295 // Step 2: Create org profiles in batches to avoid large transactionsCOMMENT
LOWscripts/seed.ts318 // Step 3: Create memberships using createMany for better performanceCOMMENT
LOWscripts/seed.ts332 // Step 4: Fetch created profiles to rebuild orgMembersInDBWithProfileIdCOMMENT
LOWpackages/platform/atoms/STRIPE.md11### Step 1: Create Stripe Account and Get API KeysCOMMENT
LOWpackages/platform/atoms/STRIPE.md31### Step 2: Install and Configure Stripe CLICOMMENT
LOWpackages/platform/atoms/STRIPE.md47### Step 3: Configure Environment VariablesCOMMENT
LOWpackages/platform/atoms/STRIPE.md116### Step 4: Local Development WorkaroundCOMMENT
LOWpackages/platform/atoms/STRIPE.md122### Step 5: Testing the IntegrationCOMMENT
LOW…ings/2024-08-13/controllers/e2e/add-guests.e2e-spec.ts286 // Step 1: Organizer adds guest user as a guestCOMMENT
LOW…ings/2024-08-13/controllers/e2e/add-guests.e2e-spec.ts302 // Step 2: Now the guest can add their own guestsCOMMENT
Verbosity Indicators7 hits · 10 pts
SeverityFileLineSnippetContext
LOWscripts/seed.ts276 // Step 1: Create organization (team) with just metadata and organizationSettingsCOMMENT
LOWscripts/seed.ts295 // Step 2: Create org profiles in batches to avoid large transactionsCOMMENT
LOWscripts/seed.ts318 // Step 3: Create memberships using createMany for better performanceCOMMENT
LOWscripts/seed.ts332 // Step 4: Fetch created profiles to rebuild orgMembersInDBWithProfileIdCOMMENT
LOW…ges/features/bookings/lib/getBookingResponsesSchema.ts258 // Either the field is required or there is a radio selected, we need to check if the optionInput is required orCOMMENT
LOW…ings/2024-08-13/controllers/e2e/add-guests.e2e-spec.ts286 // Step 1: Organizer adds guest user as a guestCOMMENT
LOW…ings/2024-08-13/controllers/e2e/add-guests.e2e-spec.ts302 // Step 2: Now the guest can add their own guestsCOMMENT
TODO Padding5 hits · 8 pts
SeverityFileLineSnippetContext
LOWpackages/platform/atoms/hooks/useSlots.ts111 // TODO: implement slot no longer available featureCOMMENT
LOW…pes/repositories/__tests__/EventTypeRepository.test.ts199 // TODO: Add tests for other EventTypeRepository methods as they are addedCOMMENT
LOWpackages/features/credentials/deleteCredential.test.ts125 // TODO: Add test for payment appsCOMMENT
LOWpackages/features/credentials/deleteCredential.test.ts126 // TODO: Add test for event type appsCOMMENT
LOWapps/web/modules/settings/my-account/profile-view.tsx90 // TODO: Add error codes.COMMENT
AI Slop Vocabulary3 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMapps/web/test/jest-resolver.js2 // Call the defaultResolver, so we leverage its cache, error handling, etc.COMMENT
MEDIUMapps/web/lib/app-providers.tsx230 ? // Same Namespace, Same Organizer but different themes would still work seamless and not cause theme flickerCODE
MEDIUMapps/web/lib/getThemeProviderProps.ts128 ? // Same Namespace, Same Organizer but different themes would still work seamless and not cause theme flickerCODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHagents/skills/calcom-api/SKILL.md44Authorization: Bearer cal_<your_api_key>CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/draft-release.yml88 # Create the TypeScript contentCOMMENT