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
547935af588dcd70
csharp
53
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using OpenAI.Responses; namespace Microsoft.SemanticKernel.Agents.OpenAI; /// <summary> /// Extensons methods for <see cref="KernelContent"/>. /// </summary> internal static class KernelContentExtensions { internal static ResponseContentPart ToRespo...
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...
44a7bb2adae83e58
rust
116
Dracula
use super::ffi::*; use super::Display; use hbb_common::libc; use std::{io, ptr, slice}; pub struct Capturer { display: Display, shmid: i32, xcbid: u32, buffer: *const u8, size: usize, saved_raw_data: Vec<u8>, // for faster compare and copy } impl Capturer { pub fn new(display: Display) ->...
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...
eeb65c349783f400
java
31
Solarized Dark
//Initially, there is a Robot at position (0, 0). Given a sequence of its moves, judge if this robot makes a circle, which means it moves back to the original place. // //The move sequence is represented by a string. And each move is represent by a character. The valid robot moves are R (Right), L (Left), U (Up) and D ...
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" ...
c50f303b357fdfb3
typescript
45
Dracula
import { msg as msgFromDep } from '@vitejs/test-dep-to-optimize' import depCjs from '@vitejs/test-worker-dep-cjs' import { mode, msg } from './modules/workerImport.js' import { bundleWithPlugin } from './modules/test-plugin' import viteSvg from './vite.svg' const metaUrl = import.meta.url self.onmessage = (e) => { i...
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...
4265b924a7987a63
typescript
29
GitHub Dark
import { computed, unref } from 'vue'; import { useAppStore } from '/@/store/modules/app'; import { useRouter } from 'vue-router'; /** * @description: Full screen display content */ export const useFullContent = () => { const appStore = useAppStore(); const router = useRouter(); const { currentRoute } = rout...
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...
ab50e398985bf2d0
go
450
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...
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"...
3a076e00fbfbec9d
cpp
64
Default Light+
/* Copyright © 2023-2024 Apple Inc. */ /* */ /* This file is auto-generated. Do not edit manually. */ /* */ #ifndef MLX_IO_H #define MLX_IO_H #include <stdbool.h> #include <stdint.h> #include <stdio...
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" ...
3a24d4936abaad5d
java
38
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 ...
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...
7200f1363b55037a
java
335
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" ...
c0fc2eb040b23bcd
go
115
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...
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...
ee9b27afab4fc901
java
53
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 ...
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...
ee7f8a90936c2f00
cpp
45
Solarized Dark
#ifndef OPENPOSE_FILESTREAM_POSE_JSON_COCO_SAVER_HPP #define OPENPOSE_FILESTREAM_POSE_JSON_COCO_SAVER_HPP #include <openpose/core/common.hpp> #include <openpose/filestream/enumClasses.hpp> #include <openpose/pose/enumClasses.hpp> #include <openpose/filestream/jsonOfstream.hpp> namespace op { /** * The CocoJ...
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...
3943e9800c533054
typescript
242
One Dark Pro
// Internal faraday-cage ctx type (kept as any). // eslint-disable-next-line @typescript-eslint/no-explicit-any type CageModuleContext = any export const marshalValue = (ctx: CageModuleContext, value: any): any => { if (value === null) return ctx.vm.null if (value === undefined) return ctx.vm.undefined if (value...
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...
286fdac44c73f039
python
41
Solarized Light
""" https://en.wikipedia.org/wiki/String-searching_algorithm#Na%C3%AFve_string_search this algorithm tries to find the pattern from every position of the mainString if pattern is found from position i it add it to the answer and does the same for position i+1 Complexity : O(n*m) n=length of main string m=length...
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...
58e310b24eaf7bbd
cpp
58
One Dark Pro
#ifndef HTP_WORKER_POOL_H #define HTP_WORKER_POOL_H // MACRO enables function to be visible in shared-library case. #define WORKERPOOL_API __attribute__((visibility("default"))) #include <AEEStdDef.h> #include <AEEStdErr.h> #include <stdint.h> #ifdef __cplusplus extern "C" { #endif /// signature of callbacks to be ...
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...
1a07292221bcf6c0
typescript
76
Solarized Light
import { useCallback, useState } from "react"; export function useDialog(defaultOpen = false) { const [isOpen, setIsOpen] = useState(defaultOpen); const open = useCallback(() => setIsOpen(true), []); const close = useCallback(() => setIsOpen(false), []); const toggle = useCallback(() => setIsOpen((prev) => !p...
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...
6d0a48c20e3b0276
csharp
101
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.Extensions.AI; using Microsoft.Extensions.VectorData; using Microsoft.SemanticKernel.Data; namespace Memory; /// <summary> /// Extension methods for <see cref="VectorStore"/> which allow: /// 1. Creating an instance of <see cref="VectorStoreCollection...
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...
bdf73d469c742486
java
83
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" ...
316202037c500fa3
java
224
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 ...
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...
0f4257580e408e85
javascript
21
Dracula
import path from 'node:path' import { defineConfig } from 'vite' export default defineConfig({ base: '/foo/bar', publicDir: 'static', resolve: { alias: { '@': path.resolve(import.meta.dirname, 'nested'), fragment: path.resolve(import.meta.dirname, 'nested/fragment-bg.svg'), }, }, assetsIn...
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" ...
4102c5b6b2b0d324
typescript
21
One Dark Pro
import { defineVersion } from "verzod" import { z } from "zod" import { V4_SCHEMA } from "./4" import { HoppRESTAuth } from "../../../rest/v/13/auth" export const V5_SCHEMA = V4_SCHEMA.extend({ v: z.literal("5"), auth: HoppRESTAuth, }) export default defineVersion({ initial: false, schema: V5_SCHEMA, up(old...
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...
d36a79461ca57a60
javascript
35
GitHub Dark
module.exports = { extends: [ './rules/best-practices', './rules/errors', './rules/node', './rules/style', './rules/variables' ].map(require.resolve), env: { browser: true, node: true, amd: false, mocha: false, jasmine: false }, rules: { 'comma-dangle': ['error', 'n...
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.", ...
ffbda5bd9650b58b
csharp
24
Dracula
using Avalonia.Data.Converters; namespace v2rayN.Desktop.Converters; public class DelayColorConverter : IValueConverter { public object? Convert(object? value, Type targetType, object? parameter, CultureInfo culture) { var delay = value.ToString().ToInt(); return delay switch { ...
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.", ...
50e3b1ac3c942617
typescript
197
GitHub Dark
import type { AppRouteModule } from '/@/router/types'; import { getParentLayout, LAYOUT } from '/@/router/constant'; import { t } from '/@/hooks/web/useI18n'; const feat: AppRouteModule = { path: '/feat', name: 'FeatDemo', component: LAYOUT, redirect: '/feat/icon', meta: { orderNo: 19, icon: 'ion:gi...
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...
c3dbb0f3d245d107
javascript
304
Dracula
import AvlTree from '../AvlTree'; describe('AvlTree', () => { it('should do simple left-left rotation', () => { const tree = new AvlTree(); tree.insert(4); tree.insert(3); tree.insert(2); expect(tree.toString()).toBe('2,3,4'); expect(tree.root.value).toBe(3); expect(tree.root.height).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"...
f00e0d98dda85dbd
typescript
74
One Dark Pro
import md5 from "spark-md5"; import { NextRequest, NextResponse } from "next/server"; import { getServerSideConfig } from "@/app/config/server"; async function handle(req: NextRequest, res: NextResponse) { const serverConfig = getServerSideConfig(); const storeUrl = () => `https://api.cloudflare.com/client/v4/...
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...
587d05adb3046a1d
java
174
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...
8f6185a412b3a4e6
typescript
48
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { AsyncLocalStorage } from 'node:async_hooks'; /** * Contextual information for a tool call execution. */ export interface ToolCallContext { /** The unique ID of the tool call. */ callId: string; /** The ID of the s...
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...
8f884abd393136c3
cpp
177
Solarized Light
#ifndef TREE_SITTER_WASM_WCTYPE_H_ #define TREE_SITTER_WASM_WCTYPE_H_ #include <stdbool.h> typedef int wint_t; int iswlower(wint_t wch); int iswupper(wint_t wch); int iswpunct(wint_t wch); static inline bool iswalpha(wint_t wch) { switch (wch) { case L'a': case L'b': case L'c': case L'd': case L'e': ...
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"...
d534f760d484ec26
java
110
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...
00729668a1375431
typescript
209
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { it } from 'vitest'; import fs from 'node:fs'; import path from 'node:path'; import crypto from 'node:crypto'; import { execSync } from 'node:child_process'; import { TestRig } from '@google/gemini-cli-test-utils'; import {...
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...
24c6206ac98bb3be
typescript
85
Dracula
import { NULL_BYTE_PLACEHOLDER, VALID_ID_PREFIX } from './constants' export const isWindows: boolean = typeof process !== 'undefined' && process.platform === 'win32' /** * Prepend `/@id/` and replace null byte so the id is URL-safe. * This is prepended to resolved ids that are not valid browser * import specifie...
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"...
a36ccbba00b06d73
typescript
199
Default Dark+
import type { ResumeBadgeProps } from '../resume-badge'; export default function ResumeBadgeTreasureIcon({ className, }: ResumeBadgeProps) { return ( <svg className={className} viewBox="0 0 511.672 511.672" x="0px" xmlns="http://www.w3.org/2000/svg" y="0px"> <path d=...
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" ...
f8d04769400bacd8
go
33
Solarized Dark
// Copyright 2015 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...
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.", ...
f5888231e3fddd84
csharp
219
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel....
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"...
13822b0273ca94fd
typescript
49
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, beforeEach, afterEach } from 'vitest'; import { TestRig } from './test-helper.js'; import { join } from 'node:path'; describe('web-fetch rate limiting', () => { let rig: TestRig; beforeEach(() =...
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...
8f1f3a47867a6534
java
39
GitHub Dark
package org.jeecg.common.api.dto; import lombok.Data; /** * @Author taoYan * @Date 2022/7/26 14:44 **/ @Data public class DataLogDTO { private String tableName; private String dataId; private String content; private String type; private String createName; public DataLogDTO(){ } ...
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...
f3c984ef3205f2df
java
62
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" ...
0373aac4512d895a
csharp
41
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel; using QualityCheckWithFilters.Models; using QualityCheckWithFilters.Services; namespace QualityCheckWithFilters.Filters; /// <summary> /// Filter which performs text translation evaluation using COME...
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" ...
603a73d04a81658f
typescript
81
Default Light+
import { useCallback, useEffect, useRef } from "react"; import { CloseIcon } from "./icons"; import { ToolButton } from "./ToolButton"; import "./Toast.scss"; import type { CSSProperties, ReactNode } from "react"; const DEFAULT_TOAST_TIMEOUT = 5000; const ProgressBar = ({ progress }: { progress: number }) => ( <...
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.", ...
8e4581c731fb8a4c
typescript
105
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect } from 'vitest'; import { getFileDiffFromResultDisplay, computeModelAddedAndRemovedLines, } from './fileDiffUtils.js'; import type { FileDiff, ToolResultDisplay } from '../tools/tools.js'; describ...
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...
ee8fdfe1586625a8
go
32
Default Light+
package alist_v2 import ( "time" ) type File struct { Id string `json:"-"` Name string `json:"name"` Size int64 `json:"size"` Type int `json:"type"` Driver string `json:"driver"` UpdatedAt *time.Time `json:"updated_at"` Thumbnail string `json:"thumbnail"` ...
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...
c47770d2d2affe0a
typescript
64
Default Light+
export default function Logo() { return ( <div className="flex mb-8 justify-center select-none"> <div className="relative select-none"> <svg width="60" height="60" viewBox="0 0 3400 3400" fill="none" xmlns="http://www.w3.org/2000/svg" class...
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.", ...
cdbd71fe55ec9cb2
csharp
195
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 ...
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...
ef0f4e6982454c09
go
73
Default Light+
package mlx // #include "generated.h" import "C" import ( "unsafe" ) func ScaledDotProductAttention(query, key, value, mask *Array, scale float32) *Array { if mask == nil { mask = New("") } sinks := New("") mode := "causal" cMode := C.CString(mode) defer C.free(unsafe.Pointer(cMode)) out := New("FAST_SD...
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...
ff8173c77782d074
cpp
105
One Dark Pro
#pragma once #include <string> #include <nlohmann/json.hpp> #include <wolv/io/fs.hpp> #include <hex/ui/popup.hpp> namespace hex::plugin::builtin::recent { /** * @brief Structure used to represent a recent other */ struct RecentEntry { /** * @brief Name that should be...
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...
359d45e7d08119ff
typescript
39
Default Light+
import { GOOGLE_FONTS_RANGES } from "@excalidraw/common"; import { type ExcalidrawFontFaceDescriptor } from "../Fonts"; import Cyrilic from "./Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTA3j6zbXWjgevT5.woff2"; import Latin from "./Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTQ3j6zbXWjgeg.woff2"; import Cyril...
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...
2690a077b6d83b28
typescript
28
One Dark Pro
type FormDataEntry = { key: string contentType?: string value: string | Blob } export const toFormData = (values: FormDataEntry[]) => { const formData = new FormData() values.forEach(({ key, value, contentType }) => { if (contentType) { formData.append( key, new Blob([value], { ...
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.", ...
fab024b49f3623c2
go
53
Default Light+
package halalcloud import "google.golang.org/grpc" func defaultOptions() halalOptions { return halalOptions{ // onRefreshTokenRefreshed: func(string) {}, grpcOptions: []grpc.DialOption{ grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(1024 * 1024 * 32)), // grpc.WithMaxMsgSize(1024 * 1024 * 1024), }, ...
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...
69d9bfcc1974cd5e
java
89
Monokai
/* * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free...
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...
22c0a8ef19ce9869
cpp
61
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2011 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...
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...
826e77adcc6392f7
typescript
100
Solarized Light
import "dotenv/config"; import { config } from "../../config"; import "../sentry"; import { setSentryServiceTag } from "../sentry"; import { logger as _logger } from "../../lib/logger"; import { reconcileConcurrencyQueue } from "../../lib/concurrency-queue-reconciler"; import { Counter, register } from "prom-client"; i...
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...
8fe0303c890e378e
rust
176
One Dark Pro
use std::collections::HashMap; use std::io::Cursor; use rayon::iter::{IntoParallelRefIterator, ParallelIterator}; use zip::ZipArchive; use super::Result; use crate::bundle::BundleError; use crate::verification::FileVerifier; use crate::{BundleMetadata, Manifest}; #[derive(Debug)] pub struct VerifiedFile { pub pa...
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...
e09bb17e3eb1ca9c
cpp
59
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...
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...
416e8a0b2adb2537
cpp
55
One Dark Pro
/********************************************************************** * File: underlin.h (Formerly undrline.h) * Description: Code to chop blobs apart from underlines. * Author: Ray Smith * * (C) Copyright 1994, Hewlett-Packard Ltd. ** Licensed under the Apache License, Version 2.0 (the "License");...
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...
73d70135f871272a
typescript
66
Solarized Light
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectTrigger, SelectValue, } from "@/examples/radix/ui/select" export function SelectScrollable() { return ( <Select> <SelectTrigger className="w-full max-w-64"> <SelectValue placeholder="Select a timezone" /> ...
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...
b04d254818fc0595
rust
142
Default Dark+
use std::borrow::Cow; use serde::{Deserialize, Serialize}; use tracing::span::Id as TracingId; #[derive(Debug, Serialize, Deserialize)] pub enum Entry { /// A code location was accessed for the first time NewCallsite(NewCallsite), /// A new thread was accessed NewThread(NewThread), /// A new cal...
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...
d10c5446b97c48c2
go
35
Default Light+
package webdav import ( log "github.com/sirupsen/logrus" "net/http" "strconv" "time" ) func (h *Handler) getModTime(r *http.Request) time.Time { return h.getHeaderTime(r, "X-OC-Mtime", "") } // owncloud/ nextcloud haven't impl this, but we can add the support since rclone may support this soon. // try ModTime 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...
169f3720cf9f35e3
csharp
66
Default Light+
// // ContinueStatement.cs // // Author: // Mike Krüger <mkrueger@novell.com> // // Copyright (c) 2009 Novell, Inc (http://www.novell.com) // // 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 ...
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...
9ab361298db6d075
cpp
34
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "pch.h" #include "MemoryItemViewModel.h" #include "StandardCalculatorViewModel.h" using namespace CalculatorApp; using namespace CalculatorApp::ViewModel::Common; using namespace CalculatorApp::ViewModel::Common:...
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"...
ab59b68a54e998de
rust
70
Default Dark+
use rocket::http::Status; use rocket::request::Outcome; use rocket::request::Request; use rocket::response::content::RawHtml; use rocket::response::stream::{Event, EventStream}; use rocket::tokio::time::{self, Duration}; use rocket::{get, launch, routes}; use std::time::SystemTime; pub struct LastEventId(pub usize); ...
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.", ...
70acec7cb742f1bd
java
26
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.", ...
3496b8d2e28154ca
csharp
78
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...
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...
3324ef32d6a766d3
typescript
200
GitHub Dark
// 主要用于日和星期的互斥使用 import { computed, inject, reactive, ref, unref, watch } from 'vue'; import { propTypes } from '/@/utils/propTypes'; export enum TypeEnum { unset = 'UNSET', every = 'EVERY', range = 'RANGE', loop = 'LOOP', work = 'WORK', last = 'LAST', specify = 'SPECIFY', } // use 公共 props export funct...
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...
1c79dbe5cb7ce32f
cpp
102
One Dark Pro
#include "models.h" llm_build_bloom::llm_build_bloom(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) { const int64_t n_embd_head = hparams.n_embd_head_v(); const int64_t n_embd_gqa = hparams.n_embd_v_gqa(); GGML_ASSERT(n_embd_head == hparams.n_embd_head_k()); ...
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.", ...
bebac287151a858c
java
59
GitHub Dark
package com.github.mikephil.charting.interfaces.datasets; import android.graphics.drawable.Drawable; import com.github.mikephil.charting.data.Entry; /** * Created by Philipp Jahoda on 21/10/15. */ public interface ILineRadarDataSet<T extends Entry> extends ILineScatterCandleRadarDataSet<T> { /** * Return...
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...
55a96360059f461d
typescript
86
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', () => { evalTest('USUALLY_PASSES', { name: 'should perform exhaustive validation autonomously when guide...
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...
ecf3dbc79569a78e
javascript
62
Dracula
// @see: https://en.wikipedia.org/wiki/Single-precision_floating-point_format const singlePrecisionBytesLength = 4; // 32 bits // @see: https://en.wikipedia.org/wiki/Double-precision_floating-point_format const doublePrecisionBytesLength = 8; // 64 bits const bitsInByte = 8; /** * Converts the float number into its...
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"...
14edd148e406c2ce
python
152
Monokai
# Copyright (c) Microsoft. All rights reserved. import sys from abc import ABC, abstractmethod from collections.abc import AsyncGenerator, Callable, Coroutine from typing import Any, ClassVar if sys.version_info >= (3, 11): from typing import Self # pragma: no cover else: from typing_extensions import Self ...
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" ...
b8ca339994642c14
cpp
57
Solarized Dark
#ifdef USE_3D_ADAM_MODEL #ifndef OPENPOSE_GUI_GUI_ADAM_HPP #define OPENPOSE_GUI_GUI_ADAM_HPP #ifdef USE_3D_ADAM_MODEL #include <adam/totalmodel.h> #endif #include <openpose/core/common.hpp> #include <openpose/gui/enumClasses.hpp> #include <openpose/gui/gui.hpp> namespace op { // This worker will do 3-D render...
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...
c9f2a00252b9a337
java
113
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...
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"...
d3218e5647aab4b0
cpp
471
One Dark Pro
/********************************************************************** * File: edgblob.cpp (Formerly edgeloop.c) * Description: Functions to clean up an outline before approximation. * Author: Ray Smith * *(C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License, Version 2.0(the ...
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...
8ae0a863b39213a1
java
75
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" ...
986e7115a404acef
rust
36
Dracula
#[cfg(target_os = "windows")] fn build_c_impl() { let mut build = cc::Build::new(); build.file("src/windows/wf_cliprdr.c"); { build.flag_if_supported("-Wno-c++0x-extensions"); build.flag_if_supported("-Wno-return-type-c-linkage"); build.flag_if_supported("-Wno-invalid-offsetof"); ...
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.", ...
eec5c074f859ab4c
rust
142
One Dark Pro
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 use std::fs::File; use std::io; use serde::{Deserialize, Serialize}; /// Default guest kernel command line: /// - `reboot=k` shut down the guest on reboot, instead of well... rebooting; /// - `panic=1` o...
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...
25dab429d4ed1fa4
csharp
153
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Microsoft.SemanticKernel.Connectors.Google; using Microsoft.SemanticKernel.Embeddings; using Microsoft.SemanticKernel.Services; using Xunit; 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" ...
d064b2945f7e4823
java
62
Dracula
package com.macro.mall.portal.domain; import com.macro.mall.model.UmsMember; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.security.core.userdetails.UserDetails; import java.util.Arrays; import java.util...
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.", ...
ff3183ed2266b11e
csharp
84
Monokai
namespace winPEAS._3rdParty.BouncyCastle.asn1.gm { public abstract class GMObjectIdentifiers { public static readonly DerObjectIdentifier sm_scheme = new DerObjectIdentifier("1.2.156.10197.1"); public static readonly DerObjectIdentifier sm6_ecb = sm_scheme.Branch("101.1"); public stati...
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...
b87c37f44dbe69fc
typescript
96
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, beforeEach, afterEach } from 'vitest'; import path from 'node:path'; import * as fs from 'node:fs'; import os from 'node:os'; import { validatePlanPath, validatePlanContent } from './planUtils.js'; d...
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...
a6d7a3c55046aa92
python
84
Solarized Dark
import sys import io from warnings import warn from typing import BinaryIO, Any from ._html_converter import HtmlConverter from ..converter_utils.docx.pre_process import pre_process_docx from .._base_converter import DocumentConverterResult from .._stream_info import StreamInfo from .._exceptions import MissingDepend...
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" ...
f4d1e2bc5a05b66c
go
98
Solarized Dark
// Copyright 2019 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...
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.", ...
360d93bd310ea008
typescript
116
Solarized Light
import { z } from "zod"; import { webhookSchema } from "./schema"; import { ExtractResult } from "../../lib/extract/extraction-service"; import { Document } from "../../controllers/v2/types"; export enum WebhookEvent { CRAWL_STARTED = "crawl.started", CRAWL_PAGE = "crawl.page", CRAWL_COMPLETED = "crawl.completed...
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...
637277caa84bf6fa
go
188
Default Light+
package parsers import ( "reflect" "testing" "github.com/ollama/ollama/api" ) func TestGLM47ParserAdd(t *testing.T) { parser := GLM47Parser{} parser.Init([]api.Tool{ tool("calculate", map[string]api.ToolProperty{ "count": {Type: api.PropertyType{"integer"}}, "enabled": {Type: api.PropertyType{"boolean...
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"...
cca1efdb3bf3bc6f
typescript
67
Solarized Dark
import { decodeAndTrim, parseBoolOrPresence, parsePortOrDefault, parseQueryStringNormalized, parseUrlLike, safeDecodeURIComponent, stripUriScheme, } from './helpers' export function URI_Hysteria2(line: string): IProxyHysteria2Config { const afterScheme = stripUriScheme( line, ['hysteria2', 'hy2...
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" ...
ebe4ae7b2ad5ca29
java
183
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 ...
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"...
91f3ab1a6632dcda
java
89
GitHub Dark
package org.jeecg.loader.repository; import lombok.extern.slf4j.Slf4j; import org.jeecg.loader.repository.MyInMemoryRouteDefinitionRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cloud.gateway.event.RefreshRoutesEvent; import org.springframework.cloud.gateway.route...
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" ...
a0622db6a49224ad
go
202
Solarized Dark
// Copyright 2015 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...
7255dc6076ef676a
cpp
156
One Dark Pro
/* * * Copyright (c) 1998-2002 * 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 versio...
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" ...
df18bb83c8afaa7c
java
41
Default Light+
package com.thealgorithms.greedyalgorithms; import java.util.ArrayList; import java.util.Collections; import java.util.List; /** * This class provides methods to separate the digits of a large positive number into a list. */ public class DigitSeparation { public DigitSeparation() { } /** * Separate...
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.", ...
68821348e320ec8a
go
197
Solarized Dark
// Copyright 2025 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...
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...
6b4666164aa96660
java
131
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" ...
cc850e2e73d4bed7
csharp
52
Default Light+
/* Copyright (c) 2015 Ki 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, distribute, sublice...
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...
d7679fa3bf5d6b64
typescript
114
Default Light+
interface Window { ClipboardItem: any; __EXCALIDRAW_SHA__: string | undefined; EXCALIDRAW_ASSET_PATH: string | string[] | undefined; EXCALIDRAW_THROTTLE_RENDER: boolean | undefined; DEBUG_FRACTIONAL_INDICES: boolean | undefined; EXCALIDRAW_EXPORT_SOURCE: string; gtag: Function; sa_event: Function; fat...
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...
ae115a3f1090b85c
typescript
299
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect } from 'vitest'; import { A2AAgentError, AgentCardNotFoundError, AgentCardAuthError, AgentAuthConfigMissingError, AgentConnectionError, classifyAgentError, } from './a2a-errors.js'; descri...
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" ...
bebb53a48d109a98
java
106
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...
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...
7ab124edf74721ee
typescript
349
Default Dark+
import { z } from 'zod'; import { Vote } from '@prisma/client'; import { TRPCError } from '@trpc/server'; import { createProtectedRouter } from '../context'; export const questionsQuestionCommentUserRouter = createProtectedRouter() .mutation('create', { input: z.object({ content: z.string(), questio...
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...
2b977fcec1718e37
typescript
86
GitHub Dark
import { BasicColumn, FormSchema } from '@/components/Table'; //ocr表格 export const columns: BasicColumn[] = [ { title: '编号', dataIndex: 'id', ifShow: false, }, { title: '标题', dataIndex: 'title', ellipsis: true, width: 300, }, { title: '提示词', dataIndex: 'prompt', ellips...
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...
82dff29aa4ca40db
java
148
Default Dark+
package org.schabi.newpipe.util; import android.content.Context; import android.net.Uri; import android.os.Bundle; import android.os.Environment; import android.util.TypedValue; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import android.w...
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...
b2e8c766863b61e3
typescript
85
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import * as path from 'node:path'; import { Storage, createSessionId, type ResumedSessionData, type ConversationRecord, } from '@google/gemini-cli-core'; import { GeminiCliSession } from './session.js'; import type { Gemin...
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" ...
c95676b91b5ae87a
javascript
154
Dracula
/* eslint-disable no-param-reassign, max-classes-per-file */ /** * Simple implementation of the Doubly-Linked List Node * that is used in LRUCache class below. */ class LinkedListNode { /** * Creates a doubly-linked list node. * @param {string} key * @param {any} val * @param {LinkedListNode} prev ...
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...