Repository Analysis

calcom/cal.diy

Scheduling infrastructure for absolutely everyone.

2.4 Likely human-written View on GitHub
2.4
Adjusted Score
2.4
Raw Score
100%
Time Factor
2026-05-29
Last Push
44,824
Stars
TypeScript
Language
799,642
Lines of Code
6038
Files
1087
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 77HIGH 9MEDIUM 17LOW 984

Pattern Findings

1087 matches across 10 categories. Click a row to expand file-level details.

Hallucination Indicators77 hits · 775 pts
SeverityFileLineSnippet
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts251 mockHubspotClient.crm.owners.ownersApi.getPage.mockResolvedValue({ results: [] });
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts254 mockHubspotClient.crm.objects.meetings.basicApi.create.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts260 mockHubspotClient.crm.associations.batchApi.create.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts267 mockHubspotClient.crm.contacts.searchApi.doSearch.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts590 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts889 mockHubspotClient.crm.owners.ownersApi.getPage.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts894 mockHubspotClient.crm.contacts.basicApi.getById.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts900 mockHubspotClient.crm.contacts.basicApi.update.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts905 mockHubspotClient.crm.objects.meetings.basicApi.create.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts910 mockHubspotClient.crm.associations.batchApi.create.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts932 mockHubspotClient.crm.owners.ownersApi.getPage.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts936 mockHubspotClient.crm.contacts.basicApi.update.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts941 mockHubspotClient.crm.objects.meetings.basicApi.create.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts946 mockHubspotClient.crm.associations.batchApi.create.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts964 mockHubspotClient.crm.owners.ownersApi.getPage.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts968 mockHubspotClient.crm.contacts.basicApi.getById.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts973 mockHubspotClient.crm.objects.meetings.basicApi.create.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts978 mockHubspotClient.crm.associations.batchApi.create.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts996 mockHubspotClient.crm.owners.ownersApi.getPage.mockResolvedValue({ results: [] });
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts998 mockHubspotClient.crm.objects.meetings.basicApi.create.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts1003 mockHubspotClient.crm.associations.batchApi.create.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts1023 mockHubspotClient.crm.owners.ownersApi.getPage.mockRejectedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts1032 mockHubspotClient.crm.objects.meetings.basicApi.create.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts1037 mockHubspotClient.crm.associations.batchApi.create.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts283 mockHubspotClient.crm.contacts.searchApi.doSearch.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts293 mockHubspotClient.crm.contacts.searchApi.doSearch.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts306 mockHubspotClient.crm.contacts.searchApi.doSearch.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts318 mockHubspotClient.crm.owners.ownersApi.getById.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts350 mockHubspotClient.crm.contacts.searchApi.doSearch.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts384 mockHubspotClient.crm.contacts.searchApi.doSearch.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts420 mockHubspotClient.crm.contacts.searchApi.doSearch.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts432 mockHubspotClient.crm.owners.ownersApi.getById.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts463 mockHubspotClient.crm.contacts.searchApi.doSearch.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts475 mockHubspotClient.crm.owners.ownersApi.getById.mockRejectedValueOnce(new Error("Owner not found"));
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts497 mockHubspotClient.crm.contacts.basicApi.create.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts515 mockHubspotClient.crm.contacts.basicApi.create.mockRejectedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts564 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts620 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts651 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts677 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts703 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts735 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts767 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts809 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts846 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts1068 mockHubspotClient.crm.objects.meetings.basicApi.update.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts1092 mockHubspotClient.crm.objects.meetings.basicApi.update.mockResolvedValue({
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts1109 mockHubspotClient.crm.objects.meetings.basicApi.archive.mockResolvedValue(undefined);
CRITICALpackages/app-store/hubspot/lib/CrmService.ts95 const properties = await this.hubspotClient.crm.properties.coreApi.getAll("meetings");
CRITICALpackages/app-store/hubspot/lib/CrmService.ts314 return this.hubspotClient.crm.objects.meetings.basicApi.create(simplePublicObjectInput);
CRITICALpackages/app-store/hubspot/lib/CrmService.ts325 return this.hubspotClient.crm.associations.batchApi.create(
CRITICALpackages/app-store/hubspot/lib/CrmService.ts350 return this.hubspotClient.crm.objects.meetings.basicApi.update(uid, simplePublicObjectInput);
CRITICALpackages/app-store/hubspot/lib/CrmService.ts360 return this.hubspotClient.crm.objects.meetings.basicApi.update(uid, simplePublicObjectInput);
CRITICALpackages/app-store/hubspot/lib/CrmService.ts364 return this.hubspotClient.crm.objects.meetings.basicApi.archive(uid);
CRITICALpackages/app-store/hubspot/lib/CrmService.ts579 this.hubspotClient.crm.contacts.basicApi.create(contact).catch((error) => {
CRITICALpackages/app-store/hubspot/lib/CrmService.ts611 const ownersResponse = await this.hubspotClient.crm.owners.ownersApi.getPage(
CRITICALpackages/app-store/hubspot/lib/CrmService.ts630 await this.hubspotClient.crm.contacts.basicApi.update(contactId, {
CRITICALpackages/app-store/hubspot/lib/CrmService.ts639 const contact = await this.hubspotClient.crm.contacts.basicApi.getById(contactId, ["hubspot_owner_id"]);
CRITICALpackages/app-store/hubspot/lib/CrmService.ts665 const owner = await this.hubspotClient.crm.owners.ownersApi.getById(parseInt(ownerId, 10));
CRITICAL…ents/getting-started/steps-views/SetupAvailability.tsx25 const queryAvailability = trpc.viewer.availability.schedule.get.useQuery(
17 more matches not shown…
Hyper-Verbose Identifiers497 hits · 510 pts
SeverityFileLineSnippet
LOWplaywright.config.ts335function ensureAppServerIsReadyToServeEmbed(webServer: { port?: number; url?: string }) {
LOWexample-apps/credential-sync/lib/integrations.ts10export async function generateGoogleCalendarAccessToken() {
LOWagents/rules/performance-scheduling-complexity.md41async function precomputeTeamAvailability(teamId: number) {
LOWscripts/seed-performance-testing.ts242async function createAUserWithManyBookings() {
LOWscripts/seed-huge-event-types.ts29async function createTeamsWithEventTypes({
LOWscripts/seed.ts113async function createOrganizationAndAddMembersAndTeams({
LOWscripts/seed.ts522async function ensureAcmeOwnerHasApiKeySeeded() {
LOWscripts/seed.ts531async function seedPerHostLocationsInAcmeOrg() {
LOW…ges/ui/components/dialog/ConfirmationDialogContent.tsx21export function ConfirmationDialogContent(props: PropsWithChildren<ConfirmationDialogContentProps>) {
LOWpackages/types/business-days-plugin.d.ts42 function getAdditionalWorkingDayFormat(): string | undefined;
LOWpackages/types/business-days-plugin.d.ts43 function setAdditionalWorkingDayFormat(additionalWorkingDayFormat: string): void;
LOW…/routers/loggedInViewer/connectAndJoin.handler.test.ts55function mockPrismaForSuccessfulJoin({ oldStatus = BookingStatus.AWAITING_HOST } = {}) {
LOW…iewer/calendars/setDestinationCalendar.handler.test.ts74function createMockConnectedCalendars({
LOW…server/routers/viewer/bookings/editLocation.handler.ts41async function updateLocationInConnectedAppForBooking({
LOW…server/routers/viewer/bookings/editLocation.handler.ts66function extractAdditionalInformation(result: {
LOW…server/routers/viewer/bookings/editLocation.handler.ts78async function updateBookingLocationInDb({
LOW…server/routers/viewer/bookings/editLocation.handler.ts127async function getAllCredentialsIncludeServiceAccountKey({
LOW…server/routers/viewer/bookings/editLocation.handler.ts159async function getLocationInEvtFormatOrThrow({
LOW…server/routers/viewer/bookings/editLocation.handler.ts213export function getLocationForOrganizerDefaultConferencingAppInEvtFormat({
LOW…pc/server/routers/viewer/bookings/addGuests.handler.ts115export function validateGuestsFieldEnabled(booking: Booking): void {
LOW…pc/server/routers/viewer/bookings/addGuests.handler.ts172async function getEmailVerificationRequirements(guestEmails: string[]): Promise<Map<string, boolean>> {
LOW…ges/trpc/server/routers/viewer/bookings/get.handler.ts877async function getEventTypeIdsFromTeamIdsFilter(prisma: PrismaClient, teamIds?: number[]) {
LOW…ges/trpc/server/routers/viewer/bookings/get.handler.ts897async function getAttendeeEmailsFromUserIdsFilter(
LOW…ges/trpc/server/routers/viewer/bookings/get.handler.ts929async function getEventTypeIdsFromEventTypeIdsFilter(prisma: PrismaClient, eventTypeIds?: number[]) {
LOW…ges/trpc/server/routers/viewer/bookings/get.handler.ts1051function addAdvancedAttendeeWhereClause(
LOW…uters/viewer/holidays/getSupportedCountries.handler.ts3export async function getSupportedCountriesHandler() {
LOWpackages/trpc/server/routers/viewer/eventTypes/util.ts252export function ensureUniqueBookingFields(fields: TUpdateInputSchema["bookingFields"]) {
LOWpackages/trpc/server/routers/viewer/eventTypes/util.ts274export function ensureEmailOrPhoneNumberIsPresent(fields: TUpdateInputSchema["bookingFields"]) {
LOW…rver/routers/viewer/eventTypes/utils/transformUtils.ts121export function createProfilesWithPermissions(
LOW…/server/routers/viewer/eventTypes/utils/filterUtils.ts26export function shouldIncludeTeamMembership(
LOWpackages/trpc/server/lib/toTRPCError.ts62export function convertErrorWithCodeToTRPCError(cause: unknown) {
LOWpackages/emails/templates/organizer-request-email.ts12async function getOrganizerRequestTemplate(userId?: number) {
LOW…ooks/organizations/bookings/useOrganizationBookings.ts36function extractOrganizationBookingsQueryKeys(query: GetOrganizationsBookingsInput) {
LOW…ility/wrappers/AvailabilitySettingsPlatformWrapper.tsx44>(function AvailabilitySettingsPlatformWrapper(props, ref) {
LOW…nnect/conferencing-apps/AppListCardPlatformWrapper.tsx4export default function AppListCardPlatformWrapper(props: AppListCardProps) {
LOW…pes/bookings/2024-08-13/inputs/create-booking.input.ts48function RequireEventTypeIdentification(validationOptions?: ValidationOptions) {
LOW…pes_2024_06_14/inputs/booking-limits-duration.input.ts97export function ValidateBookingLimistsDuration(validationOptions?: ValidationOptions) {
LOW…-types_2024_06_14/inputs/booking-limits-count.input.ts106export function ValidateBookingLimitsCount(validationOptions?: ValidationOptions) {
LOW…t-types_2024_06_14/inputs/confirmation-policy.input.ts92export function ValidateConfirmationPolicy(validationOptions?: ValidationOptions) {
LOW…/event-types_2024_06_14/inputs/booker-layouts.input.ts63function IsDefaultLayoutWithinEnabledLayouts(validationOptions?: ValidationOptions) {
LOW…tors/CantHaveRecurrenceAndBookerActiveBookingsLimit.ts9export function CantHaveRecurrenceAndBookerActiveBookingsLimit(validationOptions?: ValidationOptions) {
LOW…/types/utils/RequiresOneOfPropertiesWhenNotDisabled.ts13export function RequiresAtLeastOnePropertyWhenNotDisabled(validationOptions?: ValidationOptions) {
LOWpackages/platform/libraries/app-store.ts47export async function enrichUserWithDelegationConferencingCredentialsWithoutOrgId(_args: {
LOWpackages/platform/libraries/organizations.ts22export function getActiveUserBillingService(): ActiveUserBillingServiceStub {
LOWpackages/platform/libraries/emails.ts54export async function sendSignupToOrganizationEmail(_args: {
LOWpackages/platform/libraries/tasker.ts5export function getIncrementUsageIdempotencyKey(bookingUid: string): string {
LOWpackages/platform/libraries/slots.ts14export async function validateRoundRobinSlotAvailability(
LOWpackages/platform/libraries/index.ts126export async function roundRobinManualReassignment(_args: {
LOWpackages/platform/libraries/index.ts166export function getClientSecretFromPayment(payment: { data: Record<string, unknown> }): string | null {
LOWpackages/platform/libraries/index.ts184export async function createNewUsersConnectToOrgIfExists(_args: {
LOW…s/platform/examples/base/src/pages/api/managed-user.ts15async function createUserWithDefaultSchedule(email: string, name: string, avatarUrl: string) {
LOW…s/platform/examples/base/src/pages/api/managed-user.ts175async function createOrgTeamMembershipMember(orgId: number, teamId: number, userId: number) {
LOW…s/platform/examples/base/src/pages/api/managed-user.ts221async function createCollectiveEventType(orgId: number, teamId: number, userIds: number[]) {
LOW…s/platform/examples/base/src/pages/api/managed-user.ts246async function createRoundRobinEventType(orgId: number, teamId: number, userIds: number[]) {
LOW…tures/settings/appDir/SettingsHeaderWithBackButton.tsx17export default function SettingsHeaderWithBackButton(props: SettingsHeaderWithBackButtonProps) {
LOW…slation/di/EventTypeTranslationRepository.container.ts10export function getEventTypeTranslationRepository(): EventTypeTranslationRepository {
LOW…ures/calendars/lib/getConnectedDestinationCalendars.ts69async function handleNoConnectedCalendars(user: UserWithCalendars) {
LOW…ures/calendars/lib/getConnectedDestinationCalendars.ts88async function handleNoDestinationCalendar({
LOW…ures/calendars/lib/getConnectedDestinationCalendars.ts153async function handleDestinationCalendarNotInConnectedCalendars({
LOW…ures/calendars/lib/getConnectedDestinationCalendars.ts213async function ensureSelectedCalendarIsInDb({
437 more matches not shown…
Fake / Example Data451 hits · 458 pts
SeverityFileLineSnippet
LOWagents/skills/calcom-api/SKILL.md95 "name": "John Doe",
LOWagents/skills/calcom-api/references/authentication.md240 "email": "user@example.com",
LOWagents/skills/calcom-api/references/authentication.md242 "name": "John Doe",
LOWagents/skills/calcom-api/references/webhooks.md108 "name": "John Doe",
LOWagents/skills/calcom-api/references/webhooks.md121 "name": "John Doe",
LOWagents/skills/calcom-api/references/bookings.md62 "name": "John Doe",
LOWagents/skills/calcom-api/references/bookings.md96 "name": "John Doe",
LOWdocs/api-reference/v2/openapi.json166 "example": "John Doe",
LOWdocs/api-reference/v2/openapi.json12200 "example": "John Doe"
LOWdocs/api-reference/v2/openapi.json12570 "example": "Jane Doe"
LOWdocs/api-reference/v2/openapi.json12611 "example": "John Doe"
LOWdocs/api-reference/v2/openapi.json13006 "example": "John Doe"
LOWdocs/api-reference/v2/openapi.json14150 "example": "John Doe"
LOWdocs/api-reference/v2/openapi.json14292 "example": "John Doe"
LOWdocs/api-reference/v2/openapi.json14366 "example": "John Doe"
LOWdocs/api-reference/v2/openapi.json14482 "example": "John Doe"
LOWdocs/api-reference/v2/openapi.json14558 "example": "John Doe"
LOWdocs/api-reference/v2/openapi.json14671 "example": "John Doe"
LOWdocs/api-reference/v2/openapi.json14711 "example": "John Doe"
LOWdocs/api-reference/v2/openapi.json14785 "name": "John Doe",
LOWdocs/api-reference/v2/openapi.json16336 "example": "user@example.com",
LOWscripts/seed.ts1006 email: "admin@example.com",
LOWscripts/seed.ts1207 name: "Acme Inc",
LOWscripts/seed.ts1295 name: "Jane Doe",
LOWscripts/seed.ts1364 name: "John Doe",
LOWpackages/ui/components/avatar/UserAvatar.test.tsx9 name: "John Doe",
LOWpackages/sms/test/sms-manager.test.ts56 name: "John Doe",
LOW…c/server/routers/viewer/webhook/testTrigger.handler.ts42 name: "John Doe",
LOW…/routers/viewer/bookings/reportBooking.handler.test.ts31 email: "user@example.com",
LOW…rpc/server/routers/viewer/bookings/get.handler.test.ts28 email: "user@example.com",
LOW…rpc/server/routers/viewer/bookings/get.handler.test.ts100 email: "user@example.com",
LOW…rpc/server/routers/viewer/bookings/get.handler.test.ts162 return Promise.resolve([{ id: 1, email: "user@example.com" }]) as ReturnType<typeof mockPrisma.user.findMany>;
LOW…r/routers/viewer/admin/lockUserAccount.handler.test.ts34 email: "admin@example.com",
LOW…s/templates/oauth-client-approved-notification.test.ts45 userEmail: "admin@example.com",
LOW…s/templates/oauth-client-rejected-notification.test.ts47 userEmail: "admin@example.com",
LOWpackages/platform/atoms/CHANGELOG.md183 "name": "Jane Doe",
LOW…rm/types/bookings/2024-08-13/outputs/booking.output.ts22 @ApiProperty({ type: String, example: "John Doe" })
LOW…rm/types/bookings/2024-08-13/outputs/booking.output.ts93 @ApiProperty({ type: String, example: "Jane Doe" })
LOW…rm/types/bookings/2024-08-13/outputs/booking.output.ts399 @ApiProperty({ type: String, example: "John Doe" })
LOW…024-08-13/outputs/get-booking-video-sessions.output.ts12 @ApiProperty({ example: "John Doe", nullable: true })
LOW…m/types/bookings/2024-08-13/inputs/add-guests.input.ts32 example: "John Doe",
LOW…m/types/bookings/2024-08-13/inputs/add-guests.input.ts81 name: "John Doe",
LOW…pes/bookings/2024-08-13/inputs/create-booking.input.ts106 example: "John Doe",
LOW…types/bookings/2024-08-13/inputs/get-bookings.input.ts80 example: "John Doe",
LOW…es/event-types_2024_06_14/outputs/event-type.output.ts524 @DocsProperty({ example: "John Doe" })
LOWpackages/features/CalendarEventBuilder.test.ts106 name: "John Doe",
LOWpackages/features/CalendarEventBuilder.test.ts535 name: "John Doe",
LOWpackages/features/CalendarEventBuilder.test.ts645 expect(event.organizer.name).toBe("John Doe");
LOWpackages/features/CalendarEventBuilder.test.ts709 name: { label: "your_name", value: "John Doe" },
LOWpackages/features/CalendarEventBuilder.test.ts1488 email: "user@example.com",
LOWpackages/features/bookings/lib/handlePayment.test.ts40 email: "user@example.com",
LOWpackages/features/bookings/lib/handlePayment.test.ts95 bookerName: "John Doe",
LOWpackages/features/bookings/lib/handlePayment.test.ts110 bookerName: "John Doe",
LOWpackages/features/bookings/lib/handlePayment.test.ts141 bookerName: "John Doe",
LOWpackages/features/bookings/lib/handlePayment.test.ts171 bookerName: "John Doe",
LOWpackages/features/bookings/lib/handlePayment.test.ts204 bookerName: "John Doe",
LOWpackages/features/bookings/lib/handlePayment.test.ts251 bookerName: "John Doe",
LOWpackages/features/bookings/lib/handlePayment.test.ts284 bookerName: "John Doe",
LOW…s/features/bookings/lib/bookingSuccessRedirect.test.ts49 name: "John Doe",
LOW…s/features/bookings/lib/bookingSuccessRedirect.test.ts65 name: "John Doe",
391 more matches not shown…
Synthetic Comment Markers8 hits · 86 pts
SeverityFileLineSnippet
HIGHagents/rules/culture-leverage-ai.md39 // AI-generated test case
HIGHagents/rules/culture-leverage-ai.md43 // AI-generated test case
HIGHagents/rules/culture-leverage-ai.md47 // AI-generated test case
HIGHagents/rules/culture-leverage-ai.md51 // AI-generated test case
HIGHagents/rules/culture-leverage-ai.md55 // AI-generated test case
HIGHagents/rules/culture-leverage-ai.md59 // AI-generated test case
HIGHagents/rules/culture-leverage-ai.md64 // AI-generated edge case
HIGHapps/api/v2/src/main.ts114 // Preserved as requested:
Decorative Section Separators13 hits · 39 pts
SeverityFileLineSnippet
MEDIUM…sync/__tests__/CalendarSyncService.integration.test.ts125// ─── Helper function tests (pure, no mocks needed) ───────────────────────────
MEDIUM…sync/__tests__/CalendarSyncService.integration.test.ts426// ─── Change detection ─────────────────────────────────────────────────────────
MEDIUM…sync/__tests__/CalendarSyncService.integration.test.ts529// ─── iCalUID parsing edge cases ───────────────────────────────────────────────
MEDIUM…sync/__tests__/CalendarSyncService.integration.test.ts608// ─── Zero/negative duration edge cases ────────────────────────────────────────
MEDIUM…sync/__tests__/CalendarSyncService.integration.test.ts658// ─── End-to-end data flow: event fields → createBooking ───────────────────────
MEDIUM…sync/__tests__/CalendarSyncService.integration.test.ts845// ─── Service-level integration tests ──────────────────────────────────────────
MEDIUM…unified-calendars/services/unified-calendar.service.ts51 // ─── Strategy: validate calendar type ──────────────────────────────────
MEDIUM…unified-calendars/services/unified-calendar.service.ts69 // ─── Connections ───────────────────────────────────────────────────────
MEDIUM…unified-calendars/services/unified-calendar.service.ts93 // ─── User-scoped calendar operations ───────────────────────────────────
MEDIUM…unified-calendars/services/unified-calendar.service.ts129 // ─── Connection-scoped operations ──────────────────────────────────────
MEDIUM…-unified-calendars/services/google-calendar.service.ts213 // ─── Shared private helpers (DRY calendar CRUD) ──────────────────────
MEDIUM…-unified-calendars/services/google-calendar.service.ts369 // ─── Public user-scoped methods ──────────────────────────────────────
MEDIUM…-unified-calendars/services/google-calendar.service.ts405 // ─── Public connection-scoped methods ─────────────────────────────────
Over-Commented Block29 hits · 29 pts
SeverityFileLineSnippet
LOWexample-apps/credential-sync/next-env.d.ts1/// <reference types="next" />
LOWscripts/wait-for-it.sh1#!/bin/sh
LOWpackages/trpc/index.ts1// React exports have been moved to @calcom/trpc/react
LOW…atures/bookings/lib/service/RecurringBookingService.ts81 // .flatMap((book) => (book.appsStatus !== undefined ? book.appsStatus : []))
LOW…eatures/bookings/Booker/utils/getPrefetchMonthCount.ts21 // Column view always needs 2 months because it displays multiple weeks side-by-side,
LOWpackages/features/schedules/lib/slots.ts41 // so that maximum possible slots are shown.
LOW…pes/repositories/__tests__/EventTypeRepository.test.ts201 // - describe("findById", () => { ... })
LOWpackages/features/webhooks/lib/WebhookService.test.ts61 const service = await WebhookService.init(mockOptions);
LOWpackages/features/webhooks/lib/WebhookService.test.ts81 // appId: "appId2",
LOWpackages/features/webhooks/lib/WebhookService.test.ts101 //
LOWpackages/features/webhooks/lib/WebhookService.test.ts121 // appId: "appId",
LOWpackages/features/webhooks/lib/WebhookService.test.ts141 // data: "test"
LOWpackages/features/tasker/repository.ts201 // TODO: Uncomment this later
LOWpackages/prisma/run-enum-generator.js1#!/usr/bin/env node
LOWpackages/lib/sdk-event.ts1// We can't use sdkActionManager without embed because sdkActionManager needs embed namespace to be able to inform the c
LOWpackages/lib/deriveAppDictKeyFromType.ts41 // if (appType.match(matcher)) {
LOWpackages/embeds/embed-core/src/embed.test.ts641
LOW.github/workflows/nextjs-bundle-analysis-annotation.yml21 uses: dawidd6/action-download-artifact@v6
LOWapps/web/pagesAndRewritePaths.ts61// It would also not match /free/30min/embed because we are ensuring just two slashes
LOWapps/web/playwright/overlay-calendar.e2e.ts1export {};
LOWapps/web/playwright/overlay-calendar.e2e.ts21// await test.step("Log in and return to booking page", async () => {
LOWapps/web/pages/_error.tsx81 // threw or returned a Promise that rejected
LOWapps/docs/next-env.d.ts1/// <reference types="next" />
LOW…ent-types_2024_04_15/inputs/update-event-type.input.ts321 // @IsOptional()
LOW…ent-types_2024_04_15/inputs/update-event-type.input.ts361 // periodStartDate?: Date;
LOW…ent-types_2024_04_15/inputs/update-event-type.input.ts381 // requiresConfirmation?: boolean;
LOW…ent-types_2024_04_15/inputs/update-event-type.input.ts441 // @IsOptional()
LOW…ent-types_2024_04_15/inputs/update-event-type.input.ts461 @Min(0)
LOW…ent-types_2024_04_15/inputs/update-event-type.input.ts481 // @IsBoolean()
Verbosity Indicators7 hits · 10 pts
SeverityFileLineSnippet
LOWscripts/seed.ts276 // Step 1: Create organization (team) with just metadata and organizationSettings
LOWscripts/seed.ts295 // Step 2: Create org profiles in batches to avoid large transactions
LOWscripts/seed.ts318 // Step 3: Create memberships using createMany for better performance
LOWscripts/seed.ts332 // Step 4: Fetch created profiles to rebuild orgMembersInDBWithProfileId
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 or
LOW…ings/2024-08-13/controllers/e2e/add-guests.e2e-spec.ts286 // Step 1: Organizer adds guest user as a guest
LOW…ings/2024-08-13/controllers/e2e/add-guests.e2e-spec.ts302 // Step 2: Now the guest can add their own guests
AI Slop Vocabulary3 hits · 7 pts
SeverityFileLineSnippet
MEDIUMapps/web/test/jest-resolver.js2 // Call the defaultResolver, so we leverage its cache, error handling, etc.
MEDIUMapps/web/lib/app-providers.tsx230 ? // Same Namespace, Same Organizer but different themes would still work seamless and not cause theme flicker
MEDIUMapps/web/lib/getThemeProviderProps.ts128 ? // Same Namespace, Same Organizer but different themes would still work seamless and not cause theme flicker
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippet
HIGHagents/skills/calcom-api/SKILL.md44Authorization: Bearer cal_<your_api_key>
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippet
MEDIUM.github/workflows/draft-release.yml88 # Create the TypeScript content