file_hash
stringlengths
16
16
language
stringclasses
8 values
line_count
int64
20
500
theme
stringclasses
8 values
source_code
stringlengths
236
8.19k
prompt_idx
int64
0
6
messages
listlengths
3
3
2f8d964cde70ff95
python
154
Solarized Light
""" Given an array-like data structure A[1..n], how many pairs (i, j) for all 1 <= i < j <= n such that A[i] > A[j]? These pairs are called inversions. Counting the number of such inversions in an array-like object is the important. Among other things, counting inversions can help us determine how close a given array i...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
24e094fa886ba202
typescript
34
Solarized Light
import { AppSidebar } from "@/registry/bases/radix/blocks/sidebar-16/components/app-sidebar" import { SiteHeader } from "@/registry/bases/radix/blocks/sidebar-16/components/site-header" import { SidebarInset, SidebarProvider, } from "@/registry/bases/radix/ui/sidebar" export const iframeHeight = "800px" export co...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
4a74ccedc54cca0f
cpp
211
Dracula
/** * Copyright 2017-2024 by XGBoost contributors */ #ifndef XGBOOST_USE_CUDA #ifndef XGBOOST_USE_SYCL // dummy implementation of HostDeviceVector in case CUDA is not used #include <xgboost/base.h> #include <xgboost/data.h> #include <cstdint> #include <memory> #include <utility> #include "xgboost/tree_model.h" #inc...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
2b8fc70fdc4c48d0
go
84
Default Dark+
// Copyright 2015 Matthew Holt and The Caddy Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
8bb3461736b1a39b
csharp
58
Default Light+
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, cop...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
1988915fd2c10439
csharp
100
Monokai
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
1d55dce96ed85129
python
156
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from azure.ai.agents.models import DeepResearchTool from azure.identity.aio import AzureCliCredential from semantic_kernel.agents import AzureAIAgent, AzureAIAgentSettings, AzureAIAgentThread from semantic_kernel.contents import ( ChatMessageContent,...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
176c379c3f1727c6
java
29
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
42cbb4e35a4cd9a2
go
68
Solarized Dark
// Copyright 2025 The frp Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
cf1a0b24b3143212
typescript
80
Solarized Light
"use client" import { cn } from "@/examples/base/lib/utils" import { Accordion as AccordionPrimitive } from "@base-ui/react/accordion" import { ChevronDownIcon, ChevronUpIcon } from "lucide-react" function Accordion({ className, ...props }: AccordionPrimitive.Root.Props) { return ( <AccordionPrimitive.Root ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
52d133c3c13bc96a
csharp
104
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
881447059f48ae4b
typescript
65
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { Box, Newline, Text } from 'ink'; import { theme } from '../semantic-colors.js'; import { useKeypress } from '../hooks/useKeypress.js'; interface GeminiPrivacyNoticeProps { onExit: () => void; } export const GeminiPriva...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
06249341c4968a99
typescript
465
Solarized Light
"use client" import { useMemo, useState } from "react" import { IconApps, IconArrowUp, IconAt, IconBook, IconBrandAbstract, IconBrandOpenai, IconBrandZeit, IconCircleDashedPlus, IconPaperclip, IconPlus, IconWorld, IconX, } from "@tabler/icons-react" import { Avatar, AvatarFallback, Avata...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
f42cc3cd7a246d26
csharp
59
Monokai
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.SemanticKernel.Process.Internal; internal static class ProcessConstants { /// <summary> /// Event raised internally for errors not handled at the step level. /// </summary> public const string GlobalErrorEventId = "Microsoft.Semantic...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
2eefe63ebfa7589f
java
155
Dracula
package com.macro.mall.service.impl; import com.github.pagehelper.PageHelper; import com.macro.mall.dao.PmsProductCategoryAttributeRelationDao; import com.macro.mall.dao.PmsProductCategoryDao; import com.macro.mall.dto.PmsProductCategoryParam; import com.macro.mall.dto.PmsProductCategoryWithChildrenItem; import com.ma...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
70d1fd1cdc29d20c
javascript
80
Default Dark+
const { UP, PENDING, DOWN } = require("../../src/util"); const { MonitorType } = require("./monitor-type"); const Monitor = require("../model/monitor"); class GroupMonitorType extends MonitorType { name = "group"; allowCustomStatus = true; /** * @inheritdoc */ async check(monitor, heartbeat,...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
5887b7a6723d8b34
java
37
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
05f7c2ef8cdd63a2
typescript
114
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import latestVersion from 'latest-version'; import semver from 'semver'; import { getPackageJson, debugLogger } from '@google/gemini-cli-core'; import type { LoadedSettings } from '../../config/settings.js'; import { fileURLToPath ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
af64596061ae4914
java
149
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
0b84c0464586373a
typescript
31
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { useEffect, useState } from 'react'; export function useTerminalSize(): { columns: number; rows: number } { const [size, setSize] = useState({ columns: process.stdout.columns || 60, rows: process.stdout.rows || 2...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
ee822b11f1fc9850
javascript
128
Dracula
'use strict'; const { createClaudeHistoryAdapter } = require('./claude-history'); const { createDmuxTmuxAdapter } = require('./dmux-tmux'); const TARGET_TYPE_TO_ADAPTER_ID = Object.freeze({ plan: 'dmux-tmux', session: 'dmux-tmux', 'claude-history': 'claude-history', 'claude-alias': 'claude-history', 'sessio...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
680f87ba70b39525
csharp
33
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; namespace Microsoft.Extensions.VectorData; /// <summary> /// Defines a key property on a vector store record. /// </summary> /// <remarks> /// The characteristics defined here influence how the property is treated by the vector store. /// </remarks> pub...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
53a77e6cd2f19dd1
csharp
41
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.Extensions.AI; namespace Microsoft.Extensions.VectorData; /// <summary>Defines an abstract base class for options passed to a collection.</summary> public abstract class VectorStoreCollectionOptions { /// <summary> /// Initializes a new instan...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
9c766a5dcc814f53
typescript
193
Default Dark+
import clsx from 'clsx'; import type { PropsWithChildren } from 'react'; import { useMemo } from 'react'; import { Fragment, useRef, useState } from 'react'; import { Menu, Transition } from '@headlessui/react'; import { CheckIcon, HeartIcon, PlusIcon } from '@heroicons/react/20/solid'; import { useAddQuestionToList...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
897f2290a36ffa09
java
125
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
15e3ebc9f4f58eba
java
119
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
dd752c798c1a1282
python
64
Solarized Light
import os import random import sys from maths.greatest_common_divisor import gcd_by_iterative from . import cryptomath_module, rabin_miller def main() -> None: print("Making key files...") make_key_files("rsa", 1024) print("Key files generation successful.") def generate_key(key_size: int) -> tuple[tu...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
956c3fa5da3b20da
typescript
128
One Dark Pro
import { z } from "zod" import { HoppRESTAuthAPIKey, HoppRESTAuthBasic, HoppRESTAuthBearer, HoppRESTAuthInherit, HoppRESTAuthNone, } from "./1" import { V2_SCHEMA } from "./2" import { defineVersion } from "verzod" export const AuthCodeGrantTypeParams = z.object({ grantType: z.literal("AUTHORIZATION_CODE"...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
3fc7cc16d353f470
csharp
177
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using Microsoft.Extensions.Logging.Abstractions; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Process.Internal; using Xunit; namespace SemanticKernel.Process.Utilities.UnitTests; /// ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
de040aed8d369586
csharp
62
Default Light+
// Copyright (c) 2018 Siegfried Pammer // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // publ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
47838289ce9d0907
java
44
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
04d8c1f19804d3e8
java
45
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
2ebe745c4c20cb69
typescript
22
Solarized Light
import { Button } from "@/examples/radix/ui/button" import { Spinner } from "@/examples/radix/ui/spinner" export function SpinnerButton() { return ( <div className="flex flex-col items-center gap-4"> <Button disabled size="sm"> <Spinner data-icon="inline-start" /> Loading... </Button>...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
88e731e8462383ed
csharp
21
Monokai
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.SemanticKernel.Process.UnitTests.Steps; /// <summary> /// Common Events used in the process. /// </summary> public static class CommonEvents { public const string UserInputReceived = nameof(UserInputReceived); public const string Completion...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
d4dbb30b6574a631
csharp
48
Monokai
using System; namespace winPEAS._3rdParty.BouncyCastle.util.date { public class DateTimeUtilities { public static readonly DateTime UnixEpoch = new DateTime(1970, 1, 1); private DateTimeUtilities() { } /// <summary> /// Return the number of milliseconds since the Unix epoch (1 Jan., 1970 UTC) for a gi...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
04cb19784ea8abf2
python
126
Solarized Light
from collections.abc import Callable def levenshtein_distance(first_word: str, second_word: str) -> int: """ Implementation of the Levenshtein distance in Python. :param first_word: the first word to measure the difference. :param second_word: the second word to measure the difference. :return: th...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
81944a3c4178e4a6
cpp
317
Default Light+
#include "models.h" llm_build_plamo2::llm_build_plamo2(const llama_model & model, const llm_graph_params & params) : llm_graph_context_mamba(params) { ggml_tensor * cur; ggml_tensor * inpL; // {n_embd, n_tokens} inpL = build_inp_embd(model.tok_embd); cb(inpL, "embedding_output", -1); ggml...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
f7193b2658a593f9
python
75
Solarized Light
""" Word Break Problem is a well-known problem in computer science. Given a string and a dictionary of words, the task is to determine if the string can be segmented into a sequence of one or more dictionary words. Wikipedia: https://en.wikipedia.org/wiki/Word_break_problem """ def backtrack(input_string: str, word_...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
310380824b48f56e
python
52
Solarized Light
""" This is a pure Python implementation of Dynamic Programming solution to the fibonacci sequence problem. """ class Fibonacci: def __init__(self) -> None: self.sequence = [0, 1] def get(self, index: int) -> list: """ Get the Fibonacci number of `index`. If the number does not exist,...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
f73abd5bd70f6a77
java
26
Dracula
package com.macro.mall.portal.domain; import com.macro.mall.model.PmsProduct; import com.macro.mall.model.PmsProductFullReduction; import com.macro.mall.model.PmsProductLadder; import com.macro.mall.model.PmsSkuStock; import lombok.Getter; import lombok.Setter; import java.util.List; /** * 促销商品信息,包括sku、打折优惠、满减优惠 *...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
b097061c40a4c649
typescript
45
GitHub Dark
import type { App } from 'vue'; import type { I18n, I18nOptions } from 'vue-i18n'; import { createI18n } from 'vue-i18n'; import { setHtmlPageLang, setLoadLocalePool } from './helper'; import { localeSetting } from '/@/settings/localeSetting'; import { useLocaleStoreWithOut } from '/@/store/modules/locale'; const { f...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
0d763a1aaa4e8ef0
python
86
Solarized Light
import math class Graph: def __init__(self, n=0): # a graph with Node 0,1,...,N-1 self.n = n self.w = [ [math.inf for j in range(n)] for i in range(n) ] # adjacency matrix for weight self.dp = [ [math.inf for j in range(n)] for i in range(n) ] # d...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
d826d5a0f118d9c5
java
159
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
8bb37337f13a69b2
csharp
48
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.PromptTemplates.Liquid; using Xunit; namespace SemanticKernel.Extensions.PromptTemplates.Liquid.UnitTests; public class LiquidTemplateFactoryTest { [Theory] [InlineData("unknown-format")] [Inl...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
9f7507b4c60f6378
typescript
80
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, expect } from 'vitest'; import { evalTest } from './test-helper.js'; describe('validation_fidelity_pre_existing_errors', () => { evalTest('USUALLY_PASSES', { name: 'should handle pre-existing project error...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
31c4110c4fe4f743
typescript
48
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { CommandModule } from 'yargs'; import { installCommand } from './extensions/install.js'; import { uninstallCommand } from './extensions/uninstall.js'; import { listCommand } from './extensions/list.js'; import { update...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
160d86a1afefb26d
cpp
116
One Dark Pro
// (C) Copyright 2017, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in writing,...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
901af85cc0b49aa4
typescript
75
Default Light+
import type { ErrorEvent } from "@/gotypes"; import { Display, type DisplayAction } from "@/components/ui/display"; import { useUser } from "@/hooks/useUser"; import { useEffect, useState } from "react"; interface DisplayLoginProps { error: ErrorEvent | null; className?: string; onDismiss?: () => void; message...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
a5f41861d01cf56f
csharp
46
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Globalization; using System.Text.Json; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Connectors.Weaviate; /// <summary> /// Converts datetime type to RFC 3339 formatted string. /// </summary> internal sealed class...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
e76ae49c4449e131
csharp
152
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Net.Http; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel.Http; namespace Microsoft.SemanticKernel.Plugins.OpenApi; /// <summary> /// OpenAPI functi...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
e9e57b0cb1471906
cpp
76
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
908c0e007787fdd6
typescript
81
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach } from 'vitest'; import { applyModelSelection } from './policyHelpers.js'; import type { Config } from '../config/config.js'; import { PREVIEW_GEMINI_MODEL, PREVIEW_GEMINI_FLASH_MOD...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
ece0f46a822814a0
cpp
328
One Dark Pro
/* * * Copyright (c) 2003 * John Maddock * * Use, modification and distribution are subject to the * Boost Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) * */ /* * LOCATION: see http://www.boost.org for most recent version. ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
a2728e751c423ca6
javascript
67
Dracula
const antigravityProject = require('./antigravity-project'); const claudeHome = require('./claude-home'); const codexHome = require('./codex-home'); const cursorProject = require('./cursor-project'); const opencodeHome = require('./opencode-home'); const ADAPTERS = Object.freeze([ claudeHome, cursorProject, anti...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
938b3e3da9246004
java
72
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
df6d5c90b809e8ee
csharp
228
Monokai
using System.Runtime.InteropServices; using System.Text; using System.Windows.Input; using ScreenToGif.Domain.Enums.Native; using ScreenToGif.Domain.Models.Native; using ScreenToGif.Native.External; using ScreenToGif.Native.Structs; using ScreenToGif.Util; using Point = System.Windows.Point; namespace ScreenToGif.Nati...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
c9e4a2c792c9bfbb
java
36
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
16cdf0d2fba6f35c
java
74
Dracula
package com.macro.mall.service; import com.macro.mall.dto.PmsProductParam; import com.macro.mall.dto.PmsProductQueryParam; import com.macro.mall.dto.PmsProductResult; import com.macro.mall.model.PmsProduct; import org.springframework.transaction.annotation.Isolation; import org.springframework.transaction.annotation.P...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
e37fb26a0e241c5c
typescript
202
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import os from 'node:os'; /** * Detects if the current OS is Windows 10. * Windows 11 also reports as version 10.0, but with build numbers >= 22000. */ export function isWindows10(): boolean { if (os.platform() !== 'win32') {...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
b0a39ec037d0e7e0
csharp
92
Monokai
using Netch.Models; namespace Netch.Servers; public class ShadowsocksServer : Server { public override string Type { get; } = "SS"; public override string MaskedData() { return $"{EncryptMethod} + {Plugin}"; } /// <summary> /// 加密方式 /// </summary> public string EncryptMet...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
d42c749925ea31a4
typescript
117
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { vi, describe, it, expect, beforeEach } from 'vitest'; import { promises as fs, type PathLike, type Dirent, type Stats, } from 'node:fs'; import * as path from 'node:path'; import { cleanupBackgroundLogs } from './l...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
ff6be619bde971e8
csharp
85
Monokai
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
8b878474edf87f03
cpp
355
Monokai
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) // spdlog main header file. // see example.cpp for usage example #ifndef SPDLOG_H #define SPDLOG_H #pragma once #include <spdlog/common.h> #include <spdlog/details/registry.h> #...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
584f45fdc820c4a0
go
137
Solarized Light
package v1 import ( "context" "slices" "time" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/emptypb" v1pb "github.com/usememos/memos/proto/gen/api/v1" "github.com/usememos/memos/store" ) func (s *APIV1Service) SetMemoAttachments(ctx context.Context, r...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
6657c04ab2c128e2
cpp
130
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2009 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
e593fbf0b9adfe21
typescript
103
Default Light+
import { Popover } from "radix-ui"; import clsx from "clsx"; import React, { type ReactNode } from "react"; import { isInteractive } from "@excalidraw/common"; import { useEditorInterface } from "./App"; import { Island } from "./Island"; interface PropertiesPopoverProps { className?: string; container: HTMLDivE...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
646af5ecbeaabac6
java
80
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
6a0551cbeef8f218
csharp
70
Default Light+
// Copyright (c) 2023 James May // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // publish, di...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
a0c0b65ff86d906c
go
47
Default Light+
package llm import ( "bytes" "os" ) // StatusWriter is a writer that captures error messages from the llama runner process type StatusWriter struct { LastErrMsg string out *os.File } func NewStatusWriter(out *os.File) *StatusWriter { return &StatusWriter{ out: out, } } // TODO - regex matching to det...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
a130fa6ba1758353
typescript
42
One Dark Pro
import { InferredEntity, createVersionedEntity } from "verzod" import { z } from "zod" import V1_VERSION from "./v/1" import V2_VERSION from "./v/2" import V3_VERSION from "./v/3" import V4_VERSION from "./v/4" import V5_VERSION from "./v/5" import V6_VERSION from "./v/6" const versionedObject = z.object({ // v is a...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
d281073d97ad39ab
rust
205
Solarized Light
use std::ffi::CStr; use std::fmt; use crate::gl; use crate::gl::types::*; /// A wrapper for a shader program id, with automatic lifetime management. #[derive(Debug)] pub struct ShaderProgram(GLuint); #[derive(Copy, Clone, Debug)] pub enum ShaderVersion { /// OpenGL 3.3 core shaders. Glsl3, /// OpenGL ES...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
c4f2f0b3784d04b8
csharp
36
Default Light+
using System; using System.Collections.Generic; using System.Reflection.Metadata; using System.Text; namespace ICSharpCode.Decompiler.DebugInfo { public struct Variable { public Variable(int index, string name) { Index = index; Name = name; } public int Index { get; } public string Name { get; } } ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
b4b0bcae38235217
csharp
24
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using ProcessFramework.Aspire.ProcessOrchestrator.Models; namespace ProcessFramework.Aspire.ProcessOrchestrator.Steps; public class TranslateStep : KernelProcessStep { public static class ProcessFunctions { public const...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
df03c0ea51550016
typescript
194
Default Light+
import { getSizeFromPoints, randomInteger, getUpdatedTimestamp, } from "@excalidraw/common"; import type { Radians } from "@excalidraw/math"; import type { Mutable } from "@excalidraw/common/utility-types"; import { ShapeCache } from "./shape"; import { updateElbowArrowPoints } from "./elbowArrow"; import { ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
ec0f296fed3486ec
java
193
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
aee8c88a2cd76e78
cpp
49
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2010 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
a75c73eb5d1bb230
javascript
135
Dracula
import GraphVertex from '../../../data-structures/graph/GraphVertex'; /** * @param {number[][]} adjacencyMatrix * @param {object} verticesIndices * @param {GraphVertex[]} cycle * @param {GraphVertex} vertexCandidate * @return {boolean} */ function isSafe(adjacencyMatrix, verticesIndices, cycle, vertexCandidate) ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
f903d4de13471185
go
316
Solarized Dark
// Copyright 2017 fatedier, fatedier@gmail.com // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
236fcff19353e18d
rust
100
Dracula
#[cfg(not(any(target_os = "android", target_os = "ios")))] use crate::clipboard::{update_clipboard, ClipboardSide}; use hbb_common::{message_proto::*, ResultType}; use std::sync::Mutex; lazy_static::lazy_static! { static ref SCREENSHOT: Mutex<Screenshot> = Default::default(); } pub enum ScreenshotAction { Sav...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
21f9bf5f6c5de266
typescript
482
Default Light+
import type { AppClassProperties, AppState, InteractiveCanvasAppState, } from "@excalidraw/excalidraw/types"; import type { Mutable } from "@excalidraw/common/utility-types"; import { getBoundTextElement } from "./textElement"; import { isBoundToContainer } from "./typeChecks"; import { makeNextSelectedElement...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
bc171f60e619f50a
go
146
Solarized Dark
// Copyright 2023 The frp Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
ad6efb14b7cb7bbe
cpp
44
Solarized Light
#pragma once #include <QDialog> #include "Bridge.h" class TypeManager; class QLineEdit; class QLabel; namespace Ui { class DisplayTypeDialog; } class DisplayTypeDialog : public QDialog { Q_OBJECT public: explicit DisplayTypeDialog(QWidget* parent = nullptr); ~DisplayTypeDialog(); static void p...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
61c478c6572d3f79
java
37
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
5809a01819e844e7
python
49
Solarized Dark
# SPDX-FileCopyrightText: 2024-present Adam Fourney <adamfo@microsoft.com> # # SPDX-License-Identifier: MIT from ._plain_text_converter import PlainTextConverter from ._html_converter import HtmlConverter from ._rss_converter import RssConverter from ._wikipedia_converter import WikipediaConverter from ._youtube_conve...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
74891b893b936da9
java
57
GitHub Dark
package org.jeecg.modules.system.vo.tenant; import lombok.Data; import java.util.List; /** * 租户产品包信息 * 包括+ 用户信息 + 权限信息 * @Author taoYan * @Date 2023/2/16 21:01 **/ @Data public class TenantPackModel { /** * 租户Id */ private Integer tenantId; /** * 产品包编码 */ private String pac...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
91d44e28fe470aaa
java
77
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
50dd11b0fe93bd65
go
86
Solarized Dark
// Copyright 2016 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
93d9729dcc471a7c
cpp
479
Monokai
/* * Wslay - The WebSocket Library * * Copyright (c) 2011, 2012 Tatsuhiro Tsujikawa * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitati...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
7c0afde95d3e09c3
typescript
114
Solarized Light
import path from "path" import { migrateIcons } from "@/src/migrations/migrate-icons" import { migrateRadix } from "@/src/migrations/migrate-radix" import { migrateRtl } from "@/src/migrations/migrate-rtl" import { preFlightMigrate } from "@/src/preflights/preflight-migrate" import * as ERRORS from "@/src/utils/errors"...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
e1db3023d40cdbd4
rust
136
GitHub Dark
use std::collections::HashSet; use std::fmt::Debug; use std::hash::Hash; /// Here's a basic (naive) implementation for generating permutations pub fn permute<T: Clone + Debug>(arr: &[T]) -> Vec<Vec<T>> { if arr.is_empty() { return vec![vec![]]; } let n = arr.len(); let count = (1..=n).product()...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
de506925c7d5260d
typescript
49
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * Factory to create a standard abort error for delay helpers. */ export function createAbortError(): Error { const abortError = new Error('Aborted'); abortError.name = 'AbortError'; return abortError; } /** * Returns ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
d5e960fa0cd6cefc
csharp
60
Default Light+
// Copyright (c) 2021 Siegfried Pammer // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // publ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
5ab2c5aa44a31719
go
121
Solarized Light
package scheduler import ( "context" "time" "github.com/pkg/errors" ) // Middleware wraps a JobHandler to add cross-cutting behavior. type Middleware func(JobHandler) JobHandler // Chain combines multiple middleware into a single middleware. // Middleware are applied in the order they're provided (left to right)...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
cf6641b46fbbcf4e
python
101
Default Light+
import os import tempfile from collections import namedtuple from pathlib import Path import gradio.components from PIL import PngImagePlugin from modules import shared Savedfile = namedtuple("Savedfile", ["name"]) def register_tmp_file(gradio, filename): if hasattr(gradio, 'temp_file_sets'): # gradio 3.15 ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
1f22a64ee6ff610c
typescript
132
Dracula
/** * Session Manager Library for Claude Code. * Provides CRUD operations for session files stored as markdown in ~/.claude/sessions/. */ /** Parsed metadata from a session filename */ export interface SessionFilenameMeta { /** Original filename */ filename: string; /** Short ID extracted from filename, or "n...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
0076f44e58c79386
typescript
23
One Dark Pro
import { platform } from "~/platform" import * as E from "fp-ts/Either" // Default proxy URL export const DEFAULT_HOPP_PROXY_URL = "https://proxy.hoppscotch.io/" // Get default proxy URL from platform or return default export const getDefaultProxyUrl = async () => { const proxyAppUrl = platform?.infra?.getProxyAppU...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
d3c11f8f7538f78c
typescript
159
Solarized Light
import { logger } from "../../../../lib/logger"; import { areMergeable_F0 } from "./merge-null-val-objs-f0"; import { transformArrayToObject_F0 } from "./transform-array-to-obj-f0"; interface TransformedResult { transformed: { [key: string]: any[] } | any[]; url: string; } /** * Tracks sources through the transf...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
2faca175cb374cf3
rust
93
GitHub Dark
use super::optimization::gradient_descent; use std::f64::consts::E; /// Returns the weights after performing Logistic regression on the input data points. pub fn logistic_regression( data_points: Vec<(Vec<f64>, f64)>, iterations: usize, learning_rate: f64, ) -> Option<Vec<f64>> { if data_points.is_empt...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
e710b0848fdad2b1
java
34
Default Light+
package com.thealgorithms.dynamicprogramming; public final class SubsetSum { private SubsetSum() { } /** * Test if a set of integers contains a subset that sums to a given integer. * * @param arr the array containing integers. * @param sum the target sum of the subset. * @return {...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
49feedd51404cd81
rust
40
One Dark Pro
// Copyright 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 use micro_http::Body; use vmm::logger::{IncMetric, METRICS}; use vmm::rpc_interface::VmmAction; use vmm::vmm_config::serial::SerialConfig; use crate::api_server::parsed_request::{ParsedRequest, RequestErr...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...