Repository Analysis

TabbyML/tabby

Self-hosted AI coding assistant

3.0 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of TabbyML/tabby, a Rust project with 33,696 GitHub stars. SynthScan v2.0 examined 188,093 lines of code across 1670 source files, recording 268 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 3.0 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).

3.0
Adjusted Score
3.0
Raw Score
100%
Time Factor
2026-06-30
Last Push
33.7K
Stars
Rust
Language
188.1K
Lines of Code
1.7K
Files
268
Pattern Hits
2026-07-14
Scan Date
0.03
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 10HIGH 40MEDIUM 12LOW 206

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 268 distinct pattern matches across 13 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 Indicators10 hits · 115 pts
SeverityFileLineSnippetContext
CRITICAL…kotlin/com/tabbyml/intellijtabby/lsp/LanguageClient.kt36class LanguageClient(private val project: Project) : com.tabbyml.intellijtabby.lsp.protocol.client.LanguageClient(),CODE
CRITICAL…lin/com/tabbyml/intellijtabby/lsp/ConfigurationSync.kt48 val proxySettings = com.intellij.util.net.HttpConfigurable.getInstance()CODE
CRITICAL…lin/com/tabbyml/intellijtabby/lsp/ConfigurationSync.kt57 val proxySettings = com.intellij.util.net.HttpConfigurable.getInstance()CODE
CRITICAL…er/ui/_next/static/chunks/c0672f29-5c54ef189b1b49b1.js1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6056],{88105:function(t,e,i){let s;i.d(e,{$1:functCODE
CRITICAL…er/ui/_next/static/chunks/7cd0a9a7-fa3b9a0f20fcec7d.js1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2025],{61667:function(t,e,i){let s;i.d(e,{$f:functCODE
CRITICAL…bserver/ui/_next/static/chunks/240-6e4dd6e33fcf5a86.js1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[240],{84381:function(e,t,r){r.d(t,{F:function(){reCODE
CRITICAL…server/ui/_next/static/chunks/6635-85423d316922c3d8.js1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6635],{86575:function(e,t,n){let{DOCUMENT_MODE:r}=CODE
CRITICAL…server/ui/_next/static/chunks/7003-05c7a4c5b4e5989f.js6 */e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.iCOMMENT
CRITICAL…server/ui/_next/static/chunks/4691-3ed340b4558906b1.js11${l}`:l;let u=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,i,!0),this.lexer.state.top=u,0===CODE
CRITICAL…server/ui/_next/static/chunks/4691-3ed340b4558906b1.js19`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parsCODE
Docstring Block Structure20 hits · 100 pts
SeverityFileLineSnippetContext
HIGH…abby-python-client/tabby_python_client/api/v1/event.py60 Args: json_body (LogEventRequest): Raises: errors.UnexpectedStatus: If the server returns an uSTRING
HIGH…abby-python-client/tabby_python_client/api/v1/event.py90 Args: json_body (LogEventRequest): Raises: errors.UnexpectedStatus: If the server returns an uSTRING
HIGH…python-client/tabby_python_client/api/v1/completion.py64 Args: json_body (CompletionRequest): Example: {'language': 'python', 'segments': {'prefix': 'dSTRING
HIGH…python-client/tabby_python_client/api/v1/completion.py95 Args: json_body (CompletionRequest): Example: {'language': 'python', 'segments': {'prefix': 'dSTRING
HIGH…python-client/tabby_python_client/api/v1/completion.py119 Args: json_body (CompletionRequest): Example: {'language': 'python', 'segments': {'prefix': 'dSTRING
HIGH…python-client/tabby_python_client/api/v1/completion.py148 Args: json_body (CompletionRequest): Example: {'language': 'python', 'segments': {'prefix': 'dSTRING
HIGH…python-client/tabby_python_client/api/v1beta/search.py74 Args: q (str): Default: 'get'. limit (Union[Unset, None, int]): Default: 20. offset (UnioSTRING
HIGH…python-client/tabby_python_client/api/v1beta/search.py110 Args: q (str): Default: 'get'. limit (Union[Unset, None, int]): Default: 20. offset (UnioSTRING
HIGH…python-client/tabby_python_client/api/v1beta/search.py139 Args: q (str): Default: 'get'. limit (Union[Unset, None, int]): Default: 20. offset (UnioSTRING
HIGH…python-client/tabby_python_client/api/v1beta/search.py173 Args: q (str): Default: 'get'. limit (Union[Unset, None, int]): Default: 20. offset (UnioSTRING
HIGH…abby_python_client/tabby_python_client/api/v1/event.py60 Args: json_body (LogEventRequest): Raises: errors.UnexpectedStatus: If the server returns an uSTRING
HIGH…abby_python_client/tabby_python_client/api/v1/event.py90 Args: json_body (LogEventRequest): Raises: errors.UnexpectedStatus: If the server returns an uSTRING
HIGH…python_client/tabby_python_client/api/v1/completion.py64 Args: json_body (CompletionRequest): Example: {'language': 'python', 'segments': {'prefix': 'dSTRING
HIGH…python_client/tabby_python_client/api/v1/completion.py95 Args: json_body (CompletionRequest): Example: {'language': 'python', 'segments': {'prefix': 'dSTRING
HIGH…python_client/tabby_python_client/api/v1/completion.py119 Args: json_body (CompletionRequest): Example: {'language': 'python', 'segments': {'prefix': 'dSTRING
HIGH…python_client/tabby_python_client/api/v1/completion.py148 Args: json_body (CompletionRequest): Example: {'language': 'python', 'segments': {'prefix': 'dSTRING
HIGH…python_client/tabby_python_client/api/v1beta/search.py74 Args: q (str): Default: 'get'. limit (Union[Unset, None, int]): Default: 20. offset (UnioSTRING
HIGH…python_client/tabby_python_client/api/v1beta/search.py110 Args: q (str): Default: 'get'. limit (Union[Unset, None, int]): Default: 20. offset (UnioSTRING
HIGH…python_client/tabby_python_client/api/v1beta/search.py139 Args: q (str): Default: 'get'. limit (Union[Unset, None, int]): Default: 20. offset (UnioSTRING
HIGH…python_client/tabby_python_client/api/v1beta/search.py173 Args: q (str): Default: 'get'. limit (Union[Unset, None, int]): Default: 20. offset (UnioSTRING
Magic Placeholder Names20 hits · 100 pts
SeverityFileLineSnippetContext
HIGHwebsite/docs/references/models-http-api/deepseek.md14api_key = "your-api-key"CODE
HIGHwebsite/docs/references/models-http-api/deepseek.md26api_key = "your-api-key"CODE
HIGHwebsite/docs/references/models-http-api/fireworks.md18api_key = "your-api-key"CODE
HIGHwebsite/docs/references/models-http-api/azure-openai.md16api_key = "your-api-key"CODE
HIGHwebsite/docs/references/models-http-api/azure-openai.md32api_key = "your-api-key"CODE
HIGHwebsite/docs/references/models-http-api/deepinfra.md14api_key = "your-api-key"CODE
HIGHwebsite/docs/references/models-http-api/deepinfra.md26api_key = "your-api-key"CODE
HIGHwebsite/docs/references/models-http-api/deepinfra.md38api_key = "your-api-key"CODE
HIGHwebsite/docs/references/models-http-api/voyage-ai.md13api_key = "your-api-key"CODE
HIGHwebsite/docs/references/models-http-api/openai.md14api_key = "your-api-key"CODE
HIGHwebsite/docs/references/models-http-api/openai.md30api_key = "your-api-key"CODE
HIGHwebsite/docs/references/models-http-api/mistral-ai.md14api_key = "your-api-key"CODE
HIGHwebsite/docs/references/models-http-api/mistral-ai.md26api_key = "your-api-key"CODE
HIGH…te/docs/references/models-http-api/anthropic-claude.md15api_key = "your-api-key"CODE
HIGHwebsite/docs/references/models-http-api/vllm.md22api_key = "your-api-key"CODE
HIGHwebsite/docs/references/models-http-api/vllm.md34api_key = "your-api-key"CODE
HIGHwebsite/docs/references/models-http-api/vllm.md47api_key = "your-api-key"CODE
HIGH…site/docs/references/models-http-api/amazon-bedrock.md16api_key = "your-api-key"CODE
HIGHwebsite/docs/references/models-http-api/perplexity.md14api_key = "your-api-key"CODE
HIGHwebsite/docs/references/models-http-api/openrouter.md14api_key = "your-api-key"CODE
Hyper-Verbose Identifiers74 hits · 78 pts
SeverityFileLineSnippetContext
LOWclients/tabby-agent/src/chat/smartApply.ts143async function provideSmartApplyLineRange(CODE
LOWclients/tabby-agent/src/config/index.ts22function shouldBeNonBlankStringValue(meta: unknown) {CODE
LOWclients/tabby-agent/src/utils/string.ts66export function extractNonReservedWordList(text: string): string {CODE
LOWclients/tabby-agent/src/utils/string.ts204export function findUnpairedAutoClosingChars(input: string): string[] {CODE
LOWclients/tabby-agent/src/utils/diff.ts26function mapDiffRangeToEditorRange(diffRange: DiffRange, editorRanges: Range[]): Range | undefined {CODE
LOWclients/tabby-agent/src/codeCompletion/contexts.ts149export function buildCompletionContextWithAppend(context: CompletionContext, appendText: string): CompletionContext {CODE
LOW…ients/tabby-agent/src/codeCompletion/latencyTracker.ts93export function buildHelpMessageForLatencyIssue(CODE
LOWclients/tabby-agent/src/codeCompletion/cache.ts19export function calculateCompletionContextHash(CODE
LOWclients/tabby-agent/src/codeCompletion/cache.ts39export function generateForwardingContexts(CODE
LOWclients/tabby-agent/src/codeCompletion/solution.ts115export function createCompletionResultItemFromResponse(CODE
LOW…ompletion/postprocess/trimMultiLineInSingleLineMode.ts5export function trimMultiLineInSingleLineMode(): PostprocessFilter {CODE
LOW…letion/postprocess/removeDuplicatedBlockClosingLine.ts8export function removeDuplicatedBlockClosingLine(): PostprocessFilter {CODE
LOW…deCompletion/postprocess/removeDuplicateSuffixLines.ts6export function removeDuplicateSuffixLines(): PostprocessFilter {CODE
LOW…Completion/postprocess/removeLineEndsWithRepetition.ts10export function removeLineEndsWithRepetition(): PostprocessFilter {CODE
LOW…abby-agent/src/codeCompletion/postprocess/testUtils.ts51export async function assertFilterResultNotEqual(CODE
LOWclients/vscode/src/findSymbols.ts54function convertToSymbolInformation(symbols: (DocumentSymbol | SymbolInformation)[]): SymbolInformation[] {CODE
LOWclients/vscode/src/findFiles.ts29function gitIgnoreItemToExcludePatterns(item: string, prefix?: string | undefined): string[] {CODE
LOWclients/vscode/src/chat/utils.ts17export function isValidForSyncActiveEditorSelection(editor: TextEditor): boolean {CODE
LOWclients/vscode/src/chat/utils.ts27export function localUriToChatPanelFilepath(uri: Uri, gitProvider: GitProvider): Filepath {CODE
LOWclients/vscode/src/chat/utils.ts70export function chatPanelFilepathToLocalUri(filepath: Filepath, gitProvider: GitProvider): Uri | null {CODE
LOWclients/vscode/src/chat/utils.ts108export function vscodePositionToChatPanelPosition(position: VSCodePosition): ChatPanelPosition {CODE
LOWclients/vscode/src/chat/utils.ts115export function chatPanelPositionToVSCodePosition(position: ChatPanelPosition): VSCodePosition {CODE
LOWclients/vscode/src/chat/utils.ts119export function vscodeRangeToChatPanelPositionRange(range: VSCodeRange): PositionRange {CODE
LOWclients/vscode/src/chat/utils.ts126export function chatPanelPositionRangeToVSCodeRange(positionRange: PositionRange): VSCodeRange {CODE
LOWclients/vscode/src/chat/utils.ts133export function chatPanelLineRangeToVSCodeRange(lineRange: LineRange): VSCodeRange {CODE
LOWclients/vscode/src/chat/utils.ts138export function vscodeRangeToChatPanelLineRange(range: VSCodeRange): LineRange {CODE
LOWclients/vscode/src/chat/utils.ts145export function chatPanelLocationToVSCodeRange(location: Location | undefined): VSCodeRange | null {CODE
LOWclients/vscode/src/chat/utils.ts168function isJupyterNotebookFilepath(uri: Uri): boolean {CODE
LOWclients/vscode/src/chat/utils.ts187function convertFromNotebookCellUri(uri: Uri): Uri {CODE
LOWclients/vscode/src/lsp/WorkspaceFeature.ts83function applyTextEditMinimalLineChange(editBuilder: TextEditorEdit, textEdit: TextEdit, document: TextDocument) {CODE
LOWexperimental/prompt-rewrite-eval/evaluator.py60def generate_completion_segments(args):CODE
LOWpython/tabby/trainer.py77 def _read_dataset_into_buffer(self):CODE
LOW…h/signin/components/reset-password-request-section.tsx11export default function ResetPasswordRequestSection() {CODE
LOWee/tabby-ui/app/search/components/search.tsx1139function formatThreadRunErrorMessage(error?: ExtendedCombinedError) {CODE
LOWee/tabby-ui/app/files/components/utils.ts26function getProviderVariantFromKind(kind: RepositoryKind) {CODE
LOWee/tabby-ui/app/files/components/utils.ts30function resolveRepositoryInfoFromPath(path: string | undefined): {CODE
LOWee/tabby-ui/app/files/components/utils.ts123function getDirectoriesFromBasename(CODE
LOWee/tabby-ui/app/files/components/utils.ts139function resolveRepoSpecifierFromRepoInfo(CODE
LOWee/tabby-ui/app/files/components/utils.ts165function encodeURIComponentIgnoringSlash(str: string) {CODE
LOW…/lib/action-bar-widget/action-bar-widget-extension.tsx83function shouldShowActionBarWidget(transaction: Transaction): boolean {CODE
LOW…by-ui/app/files/lib/editor-search-extension/search.tsx78function getMatchIndexForSelection(CODE
LOW…/files/lib/line-menu-extension/line-menu-extension.tsx144function selectedLinesGutterHighlighter(field: StateField<SelectedLinesRange>) {CODE
LOW…/files/lib/line-menu-extension/line-menu-extension.tsx197function getMarkersFromSelectedLinesField(view: EditorView) {CODE
LOW…d)/settings/(integrations)/providers/[kind]/layout.tsx14export default function IntegrationProviderLayout({CODE
LOW…providers/[kind]/detail/components/provider-detail.tsx724function useAllInactiveRepositories(id: string, kind: IntegrationKind) {CODE
LOW…-ui/components/codemirror/code-tag-widget-extension.ts143export function getCodeTagWidgetExtension(CODE
LOWee/tabby-ui/components/chat/question-answer.tsx608function AssistantMessageCardActions(props: AssistantMessageActionProps) {CODE
LOWee/tabby-ui/components/chat/question-answer.tsx656function ChatMessageActionsWrapper({CODE
LOWee/tabby-ui/components/chat/chat.tsx960function formatThreadRunErrorMessage(error: ExtendedCombinedError | undefined) {CODE
LOWee/tabby-ui/components/chat/form-editor/helper.ts8export function extractRepoNameFromGitUrl(gitUrl: string): string {CODE
LOWee/tabby-ui/components/chat/form-editor/utils.tsx66export function replaceAtMentionPlaceHolderWithAt(value: string) {CODE
LOWee/tabby-ui/components/chat/form-editor/utils.tsx100export function getFilepathStringByChatPanelFilePath(CODE
LOWee/tabby-ui/components/chat/form-editor/utils.tsx110export function convertTextToTiptapContent(CODE
LOWee/tabby-ui/components/chat/form-editor/utils.tsx221export function isSameEntireFileContextFromMention(CODE
LOWee/tabby-ui/components/chat/git/utils.tsx10export function convertChangesToGitChanges(changes: ChangeItem[]): GitChange[] {CODE
LOW…omponents/message-markdown/custom-strip-tags-plugin.ts5function createTagFilterExpression(tagNames: string[]): RegExp {CODE
LOWee/tabby-ui/lib/utils/markdown.ts52export function parseMarkdownWithContextCommands(input: string): string {CODE
LOWee/tabby-ui/lib/utils/markdown.ts63export function convertContextBlockToPlaceholder(input: string): string {CODE
LOWee/tabby-ui/lib/utils/markdown.ts75export function formatObjectToMarkdownBlock(CODE
LOWee/tabby-ui/lib/utils/markdown.ts119export function convertChangeItemsToContextContent(CODE
14 more matches not shown…
Fake / Example Data44 hits · 48 pts
SeverityFileLineSnippetContext
LOWee/tabby-ui/test/utils/markdown.test.ts246const newUser = createUser("John Doe", "john@example.com");CODE
LOW…/tabby-ui/test/utils/remark-placeholder-parser.test.ts11 expect(result?.placeholderNode.type).toBe('placeholder');CODE
LOW…/tabby-ui/test/utils/remark-placeholder-parser.test.ts27 expect(result?.placeholderNode.type).toBe('placeholder');CODE
LOW…/tabby-ui/test/utils/remark-placeholder-parser.test.ts45 expect(result?.placeholderNode.type).toBe('placeholder');CODE
LOW…/tabby-ui/test/utils/remark-placeholder-parser.test.ts66 expect(result?.placeholderNode.type).toBe('placeholder');CODE
LOW…/tabby-ui/test/utils/remark-placeholder-parser.test.ts80 expect(result?.placeholderNode.type).toBe('placeholder');CODE
LOW…/tabby-ui/test/utils/remark-placeholder-parser.test.ts91 expect(result?.placeholderNode.type).toBe('placeholder');CODE
LOW…/tabby-ui/test/utils/remark-placeholder-parser.test.ts102 expect(result?.placeholderNode.type).toBe('placeholder');CODE
LOW…/tabby-ui/test/utils/remark-placeholder-parser.test.ts143 expect(result.children[0].children[1].type).toBe('placeholder');CODE
LOW…/tabby-ui/test/utils/remark-placeholder-parser.test.ts174 expect(result.children[0].children[1].type).toBe('placeholder');CODE
LOW…/tabby-ui/test/utils/remark-placeholder-parser.test.ts178 expect(result.children[0].children[3].type).toBe('placeholder');CODE
LOW…/tabby-ui/test/utils/remark-placeholder-parser.test.ts263 expect(paragraphNode.children[1].type).toBe('placeholder');CODE
LOW…-ui/test/utils/remark-codeblock-to-placeholder.test.ts82 expect(result.type).toBe('placeholder')CODE
LOW…-ui/test/utils/remark-codeblock-to-placeholder.test.ts97 expect(result.type).toBe('placeholder')CODE
LOW…-ui/test/utils/remark-codeblock-to-placeholder.test.ts106 expect(result.type).toBe('placeholder')CODE
LOW…-ui/test/utils/remark-codeblock-to-placeholder.test.ts115 expect(result.type).toBe('placeholder')CODE
LOW…-ui/test/utils/remark-codeblock-to-placeholder.test.ts124 expect(result.type).toBe('placeholder')CODE
LOW…/lib/utils/markdown/remark-codeblock-to-placeholder.ts18 type: 'placeholder',CODE
LOW…/lib/utils/markdown/remark-codeblock-to-placeholder.ts106 type: 'placeholder',CODE
LOW…bby-ui/lib/utils/markdown/remark-placeholder-parser.ts10 type: 'placeholder'CODE
LOW…bby-ui/lib/utils/markdown/remark-placeholder-parser.ts43 type: 'placeholder',CODE
LOW…bby-ui/lib/utils/markdown/remark-placeholder-parser.ts61 type: 'placeholder',CODE
LOW…bby-ui/lib/utils/markdown/remark-placeholder-parser.ts75 type: 'placeholder',CODE
LOW…bby-ui/lib/utils/markdown/remark-placeholder-parser.ts88 type: 'placeholder',CODE
LOW…bby-ui/lib/utils/markdown/remark-placeholder-parser.ts101 type: 'placeholder',CODE
LOW…bby-ui/lib/utils/markdown/remark-placeholder-parser.ts113 type: 'placeholder',CODE
LOW…server/ui/_next/static/chunks/9505.8db27f67df404d9a.js1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9505],{59505:function(e,t,a){a.r(t),a.d(t,{autoCloCODE
LOW…server/ui/_next/static/chunks/6520.c41bfe83286324b2.js1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6520],{26520:function(e,O,t){t.r(O),t.d(O,{css:funCODE
LOW…server/ui/_next/static/chunks/4691-3ed340b4558906b1.js1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4691],{37061:function(e,t,r){"use strict";function n(){for(var CODE
LOW…server/ui/_next/static/chunks/3492-7ca10e8ef6aab493.js1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3492],{74038:function(e,n,i){i.d(n,{Bt:function(){CODE
LOW…server/ui/_next/static/chunks/9860-b2cab0e640a501ef.js1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9860],{31022:function(e,t,n){function o(e){if(nullCODE
LOWee/tabby-webserver/src/service/auth.rs1318 .create_user("admin@example.com".into(), None, true, None)CODE
LOWee/tabby-webserver/src/service/auth.rs1324 .create_user("user@example.com".into(), None, false, None)CODE
LOWee/tabby-webserver/src/service/auth.rs1349 .create_user("admin@example.com".into(), None, true, None)CODE
LOWee/tabby-webserver/src/service/auth.rs1372 .create_user("user@example.com".into(), Some("pass".into()), true, None)CODE
LOWee/tabby-webserver/src/service/auth.rs1375 let user = service.get_user_by_email("user@example.com").await.unwrap();CODE
LOWee/tabby-webserver/src/service/auth.rs1378 .request_password_reset_email("user@example.com".into())CODE
LOWee/tabby-webserver/src/service/auth.rs1407 .request_password_reset_email("user@example.com".into())CODE
LOWee/tabby-webserver/src/service/auth.rs1892 .create_invitation("user@example.com".into())CODE
LOWee/tabby-webserver/src/service/auth.rs1926 .create_invitation("user@example.com".into())CODE
LOWee/tabby-webserver/src/service/auth.rs1960 user_email: "user@example.com".into(),CODE
LOWee/tabby-webserver/src/service/auth.rs1965 .create_invitation("user@example.com".into())CODE
LOWee/tabby-webserver/src/service/auth.rs1985 user_email: "user@example.com".into(),CODE
LOWee/tabby-webserver/src/service/auth/testutils.rs36 email: "user@example.com".to_string(),CODE
Unused Imports47 hits · 47 pts
SeverityFileLineSnippetContext
LOWexperimental/scheduler/completion.py1CODE
LOWexperimental/scheduler/completion.py4CODE
LOWexperimental/scheduler/search.py3CODE
LOWexperimental/eval/tabby.py1CODE
LOWexperimental/eval/tabby.py3CODE
LOWexperimental/eval/tabby.py4CODE
LOWexperimental/eval/tabby.py4CODE
LOWexperimental/eval/tabby.py4CODE
LOWexperimental/eval/tabby.py89CODE
LOW…al/tabby-python-client/tabby_python_client/__init__.py2CODE
LOW…al/tabby-python-client/tabby_python_client/__init__.py2CODE
LOW…y-python-client/tabby_python_client/models/__init__.py3CODE
LOW…y-python-client/tabby_python_client/models/__init__.py4CODE
LOW…y-python-client/tabby_python_client/models/__init__.py5CODE
LOW…y-python-client/tabby_python_client/models/__init__.py6CODE
LOW…y-python-client/tabby_python_client/models/__init__.py7CODE
LOW…y-python-client/tabby_python_client/models/__init__.py8CODE
LOW…y-python-client/tabby_python_client/models/__init__.py9CODE
LOW…y-python-client/tabby_python_client/models/__init__.py10CODE
LOW…y-python-client/tabby_python_client/models/__init__.py11CODE
LOW…y-python-client/tabby_python_client/models/__init__.py12CODE
LOW…y-python-client/tabby_python_client/models/__init__.py13CODE
LOW…y-python-client/tabby_python_client/models/__init__.py14CODE
LOW…y-python-client/tabby_python_client/models/__init__.py15CODE
LOW…y-python-client/tabby_python_client/models/__init__.py16CODE
LOW…y-python-client/tabby_python_client/models/__init__.py17CODE
LOW…y-python-client/tabby_python_client/models/__init__.py18CODE
LOWexperimental/supervisor/app.py10CODE
LOW…al/tabby_python_client/tabby_python_client/__init__.py2CODE
LOW…al/tabby_python_client/tabby_python_client/__init__.py2CODE
LOW…y_python_client/tabby_python_client/models/__init__.py3CODE
LOW…y_python_client/tabby_python_client/models/__init__.py4CODE
LOW…y_python_client/tabby_python_client/models/__init__.py5CODE
LOW…y_python_client/tabby_python_client/models/__init__.py6CODE
LOW…y_python_client/tabby_python_client/models/__init__.py7CODE
LOW…y_python_client/tabby_python_client/models/__init__.py8CODE
LOW…y_python_client/tabby_python_client/models/__init__.py9CODE
LOW…y_python_client/tabby_python_client/models/__init__.py10CODE
LOW…y_python_client/tabby_python_client/models/__init__.py11CODE
LOW…y_python_client/tabby_python_client/models/__init__.py12CODE
LOW…y_python_client/tabby_python_client/models/__init__.py13CODE
LOW…y_python_client/tabby_python_client/models/__init__.py14CODE
LOW…y_python_client/tabby_python_client/models/__init__.py15CODE
LOW…y_python_client/tabby_python_client/models/__init__.py16CODE
LOW…y_python_client/tabby_python_client/models/__init__.py17CODE
LOW…y_python_client/tabby_python_client/models/__init__.py18CODE
LOW…te/docs/references/cloud-deployment/bentoml/service.py1CODE
Over-Commented Block26 hits · 26 pts
SeverityFileLineSnippetContext
LOWclients/tabby-agent/src/chat/utils.ts221}COMMENT
LOWclients/tabby-agent/src/config/configFile.ts21# [server]COMMENT
LOWcrates/ollama-api-bindings/src/model.rs21 async fn get_first_available_model(&self) -> Result<Option<String>>;COMMENT
LOWcrates/http-api-bindings/src/embedding/azure.rs41 ///COMMENT
LOWcrates/sqlx-migrate-validate/src/lib.rs1//! With [sqlx] and its [sqlx::migrate!] macro it is possible to create migrations and apply them to a database.COMMENT
LOWcrates/sqlx-migrate-validate/src/validate.rs21 ///COMMENT
LOWcrates/sqlx-migrate-validate/src/validate.rs41 C: Migrate;COMMENT
LOWcrates/sqlx-migrate-validate/src/validate.rs61///COMMENT
LOWcrates/sqlx-migrate-validate/src/validate.rs81 /// # ExamplesCOMMENT
LOWcrates/sqlx-migrate-validate/src/validate.rs121 /// ```rust,no_runCOMMENT
LOWcrates/tabby-common/src/config.rs301#[derive(Serialize, Deserialize, Builder, Debug, Clone)]COMMENT
LOWcrates/tabby-common/src/index/mod.rs21/// | corpus | <--- A group of documents, each document has a uniqueCOMMENT
LOWcrates/tabby/src/services/completion.rs141COMMENT
LOWcrates/tabby/src/services/completion.rs161 /// When provided alongside [Segments::declarations], the snippets haveCOMMENT
LOWee/tabby-ui/next-env.d.ts1/// <reference types="next" />COMMENT
LOW…-ui/components/codemirror/code-tag-widget-extension.ts181// const { name_range, syntax_type_name } = itemCOMMENT
LOW…-ui/components/codemirror/code-tag-widget-extension.ts201// <span>COMMENT
LOWee/tabby-ui/components/codemirror/hover-highlight.ts1// import { Extension, StateEffect, StateField } from '@codemirror/state'COMMENT
LOWee/tabby-ui/components/codemirror/hover-highlight.ts21// to: change.mapPos(to)COMMENT
LOWee/tabby-ui/components/codemirror/hover-highlight.ts41// filter: () => falseCOMMENT
LOWee/tabby-ui/components/codemirror/hover-highlight.ts61COMMENT
LOWee/tabby-ui/components/codemirror/hover-highlight.ts81// }COMMENT
LOWee/tabby-ui/components/codemirror/hover-highlight.ts101// })COMMENT
LOWee/tabby-schema/src/juniper/relay/node_type.rs1use std::str::FromStr;COMMENT
LOWwebsite/blog/2023-10-14-seed-round-release-0-3-0-RAG.md21A blog series detailing the technical designs of retrieval-augmented code completion will be published soon. Stay tuned!COMMENT
LOW…-10-16-repository-context-for-code-completion/index.md101COMMENT
AI Slop Vocabulary8 hits · 23 pts
SeverityFileLineSnippetContext
MEDIUM…er/ui/_next/static/chunks/21c8b353-925bb40fc9c4670c.js9 */var r,l=n(3546),a=n(71306),i={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function o(e){for(var tCOMMENT
MEDIUM…er/ui/_next/static/chunks/21c8b353-925bb40fc9c4670c.js9 */var r,l=n(3546),a=n(71306),i={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function o(e){for(var tCOMMENT
MEDIUM…server/ui/_next/static/chunks/9505.8db27f67df404d9a.js1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9505],{59505:function(e,t,a){a.r(t),a.d(t,{autoCloCODE
MEDIUM…server/ui/_next/static/chunks/7003-05c7a4c5b4e5989f.js6 */e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.iCOMMENT
MEDIUM…server/ui/_next/static/chunks/2928-98ebfedf06caf8e1.js8 */var a=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,a={},o={manual:e.Prism&&e.Prism.manual,disableWCOMMENT
MEDIUM…r/ui/_next/static/chunks/framework-d01b68062ece2457.js9 */var r,l,a,u,o,i,s=t(52983),c=t(35655);function f(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant=COMMENT
MEDIUM…r/ui/_next/static/chunks/framework-d01b68062ece2457.js9 */var r,l,a,u,o,i,s=t(52983),c=t(35655);function f(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant=COMMENT
MEDIUM…ervice/background_job/third_party_integration/pulls.rs266 // we must utilize the `List pull requests files` API to retrieve the diff,COMMENT
Redundant / Tautological Comments7 hits · 10 pts
SeverityFileLineSnippetContext
LOWexperimental/eval/tabby.py62 # Check if launcher webserving process has exited.COMMENT
LOWexperimental/supervisor/app.py47 # Check if launcher webserving process has exited.COMMENT
LOWpython/tabby-loadtest/server.py86 # Check if launcher webserving process has exited.COMMENT
LOWpython/tabby-eval/modal/predict.py83 # Check if launcher webserving process has exited.COMMENT
LOWwebsite/docs/references/cloud-deployment/modal/app.py83 # Check if launcher webserving process has exited.COMMENT
LOW…te/docs/references/cloud-deployment/bentoml/service.py34 # Check if launcher webserving process has exited.COMMENT
LOW.github/workflows/release.yml272 # Check if the file has an extensionCOMMENT
Modern AI Meta-Vocabulary4 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMclients/tabby-openapi/openapi.json1{"openapi":"3.0.3","info":{"title":"Tabby Server","description":"\n[![tabby stars](https://img.shields.io/github/stars/TCODE
MEDIUMwebsite/docs/references/models-http-api/openai.md28model_name = "text-embedding-3-small" # Please make sure to use a embedding model, such as text-embedding-3-smallCODE
MEDIUMwebsite/docs/references/models-http-api/perplexity.md3[Perplexity AI](https://www.perplexity.ai/) is a company that develops large language models and offers them through theCODE
MEDIUMwebsite/blog/2023-10-14-seed-round-release-0-3-0-RAG.md8# Announcing our $3.2M seed round, and the long-awaited RAG release in Tabby v0.3.0COMMENT
Modern Structural Boilerplate4 hits · 4 pts
SeverityFileLineSnippetContext
LOW…/eval/tabby-python-client/tabby_python_client/types.py44__all__ = ["File", "Response", "FileJsonType"]CODE
LOW…eval/tabby-python-client/tabby_python_client/errors.py14__all__ = ["UnexpectedStatus"]CODE
LOW…modal/tabby_python_client/tabby_python_client/types.py44__all__ = ["File", "Response", "FileJsonType"]CODE
LOW…odal/tabby_python_client/tabby_python_client/errors.py14__all__ = ["UnexpectedStatus"]CODE
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOWexperimental/prompt-rewrite-eval/evaluator.py60CODE
LOWpython/tabby-eval/modal/predict.py162CODE
LOWpython/tabby/trainer.py77CODE
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpython/tabby-eval/modal/predict.py133 except Exception as e:CODE