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
4f80a574f203da1a
javascript
99
Default Light+
/* global module */ module.exports = { env: { browser: true, es2021: true, }, extends: "eslint:recommended", parserOptions: { ecmaVersion: "latest", }, rules: { "arrow-spacing": "error", "block-spacing": "error", "brace-style": "error", "co...
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...
f6941282c5fd391d
python
21
Dracula
from typing import Annotated from fastapi import FastAPI, Path, Query app = FastAPI() @app.get("/items/{item_id}") async def read_items( *, item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)], q: str, size: Annotated[float, Query(gt=0, lt=10.5)], ): results = {"item_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...
86437fecb0889e35
cpp
179
One Dark Pro
#include "models.h" llm_build_llama_iswa::llm_build_llama_iswa(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_te...
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...
db488edc7988e4d9
python
283
Monokai
# Copyright (c) Microsoft. All rights reserved. import logging from collections import OrderedDict from collections.abc import Generator from typing import TYPE_CHECKING, Any, Final from prance import ResolvingParser from semantic_kernel.connectors.openapi_plugin.models.rest_api_expected_response import RestApiExpec...
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"...
8f050a69756e7519
python
270
Default Light+
import json import re import time from .common import InfoExtractor from ..utils import ( ExtractorError, determine_ext, js_to_json, traverse_obj, ) class IPrimaIE(InfoExtractor): _VALID_URL = r'https?://(?!cnn)(?:[^/]+)\.iprima\.cz/(?:[^/]+/)*(?P<id>[^/?#&]+)' _GEO_BYPASS = False _NETRC_...
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"...
1471d1c9f30b88a5
python
31
Solarized Light
import re def dna(dna: str) -> str: """ https://en.wikipedia.org/wiki/DNA Returns the second side of a DNA strand >>> dna("GCTA") 'CGAT' >>> dna("ATGC") 'TACG' >>> dna("CTGA") 'GACT' >>> dna("GFGG") Traceback (most recent call last): ... ValueError: Invalid Str...
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...
a839721e01103a25
go
456
Solarized Light
package markdown import ( "bytes" "strings" "github.com/yuin/goldmark" gast "github.com/yuin/goldmark/ast" "github.com/yuin/goldmark/extension" east "github.com/yuin/goldmark/extension/ast" "github.com/yuin/goldmark/parser" "github.com/yuin/goldmark/text" mast "github.com/usememos/memos/plugin/markdown/ast"...
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...
f7d57c59b6b56c76
csharp
71
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Diagnostics.CodeAnalysis; using System.IO; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace Microsoft.SemanticKernel.Http; /// <summary> /// Provides extension methods for working with HTTP content in a way that tran...
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...
b958d48c7b2dacee
cpp
152
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "GraphingInterfaces/IMathSolver.h" namespace MockGraphingImpl { class ParsingOptions : public Graphing::IParsingOptions { public: void SetFormatType(Graphing::FormatType /*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...
a1e2f729e79ba607
python
132
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from collections.abc import Sequence from dataclasses import dataclass, field from typing import Annotated from uuid import uuid4 from samples.concepts.memory.utils import print_record from samples.concepts.resources.utils import Colors, print_with_color ...
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"...
0dc3fe34ab453f8f
python
43
Dracula
from collections.abc import AsyncIterable, Iterable from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None items = [ Item(name="Plumbus", description="A multi-purpose household device."), Item(name="Portal Gun", descripti...
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...
e85825afd3858b2b
java
45
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...
ac4d8c703a65a550
java
42
Default Light+
package com.thealgorithms.sorts; /** * ExchangeSort is an implementation of the Exchange Sort algorithm. * * <p> * Exchange sort works by comparing each element with all subsequent elements, * swapping where needed, to ensure the correct placement of each element * in the final sorted order. It iteratively perfo...
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...
d768709aa533da02
typescript
247
One Dark Pro
import { not } from "fp-ts/Predicate" import { pipe, flow } from "fp-ts/function" import * as Str from "fp-ts/string" import * as RA from "fp-ts/ReadonlyArray" import * as A from "fp-ts/Array" import * as O from "fp-ts/Option" import * as E from "fp-ts/Either" import * as P from "parser-ts/Parser" import * as S from "p...
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...
4592cc574faf92a8
rust
252
Solarized Dark
use super::CmdResult; use crate::feat; use crate::utils::dirs; use crate::{ cmd::StringifyErr as _, config::{ClashInfo, Config}, constants, core::{CoreManager, handle, validate::CoreConfigValidator}, }; use clash_verge_logging::{Type, logging, logging_error}; use compact_str::CompactString; use serde_ya...
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.", ...
87d288f9681b0df5
java
76
Default Light+
package com.thealgorithms.sorts; import static com.thealgorithms.sorts.SortUtils.less; /** * Generic merge sort algorithm. * * @see SortAlgorithm */ @SuppressWarnings("rawtypes") class MergeSort implements SortAlgorithm { private Comparable[] tempArray; /** * Generic merge sort algorithm. * ...
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...
9985c5af11a7b3f3
typescript
46
Solarized Light
"use client" import { CircleCheckIcon, InfoIcon, Loader2Icon, OctagonXIcon, TriangleAlertIcon, } from "lucide-react" import { useTheme } from "next-themes" import { Toaster as Sonner, type ToasterProps } from "sonner" const Toaster = ({ ...props }: ToasterProps) => { const { theme = "system" } = useTheme(...
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...
4c5fb8ec6a4b0cde
csharp
172
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...
5f2c7b34d95078a1
java
39
Solarized Dark
// Invert a binary tree. // 4 // / \ // 2 7 // / \ / \ // 1 3 6 9 // to // 4 // / \ // 7 2 // / \ / \ // 9 6 3 1 /** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeNode(int x) { va...
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" ...
a1fe6f02d083baee
csharp
24
Default Light+
using System; internal class CallIndirect { private unsafe void Test(IntPtr f) { ((delegate* unmanaged[Stdcall]<int, void>)f)(42); } private unsafe void UnmanagedDefaultCall(IntPtr f) { ((delegate* unmanaged<int, void>)f)(42); } private unsafe void CustomCall(IntPtr f) { ((delegate* unmanaged[Custom]<in...
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.", ...
725026fdeb3fdbc1
python
94
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from typing import Annotated from azure.identity import AzureCliCredential from semantic_kernel.agents import AzureResponsesAgent from semantic_kernel.connectors.ai.open_ai import AzureOpenAISettings from semantic_kernel.functions import kernel_function ...
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...
391e6a583bb4679f
java
24
GitHub Dark
package org.jeecg.common.aspect.annotation; import java.lang.annotation.*; /** * 通过此注解声明的接口,自动实现字典翻译 * * @Author scott * @email jeecgos@163.com * @Date 2022年01月05日 */ @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface AutoDict { /** * 暂时无用 * @return */ String...
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...
5ce34ac8edd780de
typescript
42
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { defineConfig } from 'vitest/config'; export default defineConfig({ test: { reporters: ['default', 'junit'], testTimeout: 60000, hookTimeout: 60000, pool: 'forks', silent: true, setupFiles: ['./te...
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"...
da0c2b30d43dabd3
go
82
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...
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.", ...
357c848ce561b6e8
typescript
103
Solarized Light
import { Example, ExampleWrapper, } from "@/registry/bases/radix/components/example" import { Card, CardContent, CardHeader } from "@/registry/bases/radix/ui/card" import { Skeleton } from "@/registry/bases/radix/ui/skeleton" export default function SkeletonExample() { return ( <ExampleWrapper> <Skelet...
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" ...
40f2e359870c128f
java
46
Default Light+
package com.thealgorithms.strings; /** * Class for calculating the Hamming distance between two strings of equal length. * <p> * The Hamming distance is the number of positions at which the corresponding symbols are different. * It is used in information theory, coding theory, and computer science. * </p> * @see...
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...
96011da669962c14
typescript
136
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, beforeEach } from 'vitest'; import { ActivityLogger, type NetworkLog } from './activityLogger.js'; import type { ConsoleLogPayload } from '@google/gemini-cli-core'; describe('ActivityLogger', () => {...
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"...
140e43a3fe06f8d2
csharp
110
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKern...
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...
1f25aabf64e608dd
javascript
97
Default Dark+
const NotificationProvider = require("./notification-provider"); const axios = require("axios"); const { DOWN, UP } = require("../../src/util"); class ZohoCliq extends NotificationProvider { name = "ZohoCliq"; /** * Generate the message to send * @param {const} status The status constant * @par...
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"...
f635757f21acf715
java
53
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
67020c7d863be0a8
typescript
29
GitHub Dark
/** * Used to monitor routing changes to change the status of menus and tabs. There is no need to monitor the route, because the route status change is affected by the page rendering time, which will be slow */ import mitt from '/@/utils/mitt'; import type { RouteLocationNormalized } from 'vue-router'; import { getR...
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...
bcdd22fd380d4bc4
csharp
107
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Linq; using Microsoft.SemanticKernel.ChatCompletion; using Microsoft.SemanticKernel.Experimental.Orchestration.Execution; namespace Microsoft.SemanticKernel.Experimental.Orchestration; /// <summary> /// Extension methods for <see cref="FunctionResult"/> ...
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" ...
4c4bcbb353687ff2
java
289
GitHub Dark
package com.github.mikephil.charting.listener; import android.annotation.SuppressLint; import android.graphics.PointF; import android.view.MotionEvent; import android.view.View; import android.view.animation.AnimationUtils; import com.github.mikephil.charting.charts.PieRadarChartBase; import com.github.mikephil.char...
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...
3f86274523cf3cd1
go
45
Solarized Dark
// Copyright 2023 The frp Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
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.", ...
bc9f7fae6fb1a5c8
python
122
Monokai
import os import sys import pytest from app.assets.services.file_utils import is_visible, list_files_recursively class TestIsVisible: def test_visible_file(self): assert is_visible("file.txt") is True def test_hidden_file(self): assert is_visible(".hidden") is False def test_hidden_dir...
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...
5216fcb077683e7c
cpp
206
One Dark Pro
// (C) Copyright 2017, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in writing,...
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...
0b2acfd217498779
java
126
Default Light+
package com.thealgorithms.searches; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Objects; /** * An implementation of the Quickselect algorithm as described * <a href="https://en.wikipedia.org/wiki/Median_of_medians">here</a>. */ public final class QuickSelect {...
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" ...
49ba6bbedd4bf8f5
python
105
Default Light+
import re from .common import InfoExtractor from ..utils import ( NO_DEFAULT, int_or_none, parse_duration, str_to_int, ) class DrTuberIE(InfoExtractor): _VALID_URL = r'https?://(?:(?:www|m)\.)?drtuber\.com/(?:video|embed)/(?P<id>\d+)(?:/(?P<display_id>[\w-]+))?' _EMBED_REGEX = [r'<iframe[^>]+...
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"...
f9fe2842ee7b7e44
csharp
73
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"...
712fb70057e1d451
csharp
98
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Net.Http; using System.Threading.Tasks; using Microsoft.SemanticKernel.Connectors.Google; using Microsoft.SemanticKernel.Http; using Microsoft.SemanticKernel.Memory; namespace Microsoft.SemanticKernel; /// <summary> /// Provides extension m...
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"...
205b9bee358fa1e8
go
118
Default Light+
package deepseekocr import ( "math" "github.com/ollama/ollama/ml" "github.com/ollama/ollama/ml/nn" ) type visionModel struct { PatchEmbedding *nn.Conv2D `gguf:"patch_embd"` ClassEmbedding ml.Tensor `gguf:"class_embd"` PositionEmbedding *nn.Embedding `gguf:"position_embd"` PreLayerNorm *nn.LayerN...
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...
8b98e755bc2cf0ef
typescript
80
Default Light+
export type AnimationCallback = (timestamp: number) => void | boolean; export type AnimationTarget = { callback: AnimationCallback; stopped: boolean; }; export class AnimationFrameHandler { private targets = new WeakMap<object, AnimationTarget>(); private rafIds = new WeakMap<object, number>(); register(ke...
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...
13f83540fe829efc
typescript
107
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach } from 'vitest'; import { npmProvider } from './npmProvider.js'; import * as fs from 'node:fs/promises'; vi.mock('node:fs/promises', () => ({ readFile: vi.fn(), })); describe('npmPr...
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" ...
b7e8cb0461ece538
cpp
66
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...
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...
40e4d64047bb6e54
go
36
Default Light+
package _189pc import ( "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/op" ) type Addition struct { Username string `json:"username" required:"true"` Password string `json:"password" required:"true"` VCode string `json:"validate_code"` StripEmoji bool `json:"s...
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"...
03ea2e7142ea7188
java
44
GitHub Dark
package com.github.mikephil.charting.charts; import android.content.Context; import android.util.AttributeSet; import com.github.mikephil.charting.data.BubbleData; import com.github.mikephil.charting.interfaces.dataprovider.BubbleDataProvider; import com.github.mikephil.charting.renderer.BubbleChartRenderer; /** *...
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...
b69411b9e0fb3cf8
cpp
85
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...
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.", ...
b3dafbf73db03651
rust
45
One Dark Pro
use serde::de::DeserializeOwned; use tauri::{ plugin::{PluginApi, PluginHandle}, AppHandle, Runtime, }; use crate::{DownloadOptions, DownloadResponse, LoadOptions, LoadResponse}; #[cfg(target_os = "ios")] tauri::ios_plugin_binding!(init_plugin_appload); #[cfg(target_os = "android")] const PLUGIN_IDENTIFIER: ...
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...
d8be7c80fd6b0ff8
typescript
114
Solarized Light
"use client" import * as React from "react" import { Button } from "@/examples/radix/ui/button" import { ButtonGroup } from "@/examples/radix/ui/button-group" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSepara...
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"...
f8946e82b2962a0d
cpp
134
One Dark Pro
#include "content/views/view_theme_manager.hpp" #include <hex/api/content_registry/user_interface.hpp> #include <hex/api/theme_manager.hpp> #include <hex/api/events/events_interaction.hpp> #include <wolv/io/file.hpp> #include <fonts/vscode_icons.hpp> namespace hex::plugin::builtin { ViewThemeManager::ViewThemeM...
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...
028049dda4998e5e
java
122
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...
17b34087caa99f86
cpp
85
One Dark Pro
#pragma once #include <hex/ui/view.hpp> #include <mutex> #include <thread> #include <jthread.hpp> #include <vector> #include <windows.h> #include <wolv/container/interval_tree.hpp> namespace hex::plugin::windows { class ViewTTYConsole : public View::Window { public: ViewTTYConsole(); ~ViewTT...
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" ...
3c2288255e49e0c4
csharp
104
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...
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...
d8dedf1223c266c1
typescript
361
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import http from 'node:http'; import { randomUUID } from 'node:crypto'; import { EventEmitter } from 'node:events'; import { WebSocketServer, type WebSocket } from 'ws'; import type { NetworkLog, ConsoleLogPayload, InspectorC...
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...
fe2585685dee5f0d
python
151
Default Light+
from __future__ import annotations import os import re import shlex import subprocess import urllib.parse from yt_dlp.extractor.youtube.jsc._builtin.ejs import ( _EJS_WIKI_URL, EJSBaseJCP, Script, ScriptSource, ScriptType, ScriptVariant, ) from yt_dlp.extractor.youtube.jsc._builtin.vendor impo...
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...
70ad00c0b885f5dd
csharp
67
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Diagnostics.CodeAnalysis; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel.Agents.Runtime; namespace Microsoft.SemanticKernel.Agents.Orchestration; /// <summary> /// Extensions for logging <see cref="OrchestrationResult{TValue}"/>. /// ...
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...
596e4079501aa90b
csharp
163
Monokai
using System.Text.RegularExpressions; using Netch.Interfaces; using Netch.Models; using Netch.Utils; namespace Netch.Servers; public class ShadowsocksRUtil : IServerUtil { public ushort Priority { get; } = 1; public string TypeName { get; } = "SSR"; public string FullName { get; } = "ShadowsocksR"; ...
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...
31fc94e5a25e81f3
java
32
GitHub Dark
package com.alibaba.csp.sentinel.dashboard.rule.nacos; /** * @Description: nacos配置 * @author: zyf * @date: 2022/03/01$ * @version: V1.0 */ import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; @Component @ConfigurationProp...
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...
5b94d951fa7a77ba
java
50
Dracula
package com.macro.mall.service; import com.macro.mall.dto.SmsFlashPromotionProduct; import com.macro.mall.model.SmsFlashPromotionProductRelation; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * 限时购商品关联管理Service * Created by macro on 2018/11/16. */ public interface Sms...
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...
5f5019f854ef6b81
csharp
27
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.", ...
1e2db0ac2e7e5898
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 ...
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.", ...
7108f752307ca93f
typescript
85
One Dark Pro
import { ServiceClassInstance } from "dioc" import { Ref } from "vue" import { HoppModule } from "~/modules" import { AnalyticsPlatformDef } from "./analytics" import { AuthPlatformDef } from "./auth" import { CollectionsPlatformDef } from "./collections" import { EnvironmentsPlatformDef } from "./environments" 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...
1d897ec97b759359
java
110
Default Light+
package com.thealgorithms.dynamicprogramming; /** * The WineProblem class provides a solution to the wine selling problem. * Given a collection of N wines with different prices, the objective is to maximize profit by selling * one wine each year, considering the constraint that only the leftmost or rightmost wine c...
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...
cfd1db5851cc8ec6
cpp
104
Dracula
/*! * Copyright 2018 by Contributors * \file parameter.h * \brief macro for using C++11 enum class as DMLC parameter * \author Hyunsu Philip Cho */ #ifndef XGBOOST_PARAMETER_H_ #define XGBOOST_PARAMETER_H_ #include <dmlc/parameter.h> #include <xgboost/base.h> #include <string> #include <type_traits> /*! * \bri...
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" ...
6e4d096bc74876a4
typescript
356
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { MessageBus } from '../confirmation-bus/message-bus.js'; import fs from 'node:fs/promises'; import path from 'node:path'; import { BaseDeclarativeTool, BaseToolInvocation, Kind, type ToolInvocation, type Tool...
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...
6f0e40e425a160cc
go
125
Default Light+
package trainbit import ( "html" "io" "net/http" "net/url" "regexp" "strings" "time" "github.com/alist-org/alist/v3/drivers/base" "github.com/alist-org/alist/v3/internal/model" ) func get(url string, apiKey string, AUSHELLPORTAL string) (*http.Response, error) { req, err := http.NewRequest(http.MethodGet, ...
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" ...
9b47b69737dcd1c2
go
95
Default Dark+
package acmeserver import ( "strings" "testing" "go.uber.org/zap" "go.uber.org/zap/zaptest/observer" ) func TestHandler_warnIfPolicyAllowsAll(t *testing.T) { tests := []struct { name string policy *Policy wantWarns int wantAllowWildcard bool }{ { name: ...
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...
61bde450a1b93428
javascript
253
Default Light+
const { execSync } = require("child_process"); const fs = require("fs"); const path = require("path"); const { Font } = require("fonteditor-core"); const wawoff = require("wawoff2"); const which = require("which"); /** * Custom esbuild plugin to: * 1. inline all woff2 (url and relative imports) as base64 for server...
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"...
64628566c3040445
typescript
297
One Dark Pro
import { OauthAuthService, createFlowConfig, decodeResponseAsJSON, } from "../oauth.service" import { z } from "zod" import { getService } from "~/modules/dioc" import * as E from "fp-ts/Either" import * as O from "fp-ts/Option" import { useToast } from "~/composables/toast" import { KernelInterceptorService } fr...
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...
97fb742016ff7d07
python
141
Monokai
import math import ctypes import threading import dataclasses import torch from typing import NamedTuple from comfy.quant_ops import QuantizedTensor class TensorFileSlice(NamedTuple): file_ref: object thread_id: int offset: int size: int def read_tensor_file_slice_into(tensor, destination): if...
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...
9ca71939fb0b4c43
csharp
202
Monokai
using System; using System.Collections.Generic; using System.IO; using System.Net; using winPEAS.Helpers; namespace winPEAS.Info.CloudInfo { internal class AWSInfo : CloudInfoBase { /* * notes - possible identification: * - "c:\Program Files\Amazon\EC2Launch" - "C:\Prog...
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...
04a14e5c4b2afa18
csharp
64
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
6248f737a1b2b06b
csharp
120
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"...
89afc8a96b619058
go
194
Default Light+
package deepseekocr import ( "math" "slices" "github.com/ollama/ollama/fs" "github.com/ollama/ollama/kvcache" "github.com/ollama/ollama/ml" "github.com/ollama/ollama/ml/nn" "github.com/ollama/ollama/model" "github.com/ollama/ollama/model/input" "github.com/ollama/ollama/tokenizer" ) type Model struct { mod...
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" ...
e1d583c1a82f4b4a
python
60
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from azure.identity import AzureCliCredential from semantic_kernel.agents import AssistantAgentThread, AzureAssistantAgent from semantic_kernel.connectors.ai.open_ai import AzureOpenAISettings """ The following sample demonstrates how to create an OpenAI...
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...
9550189a7e3385a0
python
27
Dracula
from typing import Annotated from fastapi import BackgroundTasks, Depends, FastAPI app = FastAPI() def write_log(message: str): with open("log.txt", mode="a") as log: log.write(message) def get_query(background_tasks: BackgroundTasks, q: str | None = None): if q: message = f"found query: {...
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...
0e20877fe3b928f1
typescript
102
One Dark Pro
import { Service } from "dioc" import { computed, markRaw, Ref, ref } from "vue" import { installPWA, pwaDefferedPrompt } from "@hoppscotch/common/modules/pwa" import IconGlobe from "~icons/lucide/globe" import IconCLI from "~icons/lucide/square-terminal" import IconApple from "~icons/hopp/apple" import IconWindows fro...
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...
0586eb9ae6aa1c05
javascript
29
Default Dark+
const jsesc = require("jsesc"); const { escape } = require("html-escaper"); /** * Returns a string that represents the javascript that is required to insert the Google Analytics scripts * into a webpage. * @param {string} tagId Google UA/G/AW/DC Property ID to use with the Google Analytics script. * @returns {stri...
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.", ...
e60398b282767374
cpp
160
One Dark Pro
// __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ // | | |__ | | | | | | version 3.12.0 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013 - 2025 Niels Lohmann <https://nlohmann.me> // SPDX-License-Identifier: MIT #pragma once #include ...
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...
f5dea46ef82d6821
cpp
57
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Implementation of the NarratorNotifier class. #include "pch.h" #include "NarratorNotifier.h" using namespace CalculatorApp::ViewModel::Common::Automation; using namespace Platform; using namespace Windows::UI::Xaml; us...
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"...
7b0dce9a4ad1048f
cpp
50
Solarized Dark
#include <openpose/filestream/fileSaver.hpp> #include <openpose/utilities/fileSystem.hpp> namespace op { FileSaver::FileSaver(const std::string& directoryPath) : mDirectoryPath{formatAsDirectory(directoryPath)} { try { makeDirectory(mDirectoryPath); } catch (...
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" ...
c8ec822aac13f681
java
42
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...
5b2de0233f05436e
python
23
Dracula
from fastapi import Body, FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None class User(BaseModel): username: str full_name: str | None = None @app.put("/items/{item_id}") async def u...
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" ...
3a649fd21ba2d332
cpp
239
Solarized Dark
#ifndef OPENPOSE_WRAPPER_WRAPPER_STRUCT_POSE_HPP #define OPENPOSE_WRAPPER_WRAPPER_STRUCT_POSE_HPP #include <openpose/core/common.hpp> #include <openpose/core/enumClasses.hpp> #include <openpose/pose/enumClasses.hpp> #include <openpose/pose/poseParameters.hpp> #include <openpose/pose/poseParametersRender.hpp> #include ...
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.", ...
eb30b1276eb3e95c
python
43
Monokai
import os from typing import List, Union, TypedDict, Literal from typing_extensions import TypeGuard class FileInfo(TypedDict): name: str path: str type: Literal["file"] size: int class DirectoryInfo(TypedDict): name: str path: str type: Literal["directory"] FileSystemItem = Union[FileInfo...
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...
7ff981dcea2cc3a1
csharp
33
Default Light+
using System.Collections.Generic; using System.Linq; namespace ICSharpCode.Decompiler.Tests.TestCases.ILPretty { internal static class ExtensionPropertiesV2 { extension<T>(ICollection<T> collection) where T : notnull { public bool IsEmpty => collection.Count == 0; public int Test { get { return 42;...
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" ...
0929027be2ff5462
cpp
49
Solarized Light
#ifndef TREE_SITTER_POINT_H_ #define TREE_SITTER_POINT_H_ #include "tree_sitter/api.h" #define POINT_ZERO ((TSPoint) {0, 0}) #define POINT_MAX ((TSPoint) {UINT32_MAX, UINT32_MAX}) static inline TSPoint point__new(unsigned row, unsigned column) { TSPoint result = {row, column}; return result; } static inline TSP...
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" ...
1ab32ade80bdb33c
typescript
89
Solarized Light
"use client" import * as React from "react" import { cn } from "@/examples/radix/lib/utils" import { Popover as PopoverPrimitive } from "radix-ui" function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>) { return <PopoverPrimitive.Root data-slot="popover" {...props} /> } function Popove...
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...
0ab08c2f54c765a9
python
33
Solarized Light
def polygonal_num(num: int, sides: int) -> int: """ Returns the `num`th `sides`-gonal number. It is assumed that `num` >= 0 and `sides` >= 3 (see for reference https://en.wikipedia.org/wiki/Polygonal_number). >>> polygonal_num(0, 3) 0 >>> polygonal_num(3, 3) 6 >>> polygonal_num(5, 4) ...
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.", ...
467b1ca0d7330ca5
java
195
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.", ...
210313f027e5c861
java
53
Default Light+
package com.thealgorithms.greedyalgorithms; import java.util.PriorityQueue; /** * Class to solve the Optimal File Merging Problem. * The goal is to minimize the cost of merging files, where the cost of merging two files is the sum of their sizes. * The cost of merging all files is the sum of the costs of merging e...
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...
7b5eef7e23240052
typescript
269
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { AgentCard, SecurityScheme } from '@a2a-js/sdk'; import type { A2AAuthConfig, A2AAuthProvider, AuthValidationResult, } from './types.js'; import { ApiKeyAuthProvider } from './api-key-provider.js'; import { HttpA...
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...
f8ca8f9fddbb94f8
java
181
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" ...
ba368f2ab58f3e3e
csharp
219
Default Light+
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, cop...
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...
125d3f2f226f8b7f
python
128
Solarized Light
#!/usr/bin/python """Author: OMKAR PATHAK""" class Graph: def __init__(self): self.vertex = {} # for printing the Graph vertices def print_graph(self) -> None: """ Print the graph vertices. Example: >>> g = Graph() >>> g.add_edge(0, 1) >>> g.add_e...
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...
5a0a05612332bb9f
cpp
333
Dracula
/** * Copyright 2014-2025, XGBoost Contributors * \file gblinear.cc * \brief Implementation of Linear booster, with L1/L2 regularization: Elastic Net * the update rule is parallel coordinate descent (shotgun) * \author Tianqi Chen */ #include <dmlc/omp.h> #include <dmlc/parameter.h> #include <algorithm> #...
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"...
d9a61ef743c489e8
python
433
Dracula
import logging import random import sys import time from pathlib import Path from typing import Any, cast import httpx from github import Github from pydantic import BaseModel, SecretStr from pydantic_settings import BaseSettings awaiting_label = "awaiting-review" lang_all_label = "lang-all" approved_label = "approve...
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...
a434c0686f283f6c
typescript
26
Solarized Light
"use client" import { Separator as SeparatorPrimitive } from "@base-ui/react/separator" import { cn } from "@/registry/bases/base/lib/utils" function Separator({ className, orientation = "horizontal", ...props }: SeparatorPrimitive.Props) { return ( <SeparatorPrimitive data-slot="separator" 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...
7f2e2eb305087e5b
rust
460
Dracula
use hbb_common::{log, thiserror}; use std::{ ffi::OsStr, io, ops::{Deref, DerefMut}, os::windows::ffi::OsStrExt, ptr::null_mut, result::Result, }; use winapi::{ shared::{ guiddef::GUID, minwindef::{BOOL, DWORD, FALSE, MAX_PATH, PBOOL, TRUE}, ntdef::{HANDLE, LPCWSTR, 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.", ...
3d1b151c137db4c5
java
127
Default Light+
package com.thealgorithms.physics; /** * Simulates a simple pendulum using the Runge-Kutta 4th order method. * The pendulum is modeled with the nonlinear differential equation. * * @author [Yash Rajput](https://github.com/the-yash-rajput) */ public final class SimplePendulumRK4 { private SimplePendulumRK4() ...
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"...