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
a8367eb8eaf5bc20
go
73
Solarized Light
package sqlite import ( "context" "strings" "github.com/usememos/memos/store" ) func (d *DB) UpsertInstanceSetting(ctx context.Context, upsert *store.InstanceSetting) (*store.InstanceSetting, error) { stmt := ` INSERT INTO system_setting ( name, value, description ) VALUES (?, ?, ?) ON CONFLICT(name) ...
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...
a134f747b2711c66
java
66
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...
682a186a7bc2ea52
javascript
66
Default Dark+
/** * Prettier Configuration for Uptime Kuma * * Usage: * npm run fmt - Format all files (auto-runs in CI via autofix workflow) * npm run fmt -- --check - Check formatting without making changes * * TIP: This formatter is automatically run in CI, so no need to worry about it */ module.exports...
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...
8416f591b963b498
java
361
GitHub Dark
package org.jeecg.common.util; import cn.hutool.core.io.IoUtil; import jakarta.servlet.http.HttpServletResponse; import lombok.extern.slf4j.Slf4j; import org.apache.commons.compress.archivers.zip.ZipArchiveEntry; import org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream; import org.apache.commons.io.File...
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.", ...
ba0dda6e8046f39d
csharp
428
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Linq; using System.Threading.Tasks; using Microsoft.SemanticKernel.Connectors.InMemory; using Microsoft.SemanticKernel.Data; using Microsoft.SemanticKernel.Embeddings; using Xunit; namespace SemanticKernel.UnitTests.Data; public class Vecto...
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...
6b164d9a775ac591
typescript
250
Solarized Dark
import { ComputerRounded, TroubleshootRounded, HelpOutlineRounded, SvgIconComponent, } from '@mui/icons-material' import { Box, Typography, Stack, Paper, Tooltip, alpha, useTheme, Fade, } from '@mui/material' import { useState, useMemo, memo, FC } from 'react' import { useTranslation } from 'rea...
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"...
a415389fa3dd957e
csharp
117
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Azure.AI.OpenAI; using Azure.Core; using Microsoft.Extensions.Logging; using Microsoft.SemanticKern...
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...
43c1b228292dd361
java
91
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...
9adbc197db453db3
java
48
GitHub Dark
package org.jeecg.modules.system.service.impl; import org.jeecg.modules.system.entity.SysDepartRole; import org.jeecg.modules.system.mapper.SysDepartRoleMapper; import org.jeecg.modules.system.mapper.SysDepartRolePermissionMapper; import org.jeecg.modules.system.mapper.SysDepartRoleUserMapper; import org.jeecg.modules...
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.", ...
2753344ed7ef7936
java
32
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" ...
914be5d2b5af5916
csharp
78
Default Light+
// Copyright (c) 2021 Siegfried Pammer // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // publ...
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...
185a9643c37e5104
java
40
GitHub Dark
package com.xxl.job.admin.core.scheduler; import com.xxl.job.admin.core.util.I18nUtil; /** * @author xuxueli 2020-10-29 21:11:23 */ public enum MisfireStrategyEnum { /** * do nothing */ DO_NOTHING(I18nUtil.getString("misfire_strategy_do_nothing")), /** * fire once now */ FIRE_O...
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...
4c51c0850c24b144
cpp
120
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...
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...
c971a402165bc68b
typescript
51
Default Light+
import Pool from "es6-promise-pool"; // extending the missing types // relying on the [Index, T] to keep a correct order type TPromisePool<T, Index = number> = Pool<[Index, T][]> & { addEventListener: ( type: "fulfilled", listener: (event: { data: { result: [Index, T] } }) => void, ) => (event: { data: { r...
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" ...
5a3cbc37c2d4b105
java
112
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...
3021164f17134249
rust
123
Solarized Dark
use super::{Context, Module, ModuleConfig}; use crate::configs::gleam::GleamConfig; use crate::formatter::StringFormatter; use crate::formatter::VersionFormatter; /// Creates a module with the current Gleam version pub fn module<'a>(context: &'a Context) -> Option<Module<'a>> { let mut module = context.new_module...
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" ...
a159b460995f8d18
csharp
42
Default Light+
/* Copyright (c) 2015 Ki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublice...
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" ...
34afb08bd78a9a4f
csharp
109
One Dark Pro
 namespace ShareX { partial class BorderlessWindowForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
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.", ...
394373e6fd4fdad6
javascript
42
Dracula
import multiplyByTwo from './multiplyByTwo'; import divideByTwo from './divideByTwo'; import isEven from './isEven'; import isPositive from './isPositive'; /** * Multiply two signed numbers using bitwise operations. * * If a is zero or b is zero or if both a and b are zeros: * multiply(a, b) = 0 * * If b is even...
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"...
fd200ffd37c09cbc
go
392
Default Dark+
// Copyright 2015 Matthew Holt and The Caddy Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
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...
960bd764c62ac43e
typescript
45
Dracula
/* eslint-disable @typescript-eslint/ban-ts-comment */ // @ts-ignore `sass` may not be installed import type DartSass from 'sass' // @ts-ignore `sass-embedded` may not be installed import type SassEmbedded from 'sass-embedded' // @ts-ignore `less` may not be installed import type Less from 'less' // @ts-ignore `stylus...
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" ...
05be4731d795becb
typescript
36
Solarized Light
import { type Metadata } from "next" import { componentRegistry } from "@/app/(internal)/sink/component-registry" import { ComponentWrapper } from "@/app/(internal)/sink/components/component-wrapper" export const dynamic = "force-static" export const revalidate = false export const metadata: Metadata = { title: "K...
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"...
c4be58578bab3a78
java
471
GitHub Dark
package org.jeecg.common.util; import cn.hutool.core.util.ReUtil; import lombok.extern.slf4j.Slf4j; import org.jeecg.common.constant.CommonConstant; import org.jeecg.common.constant.SymbolConstant; import org.jeecg.common.exception.JeecgSqlInjectionException; import java.util.ArrayList; import java.util.List; import j...
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...
0a741df98cf38b02
java
143
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...
ed2c4f4c84e55002
java
115
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
0154e2fac0bf1712
java
493
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...
2c3ed9fcb8eb44c6
csharp
35
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using Microsoft.Extensions.VectorData; namespace Microsoft.SemanticKernel.Connectors.PgVector; internal static class PostgresConstants { /// <summary>The name of this vector store for telemetry purposes.</summary> public cons...
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...
5342ce2b36d84510
csharp
168
Default Light+
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Threading.Tasks; namespace ICSharpCode.Decompiler.Tests.TestCases.ILPretty { internal class A { protected internal virtual Task<string> Test(string test) { return Task.Run(() => test.ToUpper()); } } intern...
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...
31af108a017b25f7
python
273
Default Light+
import random import re import urllib.parse from .common import InfoExtractor from ..utils import ( ExtractorError, encode_data_uri, float_or_none, int_or_none, join_nonempty, mimetype2ext, str_or_none, ) class UstreamIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?(?:ustream\.tv...
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" ...
f7dd0f5d9573486c
rust
220
One Dark Pro
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 use std::convert::{From, TryInto}; use std::io; use serde::{Deserialize, Serialize}; use crate::rate_limiter::{BucketUpdate, RateLimiter, TokenBucket}; /// Wrapper for configuring the balloon device. pu...
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"...
0e4801e1bb5f5271
cpp
276
Dracula
/** * Copyright 2023-2024, XGBoost Contributors */ #pragma once #include <cstdint> // for int32_t #include <string> // for string #include <utility> // for move #include "xgboost/collective/result.h" // for Result #include "xgboost/collective/socket.h" // for TCPSocket #include "xgboost/json.h" /...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
cff02f8f504d7674
java
31
GitHub Dark
package org.jeecg.modules.system.service.impl; import org.jeecg.modules.system.entity.SysDictItem; import org.jeecg.modules.system.mapper.SysDictItemMapper; import org.jeecg.modules.system.service.ISysDictItemService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.springframework.beans....
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...
44d0fece45d9fcd5
python
105
Solarized Light
""" Convert International System of Units (SI) and Binary prefixes """ from __future__ import annotations from enum import Enum class SIUnit(Enum): yotta = 24 zetta = 21 exa = 18 peta = 15 tera = 12 giga = 9 mega = 6 kilo = 3 hecto = 2 deca = 1 deci = -1 centi = -2 ...
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...
3d6fc088808c856c
javascript
21
Dracula
import chunkMsg from './chunk' document.querySelector('.chunk').textContent = chunkMsg const ids = { hello: async () => { await import(/* a comment */ './hello.js') }, about: async () => { await import('./about.js') // lazy load }, } for (const [id, loader] of Object.entries(ids)) { const loadButto...
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"...
71c35369811ef15f
typescript
48
One Dark Pro
import { defineVersion, entityRefUptoVersion } from "verzod" import { z } from "zod" import { HoppGQLAuth } from "../../graphql/v/8" import { HoppRESTAuth } from "../../rest/v/13/auth" import { HoppCollection } from ".." import { v7_baseCollectionSchema, V7_SCHEMA } from "./7" export const v8_baseCollectionSchema = ...
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.", ...
3a8bf9dcbfea23f3
typescript
77
Solarized Light
import { Button } from "@/examples/radix/ui/button" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/examples/radix/ui/card" import { Field, FieldDescription, FieldLabel } from "@/examples/radix/ui/field" import { InputOTP, InputOTPGroup, InputOTPSeparator, I...
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"...
aa1e0e79b3d58d76
python
105
Solarized Light
""" Project Euler Problem 86: https://projecteuler.net/problem=86 A spider, S, sits in one corner of a cuboid room, measuring 6 by 5 by 3, and a fly, F, sits in the opposite corner. By travelling on the surfaces of the room the shortest "straight line" distance from S to F is 10 and the path is shown on the diagram. ...
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...
eed67a22998db3b3
go
210
Default Light+
package onedrive_app import ( "context" "fmt" "net/http" "net/url" "path" "sync" "github.com/alist-org/alist/v3/drivers/base" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/errs" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/pkg/utils...
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...
62270e4973ff0057
typescript
117
One Dark Pro
import { HoppRESTAuth } from "@hoppscotch/data" import parser from "yargs-parser" import * as O from "fp-ts/Option" import * as S from "fp-ts/string" import { pipe } from "fp-ts/function" import { getDefaultRESTRequest } from "~/helpers/rest/default" import { objHasProperty } from "~/helpers/functional/object" const d...
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...
8ffa562426e0658f
java
170
Monokai
package com.termux.shared.android; import android.annotation.SuppressLint; import android.content.Context; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.termux.shared.logger.Logger; import com.termux.shared.reflection.ReflectionUtils; import java.lang.reflect.Method; import jav...
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" ...
9a67263e3d60e456
python
87
Solarized Light
""" This is a Python implementation of the circle sort algorithm For doctests run following command: python3 -m doctest -v circle_sort.py For manual testing run: python3 circle_sort.py """ def circle_sort(collection: list) -> list: """A pure Python implementation of circle sort algorithm :param collection:...
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...
35ca85aac6765a16
java
30
GitHub Dark
package org.jeecg.config; import org.jeecg.config.vo.GaoDeApi; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Lazy; /** * 高德账号配置 */ @Lazy(false) @Configuration("jeecgGaodeBaseConfi...
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...
9dea0b760693338a
cpp
198
Dracula
/** * Copyright 2017-2026, XGBoost Contributors */ #pragma once #include <cstddef> #include <cstdint> #include <limits> #include <utility> #include <vector> #include "../common/categorical.h" // for IsCat #include "../common/column_matrix.h" // for ColumnMatrix #include "../common/common.h" // for Range...
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...
40acaa74ce3f08b7
csharp
172
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Microsoft.VisualStudio.TestTools.UnitTesting; using OpenQA.Selenium; using OpenQA.Selenium.Appium.Windows; using OpenQA.Selenium.Interactions; using System.Collections.Generic; using System.Drawing; using System.Lin...
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...
980d5caf1e94a6f4
typescript
56
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { Content, PartListUnion } from '@google/genai'; /** * The return type for a command action that results in scheduling a tool call. */ export interface ToolActionReturn { type: 'tool'; toolName: string; toolArgs...
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.", ...
ddd6bfeaad3a24d6
cpp
25
One Dark Pro
#pragma once #include <hex.hpp> #include <hex/ui/view.hpp> namespace hex::plugin::builtin { class ViewPatches : public View::Window { public: explicit ViewPatches(); ~ViewPatches() override; void drawContent() override; void drawAlwaysVisibleContent() override; void ...
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...
dff00f47f1e2d34e
go
42
Default Light+
package aliyundrive_open import ( "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/op" ) type Addition struct { DriveType string `json:"drive_type" type:"select" options:"default,resource,backup" default:"resource"` driver.RootID RefreshToken string `json:"refresh_tok...
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...
952a464215509dfb
java
68
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...
676f1b3572bed85f
cpp
152
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...
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...
6ad351bb955d16b6
go
125
Default Light+
package _123 import ( "github.com/alist-org/alist/v3/pkg/utils" "net/url" "path" "strconv" "strings" "time" "github.com/alist-org/alist/v3/internal/model" ) type File struct { FileName string `json:"FileName"` Size int64 `json:"Size"` UpdateAt time.Time `json:"UpdateAt"` FileId in...
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"...
cde7df59f77d8418
csharp
42
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...
8ae89f13e43f2044
csharp
226
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Text.Json; using Microsoft.SemanticKernel.Memory; using Xunit; namespace SemanticKernel.UnitTests.Memory; public class MemoryRecordTests { private readonly bool _isReference = false; private readonly string _id = "Id"; private 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...
7841ef51b2d1e0fd
java
39
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
bad12d697eeedfb5
javascript
22
Dracula
#!/usr/bin/env node const { readStdin, runExistingHook, transformToClaude, hookEnabled } = require('./adapter'); readStdin().then(raw => { const input = JSON.parse(raw || '{}'); const claudeInput = transformToClaude(input); if (hookEnabled('stop:check-console-log', ['standard', 'strict'])) { runExistingHook(...
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...
c31d667a00b5560f
cpp
126
Solarized Light
#pragma once #include <type_traits> #include "Utils/MenuBuilder.h" #include <QCoreApplication> #include <QDebug> class AbstractTableView; // TODO: support QT_TR_NOOP in linguist #define TR(str) TranslatedText(str) template<class Base> class MagicMenu { MenuBuilder* mMenuBuilder = nullptr; Base* base() ...
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...
c74d896d324a5a12
csharp
24
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Linq; using System.Reflection; namespace Microsoft.SemanticKernel.Process.Internal; /// <summary> /// Factory that help extract <see cref="KernelProcessStepMetadataAttribute"/> /// </summary> public static class KernelProcessStepMetadataFact...
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...
ee744f857df29319
typescript
52
Solarized Light
import { notFound } from "next/navigation" import { NextResponse, type NextRequest } from "next/server" import { processMdxForLLMs } from "@/lib/llm" import { source } from "@/lib/source" import { getActiveStyle, type Style } from "@/registry/_legacy-styles" export const revalidate = false function getStyleFromSlug(...
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.", ...
f1f91b9789e980da
csharp
99
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel.Agents.Orchestration; using Microsoft.SemanticKernel.Agents.Orchestration.Extensions; using Microsoft.SemanticKernel.Agents....
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.", ...
e0234b355012b4eb
python
321
Dracula
from typing import Annotated from annotated_doc import Doc from fastapi.openapi.models import APIKey, APIKeyIn from fastapi.security.base import SecurityBase from starlette.exceptions import HTTPException from starlette.requests import Request from starlette.status import HTTP_401_UNAUTHORIZED class APIKeyBase(Secur...
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...
05fbfbbea15e3a95
go
234
Solarized Dark
// Copyright 2016 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
6c000f18d3c508d2
typescript
44
Default Light+
import React from "react"; import type { AppState, SidebarName, SidebarTabName } from "../../types"; import type { JSX } from "react"; export type SidebarTriggerProps = { name: SidebarName; tab?: SidebarTabName; icon?: JSX.Element; children?: React.ReactNode; title?: string; className?: string; onToggle...
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.", ...
4705358cb8c9bb10
java
74
GitHub Dark
package org.jeecg.config.sign.interceptor; import org.apache.commons.lang3.StringUtils; import org.jeecg.common.constant.TenantConstant; import org.jeecg.common.util.PathMatcherUtil; import org.jeecg.config.JeecgBaseConfig; import org.jeecg.config.filter.RequestBodyReserveFilter; import org.springframework.boot.web.se...
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" ...
f28d35429c75493a
cpp
38
Monokai
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) #ifndef SPDLOG_COMPILED_LIB #error Please define SPDLOG_COMPILED_LIB to compile this file. #endif #include <mutex> #include <spdlog/async.h> #include <spdlog/details/null_mutex.h...
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.", ...
f290a05052f7bf9b
typescript
354
Solarized Dark
import { InfoOutlined, SettingsOutlined, AdminPanelSettingsOutlined, DnsOutlined, ExtensionOutlined, } from '@mui/icons-material' import { Typography, Stack, Divider, Chip, IconButton } from '@mui/material' import { useLockFn } from 'ahooks' import { useCallback, useEffect, useMemo, useReducer } from 'react' ...
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...
5f583990266e663e
csharp
69
Default Light+
using System; using System.Collections.Generic; namespace ICSharpCode.Decompiler.Tests.TestCases.Ugly { internal class NoNewOfT<TOnType> where TOnType : new() { public static TOnType CreateTOnType() { #if !ROSLYN #if OPT if (default(TOnType) != null) { return default(TOnType); } return Activator....
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...
55e0ec74c5028d9f
cpp
59
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include <memory> // for std::shared_ptr #include <vector> #include "Command.h" #include "sal_cross_platform.h" class ISerializeCommandVisitor; class IExpressionCommand { public: virtual CalculationManag...
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...
7276621bbbafa463
python
177
Dracula
"""Tests related to the `DataIter` interface.""" from typing import Callable, Optional import numpy as np from xgboost import testing as tm from ..compat import import_cupy from ..core import DataIter, DMatrix, ExtMemQuantileDMatrix, QuantileDMatrix from .utils import predictor_equal def run_mixed_sparsity(device...
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...
2ea8e8f10d739899
go
63
Solarized Dark
// Copyright 2015 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
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...
91e32a09da51bdec
python
74
Solarized Light
""" The diameter/width of a tree is defined as the number of nodes on the longest path between two end nodes. """ from __future__ import annotations from dataclasses import dataclass @dataclass class Node: data: int left: Node | None = None right: Node | None = None def depth(self) -> int: ...
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"...
6ae14e731ce096a3
typescript
235
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { expect, describe, it } from 'vitest'; import { doesToolInvocationMatch, getToolSuggestion, shouldHideToolCall, } from './tool-utils.js'; import { ReadFileTool, ApprovalMode, CoreToolCallStatus, ASK_USER_DISPL...
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" ...
0688c1046350c50a
python
28
Dracula
from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: set[str] = set() @app.post("/items/", tags=["items"]) async def create_item(item: Item) -> Item: return item...
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...
c30ac6abbb8db12d
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...
f725daba1e2c9a6f
typescript
108
Solarized Light
import { configDotenv } from "dotenv"; import { config } from "../../../config"; import { parse } from "tldts"; import { TeamFlags } from "../../../controllers/v1/types"; import { supabase_rr_service } from "../../../services/supabase"; configDotenv(); type BlocklistBlob = { blocklist: string[]; allowedKeywords: ...
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...
ffe6d1b497b2323b
python
61
Solarized Light
from lldb import SBValue # typedef struct { # const TSParseAction *actions; # uint32_t action_count; # bool is_reusable; # } TableEntry; # TODO: Same inline issue as with `TSTreeSyntheticProvider`. class TableEntrySyntheticProvider: def __init__(self, valobj: SBValue, _dict): self.valobj: SBValue ...
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...
7512dea96ad7e448
csharp
338
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net.Http; using System.Runtime.CompilerServices; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging...
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" ...
9750ee6aaeecd7be
java
164
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"...
a0bf1f3e39997457
rust
113
GitHub Dark
use std::collections::HashSet; /// Represents possible errors that can occur when checking for lipograms. #[derive(Debug, PartialEq, Eq)] pub enum LipogramError { /// Indicates that a non-alphabetic character was found in the input. NonAlphabeticCharacter, /// Indicates that a missing character is not in l...
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...
46ce1f0a385bfa1d
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 ...
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...
ae7720997539d542
csharp
84
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" ...
431ba7b5019b88ec
csharp
65
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...
85df9841f7878eaf
go
204
Default Light+
package mega import ( "context" "errors" "fmt" "io" "time" "github.com/alist-org/alist/v3/pkg/http_range" "github.com/pquerna/otp/totp" "github.com/rclone/rclone/lib/readers" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/errs" "github.com/alist-org/alist/v3/intern...
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...
7d841dfeff8dd361
go
92
Solarized Dark
// Copyright 2017 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
f0df3616cf195219
python
88
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from semantic_kernel.connectors.ai.azure_ai_inference import ( AzureAIInferenceChatCompletion, AzureAIInferenceChatPromptExecutionSettings, ) from semantic_kernel.contents import ChatHistory """ This sample demonstrates an example of how to use r...
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" ...
0dfdda0cd6d41500
javascript
79
Dracula
import Sort from '../Sort'; export default class CountingSort extends Sort { /** * @param {number[]} originalArray * @param {number} [smallestElement] * @param {number} [biggestElement] */ sort(originalArray, smallestElement = undefined, biggestElement = undefined) { // Init biggest and smallest el...
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.", ...
42df9b884907d02f
csharp
218
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; namespace Microsoft.SemanticKernel.Plugins.OpenApi; /// <summary> /// The REST API security requirement object. /// </summary> #pr...
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...
2d06ff57bf1ab236
rust
109
Solarized Dark
use crate::{APP_HANDLE, singleton}; use smartstring::alias::String; use std::sync::atomic::{AtomicBool, Ordering}; use tauri::AppHandle; use tauri_plugin_mihomo::{Mihomo, MihomoExt as _}; use tokio::sync::RwLockReadGuard; use super::notification::{FrontendEvent, NotificationSystem}; #[derive(Debug)] pub struct Handle...
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.", ...
2e66801fa4f38b6a
cpp
86
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2009 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
4c69de12a2058511
cpp
53
Default Light+
// helper functions for ggml-metal that are too difficult to implement in Objective-C #pragma once #include <stdbool.h> #ifdef __cplusplus extern "C" { #endif struct ggml_tensor; struct ggml_cgraph; enum ggml_mem_range_type { MEM_RANGE_TYPE_SRC = 0, MEM_RANGE_TYPE_DST = 1, }; // a helper object that can b...
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"...
7854e6bb3c6fce21
python
30
Default Light+
from .common import InfoExtractor from .youtube import YoutubeIE class FreespeechIE(InfoExtractor): IE_NAME = 'freespeech.org' _VALID_URL = r'https?://(?:www\.)?freespeech\.org/stories/(?P<id>.+)' _TEST = { 'add_ie': ['Youtube'], 'url': 'http://www.freespeech.org/stories/fcc-announces-net-...
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...
da066992db73e39a
python
336
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio import logging import sys import aiohttp from numpy import ndarray from pydantic import ValidationError from semantic_kernel.connectors.memory_stores.astradb.astra_client import AstraClient from semantic_kernel.connectors.memory_stores.astradb.astradb_se...
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...
0d45e833269cc7ad
csharp
22
Monokai
using System; using System.Globalization; using System.Windows; using System.Windows.Data; namespace ScreenToGif.Util.Converters; public class InvertedVisibility : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if (value is not Visibilit...
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...
93fe337df51e8a6e
go
193
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.", ...
6d1d3bfd34d30782
typescript
102
Default Dark+
import clsx from 'clsx'; import { Fragment } from 'react'; import { Dialog, Transition } from '@headlessui/react'; import { XMarkIcon } from '@heroicons/react/24/outline'; export type SlideOutSize = 'lg' | 'md' | 'sm' | 'xl'; export type SlideOutEnterFrom = 'end' | 'start'; type Props = Readonly<{ children: React.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...
08401be600db151c
rust
71
One Dark Pro
// Copyright 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 use kvm_bindings::{CpuId, KVM_MAX_CPUID_ENTRIES, MsrList}; use kvm_ioctls::Kvm as KvmFd; use crate::arch::x86_64::xstate::{XstateError, request_dynamic_xstate_features}; use crate::cpu_config::templates::...
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.", ...
3ffebf3e02ac1b41
java
175
Default Light+
package com.thealgorithms.ciphers; import java.math.BigInteger; import java.security.SecureRandom; /** * ElGamal Encryption Algorithm Implementation. * * <p> * ElGamal is an asymmetric key encryption algorithm for public-key cryptography * based on the Diffie–Hellman key exchange. It relies on the difficulty * ...
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...
4d3e02c4d1e49193
python
141
Default Light+
import urllib.parse from .common import InfoExtractor from ..utils import ( determine_ext, int_or_none, join_nonempty, parse_duration, parse_iso8601, url_or_none, xpath_text, ) class MDRIE(InfoExtractor): IE_DESC = 'MDR.DE' _VALID_URL = r'https?://(?:www\.)?mdr\.de/(?:.*)/[a-z-]+-...
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...
7178e3e6c13283c2
csharp
311
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.ComponentModel; using System.Threading; using System.Threading.Tasks; using Amazon.BedrockAgent; using Amazon.BedrockAgent.Model; using Amazon.BedrockAgentRuntime; using Amazon.BedrockAgentRuntime.Model; using Microsoft.Se...
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...
8212af501365005a
typescript
155
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach } from 'vitest'; import { FallbackStrategy } from './fallbackStrategy.js'; import type { RoutingContext } from '../routingStrategy.js'; import type { BaseLlmClient } from '../../core/ba...
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...
73685df6ec3a3b86
typescript
105
One Dark Pro
import { Field, ID, InputType, ArgsType } from '@nestjs/graphql'; import { PaginationArgs } from 'src/types/input-types.args'; @InputType() export class CreateTeamRequestInput { @Field(() => ID, { description: 'ID of the team the collection belongs to', }) teamID: string; @Field({ description: 'JSON s...
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.", ...
ab7e9d4cdf58f2b7
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 ...
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...