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 |
|---|---|---|---|---|---|---|
80e8f6a2298e726a | typescript | 50 | Solarized Light | import {
CheckIcon,
CreditCardIcon,
InfoIcon,
MailIcon,
SearchIcon,
StarIcon,
} from "lucide-react"
import {
InputGroup,
InputGroupAddon,
InputGroupInput,
} from "@/registry/new-york-v4/ui/input-group"
export default function InputGroupIcon() {
return (
<div className="grid w-full max-w-sm gap... | 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... |
59d8b7246a94e85a | typescript | 123 | Solarized Light | "use client"
import {
Example,
ExampleWrapper,
} from "@/registry/bases/base/components/example"
import { Button } from "@/registry/bases/base/ui/button"
import {
Drawer,
DrawerClose,
DrawerContent,
DrawerDescription,
DrawerFooter,
DrawerHeader,
DrawerTitle,
DrawerTrigger,
} from "@/registry/bases/... | 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... |
94c40ede0c3f258f | java | 93 | GitHub Dark | package com.xxl.job.admin.core.util;
import com.fasterxml.jackson.core.JsonGenerationException;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.JavaType;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import or... | 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"
... |
425d8726dd7d77ef | go | 311 | Default Light+ | package fs
import (
"encoding/json"
"fmt"
"strings"
"time"
"github.com/alist-org/alist/v3/drivers/s3"
"github.com/alist-org/alist/v3/internal/driver"
"github.com/alist-org/alist/v3/internal/model"
"github.com/alist-org/alist/v3/internal/op"
"github.com/alist-org/alist/v3/internal/task"
"github.com/pkg/error... | 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"
... |
74ad37ee1d81c94a | go | 123 | 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... | 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.",
... |
6fe5dfd66f833263 | java | 52 | Monokai | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 6 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "Transcribe the code from this VS Code screenshot.",
"role"... |
56dd431f0fc95a4f | cpp | 159 | Default Light+ | #include "models.h"
llm_build_solar::llm_build_solar(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 == hparams.n_rot);
... | 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... |
d18c2d38369915b3 | csharp | 275 | Monokai | using System;
using System.Diagnostics;
using System.Text;
using winPEAS._3rdParty.BouncyCastle.crypto.util;
using winPEAS._3rdParty.BouncyCastle.math;
namespace winPEAS._3rdParty.BouncyCastle.asn1
{
public class DerBitString
: DerStringBase
{
private static readonly char[] table
= { ... | 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... |
ac8d1301c28b2c76 | typescript | 62 | Solarized Light | import { Button } from "@/examples/base/ui/button"
import {
Sheet,
SheetClose,
SheetContent,
SheetDescription,
SheetFooter,
SheetHeader,
SheetTitle,
SheetTrigger,
} from "@/examples/base/ui/sheet"
const SHEET_SIDES = ["top", "right", "bottom", "left"] as const
export default function SheetSide() {
r... | 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... |
64084f3a01c23ea1 | go | 26 | Default Light+ | package kodbox
import (
"github.com/alist-org/alist/v3/internal/driver"
"github.com/alist-org/alist/v3/internal/op"
)
type Addition struct {
driver.RootPath
Address string `json:"address" required:"true"`
UserName string `json:"username" required:"false"`
Password string `json:"password" required:"false"`
}
... | 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"... |
7d4e4a52e0430971 | cpp | 118 | One Dark Pro | #pragma once
#include <hex.hpp>
#include <hex/api/localization_manager.hpp>
#include <hex/data_processor/attribute.hpp>
#include <set>
#include <span>
#include <utility>
#include <vector>
#include <nlohmann/json_fwd.hpp>
#include <imgui.h>
#include <hex/providers/provider_data.hpp>
namespace hex::prv {
class P... | 3 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "What is the exact code shown in this VS Code window?",
"ro... |
207fefec095fc510 | python | 117 | Monokai | # Copyright (c) Microsoft. All rights reserved.
import asyncio
from azure.core.credentials import TokenCredential
from azure.identity import AzureCliCredential
from semantic_kernel.agents import AgentGroupChat, AzureAssistantAgent, ChatCompletionAgent
from semantic_kernel.connectors.ai.open_ai import AzureChatComple... | 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"... |
84ed8b88df6f99d5 | csharp | 119 | Monokai | using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace ScreenToGif.Controls;
/// <summary>
/// MenuItem with an image to the left.
/// </summary>
public class ExtendedMenuItem : MenuItem
{
#region Variables
public new static readonly Dependency... | 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"... |
c8ac6e860fa86dbb | java | 145 | Default Light+ | package com.thealgorithms.datastructures.graphs;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.PriorityQueue;
/**
* AStar class implements the A* pathfinding algorithm to find the shortest path in a graph.
* The graph is represented using an adjacency list, and the... | 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... |
0e66f70e570af02f | javascript | 27 | Dracula | import euclideanAlgorithm from '../euclideanAlgorithm';
describe('euclideanAlgorithm', () => {
it('should calculate GCD recursively', () => {
expect(euclideanAlgorithm(0, 0)).toBe(0);
expect(euclideanAlgorithm(2, 0)).toBe(2);
expect(euclideanAlgorithm(0, 2)).toBe(2);
expect(euclideanAlgorithm(1, 2)).... | 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... |
cb7c7729379cede3 | typescript | 229 | Solarized Light | "use client"
import * as React from "react"
import { Minus, Plus } from "lucide-react"
import { Bar, BarChart, ResponsiveContainer } from "recharts"
import { Button } from "@/registry/new-york-v4/ui/button"
import {
Drawer,
DrawerClose,
DrawerContent,
DrawerDescription,
DrawerFooter,
DrawerHeader,
Drawe... | 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... |
cd5a63422ab22584 | typescript | 161 | Solarized Dark | import { Box, Button, Snackbar, useTheme } from '@mui/material'
import { useLockFn } from 'ahooks'
import dayjs from 'dayjs'
import { useImperativeHandle, useState, type Ref } from 'react'
import { useTranslation } from 'react-i18next'
import { closeConnection } from 'tauri-plugin-mihomo-api'
import parseTraffic from ... | 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... |
c538bcf4310e1ab4 | typescript | 403 | Solarized Light | import crypto from "crypto";
import { config } from "../../../../config";
import { Document } from "../../../../controllers/v1/types";
import { EngineScrapeResult } from "..";
import { Meta } from "../..";
import {
getIndexFromGCS,
hashURL,
index_supabase_service,
normalizeURLForIndex,
saveIndexToGCS,
gener... | 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... |
928ac27ac47c41cd | csharp | 267 | 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 ... | 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... |
b5fbe54a7944f9d7 | typescript | 45 | Solarized Light | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect } from 'vitest';
import { getLanguageFromFilePath } from './language-detection.js';
describe('language-detection', () => {
it('should return correct LSP identifiers for various extensions', () => {
... | 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"
... |
795d05b511c02c3d | typescript | 80 | Solarized Light | import { type Metadata } from "next"
import Link from "next/link"
import { Announcement } from "@/components/announcement"
import { BlocksNav } from "@/components/blocks-nav"
import {
PageActions,
PageHeader,
PageHeaderDescription,
PageHeaderHeading,
} from "@/components/page-header"
import { PageNav } from "@... | 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... |
249152c6cd94dd01 | csharp | 218 | Monokai | // Copyright (c) Microsoft. All rights reserved.
using System;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.SemanticKernel.ChatCompletion;
using Microsoft.SemanticKernel.Connectors.HuggingFace;
using Microsoft.SemanticKernel.Connect... | 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"
... |
6a0892601f5f87c0 | javascript | 67 | Dracula | // @ts-check
import fs from 'node:fs'
import path from 'node:path'
import express from 'express'
const isTest = process.env.VITEST
export async function createServer(root = process.cwd(), hmrPort) {
const resolve = (p) => path.resolve(import.meta.dirname, p)
const app = express()
/**
* @type {import('vite'... | 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"... |
585af64d1458b8cd | java | 35 | 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... |
e804b3f963e22871 | typescript | 67 | Solarized Light | import * as React from "react"
import { cn } from "@/examples/radix/lib/utils"
import { cva, type VariantProps } from "class-variance-authority"
import { Slot } from "radix-ui"
const buttonVariants = cva(
"group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padd... | 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... |
f8234ea9df1e6fec | typescript | 300 | One Dark Pro | import * as Eq from "fp-ts/Eq"
import * as S from "fp-ts/string"
import cloneDeep from "lodash/cloneDeep"
import { createVersionedEntity, InferredEntity } from "verzod"
import { z } from "zod"
import { lodashIsEqualEq, mapThenEq, undefinedEq } from "../utils/eq"
import V0_VERSION from "./v/0"
import V1_VERSION from "... | 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"... |
8d855b04eb0bc006 | typescript | 67 | Solarized Light | import * as React from "react"
import { Plus } from "lucide-react"
import { Calendars } from "@/registry/new-york-v4/blocks/sidebar-12/components/calendars"
import { DatePicker } from "@/registry/new-york-v4/blocks/sidebar-12/components/date-picker"
import { NavUser } from "@/registry/new-york-v4/blocks/sidebar-12/com... | 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... |
360bc67c96ccb03a | csharp | 102 | Monokai | // Copyright (c) Microsoft. All rights reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.AI;
using Microsoft.SemanticKernel.Services;
namespace Microsoft.SemanticKernel.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"
... |
a176b7e62f3926fb | python | 49 | Solarized Light | """
Project Euler Problem 2: https://projecteuler.net/problem=2
Even Fibonacci Numbers
Each new term in the Fibonacci sequence is generated by adding the previous
two terms. By starting with 1 and 2, the first 10 terms will be:
1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...
By considering the terms in the Fibonacci sequenc... | 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... |
eb04e441519df892 | java | 25 | Solarized Dark | /*
* Copyright 2012-2019 the original author or 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by 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"
... |
3fba8fb194405181 | go | 60 | Default Light+ | package convert
import (
"io"
"io/fs"
"strings"
"github.com/nlpodyssey/gopickle/pytorch"
"github.com/nlpodyssey/gopickle/types"
)
func parseTorch(fsys fs.FS, replacer *strings.Replacer, ps ...string) ([]Tensor, error) {
var ts []Tensor
for _, p := range ps {
pt, err := pytorch.Load(p)
if err != nil {
r... | 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... |
4cbf28778c995b26 | cpp | 55 | 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... | 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"... |
84054b602ce175ab | typescript | 129 | One Dark Pro | import { getServerSideConfig } from "@/app/config/server";
import {
AI302_BASE_URL,
ApiPath,
ModelProvider,
ServiceProvider,
} from "@/app/constant";
import { prettyObject } from "@/app/utils/format";
import { NextRequest, NextResponse } from "next/server";
import { auth } from "@/app/api/auth";
import { isMode... | 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... |
129aef4328017b10 | typescript | 42 | One Dark Pro | import { z } from "zod"
import { defineVersion } from "verzod"
import { V1_SCHEMA } from "./1"
export const V2_SCHEMA = V1_SCHEMA.extend({
v: z.literal(2),
variables: z.array(
z.object({
key: z.string(),
initialValue: z.string(),
currentValue: z.string(),
secret: z.boolean(),
})
)... | 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... |
0525fc8140924d37 | rust | 27 | Solarized Dark | use serde::{Deserialize, Serialize};
#[derive(Clone, Deserialize, Serialize)]
#[cfg_attr(
feature = "config-schema",
derive(schemars::JsonSchema),
schemars(deny_unknown_fields)
)]
#[serde(default)]
pub struct NetnsConfig<'a> {
pub format: &'a str,
pub symbol: &'a str,
pub style: &'a str,
pu... | 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"
... |
950a5fc120078b3c | rust | 414 | Solarized Light | use std::collections::VecDeque;
use unicode_width::UnicodeWidthChar;
use alacritty_terminal::grid::Dimensions;
use crate::display::SizeInfo;
pub const CLOSE_BUTTON_TEXT: &str = "[X]";
const CLOSE_BUTTON_PADDING: usize = 1;
const MIN_FREE_LINES: usize = 3;
const TRUNCATED_MESSAGE: &str = "[MESSAGE TRUNCATED]";
/// ... | 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... |
984763c50405deb7 | rust | 68 | One Dark Pro | // Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
use clap::{Parser, Subcommand};
mod edit_memory;
#[cfg(target_arch = "aarch64")]
mod edit_vmstate;
mod info;
mod utils;
use edit_memory::{EditMemoryError, EditMemorySubCommand, edit_memory_command};
#[cf... | 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"... |
762e2f3efeaa6cab | csharp | 50 | Monokai | // Copyright (c) Microsoft. All rights reserved.
using System;
using System.Diagnostics.CodeAnalysis;
using System.Text.Json;
namespace Microsoft.SemanticKernel.Text;
/// <summary>Caches common configurations of <see cref="JsonSerializerOptions"/>.</summary>\
/// <remarks>
/// All of the instances include a convert... | 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.",
... |
3efc0bb48f0ea3f0 | rust | 56 | Solarized Dark | use serde::{Deserialize, Serialize};
#[derive(Clone, Deserialize, Serialize)]
#[cfg_attr(
feature = "config-schema",
derive(schemars::JsonSchema),
schemars(deny_unknown_fields)
)]
#[serde(default)]
pub struct StatusConfig<'a> {
pub format: &'a str,
pub symbol: &'a str,
pub success_symbol: &'a s... | 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... |
a767dfc7e37ee257 | python | 43 | Default Light+ | from .medialaan import MedialaanBaseIE
from ..utils import str_or_none
from ..utils.traversal import require, traverse_obj
class VTMIE(MedialaanBaseIE):
_VALID_URL = r'https?://(?:www\.)?vtm\.be/[^/?#]+~v(?P<id>[\da-f]{8}(?:-[\da-f]{4}){3}-[\da-f]{12})'
_TESTS = [{
'url': 'https://vtm.be/gast-vernielt... | 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... |
93492007fdbbcaf3 | cpp | 160 | One Dark Pro | #include "models.h"
llm_build_grok::llm_build_grok(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;
... | 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"
... |
b7f4c260f3799959 | java | 64 | 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... |
96a642801dc12193 | java | 145 | GitHub Dark | package org.jeecg.modules.system.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
/**
* @Description: 低... | 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... |
ac01a25a669ccd8c | java | 234 | 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"... |
b45bf23b2fda039d | java | 44 | GitHub Dark | package org.jeecg.config;
import org.jeecg.filter.GlobalAccessTokenFilter;
import org.springframework.cloud.gateway.filter.ratelimit.KeyResolver;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
impor... | 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"
... |
2c8bc9fe43f5ccfe | typescript | 253 | One Dark Pro | import {
HoppCollection,
HoppRESTHeader,
HoppRESTParam,
ValidContentTypesList,
ValidContentTypes,
HoppRESTReqBody,
HoppRESTReqBodyFormData,
HoppRESTRequest,
getDefaultRESTRequest,
makeCollection,
} from "@hoppscotch/data"
import * as E from "fp-ts/Either"
import { z } from "zod"
export const harImp... | 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... |
996420c6447d2854 | csharp | 53 | Monokai | // Copyright (c) Microsoft. All rights reserved.
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Microsoft.SemanticKernel.Connectors.Amazon.Core;
internal static class ClaudeRequest
{
internal sealed class ClaudeTextGenerationRequest
{
/// <summary>
/// (Req... | 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... |
d3bf18be2af61791 | javascript | 101 | Dracula | #!/usr/bin/env node
/**
* Continuous Learning - Session Evaluator
*
* Cross-platform (Windows, macOS, Linux)
*
* Runs on Stop hook to extract reusable patterns from Claude Code sessions.
* Reads transcript_path from stdin JSON (Claude Code hook input).
*
* Why Stop hook instead of UserPromptSubmit:
* - Stop ru... | 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... |
a16dd74456216229 | cpp | 260 | One Dark Pro | /**********************************************************************
* File: linlsq.cpp (Formerly llsq.c)
* Description: Linear Least squares fitting code.
* Author: Ray Smith
*
* (C) Copyright 1991, Hewlett-Packard Ltd.
** Licensed under the Apache License, Version 2.0 (the "License");
** you ma... | 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... |
abb1d68b26e8400d | rust | 39 | Solarized Dark | use serde::{Deserialize, Serialize};
#[derive(Clone, Deserialize, Serialize)]
#[cfg_attr(
feature = "config-schema",
derive(schemars::JsonSchema),
schemars(deny_unknown_fields)
)]
#[serde(default)]
pub struct GitBranchConfig<'a> {
pub format: &'a str,
pub symbol: &'a str,
pub style: &'a 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... |
1683bb36fd07f081 | rust | 60 | Default Dark+ | use std::sync::atomic::{AtomicBool, AtomicU32, AtomicU64, Ordering};
use roaring::RoaringBitmap;
/// A concurrent ID generate that will never return the same ID twice.
#[derive(Debug)]
pub struct ConcurrentAvailableIds {
/// The current tree node ID we should use if there is no other IDs available.
current: A... | 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"... |
03875de52d06f032 | cpp | 394 | Solarized Dark | #include <openpose/pose/poseExtractorNet.hpp>
#include <cmath> // std::round
#ifdef USE_CUDA
#include <cuda_runtime_api.h>
#include <openpose/gpu/cuda.hpp>
#endif
#include <openpose/core/enumClasses.hpp>
#include <openpose/utilities/fastMath.hpp>
namespace op
{
bool heatMapTypesHas(const std::vector<HeatMa... | 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"
... |
d346f511a278aeb4 | csharp | 55 | Monokai | // Copyright (c) Microsoft. All rights reserved.
using System;
using System.Collections.Generic;
using Microsoft.SemanticKernel.Process.Internal;
using Microsoft.SemanticKernel.Process.Models;
namespace Microsoft.SemanticKernel;
/// <summary>
/// A serializable representation of a Process.
/// </summary>
public sea... | 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... |
df6118a56452190c | java | 95 | Default Dark+ | package org.schabi.newpipe.util;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotati... | 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... |
21a3dfb39ae52a29 | javascript | 68 | Solarized Light | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import fs from 'node:fs';
import path from 'node:path';
const rootDir = process.cwd();
function readJson(filePath) {
return JSON.parse(fs.readFileSync(path.resolve(rootDir, filePath), 'utf-8'));
}
function writeJson(filePath, ... | 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... |
750487bd5bfd151e | java | 95 | 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... | 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... |
3425a77fc8d04c26 | cpp | 171 | One Dark Pro | #include <iostream>
#include <algorithm>
using namespace std;
int **T = NULL; // 存储背包问题表格的数组指针
// 返回两个值的最大值
int max(int a, int b) {
return (a > b) ? a : b;
}
// 迭代法,能显示背包问题的表格
int packIterative(int n, int W, int *w, int *v) {
// 循环遍历n行
for (int i = 1; i <= n; ++i)
{
// 循环遍历W列
for (int j = 1; j <= W; ++j)
... | 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... |
8ed9bfc2bda57182 | python | 145 | Solarized Light | #!/usr/bin/env python3
# This Python program implements an optimal binary search tree (abbreviated BST)
# building dynamic programming algorithm that delivers O(n^2) performance.
#
# The goal of the optimal BST problem is to build a low-cost BST for a
# given set of nodes, each with its own key and frequency. The freq... | 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... |
8af26355357e4dbd | go | 253 | Default Light+ | package vtencent
import (
"strconv"
"time"
"github.com/alist-org/alist/v3/internal/model"
)
type RespErr struct {
Code string `json:"Code"`
Message string `json:"Message"`
}
type Reqfiles struct {
ScrollToken string `json:"ScrollToken"`
Text string `json:"Text"`
Offset int `json:"Offset"`
... | 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... |
f5823f8c0b85dcfa | javascript | 80 | Default Dark+ | const { sendDockerHostList } = require("../client");
const { checkLogin } = require("../util-server");
const { DockerHost } = require("../docker");
const { log } = require("../../src/util");
/**
* Handlers for docker hosts
* @param {Socket} socket Socket.io instance
* @returns {void}
*/
module.exports.dockerSocket... | 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"
... |
92520a7a9d142359 | python | 214 | Solarized Light | import os
import json
import time
import requests
from dotenv import load_dotenv
from serpapi.google_search import GoogleSearch
from google import genai
# ANSI color codes
class Colors:
CYAN = '\033[96m'
YELLOW = '\033[93m'
GREEN = '\033[92m'
RED = '\033[91m'
MAGENTA = '\033[95m'
BLUE = '\033[9... | 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... |
b3572d787109ac64 | java | 44 | Solarized Dark | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 0 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "What code is displayed in this VS Code screenshot?",
"role... |
74f6076fbc365694 | csharp | 158 | Monokai | // Copyright (c) Microsoft. All rights reserved.
using System;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Graph;
using Microsoft.Graph.Models;
using Microsoft.SemanticKernel.Plugins.MsGraph.Connectors.Diagnostics;
namespace Microsof... | 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... |
bc49a49e69e617f7 | java | 41 | 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... |
c6a9a552d2d4644f | typescript | 116 | Solarized Light | "use client"
import * as React from "react"
import { Button } from "@/examples/base/ui/button"
import { ButtonGroup } from "@/examples/base/ui/button-group"
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuGroup,
DropdownMenuItem,
DropdownMenuRadioGroup,
DropdownMenuRadioItem,
DropdownMenuSeparato... | 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... |
cba07f2b32fcff75 | python | 417 | Monokai | # Copyright (c) Microsoft. All rights reserved.
import logging
import os
from collections.abc import AsyncGenerator, Mapping, Sequence
from html import unescape
from typing import TYPE_CHECKING, Any
import yaml
from pydantic import Field, ValidationError, model_validator
from semantic_kernel.connectors.ai.chat_compl... | 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"... |
f66084b54dd3ac3c | cpp | 26 | Solarized Dark | #ifndef OPENPOSE_FACE_FACE_CPU_RENDERER_HPP
#define OPENPOSE_FACE_FACE_CPU_RENDERER_HPP
#include <openpose/core/common.hpp>
#include <openpose/core/renderer.hpp>
#include <openpose/face/faceParameters.hpp>
#include <openpose/face/faceRenderer.hpp>
namespace op
{
class OP_API FaceCpuRenderer : public Renderer, pub... | 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... |
fe049cfad6d175e3 | java | 46 | Dracula | /*
Copyright (c) 2014 by Contributors
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, so... | 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.",
... |
9a73f1df633dd3c5 | typescript | 193 | Solarized Light | "use client"
import * as React from "react"
import { Label, Pie, PieChart, Sector } from "recharts"
import { type PieSectorDataItem } from "recharts/types/polar/Pie"
import {
Card,
CardContent,
CardDescription,
CardHeader,
CardTitle,
} from "@/registry/new-york-v4/ui/card"
import {
ChartContainer,
Chart... | 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... |
60a93970005c2c92 | cpp | 104 | Monokai | /* <!-- copyright */
/*
* aria2 - The high speed download utility
*
* Copyright (C) 2010 Tatsuhiro Tsujikawa
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the Lice... | 4 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "Reproduce the code from this screenshot.",
"role": "user"
... |
d79053616cf73098 | python | 297 | Monokai | from __future__ import annotations
from enum import Enum
from pydantic import BaseModel, Field
class RecraftColor:
def __init__(self, r: int, g: int, b: int):
self.color = [r, g, b]
def create_api_model(self):
return RecraftColorObject(rgb=self.color)
class RecraftColorChain:
def __in... | 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... |
2eb7c5e45a7ed440 | java | 49 | 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... |
37cf254747b5aed7 | go | 141 | Solarized Dark | package client
import (
"context"
"encoding/json"
"fmt"
"io"
"net"
"net/http"
"net/url"
"strconv"
"strings"
"github.com/fatedier/frp/client/http/model"
httppkg "github.com/fatedier/frp/pkg/util/http"
)
type Client struct {
address string
authUser string
authPwd string
}
func New(host string, port in... | 1 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "Please transcribe the source code shown in this editor screens... |
a4f4997243d4a669 | typescript | 46 | Solarized Light | import {
InputGroup,
InputGroupAddon,
InputGroupButton,
InputGroupText,
InputGroupTextarea,
} from "@/examples/base/ui/input-group"
import {
IconBrandJavascript,
IconCopy,
IconCornerDownLeft,
IconRefresh,
} from "@tabler/icons-react"
export default function InputGroupTextareaExample() {
return (
... | 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.",
... |
d9ca85d4514803d1 | csharp | 34 | Monokai | // Copyright (c) Microsoft. All rights reserved.
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.SemanticKernel.ImageToText;
/// <summary>
/// Class sponsor that holds extension methods for <see cref ="IImageToTextService" /> interf... | 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"... |
8f40396e431d7ff5 | cpp | 35 | Solarized Light | #ifndef TREE_SITTER_REDUCE_ACTION_H_
#define TREE_SITTER_REDUCE_ACTION_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "./array.h"
#include "tree_sitter/api.h"
typedef struct {
uint32_t count;
TSSymbol symbol;
int dynamic_precedence;
unsigned short production_id;
} ReduceAction;
typedef Array(ReduceActio... | 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.",
... |
8b517e79ff5ecc1c | java | 24 | 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"
... |
3eee2cdf4716c633 | java | 83 | Default Light+ | package com.thealgorithms.maths;
import java.util.Collections;
import java.util.PriorityQueue;
import java.util.Random;
/**
* Use a quicksort-based approach to identify the k-th largest or k-th max element within the provided array.
*/
public final class FindKthNumber {
private FindKthNumber() {
}
priv... | 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... |
e6dc7a3a5f7885bd | typescript | 243 | Solarized Dark | import { ContentCopy } from '@mui/icons-material'
import {
Alert,
Box,
CircularProgress,
IconButton,
List,
ListItem,
ListItemText,
Snackbar,
TextField,
Tooltip,
} from '@mui/material'
import { useLockFn } from 'ahooks'
import { useImperativeHandle, useState, type Ref } from 'react'
import { useTrans... | 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... |
517b234bd3f8cfb5 | typescript | 407 | Solarized Light | import { RateLimiterMode } from "../types";
import { getRedisConnection } from "../services/queue-service";
import { getACUCTeam } from "../controllers/auth";
import { getCrawl, StoredCrawl } from "./crawl-redis";
import { logger } from "./logger";
import { abTestJob } from "../services/ab-test";
import { scrapeQueue, ... | 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... |
5254a164e5bd6644 | typescript | 479 | One Dark Pro | import {
Environment,
HoppCollection,
HoppRESTRequest,
RESTReqSchemaVersion,
} from "@hoppscotch/data";
import axios, { Method } from "axios";
import * as A from "fp-ts/Array";
import * as E from "fp-ts/Either";
import * as T from "fp-ts/Task";
import * as TE from "fp-ts/TaskEither";
import { pipe } from "fp-ts... | 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... |
b7042c70da4d1c03 | cpp | 126 | Monokai | // Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#pragma once
#ifndef SPDLOG_HEADER_ONLY
#include <spdlog/details/thread_pool.h>
#endif
#include <cassert>
#include <spdlog/common.h>
namespace spdlog {
namespace details {
SPDL... | 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"
... |
7fdb2724fa997c8f | java | 39 | 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... |
224f1bb33d28f181 | csharp | 63 | 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"... |
9227f34ebb39781a | java | 48 | Monokai | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 4 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "Reproduce the code from this screenshot.",
"role": "user"
... |
9985dad79c5916c9 | csharp | 106 | Monokai | // Copyright (c) Microsoft. All rights reserved.
using System;
using System.Threading.Tasks;
using System.Threading.Tasks.Sources;
using Xunit;
namespace Microsoft.SemanticKernel.Agents.Runtime.InProcess.Tests;
[Trait("Category", "Unit")]
public class ResultSinkTests
{
[Fact]
public void GetResultTest()
... | 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"
... |
a0f68edbfde26a75 | csharp | 98 | 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"
... |
d47229a8d2f05906 | cpp | 112 | Monokai | /* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
// Written in 2014 by Nils Maier
#ifndef CRYPTO_ENDIAN_H
#define CRYPTO_ENDIAN_H
#include <cstdint>
#include "config.h"
namespace crypto {
#if defined(__GNUG__)
# define forceinline __attribute__((always_in... | 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... |
6176697f5fd38659 | csharp | 145 | Monokai | // Copyright (c) Microsoft. All rights reserved.
using Azure.AI.OpenAI;
using Azure.Identity;
using Microsoft.Agents.AI;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.SemanticKernel;
using Microsoft.SemanticKernel.Agents.OpenAI;
using Microsoft.SemanticKernel.Connectors.OpenAI;
using OpenAI;
using 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... |
4d80a07696287bb9 | typescript | 430 | Solarized Light | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi } from 'vitest';
import { HistoryItemDisplay } from './HistoryItemDisplay.js';
import { MessageType, type HistoryItem } from '../types.js';
import { SessionStatsProvider } from '../contexts/Session... | 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... |
ea23e140cbfc967e | python | 232 | Monokai | # Copyright (c) Microsoft. All rights reserved.
import asyncio
import os
from functools import reduce
from typing import TYPE_CHECKING
from semantic_kernel import Kernel
from semantic_kernel.connectors.ai.open_ai import OpenAIChatCompletion, OpenAIChatPromptExecutionSettings
from semantic_kernel.contents import ChatH... | 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"... |
771d7f7381c9c4b6 | go | 91 | Solarized Dark | // Copyright 2016 fatedier, fatedier@gmail.com
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... | 2 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "Extract and reproduce the code visible in this screenshot.",
... |
55490148eeeb1cd1 | java | 49 | 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... |
d7431e371ed08026 | python | 51 | Default Light+ | import re
from .common import InfoExtractor
from ..utils import ExtractorError
class TestURLIE(InfoExtractor):
""" Allows addressing of the test cases as test:yout.*be_1 """
IE_DESC = False # Do not list
_VALID_URL = r'test(?:url)?:(?P<extractor>.*?)(?:_(?P<num>\d+|all))?$'
def _real_extract(self,... | 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... |
b0ec4439fce1ac02 | rust | 178 | One Dark Pro | // Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
//
// Portions Copyright 2017 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the THIRD-PARTY file.
#![cfg(target_arch = "... | 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.",
... |
9d15a94108addd1d | python | 57 | Solarized Light | """
Gnome Sort Algorithm (A.K.A. Stupid Sort)
This algorithm iterates over a list comparing an element with the previous one.
If order is not respected, it swaps element backward until order is respected with
previous element. It resumes the initial iteration from element new position.
For doctests run following com... | 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.",
... |
35f21930dcfd4cfa | java | 38 | Monokai | package com.termux.shared.settings.properties;
import android.content.Context;
import androidx.annotation.NonNull;
import java.util.HashMap;
import java.util.Properties;
/**
* An interface that must be defined by the caller of the {@link SharedProperties} class.
*/
public interface SharedPropertiesParser {
/... | 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... |
86b934e777dbc375 | rust | 35 | Solarized Dark | use serde::{Deserialize, Serialize};
#[derive(Clone, Deserialize, Serialize)]
#[cfg_attr(
feature = "config-schema",
derive(schemars::JsonSchema),
schemars(deny_unknown_fields)
)]
#[serde(default)]
pub struct OpaConfig<'a> {
pub format: &'a str,
pub version_format: &'a str,
pub symbol: &'a str,... | 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.",
... |
31af5b963eee75da | java | 39 | Dracula | package com.macro.mall.service;
import com.macro.mall.model.SmsHomeRecommendSubject;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* 首页专题推荐管理Service
* Created by macro on 2018/11/7.
*/
public interface SmsHomeRecommendSubjectService {
/**
* 添加专题推荐
*/
... | 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"... |
51b2101400a1ffaa | csharp | 123 | Monokai | /* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation t... | 3 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "What is the exact code shown in this VS Code window?",
"ro... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.