Repository Analysis

calcom/cal.diy

Scheduling infrastructure for absolutely everyone.

2.5 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of calcom/cal.diy, a TypeScript project with 46,387 GitHub stars. SynthScan v2.0 examined 800,678 lines of code across 6045 source files, recording 1208 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 2.5 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

2.5
Adjusted Score
2.5
Raw Score
100%
Time Factor
2026-07-09
Last Push
46.4K
Stars
TypeScript
Language
800.7K
Lines of Code
6.0K
Files
1.2K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 77HIGH 9MEDIUM 17LOW 1105

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 1208 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hallucination Indicators77 hits · 775 pts
SeverityFileLineSnippetContext
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts251 mockHubspotClient.crm.owners.ownersApi.getPage.mockResolvedValue({ results: [] });CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts254 mockHubspotClient.crm.objects.meetings.basicApi.create.mockResolvedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts260 mockHubspotClient.crm.associations.batchApi.create.mockResolvedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts267 mockHubspotClient.crm.contacts.searchApi.doSearch.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts590 mockHubspotClient.crm.properties.coreApi.getAll.mockResolvedValueOnce({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts889 mockHubspotClient.crm.owners.ownersApi.getPage.mockResolvedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts894 mockHubspotClient.crm.contacts.basicApi.getById.mockResolvedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts900 mockHubspotClient.crm.contacts.basicApi.update.mockResolvedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts905 mockHubspotClient.crm.objects.meetings.basicApi.create.mockResolvedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts910 mockHubspotClient.crm.associations.batchApi.create.mockResolvedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts932 mockHubspotClient.crm.owners.ownersApi.getPage.mockResolvedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts936 mockHubspotClient.crm.contacts.basicApi.update.mockResolvedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts941 mockHubspotClient.crm.objects.meetings.basicApi.create.mockResolvedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts946 mockHubspotClient.crm.associations.batchApi.create.mockResolvedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts964 mockHubspotClient.crm.owners.ownersApi.getPage.mockResolvedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts968 mockHubspotClient.crm.contacts.basicApi.getById.mockResolvedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts973 mockHubspotClient.crm.objects.meetings.basicApi.create.mockResolvedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts978 mockHubspotClient.crm.associations.batchApi.create.mockResolvedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts996 mockHubspotClient.crm.owners.ownersApi.getPage.mockResolvedValue({ results: [] });CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts998 mockHubspotClient.crm.objects.meetings.basicApi.create.mockResolvedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts1003 mockHubspotClient.crm.associations.batchApi.create.mockResolvedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts1023 mockHubspotClient.crm.owners.ownersApi.getPage.mockRejectedValue({CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.test.ts1032 mockHubspotClient.crm.objects.meetings.basicApi.create.mockResolvedValue({CODE
CRITICALpackages/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
CRITICALpackages/app-store/hubspot/lib/CrmService.ts350 return this.hubspotClient.crm.objects.meetings.basicApi.update(uid, simplePublicObjectInput);CODE
CRITICALpackages/app-store/hubspot/lib/CrmService.ts360 return this.hubspotClient.crm.objects.meetings.basicApi.update(uid, simplePublicObjectInput);CODE
CRITICALpackages/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 Data552 hits · 538 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.json8926 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json8944 "required": ["type", "label", "placeholder", "isDefault", "slug"]CODE
LOWdocs/api-reference/v2/openapi.json8958 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json8979 "required": ["type", "label", "placeholder", "isDefault", "slug", "required"]CODE
LOWdocs/api-reference/v2/openapi.json9031 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9070 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9109 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9148 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9188 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9207 "required": ["type", "slug", "label", "required", "placeholder", "hidden", "isDefault"]CODE
LOWdocs/api-reference/v2/openapi.json9310 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9329 "required": ["type", "slug", "label", "required", "placeholder", "hidden", "isDefault"]CODE
LOWdocs/api-reference/v2/openapi.json9395 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9414 "required": ["type", "slug", "label", "required", "placeholder", "hidden", "isDefault"]CODE
LOWdocs/api-reference/v2/openapi.json9436 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9455 "required": ["type", "slug", "label", "required", "placeholder", "hidden", "isDefault"]CODE
LOWdocs/api-reference/v2/openapi.json9476 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9494 "required": ["type", "slug", "label", "required", "placeholder", "hidden", "isDefault"]CODE
LOWdocs/api-reference/v2/openapi.json9560 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9586 "required": ["type", "slug", "label", "required", "placeholder", "options", "hidden", "isDefault"]CODE
LOWdocs/api-reference/v2/openapi.json9608 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9627 "required": ["type", "slug", "label", "required", "placeholder", "hidden", "isDefault"]CODE
LOWdocs/api-reference/v2/openapi.json9649 "placeholder": {CODE
LOWdocs/api-reference/v2/openapi.json9668 "required": ["type", "slug", "label", "required", "placeholder", "hidden", "isDefault"]CODE
LOWdocs/api-reference/v2/openapi.json12200 "example": "John Doe"CODE
LOWdocs/api-reference/v2/openapi.json12570 "example": "Jane Doe"CODE
492 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
HIGHagents/rules/culture-leverage-ai.md39 // AI-generated test caseCOMMENT
HIGHagents/rules/culture-leverage-ai.md43 // AI-generated test caseCOMMENT
HIGHagents/rules/culture-leverage-ai.md47 // AI-generated test caseCOMMENT
HIGHagents/rules/culture-leverage-ai.md51 // AI-generated test caseCOMMENT
HIGHagents/rules/culture-leverage-ai.md55 // AI-generated test caseCOMMENT
HIGHagents/rules/culture-leverage-ai.md59 // AI-generated test caseCOMMENT
HIGHagents/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.ts641COMMENT
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