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
d896eeba1822a312
typescript
121
Solarized Light
"use client" import { TrendingUp } from "lucide-react" import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/new-york-v4/ui/card" import { ChartContainer, ChartTooltip, ChartTooltipCo...
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...
90e8955d06175e23
cpp
65
Solarized Light
#include "JsonRpcClient.h" #include <QDebug> JsonRpcClient::JsonRpcClient(QObject* parent) : QObject(parent) { connect(&mSocket, &QWebSocket::connected, this, &JsonRpcClient::connected); connect(&mSocket, &QWebSocket::disconnected, this, &JsonRpcClient::disconnected); connect(&mSocket, &QWebSocket::te...
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...
413371857ed52347
javascript
24
Dracula
import fibonacciNth from '../fibonacciNth'; describe('fibonacciNth', () => { it('should calculate fibonacci correctly', () => { expect(fibonacciNth(1)).toBe(1); expect(fibonacciNth(2)).toBe(1); expect(fibonacciNth(3)).toBe(2); expect(fibonacciNth(4)).toBe(3); expect(fibonacciNth(5)).toBe(5); ...
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...
4e2a775122826244
csharp
30
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.IO; using System.Threading.Tasks; using Microsoft.SemanticKernel; using Xunit; namespace SemanticKernel.Functions.UnitTests.OpenApi; public sealed class CopilotAgentPluginKernelExtensionsTests { [Fact] public async Task ItCanImportPluginFromCopil...
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...
ef2702db19a21aa9
go
159
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...
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...
e664db149df73259
python
103
Solarized Light
# floyd_warshall.py """ The problem is to find the shortest distance between all pairs of vertices in a weighted directed graph that can have negative edge weights. """ def _print_dist(dist, v): print("\nThe shortest path matrix using Floyd Warshall algorithm\n") for i in range(v): for j in range(v): ...
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...
b938262316d7145c
java
51
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...
89a59eaaae66b066
cpp
25
Solarized Dark
#ifndef OPENPOSE_THREAD_HEADERS_HPP #define OPENPOSE_THREAD_HEADERS_HPP // thread module #include <openpose/thread/enumClasses.hpp> #include <openpose/thread/priorityQueue.hpp> #include <openpose/thread/queue.hpp> #include <openpose/thread/queueBase.hpp> #include <openpose/thread/subThread.hpp> #include <openpose/thre...
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" ...
85390dc3ea200687
go
190
Default Light+
package sample import ( "math" "github.com/ollama/ollama/x/mlxrunner/mlx" ) type Transform func(*Sampler, *mlx.Array) *mlx.Array type Sampler struct { Temperature float32 TopP float32 MinP float32 TopK int RepeatLastN int PresencePenalty float32 history *mlx.Arr...
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...
a2954818b71a0838
python
104
Default Light+
import re from .common import InfoExtractor from ..utils import ( bug_reports_message, float_or_none, traverse_obj, unified_timestamp, ) class MediaWorksNZVODIE(InfoExtractor): _VALID_URL_BASE_RE = r'https?://vodupload-api\.mediaworks\.nz/library/asset/published/' _VALID_URL_ID_RE = r'(?P<id>...
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...
2255bff1e842d92e
python
138
Solarized Light
""" This is pure Python implementation of interpolation search algorithm """ def interpolation_search(sorted_collection: list[int], item: int) -> int | None: """ Searches for an item in a sorted collection by interpolation search algorithm. Args: sorted_collection: sorted list of integers ...
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...
dab49ecf48793fa2
java
38
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...
6cf4e1249be27ab9
csharp
53
Dracula
namespace ServiceLib.Handler.Fmt; public class TrojanFmt : BaseFmt { public static ProfileItem? Resolve(string str, out string msg) { msg = ResUI.ConfigurationFormatIncorrect; ProfileItem item = new() { ConfigType = EConfigType.Trojan }; var url = Utils.Try...
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...
2dda6afa52b0be4e
cpp
307
Solarized Light
#pragma once #include <QScrollArea> #include <QSet> #include <QMap> #include "Bridge.h" #include "CommonActions.h" class CPUWidget; class CPUMultiDump; class QPushButton; typedef struct { const char* string; unsigned int value; } STRING_VALUE_TABLE_t; #define SIZE_TABLE(table) (sizeof(table) / sizeof(*table...
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...
026d47a9beca36f0
python
76
Solarized Light
""" Sum of all nodes in a binary tree. Python implementation: O(n) time complexity - Recurses through :meth:`depth_first_search` with each element. O(n) space complexity - At any point in time maximum number of stack frames that could be in memory is `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" ...
f3ea1b48f10c899a
cpp
72
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "GraphingInterfaces/IGraph.h" #include "GraphingOptions.h" #include "Mocks/GraphRenderer.h" namespace MockGraphingImpl { class Graph : public Graphing::IGraph { public: Graph() ...
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...
c91b425417578c8d
go
39
Solarized Dark
// Copyright 2021 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...
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"...
d0822325c96761b3
java
187
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.", ...
257f04229287d9ab
csharp
79
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...
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...
328ead44e2afa761
java
87
Dracula
package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class CmsTopicCategory implements Serializable { private Long id; private String name; @ApiModelProperty(value = "分类图标") private String icon; @ApiModelProperty(value = "专题数量") p...
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...
ce47afda3ca06f97
go
101
Default Dark+
// Copyright 2014 Manu Martinez-Almeida. All rights reserved. // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. package gin import ( "flag" "io" "os" "sync/atomic" "github.com/gin-gonic/gin/binding" ) // EnvGinMode indicates environment name for gin mode. c...
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"...
6f97a6ca5afc6697
typescript
91
Solarized Light
import { type AgentResponse, type AgentStatusResponse, type AgentWebhookConfig } from "../types"; import { HttpClient } from "../utils/httpClient"; import { normalizeAxiosError, throwForBadResponse } from "../utils/errorHandler"; import { isZodSchema, zodSchemaToJsonSchema } from "../../utils/zodSchemaToJson"; import 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...
8f3b8ffe48022d16
typescript
100
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, afterEach } from 'vitest'; import { act } from 'react'; import { renderWithProviders } from '../../test-utils/render.js'; import { waitFor } from '../../test-utils/async.js'; import { RewindConfir...
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" ...
3d2bc1250bfcbf58
java
61
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...
ff25b2441a191518
typescript
170
One Dark Pro
import { Injectable, NestInterceptor, ExecutionContext, CallHandler, } from '@nestjs/common'; import { Observable } from 'rxjs'; import { tap } from 'rxjs/operators'; import { Request, Response } from 'express'; import { MockServer } from 'src/generated/prisma/client'; import { MockServerService } from './mock-...
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...
b9481674562a5bcf
java
28
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...
19baba44ce5dcd58
typescript
253
Solarized Light
import { describe, expect, it } from "vitest" import { parseRegistryAndItemFromString } from "./parser" describe("parseRegistryAndItemFromString", () => { describe("valid registry items", () => { it.each([ ["@v0/button", { registry: "@v0", item: "button" }], ["@acme/data-table", { registry: "@acme",...
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...
3b353c1234186a05
csharp
75
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 ...
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"...
b067c9d5448df393
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 ...
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.", ...
df6928e02e97cd2e
typescript
67
Solarized Light
/** * Utility functions for URL manipulation and analysis */ import psl from "psl"; /** * Determines if a URL is a base domain (e.g., example.com vs blog.example.com or example.com/path) * A base domain is considered to be the root domain without subdomains or paths * @param url - The URL to check * @returns tr...
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...
2177f565eaa1627e
cpp
120
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2012 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"...
9363f52ee77e2c01
csharp
334
Default Light+
// Copyright (c) 2010-2013 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...
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...
2ec9730c28ff7709
csharp
192
Default Light+
// Copyright (c) 2018 Daniel Grunwald // // 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, // publi...
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...
74259ffc0b88b464
typescript
31
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { getPackageJson } from './package.js'; import { fileURLToPath } from 'node:url'; import path from 'node:path'; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); let versionProm...
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"...
48c027152273619e
rust
22
Default Dark+
#[derive(Debug)] pub enum Error { Json(serde_json::Error), } impl std::error::Error for Error {} impl std::fmt::Display for Error { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { f.write_str("error de/serializing trace entry:")?; match self { Error::Json(error...
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"...
d7f1c8caffed5074
typescript
29
GitHub Dark
import { useChatStore } from '@/store'; export function useChat() { const chatStore = useChatStore(); const getChatByUuidAndIndex = (uuid: number, index: number) => { return chatStore.getChatByUuidAndIndex(uuid, index); }; const addChat = (uuid: number, chat: Chat.Chat) => { chatStore.addChatByUuid(u...
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...
5ec7d3e1bf498a14
java
103
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"...
609139b59985e5c0
python
82
Default Light+
from .common import InfoExtractor from ..utils import int_or_none, url_or_none from ..utils.traversal import traverse_obj class DigitekaIE(InfoExtractor): _VALID_URL = r'''(?x) https?://(?:www\.)?(?:digiteka\.net|ultimedia\.com)/ (?: deliver/ (?P<embed_type> ...
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...
c15f18ca3601d761
cpp
60
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...
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...
b40a9a85dfa71056
go
68
Solarized Dark
// Copyright 2021 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...
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...
6c4aa1119c1cec7c
java
245
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...
369c4717cc23d46b
typescript
290
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi } from 'vitest'; import { calculateRequestTokenCount, estimateTokenCountSync, } from './tokenCalculation.js'; import type { ContentGenerator } from '../core/contentGenerator.js'; import type { ...
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...
6da346505c8629a4
typescript
29
Solarized Light
"use client" import * as React from "react" import { Separator as SeparatorPrimitive } from "radix-ui" import { cn } from "@/lib/utils" function Separator({ className, orientation = "horizontal", decorative = true, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>) { return ( <SeparatorP...
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...
e7b251113095e0a4
go
115
Default Light+
package tools import ( "bytes" "context" "fmt" "os/exec" "strings" "time" "github.com/ollama/ollama/api" ) const ( // bashTimeout is the maximum execution time for a command. bashTimeout = 60 * time.Second // maxOutputSize is the maximum output size in bytes. maxOutputSize = 50000 ) // BashTool implement...
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"...
2fd5a9c8c4b1d28c
csharp
225
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"...
5ef25825323bd511
python
22
Dracula
from functools import lru_cache from fastapi import Depends, FastAPI from .config import Settings app = FastAPI() @lru_cache def get_settings(): return Settings() @app.get("/info") async def info(settings: Settings = Depends(get_settings)): return { "app_name": settings.app_name, "admin_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"...
5965a718491f4860
python
249
Default Light+
import base64 import urllib.parse from ._base import YoutubeBaseInfoExtractor from ._tab import YoutubeTabIE from ...utils import ExtractorError, classproperty, parse_qs, update_url_query, url_or_none class YoutubeYtBeIE(YoutubeBaseInfoExtractor): IE_DESC = 'youtu.be' _VALID_URL = rf'https?://youtu\.be/(?P<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...
fa35c8e665f22cd3
java
134
Default Light+
package com.thealgorithms.scheduling; import java.util.Collections; import java.util.LinkedList; import java.util.PriorityQueue; import java.util.Queue; /** * This class implements the Non-Preemptive Priority Scheduling algorithm. * Processes are executed in order of their priority. The process with the * highest ...
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.", ...
7962dcb1e5e3ee2e
cpp
24
One Dark Pro
#include "../node_context.h" #include "../op_table.h" #include "../utils.h" #include <openvino/op/transpose.hpp> namespace ov { namespace frontend { namespace ggml { namespace op { OutputVector translate_transpose(const NodeContext & context) { num_inputs_check(context, 1, 1); auto res = std::make_shared<ov...
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...
462ba6bb1c990271
cpp
151
One Dark Pro
#include <hex/api/content_registry/provider.hpp> #include "content/providers/gdb_provider.hpp" #include "content/providers/file_provider.hpp" #include "content/providers/null_provider.hpp" #include "content/providers/disk_provider.hpp" #include "content/providers/intel_hex_provider.hpp" #include "content/providers/mot...
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...
3d8942732b4cb584
typescript
38
Solarized Light
import * as React from "react" import { Card, CardContent } from "@/registry/new-york-v4/ui/card" import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, } from "@/registry/new-york-v4/ui/carousel" export default function CarouselSize() { return ( <Carousel opts={{ ...
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...
444a1bed8e47d27a
python
63
Monokai
import torch import comfy.model_management import comfy.text_encoders.jina_clip_2 import comfy.text_encoders.lumina2 class NewBieTokenizer: def __init__(self, embedding_directory=None, tokenizer_data={}): self.gemma = comfy.text_encoders.lumina2.Gemma3_4BTokenizer(embedding_directory=embedding_directory, ...
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...
8d98a9b2edea3f06
python
39
Dracula
import time from typing import Annotated from fastapi import Depends, FastAPI, HTTPException from fastapi.responses import StreamingResponse from sqlmodel import Field, Session, SQLModel, create_engine engine = create_engine("postgresql+psycopg://postgres:postgres@localhost/db") class User(SQLModel, table=True): ...
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"...
d7b677d0c33639ff
cpp
111
One Dark Pro
#include "models.h" llm_build_plamo::llm_build_plamo(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) { const int64_t n_embd_head = hparams.n_embd_head_v(); GGML_ASSERT(n_embd_head == hparams.n_embd_head_k()); GGML_ASSERT(n_embd_head == n_rot); ggml_tensor * cur...
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...
4367da6ebbd04951
cpp
40
One Dark Pro
#ifndef GGML_SYCL_BINBCAST_HPP #define GGML_SYCL_BINBCAST_HPP #include "common.hpp" static __dpct_inline__ float op_repeat(const float a, const float b) { return b; GGML_UNUSED(a); } static __dpct_inline__ float op_add(const float a, const float b) { return a + b; } static __dpct_inline__ float op_sub(c...
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" ...
9ddc611dc35a1bdb
typescript
244
One Dark Pro
import * as TE from "fp-ts/TaskEither" import { client } from "../GQLClient" import { GQLError } from "../GQLClient" import { getI18n } from "~/modules/i18n" import { CreateMockServerDocument, UpdateMockServerDocument, DeleteMockServerDocument, GetTeamMockServersDocument, WorkspaceType, } from "../graphql" /...
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...
5e02a40d00969554
typescript
135
Solarized Light
"use client" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, } from "@/registry/bases/base/ui/dropdown-menu" import { SidebarGroup, SidebarGroupLabel, SidebarMenu, SidebarMenuAction, SidebarMenuButton, SidebarMenuItem,...
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" ...
5504e1437101c9e1
python
42
Solarized Light
""" Project Euler Problem 56: https://projecteuler.net/problem=56 A googol (10^100) is a massive number: one followed by one-hundred zeros; 100^100 is almost unimaginably large: one followed by two-hundred zeros. Despite their size, the sum of the digits in each number is only 1. Considering natural numbers of the fo...
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.", ...
1a0017f1ea916605
python
58
Monokai
"""Test that Alembic migrations run cleanly on a file-backed SQLite DB. This catches problems like unnamed FK constraints that prevent batch-mode drop_constraint from working on real SQLite files (see MB-2). Migrations 0001 and 0002 are already shipped, so we only exercise upgrade/downgrade for 0003+. """ import os ...
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" ...
95e75f8ae018887e
java
127
Dracula
package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class UmsMenu implements Serializable { private Long id; @ApiModelProperty(value = "父级ID") private Long parentId; @ApiModelProperty(value = "创建时间") private Dat...
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...
ff2785550c8acb6a
python
105
Default Light+
import torch from k_diffusion import utils, sampling from k_diffusion.external import DiscreteEpsDDPMDenoiser from k_diffusion.sampling import default_noise_sampler, trange from modules import shared, sd_samplers_cfg_denoiser, sd_samplers_kdiffusion, sd_samplers_common class LCMCompVisDenoiser(DiscreteEpsDDPMDenois...
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.", ...
36a92615dfb38b0f
python
85
Solarized Light
from ..utils import HttpClient, handle_response_error from ..types import ConcurrencyCheck, CreditUsage, QueueStatusResponse, TokenUsage, CreditUsageHistoricalResponse, TokenUsageHistoricalResponse def get_concurrency(client: HttpClient) -> ConcurrencyCheck: resp = client.get("/v2/concurrency-check") if not r...
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...
da1fb1de7b81bd3e
go
378
Default Light+
//go:build windows || darwin package updater import ( "archive/zip" "bytes" "context" "fmt" "io" "log/slog" "net/http" "net/http/httptest" "path/filepath" "sync/atomic" "testing" "time" "github.com/ollama/ollama/app/store" ) func TestIsNewReleaseAvailable(t *testing.T) { slog.SetLogLoggerLevel(slog.Le...
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...
0308b37e61eae846
typescript
143
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { CompressionStatus, type ChatCompressionInfo, type GeminiClient, } from '@google/gemini-cli-core'; import { vi, describe, it, expect, beforeEach } from 'vitest'; import { compressCommand } from './compressCommand.js';...
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.", ...
01f0f692a06bbd5b
typescript
46
GitHub Dark
export {}; declare module 'vue-router' { interface RouteMeta extends Record<string | number | symbol, unknown> { orderNo?: number; // title title: string; // dynamic router level. dynamicLevel?: number; // dynamic router real route path (For performance). realPath?: string; // Whether...
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.", ...
b109110883ece4a1
javascript
33
Dracula
/** * @param {*[]} comboOptions * @param {number} comboLength * @return {*[]} */ export default function combineWithoutRepetitions(comboOptions, comboLength) { // If the length of the combination is 1 then each element of the original array // is a combination itself. if (comboLength === 1) { return combo...
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.", ...
52750ebb07f247de
java
80
Solarized Dark
// Given an m x n matrix of non-negative integers representing the height of each unit cell in a continent, the "Pacific ocean" touches the left and top edges of the matrix and the "Atlantic ocean" touches the right and bottom edges. // Water can only flow in four directions (up, down, left, or right) from a cell to 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" ...
7676feb5a1377ab0
go
45
Default Light+
package strm import ( "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/op" ) const ( SaveLocalInsertMode = "insert" SaveLocalUpdateMode = "update" SaveLocalSyncMode = "sync" ) type Addition struct { Paths string `json:"paths" required:"true" type:"text"` Si...
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" ...
857b6381da84c706
python
134
Monokai
from app.assets.database.queries.asset import ( asset_exists_by_hash, bulk_insert_assets, get_asset_by_hash, get_existing_asset_ids, reassign_asset_references, update_asset_hash_and_mime, upsert_asset, ) from app.assets.database.queries.asset_reference import ( CacheStateRow, Unenric...
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...
f48a5a62a14d00f3
typescript
29
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { render } from '../../test-utils/render.js'; import { Tips } from './Tips.js'; import { describe, it, expect, vi } from 'vitest'; import type { Config } from '@google/gemini-cli-core'; describe('Tips', () => { it.each([ ...
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...
1ebbc41748640f99
javascript
61
Dracula
import QuickSortInPlace from '../QuickSortInPlace'; import { equalArr, notSortedArr, reverseArr, sortedArr, SortTester, } from '../../SortTester'; // Complexity constants. const SORTED_ARRAY_VISITING_COUNT = 19; const NOT_SORTED_ARRAY_VISITING_COUNT = 12; const REVERSE_SORTED_ARRAY_VISITING_COUNT = 19; const...
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...
75c36a77bf3cc04c
typescript
136
Solarized Light
export type AbortInstance = { signal: AbortSignal; timesOutAt?: Date; tier: "external" | "scrape" | "engine"; throwable: () => any; }; export class AbortManager { private aborts: AbortInstance[] = []; private mappedController: AbortController | null = null; private listeners: Array<{ signal: AbortSignal;...
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...
2d3f604d2dbccd89
rust
86
GitHub Dark
/// Finds the unique number in a slice where every other element appears twice. /// /// This function uses the XOR bitwise operation. Since XOR has the property that /// `a ^ a = 0` and `a ^ 0 = a`, all paired numbers cancel out, leaving only the /// unique number. /// /// # Arguments /// /// * `arr` - A slice of integ...
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...
d2b41516f0c4768b
java
33
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 ...
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...
65fc95dc36469916
javascript
37
Dracula
import * as fs from 'fs' async function modifyOpenAPIFile(filePath) { try { const data = await fs.promises.readFile(filePath) const openapiContent = JSON.parse(data) const paths = openapiContent.paths for (const pathKey of Object.keys(paths)) { const pathData = paths[pathKey] for (const ...
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...
5a692cf665f67abc
rust
316
Dracula
// This code was autogenerated with `dbus-codegen-rust -c blocking -m None`, see https://github.com/diwic/dbus-rs // https://github.com/flatpak/xdg-desktop-portal/blob/main/data/org.freedesktop.portal.RemoteDesktop.xml use dbus; #[allow(unused_imports)] use dbus::arg; use dbus::blocking; pub trait OrgFreedesktopPortal...
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" ...
8191246c6203b62c
typescript
58
Solarized Light
import { registryItemSchema, type Registry } from "shadcn/schema" import { z } from "zod" import { fonts } from "@/registry/fonts" import { blocks } from "./blocks/_registry" import { components } from "./components/_registry" import { examples } from "./examples/_registry" import { hooks } from "./hooks/_registry" i...
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...
087d9699d93a82ae
csharp
37
Default Light+
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under MIT X11 license (for details please see \doc\license.txt) using System.Composition; using System.Windows; using System.Windows.Media; using ICSharpCode.AvalonEdit.Highlighting; usin...
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...
8b69aa880c787f6d
typescript
118
Solarized Light
import { ImageResponse } from "next/og" async function loadAssets(): Promise< { name: string; data: Buffer; weight: 400 | 600; style: "normal" }[] > { const [ { base64Font: normal }, { base64Font: mono }, { base64Font: semibold }, ] = await Promise.all([ import("./geist-regular-otf.json").then((m...
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.", ...
7b3a377169982e0f
python
78
Monokai
# Copyright (c) Microsoft. All rights reserved. import sys from typing import TYPE_CHECKING, Any from numpy import array, ndarray if sys.version_info >= (3, 12): from typing import override # pragma: no cover else: from typing_extensions import override # pragma: no cover from semantic_kernel.connectors.a...
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...
6d8af9c21bb0af92
typescript
38
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { Box } from 'ink'; import { useUIState } from '../contexts/UIStateContext.js'; import { HistoryItemDisplay } from './HistoryItemDisplay.js'; import { useTerminalSize } from '../hooks/useTerminalSize.js'; export const Quitt...
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"...
8792f2f7bf829a02
typescript
131
Default Dark+
import clsx from 'clsx'; import Image from 'next/image'; import { useEffect, useState } from 'react'; import { Tab } from '@headlessui/react'; import { Container } from './Container'; import resumeBrowse from './images/screenshots/resumes-browse.png'; import resumeReview from './images/screenshots/resumes-review.png';...
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...
0dceda8f6aa7d55e
python
143
Default Light+
import re from .common import InfoExtractor from ..utils import ExtractorError, parse_qs, remove_start, traverse_obj class RbgTumIE(InfoExtractor): _VALID_URL = r'https?://(?:live\.rbg\.tum\.de|tum\.live)/w/(?P<id>[^?#]+)' _TESTS = [{ # Combined view 'url': 'https://live.rbg.tum.de/w/cpp/2212...
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...
20a64766d41cb77e
csharp
410
Default Light+
using System; using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyMetadata(".NETFrameworkAssembly", "")] [assembly: CLSCompliant(false)] [assembly: AssemblyFileVersion("4.0.0.0")] [assembly: AssemblyInformationalVersion("4.0.0.0")] [assembly: AssemblyTitle("System.Runtime.CompilerService...
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.", ...
94c3ee937fe0ce22
python
164
Dracula
""" Upload an artifact to an S3 bucket for later use Note. This script takes in all inputs via environment variables except the path to the artifact(s). """ import argparse import os import subprocess import sys from pathlib import Path from urllib.parse import SplitResult, urlsplit, urlunsplit def resolve(x: ...
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...
c0b5fa4d6f247b30
csharp
432
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.Json; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.ChatCompletion; using Xunit; // This tests a type that c...
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" ...
399d8984ee44646f
java
25
GitHub Dark
package com.xxl.job.admin.dao; import com.xxl.job.admin.core.model.XxlJobLogGlue; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; /** * job log for glue * @author xuxueli 2016-5-19 18:04:56 */ @Mapper public interface XxlJobLogGlueDao { public int...
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" ...
ce96b839349da7f8
csharp
108
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...
48f992a7ab9d68d5
typescript
23
Solarized Dark
export interface ServerInfo { version: string bindPort: number vhostHTTPPort: number vhostHTTPSPort: number tcpmuxHTTPConnectPort: number kcpBindPort: number quicBindPort: number subdomainHost: string maxPoolCount: number maxPortsPerClient: number heartbeatTimeout: number allowPortsStr: string ...
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"...
839e142bee738f3f
cpp
96
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" ...
c4824a1ae234f151
typescript
33
Solarized Light
import { Pagination, PaginationContent, PaginationItem, PaginationLink, } from "@/examples/base/ui/pagination" export function PaginationSimple() { return ( <Pagination> <PaginationContent> <PaginationItem> <PaginationLink href="#">1</PaginationLink> </PaginationItem> ...
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" ...
d0673426deb25306
java
105
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" ...
7e6010f08a0b42b1
go
249
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...
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...
e15dcb9f7cf08b41
csharp
170
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.ComponentModel; using System.Text.Json.Serialization; using Microsoft.OpenApi.Extensions; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.ChatCompletion; using Microsoft.SemanticKernel.Connectors.MistralAI; namespace ChatCompletion; /// <s...
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" ...
943db49cd2811646
csharp
49
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...
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.", ...
7ecd773c5888b979
cpp
30
Solarized Light
#pragma once #include "StdTable.h" #include "TraceFileReader.h" class TraceWidget; class TraceInfoBox : public StdTable { Q_OBJECT public: TraceInfoBox(TraceWidget* parent); int getHeight(); ~TraceInfoBox(); void update(TRACEINDEX selection, TraceFileReader* traceFile, const REGDUMP & registers)...
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...
52688cecf193fae5
cpp
75
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...
9ffd89a2f5035a68
cpp
288
Solarized Light
#pragma once #include <QDialog> #include <QListWidgetItem> #include "Imports.h" #include "Configuration.h" // DisasmValueNotationType namespace Ui { class SettingsDialog; } class SettingsDialog : public QDialog { Q_OBJECT public: explicit SettingsDialog(QWidget* parent = nullptr); ~SettingsDialog();...
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...
ec11b1367a7e519d
javascript
25
Dracula
import combinationSum from '../combinationSum'; describe('combinationSum', () => { it('should find all combinations with specific sum', () => { expect(combinationSum([1], 4)).toEqual([ [1, 1, 1, 1], ]); expect(combinationSum([2, 3, 6, 7], 7)).toEqual([ [2, 2, 3], [7], ]); expe...
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...
7c472238e6a5daf5
typescript
36
Solarized Light
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, } from "@/examples/radix/ui/alert-dialog" import { Button } from "@/examples/radix/ui/button" export default function Ale...
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" ...