repo_id stringlengths 6 101 | file_path stringlengths 2 269 | content stringlengths 367 5.14M | size int64 367 5.14M | filename stringlengths 1 248 | ext stringlengths 0 87 | lang stringclasses 88
values | program_lang stringclasses 232
values | doc_type stringclasses 5
values | quality_signal stringlengths 2 1.9k | effective stringclasses 2
values | hit_map stringlengths 2 1.4k |
|---|---|---|---|---|---|---|---|---|---|---|---|
00nanhai/captchacker2 | test_ocr - sogou - 1.py | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
import sys,os
import urllib
import cv,cv2
import numpy as np
#垂直像素分布
def Y_sum(im):
width = len(im[0,:])
height= len(im[:,0])
ps=[]
#统计垂直像素
for x in range(width):
ps.append(0)
for y in range(height):
#print... | 11,126 | test_ocr - sogou - 1 | py | en | python | code | {"qsc_code_num_words": 1306, "qsc_code_num_chars": 11126.0, "qsc_code_mean_word_length": 3.96477795, "qsc_code_frac_words_unique": 0.16539051, "qsc_code_frac_chars_top_2grams": 0.05040556, "qsc_code_frac_chars_top_3grams": 0.04171495, "qsc_code_frac_chars_top_4grams": 0.02549247, "qsc_code_frac_chars_dupe_5grams": 0.46... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
0015/Unity_Projects | UWB_Indoor_Position_Rotation_Visualization/Unity_UWB_INDOOR_POSITION_ROTATION_Visualization/Assets/Scripts/DataHandler.cs | /////////////////////////////////////////////////////////////////
/*
ESP32 + UWB + IMU | Indoor Position & Rotation + Unity Visualization
For More Information: https://youtu.be/fPuxcjHsfpc
Created by Eric N. (ThatProject)
*/
/////////////////////////////////////////////////////////////////
using System;
using Sy... | 3,290 | DataHandler | cs | en | csharp | code | {"qsc_code_num_words": 332, "qsc_code_num_chars": 3290.0, "qsc_code_mean_word_length": 5.40963855, "qsc_code_frac_words_unique": 0.35542169, "qsc_code_frac_chars_top_2grams": 0.06013363, "qsc_code_frac_chars_top_3grams": 0.05679287, "qsc_code_frac_chars_top_4grams": 0.02115813, "qsc_code_frac_chars_dupe_5grams": 0.0812... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01-ai/langcrew | libs/langcrew-tools/tests/unit/test_base_tool_input.py | """Tests for BaseToolInput class."""
from pydantic import Field
from langcrew_tools.base import BaseToolInput
class TestBaseToolInput:
"""Test BaseToolInput base class functionality."""
def test_brief_field_exists_with_default(self):
"""Test that BaseToolInput has brief field with default empty str... | 2,005 | test_base_tool_input | py | en | python | code | {"qsc_code_num_words": 228, "qsc_code_num_chars": 2005.0, "qsc_code_mean_word_length": 5.69736842, "qsc_code_frac_words_unique": 0.25438596, "qsc_code_frac_chars_top_2grams": 0.08006159, "qsc_code_frac_chars_top_3grams": 0.0369515, "qsc_code_frac_chars_top_4grams": 0.03926097, "qsc_code_frac_chars_dupe_5grams": 0.17321... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
00-Evan/shattered-pixel-dungeon-gdx | desktop/src/com/watabou/pd/desktop/DesktopLauncher.java | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2019 Evan Debenham
*
* 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 ver... | 3,842 | DesktopLauncher | java | en | java | code | {"qsc_code_num_words": 435, "qsc_code_num_chars": 3842.0, "qsc_code_mean_word_length": 6.75862069, "qsc_code_frac_words_unique": 0.46206897, "qsc_code_frac_chars_top_2grams": 0.02755102, "qsc_code_frac_chars_top_3grams": 0.04285714, "qsc_code_frac_chars_top_4grams": 0.03401361, "qsc_code_frac_chars_dupe_5grams": 0.1666... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
00-Evan/shattered-pixel-dungeon-gdx | desktop/src/com/watabou/pd/desktop/DesktopInputProcessor.java | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2019 Evan Debenham
*
* 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 ver... | 7,557 | DesktopInputProcessor | java | en | java | code | {"qsc_code_num_words": 923, "qsc_code_num_chars": 7557.0, "qsc_code_mean_word_length": 5.86457205, "qsc_code_frac_words_unique": 0.26868906, "qsc_code_frac_chars_top_2grams": 0.04987992, "qsc_code_frac_chars_top_3grams": 0.09310918, "qsc_code_frac_chars_top_4grams": 0.08424164, "qsc_code_frac_chars_dupe_5grams": 0.1875... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01mf02/jaq | jaq-json/Cargo.toml | [package]
name = "jaq-json"
version = "1.1.3"
authors = ["Michael Färber <michael.faerber@gedenkt.at>"]
edition = "2021"
license = "MIT"
readme = "../README.md"
description = "JSON values for jaq"
repository = "https://github.com/01mf02/jaq"
keywords = ["json", "query", "jq"]
categories = ["data-structures"]
rust-versi... | 1,532 | Cargo | toml | en | toml | data | {"qsc_code_num_words": 208, "qsc_code_num_chars": 1532.0, "qsc_code_mean_word_length": 4.53365385, "qsc_code_frac_words_unique": 0.39423077, "qsc_code_frac_chars_top_2grams": 0.08483563, "qsc_code_frac_chars_top_3grams": 0.12725345, "qsc_code_frac_chars_top_4grams": 0.02120891, "qsc_code_frac_chars_dupe_5grams": 0.1781... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code... |
0015/ThatProject | ESP32_LVGL/LVGL8_SquareLine/Arduino_GigaR1_LVGL8_3D_Printer/ui_img_icn_stop_png.c | // This file was generated by SquareLine Studio
// SquareLine Studio version: SquareLine Studio 1.4.0
// LVGL version: 8.3.11
// Project name: 3d_printer
#include "ui.h"
#ifndef LV_ATTRIBUTE_MEM_ALIGN
#define LV_ATTRIBUTE_MEM_ALIGN
#endif
// IMAGE DATA: assets/icn_stop.png
const LV_ATTRIBUTE_MEM_ALIGN uint8_t ui... | 24,731 | ui_img_icn_stop_png | c | en | c | code | {"qsc_code_num_words": 4901, "qsc_code_num_chars": 24731.0, "qsc_code_mean_word_length": 3.99979596, "qsc_code_frac_words_unique": 0.02407672, "qsc_code_frac_chars_top_2grams": 0.65296128, "qsc_code_frac_chars_top_3grams": 0.51359486, "qsc_code_frac_chars_top_4grams": 0.68397694, "qsc_code_frac_chars_dupe_5grams": 0.96... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 1, "qsc_code_frac_chars_top_3grams": 1, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 1, "qsc_code_frac_chars_dupe_6grams": 1, "qsc... |
01-ai/langcrew | libs/langcrew-tools/tests/integration/test_fetch_integration.py | #!/usr/bin/env python3
"""
Fetch Tool Integration Tests
Simple integration tests for WebFetchTool to verify basic functionality
with real crawl4ai service endpoints.
"""
import os
import pytest
from langcrew_tools.fetch import WebFetchTool
class TestFetchIntegration:
"""Simple integration tests for WebFetchTo... | 4,501 | test_fetch_integration | py | en | python | code | {"qsc_code_num_words": 516, "qsc_code_num_chars": 4501.0, "qsc_code_mean_word_length": 5.44186047, "qsc_code_frac_words_unique": 0.25, "qsc_code_frac_chars_top_2grams": 0.05128205, "qsc_code_frac_chars_top_3grams": 0.06410256, "qsc_code_frac_chars_top_4grams": 0.05128205, "qsc_code_frac_chars_dupe_5grams": 0.44088319, ... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01-ai/langcrew | libs/langcrew-tools/tests/unit/tools/test_image_parser.py | import base64
import sys
from unittest.mock import AsyncMock, MagicMock, Mock, patch
import pytest
from langchain_core.messages import HumanMessage
from langcrew_tools.image_parser.config import ImageParserConfig
from langcrew_tools.image_parser.langchain_tools import (
ImageParserInput,
ImageParserTool,
)
#... | 21,093 | test_image_parser | py | en | python | code | {"qsc_code_num_words": 2387, "qsc_code_num_chars": 21093.0, "qsc_code_mean_word_length": 5.48806033, "qsc_code_frac_words_unique": 0.11688312, "qsc_code_frac_chars_top_2grams": 0.02977099, "qsc_code_frac_chars_top_3grams": 0.03870229, "qsc_code_frac_chars_top_4grams": 0.04641221, "qsc_code_frac_chars_dupe_5grams": 0.60... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01mf02/jaq | jaq/src/funs.rs | use crate::{filter, run, style, write, Cli, Error, Val};
use jaq_core::{data, DataT, Lut, Native, RunPtr};
use jaq_std::input::{self, Inputs};
use jaq_std::{v, Filter};
use rustyline::error::ReadlineError;
use rustyline::DefaultEditor;
use std::sync::atomic::{AtomicUsize, Ordering};
pub struct DataKind;
impl DataT fo... | 3,875 | funs | rs | en | rust | code | {"qsc_code_num_words": 520, "qsc_code_num_chars": 3875.0, "qsc_code_mean_word_length": 4.25576923, "qsc_code_frac_words_unique": 0.30576923, "qsc_code_frac_chars_top_2grams": 0.02846814, "qsc_code_frac_chars_top_3grams": 0.02937189, "qsc_code_frac_chars_top_4grams": 0.00813376, "qsc_code_frac_chars_dupe_5grams": 0.0967... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
0015/Unity_Projects | UWB_Indoor_Position_Rotation_Visualization/Unity_UWB_INDOOR_POSITION_ROTATION_Visualization/Assets/TextMesh Pro/Shaders/TMP_SDF-Mobile Masking.shader | // Simplified SDF shader:
// - No Shading Option (bevel / bump / env map)
// - No Glow Option
// - Softness is applied on both side of the outline
Shader "TextMeshPro/Mobile/Distance Field - Masking" {
Properties {
[HDR]_FaceColor ("Face Color", Color) = (1,1,1,1)
_FaceDilate ("Face Dilate", Range(-1,1)) = 0
... | 7,820 | TMP_SDF-Mobile Masking | shader | en | glsl | code | {"qsc_code_num_words": 943, "qsc_code_num_chars": 7820.0, "qsc_code_mean_word_length": 5.47613998, "qsc_code_frac_words_unique": 0.27465536, "qsc_code_frac_chars_top_2grams": 0.00503486, "qsc_code_frac_chars_top_3grams": 0.00813323, "qsc_code_frac_chars_top_4grams": 0.00929512, "qsc_code_frac_chars_dupe_5grams": 0.1281... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
0015/Unity_Projects | UWB_Indoor_Position_Rotation_Visualization/Unity_UWB_INDOOR_POSITION_ROTATION_Visualization/Assets/TextMesh Pro/Shaders/TMP_Bitmap.shader | Shader "TextMeshPro/Bitmap" {
Properties {
_MainTex ("Font Atlas", 2D) = "white" {}
_FaceTex ("Font Texture", 2D) = "white" {}
[HDR]_FaceColor ("Text Color", Color) = (1,1,1,1)
_VertexOffsetX ("Vertex OffsetX", float) = 0
_VertexOffsetY ("Vertex OffsetY", float) = 0
_MaskSoftnessX ("Mask SoftnessX", float) = ... | 3,499 | TMP_Bitmap | shader | en | glsl | code | {"qsc_code_num_words": 414, "qsc_code_num_chars": 3499.0, "qsc_code_mean_word_length": 5.66425121, "qsc_code_frac_words_unique": 0.37439614, "qsc_code_frac_chars_top_2grams": 0.01791045, "qsc_code_frac_chars_top_3grams": 0.00255864, "qsc_code_frac_chars_top_4grams": 0.0196162, "qsc_code_frac_chars_dupe_5grams": 0.08272... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
0015/Unity_Projects | UWB_Indoor_Position_Rotation_Visualization/Unity_UWB_INDOOR_POSITION_ROTATION_Visualization/Assets/TextMesh Pro/Shaders/TMP_SDF-Mobile SSD.shader | // Simplified SDF shader:
// - No Shading Option (bevel / bump / env map)
// - No Glow Option
// - Softness is applied on both side of the outline
Shader "TextMeshPro/Mobile/Distance Field SSD" {
Properties {
[HDR]_FaceColor ("Face Color", Color) = (1,1,1,1)
_FaceDilate ("Face Dilate", Range(-1,1)) = 0
[HDR]_... | 3,069 | TMP_SDF-Mobile SSD | shader | en | glsl | code | {"qsc_code_num_words": 366, "qsc_code_num_chars": 3069.0, "qsc_code_mean_word_length": 5.54918033, "qsc_code_frac_words_unique": 0.46448087, "qsc_code_frac_chars_top_2grams": 0.0108321, "qsc_code_frac_chars_top_3grams": 0.02067947, "qsc_code_frac_chars_top_4grams": 0.02363368, "qsc_code_frac_chars_dupe_5grams": 0.08862... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01-ai/langcrew | libs/langcrew-tools/tests/unit/tools/test_fetch.py | from unittest.mock import AsyncMock, Mock, patch
import pytest
from langcrew_tools.fetch import WebFetchInput, WebFetchTool
class TestWebFetchInput:
"""Test WebFetchInput model."""
def test_required_url_field(self):
"""Test that url field is required."""
with pytest.raises(ValueError):
... | 26,457 | test_fetch | py | en | python | code | {"qsc_code_num_words": 2929, "qsc_code_num_chars": 26457.0, "qsc_code_mean_word_length": 5.46671219, "qsc_code_frac_words_unique": 0.08501195, "qsc_code_frac_chars_top_2grams": 0.06114164, "qsc_code_frac_chars_top_3grams": 0.06869848, "qsc_code_frac_chars_top_4grams": 0.04796403, "qsc_code_frac_chars_dupe_5grams": 0.76... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 1, "qsc... |
00nanhai/captchacker2 | pycaptcha/http_example.py | #!/usr/bin/env python
#
# An example that presents CAPTCHA tests in a web environment
# and gives the user a chance to solve them. Run it, optionally
# specifying a port number on the command line, then point your web
# browser at the given URL.
#
from Captcha.Visual import Tests
from Captcha import Factory
import Bas... | 4,248 | http_example | py | en | python | code | {"qsc_code_num_words": 536, "qsc_code_num_chars": 4248.0, "qsc_code_mean_word_length": 4.61380597, "qsc_code_frac_words_unique": 0.37686567, "qsc_code_frac_chars_top_2grams": 0.0258795, "qsc_code_frac_chars_top_3grams": 0.00606551, "qsc_code_frac_chars_top_4grams": 0.03396684, "qsc_code_frac_chars_dupe_5grams": 0.23736... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
00nanhai/captchacker2 | pycaptcha/COPYING | Copyright (c) 2004 Micah Dowty
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, sub... | 1,068 | COPYING | en | text | text | {"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": 0.23, "qsc_doc_num_sentences": 3.0, "qsc_doc_num_words": 168, "qsc_doc_num_chars": 1068.0, "qsc_doc_num_lines": 19.0, "qsc_doc_mean_word_length": 5.05952381, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmore": 0.0... | 1 | {"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_... | |
01-ai/langcrew | docs/src/content/docs/guides/super-agent.mdx | ---
title: Super Agent
description: A powerful intelligent agent system built on the LangCrew framework, integrating browser automation, web search, code execution, and more
---
Super Agent is a powerful intelligent agent system built on the LangCrew framework, integrating browser automation, web search, code executio... | 9,554 | super-agent | mdx | en | mdx | text | {"qsc_doc_frac_chars_curly_bracket": 0.00146535, "qsc_doc_frac_words_redpajama_stop": 0.11243612, "qsc_doc_num_sentences": 46.0, "qsc_doc_num_words": 1254, "qsc_doc_num_chars": 9554.0, "qsc_doc_num_lines": 281.0, "qsc_doc_mean_word_length": 5.77990431, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_wit... | 1 | {"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_... |
01-ai/langcrew | docs/src/content/docs/guides/quickstart.mdx | ---
title: Quick Start
description: Build your first AI agent crew in minutes with this step-by-step tutorial
---
import { Tabs, TabItem } from '@astrojs/starlight/components';
Let's build your first langcrew application! In this tutorial, we'll create a simple content creation crew with two agents working together.
... | 6,016 | quickstart | mdx | en | mdx | text | {"qsc_doc_frac_chars_curly_bracket": 0.00132979, "qsc_doc_frac_words_redpajama_stop": 0.13602941, "qsc_doc_num_sentences": 40.0, "qsc_doc_num_words": 761, "qsc_doc_num_chars": 6016.0, "qsc_doc_num_lines": 245.0, "qsc_doc_mean_word_length": 5.62680683, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with... | 1 | {"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_... |
01protocol/zo-keeper | src/events.rs | // NOTE: Modified implementation of anchor's parser because anchor's impl has a few issues
use crate::{db, AppState, Error};
use anchor_client::anchor_lang::Event;
use futures::TryFutureExt;
use tracing::warn;
use zo_abi::events;
#[tracing::instrument(skip_all, level = "error")]
pub async fn process(
st: &AppStat... | 8,672 | events | rs | en | rust | code | {"qsc_code_num_words": 959, "qsc_code_num_chars": 8672.0, "qsc_code_mean_word_length": 4.04692388, "qsc_code_frac_words_unique": 0.20229406, "qsc_code_frac_chars_top_2grams": 0.03710384, "qsc_code_frac_chars_top_3grams": 0.02087091, "qsc_code_frac_chars_top_4grams": 0.0231899, "qsc_code_frac_chars_dupe_5grams": 0.38082... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01protocol/zo-keeper | src/db.rs | use mongodb::{
bson::doc,
error::{BulkWriteFailure, Error as MongoError, ErrorKind},
options::{IndexOptions, InsertManyOptions},
Collection, Database, IndexModel,
};
use serde::Serialize;
use std::collections::HashMap;
use tracing::{debug, info};
#[derive(Serialize)]
pub struct Trade {
pub symbol: ... | 7,336 | db | rs | en | rust | code | {"qsc_code_num_words": 770, "qsc_code_num_chars": 7336.0, "qsc_code_mean_word_length": 4.92727273, "qsc_code_frac_words_unique": 0.3, "qsc_code_frac_chars_top_2grams": 0.07538218, "qsc_code_frac_chars_top_3grams": 0.07169215, "qsc_code_frac_chars_top_4grams": 0.05060622, "qsc_code_frac_chars_dupe_5grams": 0.34238271, "... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01protocol/zo-keeper | src/consumer.rs | use crate::{error::Error, AppState};
use anchor_client::{
anchor_lang::prelude::AccountMeta,
solana_sdk::{commitment_config::CommitmentConfig, pubkey::Pubkey},
};
use std::{
collections::{BTreeSet, HashMap},
time::{Duration, Instant},
};
use tracing::{debug, info, trace, warn};
#[derive(Clone)]
pub str... | 7,583 | consumer | rs | en | rust | code | {"qsc_code_num_words": 858, "qsc_code_num_chars": 7583.0, "qsc_code_mean_word_length": 4.66899767, "qsc_code_frac_words_unique": 0.25757576, "qsc_code_frac_chars_top_2grams": 0.01622566, "qsc_code_frac_chars_top_3grams": 0.02271593, "qsc_code_frac_chars_top_4grams": 0.01048427, "qsc_code_frac_chars_dupe_5grams": 0.3230... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01protocol/zo-keeper | src/main.rs | use anchor_client::{
solana_sdk::{commitment_config::CommitmentConfig, signer::keypair},
Cluster,
};
use clap::{Parser, Subcommand};
use std::{env, time::Duration};
use zo_keeper as lib;
#[derive(Parser)]
#[clap(term_width = 72, disable_help_subcommand = true)]
struct Cli {
/// RPC endpoint.
#[clap(sho... | 5,384 | main | rs | en | rust | code | {"qsc_code_num_words": 593, "qsc_code_num_chars": 5384.0, "qsc_code_mean_word_length": 4.92748735, "qsc_code_frac_words_unique": 0.36762226, "qsc_code_frac_chars_top_2grams": 0.02737851, "qsc_code_frac_chars_top_3grams": 0.04620123, "qsc_code_frac_chars_top_4grams": 0.06160164, "qsc_code_frac_chars_dupe_5grams": 0.1813... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01protocol/zo-keeper | src/crank.rs | use crate::{error::Error, AppState};
use anchor_client::solana_sdk::{
compute_budget::ComputeBudgetInstruction,
instruction::{AccountMeta, Instruction},
};
use std::{marker::Send, sync::Arc, time::Duration};
use tokio::time::{Interval, MissedTickBehavior};
use tracing::{info, warn};
pub struct CrankConfig {
... | 7,541 | crank | rs | en | rust | code | {"qsc_code_num_words": 813, "qsc_code_num_chars": 7541.0, "qsc_code_mean_word_length": 4.87330873, "qsc_code_frac_words_unique": 0.28167282, "qsc_code_frac_chars_top_2grams": 0.03054013, "qsc_code_frac_chars_top_3grams": 0.01817264, "qsc_code_frac_chars_top_4grams": 0.01514387, "qsc_code_frac_chars_dupe_5grams": 0.2491... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01-ai/langcrew | docs/src/content/docs/guides/guardrails.mdx | ---
title: Getting Started
description: Learn how to implement and use guardrails in your langcrew applications
---
import { Tabs, TabItem } from '@astrojs/starlight/components';
Guardrails are a safety and validation system in langcrew that ensures data quality, security, and compliance. They act as protective barri... | 7,554 | guardrails | mdx | en | mdx | text | {"qsc_doc_frac_chars_curly_bracket": 0.00397141, "qsc_doc_frac_words_redpajama_stop": 0.10741886, "qsc_doc_num_sentences": 26.0, "qsc_doc_num_words": 933, "qsc_doc_num_chars": 7554.0, "qsc_doc_num_lines": 283.0, "qsc_doc_mean_word_length": 5.47374062, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with... | 1 | {"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_... |
01-ai/langcrew | libs/langcrew/langcrew/utils/checkpointer_utils.py | """
Message Merger Tool - Used to merge message history from different namespaces
This tool solves the problem of scattered message storage in LangGraph's nested subgraph architecture.
In LangCrew, the main graph and Agent subgraphs create different checkpoint namespaces,
causing message history to be stored separatel... | 17,483 | checkpointer_utils | py | en | python | code | {"qsc_code_num_words": 1882, "qsc_code_num_chars": 17483.0, "qsc_code_mean_word_length": 5.7151966, "qsc_code_frac_words_unique": 0.15515409, "qsc_code_frac_chars_top_2grams": 0.0217553, "qsc_code_frac_chars_top_3grams": 0.01329491, "qsc_code_frac_chars_top_4grams": 0.01636296, "qsc_code_frac_chars_dupe_5grams": 0.3536... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
00-Evan/shattered-pixel-dungeon-gdx | core/src/com/shatteredpixel/shatteredpixeldungeon/messages/actors/actors_tr.properties | ###blobs
actors.blobs.blizzard.desc=Burada bir kar fırtınası hortum halinde bulunuyor.
actors.blobs.confusiongas.desc=Burada baş döndürücü bir gaz bulutu süzülüyor.
actors.blobs.electricity.desc=Burada bir elektrik alanı parlak bir şekilde kıvılcımlanıyor.
actors.blobs.electricity.rankings_desc=Elektrik çarpmış
actor... | 64,135 | actors_tr | properties | tr | ini | data | {"qsc_code_num_words": 9238, "qsc_code_num_chars": 64135.0, "qsc_code_mean_word_length": 5.75719853, "qsc_code_frac_words_unique": 0.34109115, "qsc_code_frac_chars_top_2grams": 0.04456144, "qsc_code_frac_chars_top_3grams": 0.01895271, "qsc_code_frac_chars_top_4grams": 0.00992761, "qsc_code_frac_chars_dupe_5grams": 0.16... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 1, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code... |
00-Evan/shattered-pixel-dungeon-gdx | core/src/com/shatteredpixel/shatteredpixeldungeon/messages/plants/plants_ru.properties | plants.blandfruitbush.name=Пустофрукт
plants.blandfruitbush.desc=Дальний родственник Гнилоягоды, грушеобразный плод куста Пустофрукта на вкус как слипшаяся пыль. Фрукт довольно мерзкий и плохо утоляет голод, однако он не ядовит. Возможно, если его приготовить, он станет более съедобным.
plants.blandfruitbush$seed.name=... | 4,405 | plants_ru | properties | ru | ini | data | {"qsc_code_num_words": 609, "qsc_code_num_chars": 4405.0, "qsc_code_mean_word_length": 6.0771757, "qsc_code_frac_words_unique": 0.55172414, "qsc_code_frac_chars_top_2grams": 0.03026209, "qsc_code_frac_chars_top_3grams": 0.04215077, "qsc_code_frac_chars_top_4grams": 0.00864631, "qsc_code_frac_chars_dupe_5grams": 0.0, "q... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code... |
00-Evan/shattered-pixel-dungeon-gdx | core/src/com/shatteredpixel/shatteredpixeldungeon/messages/plants/plants_zh.properties | plants.blandfruitbush.name=无味果
plants.blandfruitbush.desc=腐莓的远亲,来自无味果树丛的梨状产物,尝起来犹如一团泥巴。果实粗糙且松软,但并没有毒性。也许可以煮食。
plants.blandfruitbush$seed.name=无味果之种
plants.blindweed.name=致盲草
plants.blindweed.desc=在被碰到后,致盲草会瞬间枯萎并释放一道强光。这道光足以刺伤受害者双眼,使其暂时失明。
plants.blindweed$seed.name=致盲草之种
plants.dreamfoil.name=梦夜花
plants.dreamfoil.ref... | 2,229 | plants_zh | properties | zh | ini | data | {"qsc_code_num_words": 663, "qsc_code_num_chars": 2229.0, "qsc_code_mean_word_length": 2.87782805, "qsc_code_frac_words_unique": 0.45399698, "qsc_code_frac_chars_top_2grams": 0.05450734, "qsc_code_frac_chars_top_3grams": 0.03144654, "qsc_code_frac_chars_top_4grams": 0.00733753, "qsc_code_frac_chars_dupe_5grams": 0.0, "... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code... |
0015/ThatProject | ESP32_LVGL/LVGL9/LVGL9_Ep05_Custom_Fonts/font_mate_60_4bpp.c | /*******************************************************************************
* Size: 60 px
* Bpp: 4
* Opts: --bpp 4 --size 60 --no-compress --font Mate-Regular.ttf --range 32-127 --format lvgl -o font_mate_60_4bpp.c
******************************************************************************/
#include "lvgl.... | 299,278 | font_mate_60_4bpp | c | el | c | code | {"qsc_code_num_words": 51002, "qsc_code_num_chars": 299278.0, "qsc_code_mean_word_length": 3.32530097, "qsc_code_frac_words_unique": 0.01447002, "qsc_code_frac_chars_top_2grams": 0.82593442, "qsc_code_frac_chars_top_3grams": 1.00291279, "qsc_code_frac_chars_top_4grams": 1.06056121, "qsc_code_frac_chars_dupe_5grams": 0.... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 1, "qsc_code_frac_chars_top_3grams": 1, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 1, "qsc_code_frac_chars_dupe_6grams": 1, "qsc... |
00-Evan/shattered-pixel-dungeon-gdx | core/src/com/shatteredpixel/shatteredpixeldungeon/messages/plants/plants_es.properties | plants.blandfruitbush.name=Fruta insípida
plants.blandfruitbush.desc=Prima distante de la Putrebaya, el producto en forma de pera del arbusto de Fruta Insípida sabe como una torta de polvo y ceniza. La fruta es asquerosa e insustancial, pero no es venenosa. Tal vez podría ser cocinada.
plants.blandfruitbush$seed.name=s... | 4,556 | plants_es | properties | es | ini | data | {"qsc_code_num_words": 682, "qsc_code_num_chars": 4556.0, "qsc_code_mean_word_length": 5.56158358, "qsc_code_frac_words_unique": 0.39882698, "qsc_code_frac_chars_top_2grams": 0.04060111, "qsc_code_frac_chars_top_3grams": 0.05141049, "qsc_code_frac_chars_top_4grams": 0.05826523, "qsc_code_frac_chars_dupe_5grams": 0.0, "... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code... |
01-ai/langcrew | libs/langcrew/langcrew/utils/async_utils.py | import asyncio
import logging
import threading
import time
from collections.abc import AsyncIterator, Awaitable, Callable
from functools import wraps
from typing import Any, Final
logger = logging.getLogger(__name__)
def async_timer(func):
"""Asynchronous method execution time decorator"""
@wraps(func)
... | 24,146 | async_utils | py | en | python | code | {"qsc_code_num_words": 2739, "qsc_code_num_chars": 24146.0, "qsc_code_mean_word_length": 5.20518437, "qsc_code_frac_words_unique": 0.14932457, "qsc_code_frac_chars_top_2grams": 0.01851722, "qsc_code_frac_chars_top_3grams": 0.02146314, "qsc_code_frac_chars_top_4grams": 0.01388791, "qsc_code_frac_chars_dupe_5grams": 0.31... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01-ai/langcrew | libs/langcrew/langcrew/utils/runnable_config_utils.py | import logging
from typing import Any, ClassVar
from langchain_core.runnables import RunnableConfig, ensure_config
logger = logging.getLogger(__name__)
class RunnableStateManager:
"""Utility class for managing state in RunnableConfig.
IMPORTANT: This state manager must be initialized at the top-level LangG... | 4,110 | runnable_config_utils | py | en | python | code | {"qsc_code_num_words": 507, "qsc_code_num_chars": 4110.0, "qsc_code_mean_word_length": 5.17751479, "qsc_code_frac_words_unique": 0.19329389, "qsc_code_frac_chars_top_2grams": 0.04114286, "qsc_code_frac_chars_top_3grams": 0.07314286, "qsc_code_frac_chars_top_4grams": 0.07466667, "qsc_code_frac_chars_dupe_5grams": 0.432,... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
0015/ThatProject | ESP32_LVGL/LVGL8_SquareLine/Arduino_GigaR1_LVGL8_3D_Printer/ui_img_arrow_right_png.c | // This file was generated by SquareLine Studio
// SquareLine Studio version: SquareLine Studio 1.4.0
// LVGL version: 8.3.11
// Project name: 3d_printer
#include "ui.h"
#ifndef LV_ATTRIBUTE_MEM_ALIGN
#define LV_ATTRIBUTE_MEM_ALIGN
#endif
// IMAGE DATA: assets/arrow_right.png
const LV_ATTRIBUTE_MEM_ALIGN uint8_t... | 16,061 | ui_img_arrow_right_png | c | en | c | code | {"qsc_code_num_words": 3173, "qsc_code_num_chars": 16061.0, "qsc_code_mean_word_length": 4.00441223, "qsc_code_frac_words_unique": 0.03561298, "qsc_code_frac_chars_top_2grams": 0.79458524, "qsc_code_frac_chars_top_3grams": 0.79049268, "qsc_code_frac_chars_top_4grams": 1.05273099, "qsc_code_frac_chars_dupe_5grams": 0.95... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 1, "qsc_code_frac_chars_top_3grams": 1, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 1, "qsc_code_frac_chars_dupe_6grams": 1, "qsc... |
01-ai/langcrew | docs/src/content/docs/examples/guardrails.mdx | ---
title: Guardrails Examples
description: Practical examples of guardrails in action
---
This page provides practical examples of guardrails in action, from basic usage to advanced patterns.
## Basic Content Generation Guardrails
### Example: Safe Content Generation
```python
from langcrew import Agent, Task, Cre... | 8,736 | guardrails | mdx | en | mdx | text | {"qsc_doc_frac_chars_curly_bracket": 0.00778388, "qsc_doc_frac_words_redpajama_stop": 0.12565104, "qsc_doc_num_sentences": 49.0, "qsc_doc_num_words": 1053, "qsc_doc_num_chars": 8736.0, "qsc_doc_num_lines": 293.0, "qsc_doc_mean_word_length": 5.27160494, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_wit... | 1 | {"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_... |
0015/Unity_Projects | UWB_Indoor_Position_Rotation_Visualization/Unity_UWB_INDOOR_POSITION_ROTATION_Visualization/Assets/TextMesh Pro/Shaders/TMPro_Surface.cginc | void VertShader(inout appdata_full v, out Input data)
{
v.vertex.x += _VertexOffsetX;
v.vertex.y += _VertexOffsetY;
UNITY_INITIALIZE_OUTPUT(Input, data);
float bold = step(v.texcoord1.y, 0);
// Generate normal for backface
float3 view = ObjSpaceViewDir(v.vertex);
v.normal *= sign(dot(v.normal, view));
#if US... | 3,563 | TMPro_Surface | cginc | en | hlsl | code | {"qsc_code_num_words": 470, "qsc_code_num_chars": 3563.0, "qsc_code_mean_word_length": 5.31489362, "qsc_code_frac_words_unique": 0.31489362, "qsc_code_frac_chars_top_2grams": 0.01961569, "qsc_code_frac_chars_top_3grams": 0.03923139, "qsc_code_frac_chars_top_4grams": 0.03803042, "qsc_code_frac_chars_dupe_5grams": 0.1405... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01mf02/jaq | .github/workflows/test.yml | name: Run tests
on:
push:
branches: [ main ]
paths:
- '**.rs'
- '**/Cargo.*'
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: build ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
... | 1,040 | test | yml | en | yaml | data | {"qsc_code_num_words": 117, "qsc_code_num_chars": 1040.0, "qsc_code_mean_word_length": 4.98290598, "qsc_code_frac_words_unique": 0.53846154, "qsc_code_frac_chars_top_2grams": 0.08233276, "qsc_code_frac_chars_top_3grams": 0.07718696, "qsc_code_frac_chars_top_4grams": 0.06174957, "qsc_code_frac_chars_dupe_5grams": 0.1852... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code... |
01mf02/jaq | .github/workflows/release.yml | # Inspiration:
#
# https://github.com/sharkdp/hyperfine/blob/d449ebd7c18246b7c3f6ee19a97a4cf24e34e106/.github/workflows/CICD.yml
# https://github.com/BurntSushi/ripgrep/blob/61733f6378b62fa2dc2e7f3eff2f2e7182069ca9/.github/workflows/release.yml
# https://github.com/XAMPPRocky/tokei/blob/ae77e1945631fd9457f7d455f2f0f2f8... | 3,403 | release | yml | en | yaml | data | {"qsc_code_num_words": 399, "qsc_code_num_chars": 3403.0, "qsc_code_mean_word_length": 5.13784461, "qsc_code_frac_words_unique": 0.35839599, "qsc_code_frac_chars_top_2grams": 0.03512195, "qsc_code_frac_chars_top_3grams": 0.03902439, "qsc_code_frac_chars_top_4grams": 0.04682927, "qsc_code_frac_chars_dupe_5grams": 0.3151... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code... |
01mf02/jaq | .github/workflows/check.yml | name: Build and check
on:
push:
branches: [ main ]
paths:
- '**.rs'
- '**/Cargo.*'
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache/restore@v4
with:
... | 1,074 | check | yml | en | yaml | data | {"qsc_code_num_words": 127, "qsc_code_num_chars": 1074.0, "qsc_code_mean_word_length": 5.1496063, "qsc_code_frac_words_unique": 0.41732283, "qsc_code_frac_chars_top_2grams": 0.0733945, "qsc_code_frac_chars_top_3grams": 0.0733945, "qsc_code_frac_chars_top_4grams": 0.13302752, "qsc_code_frac_chars_dupe_5grams": 0.3807339... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code... |
01mf02/jaq | jaq-json/src/num.rs | //! Integer / decimal numbers.
use super::Rc;
use alloc::string::{String, ToString};
use core::cmp::Ordering;
use core::fmt;
use core::hash::{Hash, Hasher};
use num_bigint::{BigInt, Sign};
use num_traits::cast::ToPrimitive;
/// Integer / decimal number.
///
/// The speciality of this type is that numbers are distingui... | 13,590 | num | rs | en | rust | code | {"qsc_code_num_words": 1950, "qsc_code_num_chars": 13590.0, "qsc_code_mean_word_length": 3.38205128, "qsc_code_frac_words_unique": 0.13282051, "qsc_code_frac_chars_top_2grams": 0.03002274, "qsc_code_frac_chars_top_3grams": 0.0257771, "qsc_code_frac_chars_top_4grams": 0.02668688, "qsc_code_frac_chars_dupe_5grams": 0.402... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
0015/Unity_Projects | UWB_Indoor_Position_Rotation_Visualization/Unity_UWB_INDOOR_POSITION_ROTATION_Visualization/Assets/TextMesh Pro/Sprites/EmojiOne.png.meta | fileFormatVersion: 2
guid: dffef66376be4fa480fb02b19edbe903
TextureImporter:
fileIDToRecycleName:
21300000: EmojiOne_0
21300002: EmojiOne_1
21300004: EmojiOne_2
21300006: EmojiOne_3
21300008: EmojiOne_4
21300010: EmojiOne_6
21300012: EmojiOne_7
21300014: EmojiOne_8
21300016: EmojiO... | 9,784 | EmojiOne.png | meta | en | unity3d asset | excluded | {} | 0 | {} |
00-Evan/shattered-pixel-dungeon-gdx | core/src/com/shatteredpixel/shatteredpixeldungeon/effects/particles/ShadowParticle.java | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2019 Evan Debenham
*
* 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 ver... | 2,749 | ShadowParticle | java | en | java | code | {"qsc_code_num_words": 382, "qsc_code_num_chars": 2749.0, "qsc_code_mean_word_length": 4.86649215, "qsc_code_frac_words_unique": 0.38219895, "qsc_code_frac_chars_top_2grams": 0.03765465, "qsc_code_frac_chars_top_3grams": 0.05164067, "qsc_code_frac_chars_top_4grams": 0.0387305, "qsc_code_frac_chars_dupe_5grams": 0.37654... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
0015/Unity_Projects | UWB_Indoor_Position_Rotation_Visualization/ESP32_UWB_TAG_BNO055_ILI9488/pyramid_image_2.h | /////////////////////////////////////////////////////////////////
/*
ESP32 + UWB + IMU | Indoor Position & Rotation + Unity Visualization
For More Information: https://youtu.be/fPuxcjHsfpc
Created by Eric N. (ThatProject)
*/
/////////////////////////////////////////////////////////////////
const uint16_t PyramidI... | 116,533 | pyramid_image_2 | h | ml | c | code | {"qsc_code_num_words": 14436, "qsc_code_num_chars": 116533.0, "qsc_code_mean_word_length": 6.00076198, "qsc_code_frac_words_unique": 0.01184539, "qsc_code_frac_chars_top_2grams": 1.23550394, "qsc_code_frac_chars_top_3grams": 1.82416568, "qsc_code_frac_chars_top_4grams": 2.39592737, "qsc_code_frac_chars_dupe_5grams": 0.... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 1, "qsc_code_frac_chars_top_3grams": 1, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 1, "qsc_code_frac_chars_dupe_6grams": 1, "qsc... |
01-ai/langcrew | libs/langcrew-tools/langcrew_tools/utils/s3/client.py | import asyncio
import json
import logging
from dataclasses import dataclass
from pathlib import Path
from typing import Any
import aiobotocore.session
from botocore.config import Config
from botocore.exceptions import BotoCoreError, ClientError
logger = logging.getLogger(__name__)
@dataclass
class S3ObjectInfo:
... | 24,480 | client | py | en | python | code | {"qsc_code_num_words": 2638, "qsc_code_num_chars": 24480.0, "qsc_code_mean_word_length": 5.09931766, "qsc_code_frac_words_unique": 0.12509477, "qsc_code_frac_chars_top_2grams": 0.07656854, "qsc_code_frac_chars_top_3grams": 0.03568243, "qsc_code_frac_chars_top_4grams": 0.04460303, "qsc_code_frac_chars_dupe_5grams": 0.45... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
00-Evan/shattered-pixel-dungeon-gdx | core/src/com/shatteredpixel/shatteredpixeldungeon/effects/particles/CorrosionParticle.java | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2019 Evan Debenham
*
* 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 ver... | 2,396 | CorrosionParticle | java | en | java | code | {"qsc_code_num_words": 312, "qsc_code_num_chars": 2396.0, "qsc_code_mean_word_length": 5.29487179, "qsc_code_frac_words_unique": 0.45192308, "qsc_code_frac_chars_top_2grams": 0.04237288, "qsc_code_frac_chars_top_3grams": 0.03874092, "qsc_code_frac_chars_top_4grams": 0.02905569, "qsc_code_frac_chars_dupe_5grams": 0.4322... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
00-Evan/shattered-pixel-dungeon-gdx | core/src/com/shatteredpixel/shatteredpixeldungeon/effects/particles/SacrificialParticle.java | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2019 Evan Debenham
*
* 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 ver... | 1,742 | SacrificialParticle | java | en | java | code | {"qsc_code_num_words": 238, "qsc_code_num_chars": 1742.0, "qsc_code_mean_word_length": 5.15966387, "qsc_code_frac_words_unique": 0.54621849, "qsc_code_frac_chars_top_2grams": 0.02687296, "qsc_code_frac_chars_top_3grams": 0.03175896, "qsc_code_frac_chars_top_4grams": 0.04641694, "qsc_code_frac_chars_dupe_5grams": 0.1514... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
00-Evan/shattered-pixel-dungeon-gdx | core/src/com/shatteredpixel/shatteredpixeldungeon/effects/particles/BlastParticle.java | /*
* Pixel Dungeon
* Copyright (C) 2012-2015 Oleg Dolya
*
* 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 3 of the License, or
* (at your option) any later version.
*
* T... | 1,703 | BlastParticle | java | en | java | code | {"qsc_code_num_words": 234, "qsc_code_num_chars": 1703.0, "qsc_code_mean_word_length": 5.1025641, "qsc_code_frac_words_unique": 0.55555556, "qsc_code_frac_chars_top_2grams": 0.03015075, "qsc_code_frac_chars_top_3grams": 0.05360134, "qsc_code_frac_chars_top_4grams": 0.04773869, "qsc_code_frac_chars_dupe_5grams": 0.15577... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
00-Evan/shattered-pixel-dungeon-gdx | html/webapp/index.html | <!doctype html>
<html>
<head>
<title>shattered-pixel-dungeon-gdx</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link href="styles.css" rel="stylesheet" type="text/css">
<script src="soundmanager2-setup.js"></script>
<script src="soundmanager2-jsmin.js"></script>
</head>
<body... | 1,274 | index | html | en | html | code | {"qsc_code_num_words": 165, "qsc_code_num_chars": 1274.0, "qsc_code_mean_word_length": 5.53333333, "qsc_code_frac_words_unique": 0.51515152, "qsc_code_frac_chars_top_2grams": 0.02628697, "qsc_code_frac_chars_top_3grams": 0.04819277, "qsc_code_frac_chars_top_4grams": 0.04162103, "qsc_code_frac_chars_dupe_5grams": 0.2847... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
00-Evan/shattered-pixel-dungeon-gdx | html/webapp/styles.css | canvas {
cursor: default;
outline: none;
}
body {
background-color: #ffffff;
}
.superdev {
background-color:#3bb3e0;
font-family: 'Open Sans', sans-serif;
font-size:12px;
text-decoration:none;
color:#fff;
position:relative;
padding:10px 20px;
padding-right:50px;
background-image: linear-gradient(bottom, r... | 3,329 | styles | css | en | css | data | {"qsc_code_num_words": 560, "qsc_code_num_chars": 3329.0, "qsc_code_mean_word_length": 4.18392857, "qsc_code_frac_words_unique": 0.15, "qsc_code_frac_chars_top_2grams": 0.05121639, "qsc_code_frac_chars_top_3grams": 0.07682458, "qsc_code_frac_chars_top_4grams": 0.11609048, "qsc_code_frac_chars_dupe_5grams": 0.72897994, ... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code... |
0015/ThatProject | ESP32_LVGL/LVGL8_SquareLine/Arduino_GigaR1_LVGL8_3D_Printer/ui.c | // This file was generated by SquareLine Studio
// SquareLine Studio version: SquareLine Studio 1.4.0
// LVGL version: 8.3.11
// Project name: 3d_printer
#include "ui.h"
#include "ui_helpers.h"
///////////////////// VARIABLES ////////////////////
void OpaOn_Animation(lv_obj_t * TargetObject, int delay);
void OpaOff_A... | 19,922 | ui | c | en | c | code | {"qsc_code_num_words": 3427, "qsc_code_num_chars": 19922.0, "qsc_code_mean_word_length": 3.853808, "qsc_code_frac_words_unique": 0.06594689, "qsc_code_frac_chars_top_2grams": 0.06133111, "qsc_code_frac_chars_top_3grams": 0.07314303, "qsc_code_frac_chars_top_4grams": 0.08116908, "qsc_code_frac_chars_dupe_5grams": 0.9256... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 1, "qsc_code_frac_chars_dupe_6grams": 1, "qsc... |
0015/ThatProject | ESP32_LVGL/LVGL8_SquareLine/Arduino_GigaR1_LVGL8_3D_Printer/ui_img_arrow_up_png.c | // This file was generated by SquareLine Studio
// SquareLine Studio version: SquareLine Studio 1.4.0
// LVGL version: 8.3.11
// Project name: 3d_printer
#include "ui.h"
#ifndef LV_ATTRIBUTE_MEM_ALIGN
#define LV_ATTRIBUTE_MEM_ALIGN
#endif
// IMAGE DATA: assets/arrow_up.png
const LV_ATTRIBUTE_MEM_ALIGN uint8_t ui... | 16,046 | ui_img_arrow_up_png | c | en | c | code | {"qsc_code_num_words": 3173, "qsc_code_num_chars": 16046.0, "qsc_code_mean_word_length": 3.99968484, "qsc_code_frac_words_unique": 0.03561298, "qsc_code_frac_chars_top_2grams": 0.79552439, "qsc_code_frac_chars_top_3grams": 0.791427, "qsc_code_frac_chars_top_4grams": 1.05397526, "qsc_code_frac_chars_dupe_5grams": 0.9491... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 1, "qsc_code_frac_chars_top_3grams": 1, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 1, "qsc_code_frac_chars_dupe_6grams": 1, "qsc... |
01mf02/jaq | jaq/src/main.rs | mod cli;
mod filter;
mod funs;
mod read;
mod style;
#[cfg(target_os = "windows")]
mod windows;
mod write;
use cli::{Cli, Format};
use core::fmt::{self, Display, Formatter};
use filter::{run, FileReports, Filter};
use jaq_core::{load, unwrap_valr, Vars};
use jaq_json::{json, Val};
use std::io::{self, BufRead, Write};
u... | 9,351 | main | rs | en | rust | code | {"qsc_code_num_words": 1157, "qsc_code_num_chars": 9351.0, "qsc_code_mean_word_length": 4.18496111, "qsc_code_frac_words_unique": 0.20138289, "qsc_code_frac_chars_top_2grams": 0.01115242, "qsc_code_frac_chars_top_3grams": 0.01032631, "qsc_code_frac_chars_top_4grams": 0.00826105, "qsc_code_frac_chars_dupe_5grams": 0.101... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01mf02/jaq | jaq/src/filter.rs | //! Filter parsing, compilation, and execution.
use crate::{funs, read, Cli, Error, Val};
use core::fmt::{self, Display, Formatter};
use jaq_core::{compile, load, unwrap_valr, ValT, Vars};
use jaq_std::input::RcIter;
use std::{io, path::PathBuf};
pub type Filter = jaq_core::Filter<funs::DataKind>;
pub type Ctx<'a> = j... | 8,084 | filter | rs | en | rust | code | {"qsc_code_num_words": 1036, "qsc_code_num_chars": 8084.0, "qsc_code_mean_word_length": 4.34169884, "qsc_code_frac_words_unique": 0.20945946, "qsc_code_frac_chars_top_2grams": 0.01556247, "qsc_code_frac_chars_top_3grams": 0.01711872, "qsc_code_frac_chars_top_4grams": 0.02134282, "qsc_code_frac_chars_dupe_5grams": 0.188... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01mf02/jaq | jaq/src/cli.rs | //! Command-line argument parsing
use core::fmt;
use std::env::ArgsOs;
use std::ffi::OsString;
use std::path::{Path, PathBuf};
#[derive(Copy, Clone, Debug)]
pub enum Format {
/// When the option `--slurp` is used additionally,
/// then the whole input is read into a single string.
Raw,
Json,
Cbor,
... | 10,059 | cli | rs | en | rust | code | {"qsc_code_num_words": 1224, "qsc_code_num_chars": 10059.0, "qsc_code_mean_word_length": 4.12418301, "qsc_code_frac_words_unique": 0.19689542, "qsc_code_frac_chars_top_2grams": 0.02852615, "qsc_code_frac_chars_top_3grams": 0.01485737, "qsc_code_frac_chars_top_4grams": 0.01505547, "qsc_code_frac_chars_dupe_5grams": 0.13... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
00nanhai/captchacker2 | pycaptcha/modpython_example.py | #
# An example that presents CAPTCHA tests in a web environment
# and gives the user a chance to solve them.
#
# This example is for use with Apache using mod_python and its
# Publisher handler. For example, if your apache configuration
# included something like:
#
# AddHandler python-program .py
# PythonHandler mo... | 2,728 | modpython_example | py | en | python | code | {"qsc_code_num_words": 404, "qsc_code_num_chars": 2728.0, "qsc_code_mean_word_length": 4.22524752, "qsc_code_frac_words_unique": 0.39108911, "qsc_code_frac_chars_top_2grams": 0.00820152, "qsc_code_frac_chars_top_3grams": 0.00878735, "qsc_code_frac_chars_top_4grams": 0.02226128, "qsc_code_frac_chars_dupe_5grams": 0.2120... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01-ai/langcrew | libs/langcrew-tools/tests/unit/tools/test_code_interpreter.py | """Tests for the code interpreter tool."""
import base64
import re
from textwrap import dedent
import pytest
from langcrew_tools.code_interpreter import CodeInterpreterTool
def _decode_code_from_command(command: str) -> str:
match = re.search(r"base64\.b64decode\('([^']+)'\)", command)
if not match:
... | 6,921 | test_code_interpreter | py | en | python | code | {"qsc_code_num_words": 839, "qsc_code_num_chars": 6921.0, "qsc_code_mean_word_length": 4.80691299, "qsc_code_frac_words_unique": 0.22288439, "qsc_code_frac_chars_top_2grams": 0.06273246, "qsc_code_frac_chars_top_3grams": 0.08554426, "qsc_code_frac_chars_top_4grams": 0.0624845, "qsc_code_frac_chars_dupe_5grams": 0.35085... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01-ai/langcrew | libs/langcrew-tools/tests/unit/tools/test_pgvector_search.py | """
Unit tests for PgVectorSearchTool.
Tests the configuration functionality and behavior of the PgVector knowledge search tool.
"""
from unittest.mock import AsyncMock, MagicMock, patch
import pytest
from langcrew_tools.knowledge import KnowledgeSearchInput, PgVectorSearchTool
from langcrew_tools.utils.siliconflow... | 13,204 | test_pgvector_search | py | en | python | code | {"qsc_code_num_words": 1434, "qsc_code_num_chars": 13204.0, "qsc_code_mean_word_length": 5.68200837, "qsc_code_frac_words_unique": 0.16527197, "qsc_code_frac_chars_top_2grams": 0.03829161, "qsc_code_frac_chars_top_3grams": 0.01595484, "qsc_code_frac_chars_top_4grams": 0.01767305, "qsc_code_frac_chars_dupe_5grams": 0.45... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01-ai/langcrew | docs/src/content/docs/concepts/crews.mdx | ---
title: Crews
description: Understanding crews - orchestrating multiple agents to work together
---
Crews are the orchestration layer in langcrew that brings agents and tasks together. Built on LangGraph, they manage complex workflows with intelligent routing, memory systems, and dynamic execution patterns.
## Qui... | 6,880 | crews | mdx | en | mdx | text | {"qsc_doc_frac_chars_curly_bracket": 0.00145349, "qsc_doc_frac_words_redpajama_stop": 0.07757296, "qsc_doc_num_sentences": 19.0, "qsc_doc_num_words": 802, "qsc_doc_num_chars": 6880.0, "qsc_doc_num_lines": 238.0, "qsc_doc_mean_word_length": 6.22319202, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with... | 1 | {"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_... |
01-ai/langcrew | docs/src/content/docs/concepts/agents.mdx | ---
title: Agents
description: Understanding agents - the intelligent actors in your langcrew system
---
Agents are the core building blocks of langcrew. They are autonomous AI-powered entities that can understand tasks, use tools, collaborate with humans, and work within crews to achieve complex goals.
## Quick Star... | 3,944 | agents | mdx | en | mdx | text | {"qsc_doc_frac_chars_curly_bracket": 0.0010142, "qsc_doc_frac_words_redpajama_stop": 0.12465374, "qsc_doc_num_sentences": 17.0, "qsc_doc_num_words": 481, "qsc_doc_num_chars": 3944.0, "qsc_doc_num_lines": 165.0, "qsc_doc_mean_word_length": 6.08939709, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_... | 1 | {"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_... |
01-ai/langcrew | docs/src/content/docs/concepts/hitl.mdx | ---
title: Human-in-the-Loop (HITL)
description: Understanding HITL - adding human oversight to AI workflows
---
Human-in-the-Loop (HITL) is LangCrew's **high-level human oversight component** built on top of [LangGraph's native interrupt system](https://langchain-ai.github.io/langgraph/concepts/human_in_the_loop/). I... | 6,015 | hitl | mdx | en | mdx | text | {"qsc_doc_frac_chars_curly_bracket": 0.0, "qsc_doc_frac_words_redpajama_stop": 0.12704524, "qsc_doc_num_sentences": 25.0, "qsc_doc_num_words": 717, "qsc_doc_num_chars": 6015.0, "qsc_doc_num_lines": 173.0, "qsc_doc_mean_word_length": 5.9539749, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_readmor... | 1 | {"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_... |
0015/Unity_Projects | Interactive_Particles_Responsive/ESP32_INMP441_VUMeter/ESP32_INMP441_VUMeter.ino | /////////////////////////////////////////////////////////////////
/*
Interactive Particles Responsive Made With ESP32 + INMP441 & Unity
For More Information: https://youtu.be/lRj01J-cxew
Created by Eric N. (ThatProject)
*/
/////////////////////////////////////////////////////////////////
#include <driver/i2s.h>
... | 2,243 | ESP32_INMP441_VUMeter | ino | en | cpp | code | {"qsc_code_num_words": 317, "qsc_code_num_chars": 2243.0, "qsc_code_mean_word_length": 4.21135647, "qsc_code_frac_words_unique": 0.39432177, "qsc_code_frac_chars_top_2grams": 0.0411985, "qsc_code_frac_chars_top_3grams": 0.02696629, "qsc_code_frac_chars_top_4grams": 0.01797753, "qsc_code_frac_chars_dupe_5grams": 0.03146... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
0015/Unity_Projects | Interactive_Particles_Responsive/Unity_VisualEffect/Assets/MySerialOBJ.cs | /////////////////////////////////////////////////////////////////
/*
Interactive Particles Responsive Made With ESP32 + INMP441 & Unity
For More Information: https://youtu.be/lRj01J-cxew
Created by Eric N. (ThatProject)
*/
/////////////////////////////////////////////////////////////////
using System;
using Syst... | 2,765 | MySerialOBJ | cs | en | csharp | code | {"qsc_code_num_words": 197, "qsc_code_num_chars": 2765.0, "qsc_code_mean_word_length": 6.01015228, "qsc_code_frac_words_unique": 0.5177665, "qsc_code_frac_chars_top_2grams": 0.0472973, "qsc_code_frac_chars_top_3grams": 0.04054054, "qsc_code_frac_chars_top_4grams": 0.02364865, "qsc_code_frac_chars_dupe_5grams": 0.125, "... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01mf02/jaq | jaq-json/src/xml.rs | //! XML support.
use crate::{bstr, Map, Val};
use alloc::string::{String, ToString};
use alloc::{borrow::ToOwned, boxed::Box, format, vec::Vec};
use core::fmt::{self, Formatter};
use std::io;
use xmlparser::{ElementEnd, ExternalId, StrSpan, TextPos, Token, Tokenizer};
/// Parse a stream of root XML values.
pub fn pars... | 15,370 | xml | rs | en | rust | code | {"qsc_code_num_words": 1730, "qsc_code_num_chars": 15370.0, "qsc_code_mean_word_length": 3.84104046, "qsc_code_frac_words_unique": 0.1416185, "qsc_code_frac_chars_top_2grams": 0.02167043, "qsc_code_frac_chars_top_3grams": 0.00948081, "qsc_code_frac_chars_top_4grams": 0.01279157, "qsc_code_frac_chars_dupe_5grams": 0.248... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01mf02/jaq | jaq-json/src/formats.rs | use crate::funs::bome;
use crate::{cbor, json, toml, xml, yaml};
use crate::{Error, Val, ValR, ValX};
use alloc::{boxed::Box, string::ToString, vec::Vec};
use bytes::Bytes;
use core::fmt;
use jaq_core::box_iter::{box_once, then, BoxIter};
use jaq_core::{DataT, Exn, RunPtr};
use jaq_std::{v, Filter, ValT as _};
impl Va... | 4,473 | formats | rs | en | rust | code | {"qsc_code_num_words": 639, "qsc_code_num_chars": 4473.0, "qsc_code_mean_word_length": 3.4600939, "qsc_code_frac_words_unique": 0.17840376, "qsc_code_frac_chars_top_2grams": 0.02170963, "qsc_code_frac_chars_top_3grams": 0.01628223, "qsc_code_frac_chars_top_4grams": 0.04341927, "qsc_code_frac_chars_dupe_5grams": 0.53776... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
0015/Unity_Projects | Interactive_Particles_Responsive/Unity_VisualEffect/Assets/Visual Effect.vfx | %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &114340500867371532
MonoBehaviour:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d01... | 84,573 | Visual Effect | vfx | en | unknown | unknown | {} | 0 | {} |
01-ai/langcrew | docs/src/content/docs/guides/tools/tool-registry.mdx | ---
title: Using Tools
description: Learn how to find and use tools in your LangCrew agents
---
## What are Tools?
**Tools** give your agents the ability to take real actions - like calculating numbers, reading files, scraping websites, or calling APIs. LangCrew's tool system automatically finds and provides access t... | 5,432 | tool-registry | mdx | en | mdx | text | {"qsc_doc_frac_chars_curly_bracket": 0.00184094, "qsc_doc_frac_words_redpajama_stop": 0.15196078, "qsc_doc_num_sentences": 46.0, "qsc_doc_num_words": 734, "qsc_doc_num_chars": 5432.0, "qsc_doc_num_lines": 207.0, "qsc_doc_mean_word_length": 5.42370572, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with... | 1 | {"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_... |
01mf02/jaq | jaq-json/src/serde_json.rs | //! [`serde_json::Value`] support.
use crate::{Num, Tag, Val};
use alloc::string::ToString;
use jaq_std::ValT;
impl From<serde_json::Value> for Val {
fn from(v: serde_json::Value) -> Self {
use serde_json::Value::*;
match v {
Null => Self::Null,
Bool(b) => Self::Bool(b),
... | 2,016 | serde_json | rs | en | rust | code | {"qsc_code_num_words": 272, "qsc_code_num_chars": 2016.0, "qsc_code_mean_word_length": 3.64705882, "qsc_code_frac_words_unique": 0.30514706, "qsc_code_frac_chars_top_2grams": 0.07258065, "qsc_code_frac_chars_top_3grams": 0.08467742, "qsc_code_frac_chars_top_4grams": 0.03427419, "qsc_code_frac_chars_dupe_5grams": 0.0322... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01mf02/jaq | jaq-json/src/cbor.rs | //! CBOR support.
//!
//! We can test this as follows:
//!
//! ~~~ text
//! echo 0x826161a161626163 | xxd -r | cargo run -- --from cbor
//! ~~~
//!
//! The [examples](https://www.rfc-editor.org/rfc/rfc8949.html#section-appendix.a)
//! from the CBOR specification are quite helpful here.
//! They can be pasted directly i... | 8,812 | cbor | rs | en | rust | code | {"qsc_code_num_words": 1190, "qsc_code_num_chars": 8812.0, "qsc_code_mean_word_length": 3.98907563, "qsc_code_frac_words_unique": 0.22184874, "qsc_code_frac_chars_top_2grams": 0.01263956, "qsc_code_frac_chars_top_3grams": 0.01895934, "qsc_code_frac_chars_top_4grams": 0.01516747, "qsc_code_frac_chars_dupe_5grams": 0.167... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01mf02/jaq | jaq-json/src/lib.rs | //! JSON superset with binary data and non-string object keys.
//!
//! This crate provides a few macros for formatting / writing;
//! this is done in order to function with both
//! [`core::fmt::Write`] and [`std::io::Write`].
#![no_std]
#![forbid(unsafe_code)]
#![warn(missing_docs)]
extern crate alloc;
extern crate s... | 24,416 | lib | rs | en | rust | code | {"qsc_code_num_words": 3321, "qsc_code_num_chars": 24416.0, "qsc_code_mean_word_length": 3.46221018, "qsc_code_frac_words_unique": 0.13249021, "qsc_code_frac_chars_top_2grams": 0.02296051, "qsc_code_frac_chars_top_3grams": 0.00974082, "qsc_code_frac_chars_top_4grams": 0.0104366, "qsc_code_frac_chars_dupe_5grams": 0.301... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01protocol/zo-keeper | src/liquidator/math.rs | #![allow(non_snake_case)]
use crate::liquidator::error::ErrorCode::{self, *};
use az::{CheckedAs, CheckedCast};
use fixed::types::I80F48;
use num_traits::{CheckedAdd, CheckedDiv, CheckedMul, CheckedSub};
pub trait SafeOp<T>
where
Self: Sized,
{
fn safe_add(&self, x: T) -> Result<Self, ErrorCode>;
fn safe_... | 1,343 | math | rs | en | rust | code | {"qsc_code_num_words": 200, "qsc_code_num_chars": 1343.0, "qsc_code_mean_word_length": 4.105, "qsc_code_frac_words_unique": 0.28, "qsc_code_frac_chars_top_2grams": 0.05115713, "qsc_code_frac_chars_top_3grams": 0.11571255, "qsc_code_frac_chars_top_4grams": 0.05846529, "qsc_code_frac_chars_dupe_5grams": 0.38855055, "qsc_... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01protocol/zo-keeper | src/liquidator/listener.rs | use crate::{liquidator::accounts::DbWrapper, Error};
use anchor_client::solana_client::rpc_config::{
RpcAccountInfoConfig, RpcProgramAccountsConfig,
};
use anchor_lang::Discriminator;
use bytemuck::Pod;
use futures::StreamExt;
use jsonrpc_core_client::transports::ws;
use solana_account_decoder::{UiAccountData, UiAc... | 3,425 | listener | rs | en | rust | code | {"qsc_code_num_words": 368, "qsc_code_num_chars": 3425.0, "qsc_code_mean_word_length": 4.73369565, "qsc_code_frac_words_unique": 0.38315217, "qsc_code_frac_chars_top_2grams": 0.02009185, "qsc_code_frac_chars_top_3grams": 0.0206659, "qsc_code_frac_chars_top_4grams": 0.02296211, "qsc_code_frac_chars_dupe_5grams": 0.15097... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01-ai/langcrew | docs/src/content/docs/guides/memory/entity/index.mdx | ---
title: Entity Memory
description: Track entities and relationships across conversations
---
Entity memory tracks entities (people, organizations, concepts) across conversations using structured storage. It maintains information about entities and their relationships, providing context-aware responses.
## Overview... | 11,998 | index | mdx | en | mdx | text | {"qsc_doc_frac_chars_curly_bracket": 0.00716786, "qsc_doc_frac_words_redpajama_stop": 0.09229305, "qsc_doc_num_sentences": 47.0, "qsc_doc_num_words": 1354, "qsc_doc_num_chars": 11998.0, "qsc_doc_num_lines": 440.0, "qsc_doc_mean_word_length": 6.0, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with_read... | 1 | {"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_... |
01-ai/langcrew | docs/src/content/docs/guides/memory/short-term/index.mdx | ---
title: Short-term Memory
description: Session-based conversation history management
---
Short-term memory provides session-based conversation history using LangGraph's Checkpointer system. It maintains context within a conversation thread and automatically injects relevant history into agent prompts.
## Overview
... | 8,778 | index | mdx | en | mdx | text | {"qsc_doc_frac_chars_curly_bracket": 0.00911369, "qsc_doc_frac_words_redpajama_stop": 0.08993034, "qsc_doc_num_sentences": 35.0, "qsc_doc_num_words": 1068, "qsc_doc_num_chars": 8778.0, "qsc_doc_num_lines": 337.0, "qsc_doc_mean_word_length": 5.62827715, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_wit... | 1 | {"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_... |
0015/ThatProject | ESP32_LVGL/LVGL9/LVGL9_Ep06_Air_Sensor_UI/font_arial_25.c | /*******************************************************************************
* Size: 25 px
* Bpp: 4
* Opts: --bpp 4 --size 25 --no-compress --font arial.ttf --symbols %° --range 32-127 --format lvgl -o font_arial_25.c
******************************************************************************/
#include "lvg... | 71,969 | font_arial_25 | c | en | c | code | {"qsc_code_num_words": 12032, "qsc_code_num_chars": 71969.0, "qsc_code_mean_word_length": 3.30344082, "qsc_code_frac_words_unique": 0.05236037, "qsc_code_frac_chars_top_2grams": 0.31911842, "qsc_code_frac_chars_top_3grams": 0.24930183, "qsc_code_frac_chars_top_4grams": 0.16876745, "qsc_code_frac_chars_dupe_5grams": 0.6... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 1, "qsc_code_frac_chars_top_3grams": 1, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
00-Evan/shattered-pixel-dungeon-gdx | core/src/com/shatteredpixel/shatteredpixeldungeon/messages/misc/misc_pl.properties | badges.endorsed=Odznaka przyznana: %s
badges.new_super=Nowa super odznaka: %s
badges.new=Nowa odznaka: %s
badges$badge.monsters_slain_1=Pokonano 10 przeciwników
badges$badge.monsters_slain_2=Pokonano 50 przeciwników
badges$badge.monsters_slain_3=Pokonano 150 przeciwników
badges$badge.monsters_slain_4=Pokonano 250 przec... | 5,466 | misc_pl | properties | pl | ini | data | {"qsc_code_num_words": 831, "qsc_code_num_chars": 5466.0, "qsc_code_mean_word_length": 5.51504212, "qsc_code_frac_words_unique": 0.36702768, "qsc_code_frac_chars_top_2grams": 0.1608117, "qsc_code_frac_chars_top_3grams": 0.02749291, "qsc_code_frac_chars_top_4grams": 0.02618372, "qsc_code_frac_chars_dupe_5grams": 0.14946... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 1, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code... |
01-ai/langcrew | libs/langcrew/tests/unit/test_types.py | """
Unit tests for core types in the types module.
Tests cover RunningSummary and ExecutionPlan classes to ensure proper
functionality after migration to types.py.
"""
from langcrew.types import CrewState, ExecutionPlan
class TestExecutionPlan:
"""Test cases for ExecutionPlan dataclass."""
def test_executi... | 10,761 | test_types | py | en | python | code | {"qsc_code_num_words": 1193, "qsc_code_num_chars": 10761.0, "qsc_code_mean_word_length": 5.51969824, "qsc_code_frac_words_unique": 0.14417435, "qsc_code_frac_chars_top_2grams": 0.05770691, "qsc_code_frac_chars_top_3grams": 0.04100228, "qsc_code_frac_chars_top_4grams": 0.04145786, "qsc_code_frac_chars_dupe_5grams": 0.48... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
0015/ThatProject | ESP32_LVGL/LVGL9/LVGL9_Ep07_Air_Sensor_Core/font_segment_60.c | /*******************************************************************************
* Size: 60 px
* Bpp: 4
* Opts: --bpp 4 --size 60 --no-compress --font 7-segments-display.ttf --symbols 0123456789 --format lvgl -o font_segment_60.c
******************************************************************************/
#incl... | 62,600 | font_segment_60 | c | el | c | code | {"qsc_code_num_words": 10532, "qsc_code_num_chars": 62600.0, "qsc_code_mean_word_length": 3.39764527, "qsc_code_frac_words_unique": 0.02098367, "qsc_code_frac_chars_top_2grams": 0.86703555, "qsc_code_frac_chars_top_3grams": 1.14486922, "qsc_code_frac_chars_top_4grams": 1.33635144, "qsc_code_frac_chars_dupe_5grams": 0.9... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 1, "qsc_code_frac_chars_top_3grams": 1, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 1, "qsc_code_frac_chars_dupe_6grams": 1, "qsc... |
0015/ThatProject | ESP32_LVGL/LVGL9/LVGL9_Ep07_Air_Sensor_Core/humi_icon.c | #ifdef __has_include
#if __has_include("lvgl.h")
#ifndef LV_LVGL_H_INCLUDE_SIMPLE
#define LV_LVGL_H_INCLUDE_SIMPLE
#endif
#endif
#endif
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#else
#include "lvgl/lvgl.h"
#endif
#ifndef LV_ATTRIBUTE_MEM_ALIGN
#define LV_ATT... | 19,373 | humi_icon | c | en | c | code | {"qsc_code_num_words": 3187, "qsc_code_num_chars": 19373.0, "qsc_code_mean_word_length": 4.01223721, "qsc_code_frac_words_unique": 0.04298714, "qsc_code_frac_chars_top_2grams": 1.75365606, "qsc_code_frac_chars_top_3grams": 2.58168452, "qsc_code_frac_chars_top_4grams": 3.38093376, "qsc_code_frac_chars_dupe_5grams": 0.91... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 1, "qsc_code_frac_chars_top_3grams": 1, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 1, "qsc_code_frac_chars_dupe_6grams": 1, "qsc... |
0015/ThatProject | ESP32_LVGL/LVGL9/LVGL9_Ep07_Air_Sensor_Core/font_segment_90.c | /*******************************************************************************
* Size: 90 px
* Bpp: 4
* Opts: --bpp 4 --size 90 --no-compress --font 7-segments-display.ttf --symbols 0123456789 --format lvgl -o font_segment_90.c
******************************************************************************/
#incl... | 133,319 | font_segment_90 | c | el | c | code | {"qsc_code_num_words": 22690, "qsc_code_num_chars": 133319.0, "qsc_code_mean_word_length": 3.35456148, "qsc_code_frac_words_unique": 0.00903482, "qsc_code_frac_chars_top_2grams": 1.03501281, "qsc_code_frac_chars_top_3grams": 1.44456415, "qsc_code_frac_chars_top_4grams": 1.78277606, "qsc_code_frac_chars_dupe_5grams": 0.... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 1, "qsc_code_frac_chars_top_3grams": 1, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 1, "qsc_code_frac_chars_dupe_6grams": 1, "qsc... |
00-Evan/shattered-pixel-dungeon-gdx | core/src/com/shatteredpixel/shatteredpixeldungeon/messages/misc/misc_it.properties | badges.endorsed=Distintivi ottenuti: %s
badges.new_super=Nuovo super distintivo: %s
badges.new=Nuovo distintivo: %s
badges$badge.monsters_slain_1=10 nemici uccisi
badges$badge.monsters_slain_2=50 nemici uccisi
badges$badge.monsters_slain_3=150 nemici uccisi
badges$badge.monsters_slain_4=250 nemici uccisi
badges$badge.g... | 5,409 | misc_it | properties | it | ini | data | {"qsc_code_num_words": 871, "qsc_code_num_chars": 5409.0, "qsc_code_mean_word_length": 5.15269805, "qsc_code_frac_words_unique": 0.34557979, "qsc_code_frac_chars_top_2grams": 0.16421569, "qsc_code_frac_chars_top_3grams": 0.02807487, "qsc_code_frac_chars_top_4grams": 0.02673797, "qsc_code_frac_chars_dupe_5grams": 0.2635... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 1, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code... |
00-Evan/shattered-pixel-dungeon-gdx | core/src/com/shatteredpixel/shatteredpixeldungeon/messages/misc/misc_ca.properties | badges.endorsed=Medalla aconseguida: %s
badges.new_super=Nova súper medalla: %s
badges.new=Nova medalla: %s
badges$badge.monsters_slain_1=10 enemics morts
badges$badge.monsters_slain_2=50 enemics morts
badges$badge.monsters_slain_3=150 enemics morts
badges$badge.monsters_slain_4=250 enemics morts
badges$badge.gold_coll... | 5,461 | misc_ca | properties | en | ini | data | {"qsc_code_num_words": 911, "qsc_code_num_chars": 5461.0, "qsc_code_mean_word_length": 4.94072448, "qsc_code_frac_words_unique": 0.32930845, "qsc_code_frac_chars_top_2grams": 0.16374139, "qsc_code_frac_chars_top_3grams": 0.02799378, "qsc_code_frac_chars_top_4grams": 0.02666074, "qsc_code_frac_chars_dupe_5grams": 0.2717... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 1, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code... |
01-ai/langcrew | libs/langcrew/tests/unit/test_task.py | """
Unit tests for LangCrew Task class.
These tests verify the functionality of the Task class
with mocked dependencies to isolate the logic being tested.
"""
from typing import Any
from unittest.mock import AsyncMock, Mock
import pytest
from langchain_core.messages import AIMessage, HumanMessage
from langcrew.guar... | 35,378 | test_task | py | en | python | code | {"qsc_code_num_words": 3903, "qsc_code_num_chars": 35378.0, "qsc_code_mean_word_length": 5.33743274, "qsc_code_frac_words_unique": 0.07558288, "qsc_code_frac_chars_top_2grams": 0.06048387, "qsc_code_frac_chars_top_3grams": 0.02620968, "qsc_code_frac_chars_top_4grams": 0.03629032, "qsc_code_frac_chars_dupe_5grams": 0.66... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
00-Evan/shattered-pixel-dungeon-gdx | core/src/com/shatteredpixel/shatteredpixeldungeon/messages/windows/windows_in.properties | windows.wndblacksmith.prompt=Oke, persetujuan adalah persetujuan, ini yang bisa aku lakukan untukmu: Aku bisa menempa 2 item-mu dan mengubah mereka menjadi satu buah dengan kualitas yang lebih baik.
windows.wndblacksmith.select=Tempa sebuah barang
windows.wndblacksmith.reforge=Tempa
windows.wndchallenges.title=Tantang... | 9,865 | windows_in | properties | id | ini | data | {"qsc_code_num_words": 1339, "qsc_code_num_chars": 9865.0, "qsc_code_mean_word_length": 6.2300224, "qsc_code_frac_words_unique": 0.40029873, "qsc_code_frac_chars_top_2grams": 0.06257492, "qsc_code_frac_chars_top_3grams": 0.04363462, "qsc_code_frac_chars_top_4grams": 0.01582354, "qsc_code_frac_chars_dupe_5grams": 0.0833... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 1, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code... |
00-Evan/shattered-pixel-dungeon-gdx | core/src/com/shatteredpixel/shatteredpixeldungeon/messages/windows/windows_tr.properties | windows.wndblacksmith.prompt=Tamam, anlaşma anlaşmadır, sana ne yapabiliceğimi söyleyeyim: 2 eşyayı yeniden işleyip daha iyi kalitede bir eşyaya dönüştürebilirim.
windows.wndblacksmith.select=Bir eşyayı yeniden işle
windows.wndblacksmith.reforge=Yeniden ișle
windows.wndchallenges.title=Meydan Okumalar
windows.wndchoo... | 9,774 | windows_tr | properties | tr | ini | data | {"qsc_code_num_words": 1284, "qsc_code_num_chars": 9774.0, "qsc_code_mean_word_length": 6.48831776, "qsc_code_frac_words_unique": 0.5046729, "qsc_code_frac_chars_top_2grams": 0.06265754, "qsc_code_frac_chars_top_3grams": 0.04369223, "qsc_code_frac_chars_top_4grams": 0.01584444, "qsc_code_frac_chars_dupe_5grams": 0.1209... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 1, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code... |
01-ai/langcrew | libs/langcrew/tests/unit/test_tool_registry.py | """
Unit tests for langcrew.tools.registry module.
Tests the ToolRegistry functionality including tool registration, discovery,
caching, naming conventions, and error handling.
"""
from unittest.mock import MagicMock, Mock, patch
import pytest
from langchain_core.tools import BaseTool
from pydantic import BaseModel,... | 20,836 | test_tool_registry | py | en | python | code | {"qsc_code_num_words": 2272, "qsc_code_num_chars": 20836.0, "qsc_code_mean_word_length": 6.00616197, "qsc_code_frac_words_unique": 0.1227993, "qsc_code_frac_chars_top_2grams": 0.02154478, "qsc_code_frac_chars_top_3grams": 0.03363623, "qsc_code_frac_chars_top_4grams": 0.04616738, "qsc_code_frac_chars_dupe_5grams": 0.466... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
00-Evan/shattered-pixel-dungeon-gdx | core/src/com/shatteredpixel/shatteredpixeldungeon/messages/windows/windows_pl.properties | windows.wndblacksmith.prompt=Dobrze, dobiliśmy targu, oto co mogę dla ciebie uczynić: mogę przekuć 2 przedmioty i przemienić jest w jeden o lepszej jakości.
windows.wndblacksmith.select=Wybierz przedmiot do przekucia
windows.wndblacksmith.reforge=Przekuj je
windows.wndchallenges.title=Wyzwania
windows.wndchooseway.me... | 10,001 | windows_pl | properties | pl | ini | data | {"qsc_code_num_words": 1336, "qsc_code_num_chars": 10001.0, "qsc_code_mean_word_length": 6.33532934, "qsc_code_frac_words_unique": 0.4992515, "qsc_code_frac_chars_top_2grams": 0.06167297, "qsc_code_frac_chars_top_3grams": 0.04300567, "qsc_code_frac_chars_top_4grams": 0.01559546, "qsc_code_frac_chars_dupe_5grams": 0.091... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 1, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code... |
00-Evan/shattered-pixel-dungeon-gdx | core/src/com/shatteredpixel/shatteredpixeldungeon/messages/misc/misc_es.properties | badges.endorsed=Medalla ganada: %s
badges.new_super=Nueva súper medalla: %s
badges.new=Nueva medalla: %s
badges$badge.monsters_slain_1=10 enemigos muertos
badges$badge.monsters_slain_2=50 enemigos muertos
badges$badge.monsters_slain_3=150 enemigos muertos
badges$badge.monsters_slain_4=250 enemigos muertos
badges$badge.... | 5,561 | misc_es | properties | es | ini | data | {"qsc_code_num_words": 908, "qsc_code_num_chars": 5561.0, "qsc_code_mean_word_length": 5.08259912, "qsc_code_frac_words_unique": 0.31277533, "qsc_code_frac_chars_top_2grams": 0.15969664, "qsc_code_frac_chars_top_3grams": 0.02730228, "qsc_code_frac_chars_top_4grams": 0.02600217, "qsc_code_frac_chars_dupe_5grams": 0.2639... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 1, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code... |
00-Evan/shattered-pixel-dungeon-gdx | core/src/com/shatteredpixel/shatteredpixeldungeon/messages/misc/misc_ko.properties | badges.endorsed=배지 획득: %s
badges.new_super=새로운 고급 배지 획득: %s
badges.new=새 배지 획득: %s
badges$badge.monsters_slain_1=적 몬스터 10마리 처치
badges$badge.monsters_slain_2=적 몬스터 50마리 처치
badges$badge.monsters_slain_3=적 몬스터 150마리 처치
badges$badge.monsters_slain_4=적 몬스터 250마리 처치
badges$badge.gold_collected_1=100 골드 수집
badges$badge.gold_c... | 3,830 | misc_ko | properties | ko | ini | data | {"qsc_code_num_words": 771, "qsc_code_num_chars": 3830.0, "qsc_code_mean_word_length": 3.89883268, "qsc_code_frac_words_unique": 0.38910506, "qsc_code_frac_chars_top_2grams": 0.24517631, "qsc_code_frac_chars_top_3grams": 0.05189621, "qsc_code_frac_chars_top_4grams": 0.04524285, "qsc_code_frac_chars_dupe_5grams": 0.3536... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 1, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code... |
0015/ThatProject | ESP32_LVGL/LVGL9/LVGL9_Ep06_Air_Sensor_UI/top_img.c | #ifdef __has_include
#if __has_include("lvgl.h")
#ifndef LV_LVGL_H_INCLUDE_SIMPLE
#define LV_LVGL_H_INCLUDE_SIMPLE
#endif
#endif
#endif
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#else
#include "lvgl/lvgl.h"
#endif
#ifndef LV_ATTRIBUTE_MEM_ALIGN
#define LV_ATT... | 328,729 | top_img | c | en | c | code | {"qsc_code_num_words": 54715, "qsc_code_num_chars": 328729.0, "qsc_code_mean_word_length": 4.00053002, "qsc_code_frac_words_unique": 0.00405739, "qsc_code_frac_chars_top_2grams": 1.9553655, "qsc_code_frac_chars_top_3grams": 2.92241273, "qsc_code_frac_chars_top_4grams": 3.88310057, "qsc_code_frac_chars_dupe_5grams": 0.9... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 1, "qsc_code_frac_chars_top_3grams": 1, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 1, "qsc_code_frac_chars_dupe_6grams": 1, "qsc... |
01mf02/jaq | jaq-json/tests/defs.rs | //! Tests for filters in the standard library, sorted by name.
pub mod common;
use common::give;
use serde_json::json;
#[test]
fn entries() {
let obj = json!({"a": 1, "b": 2});
let entries = json!([{"key": "a", "value": 1}, {"key": "b", "value": 2}]);
let objk = json!({"ak": 1, "bk": 2});
give(obj.c... | 3,548 | defs | rs | en | rust | code | {"qsc_code_num_words": 490, "qsc_code_num_chars": 3548.0, "qsc_code_mean_word_length": 2.91632653, "qsc_code_frac_words_unique": 0.21836735, "qsc_code_frac_chars_top_2grams": 0.10076977, "qsc_code_frac_chars_top_3grams": 0.02519244, "qsc_code_frac_chars_top_4grams": 0.02449265, "qsc_code_frac_chars_dupe_5grams": 0.1287... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01protocol/zo-keeper | src/liquidator/margin_utils.rs | use fixed::types::I80F48;
use std::cell::Ref;
use zo_abi::{
Cache, Control, FractionType, Margin, PerpType, State, MAX_COLLATERALS,
MAX_MARKETS, SPOT_INITIAL_MARGIN_REQ, SPOT_MAINT_MARGIN_REQ,
};
use crate::liquidator::{error::ErrorCode, math::*, utils::*};
#[derive(Clone, Copy)]
enum MfReturnOption {
M... | 44,604 | margin_utils | rs | en | rust | code | {"qsc_code_num_words": 4636, "qsc_code_num_chars": 44604.0, "qsc_code_mean_word_length": 4.95664366, "qsc_code_frac_words_unique": 0.07614323, "qsc_code_frac_chars_top_2grams": 0.02915706, "qsc_code_frac_chars_top_3grams": 0.02885243, "qsc_code_frac_chars_top_4grams": 0.02863484, "qsc_code_frac_chars_dupe_5grams": 0.73... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01protocol/zo-keeper | src/liquidator/utils.rs | use anchor_lang::{
prelude::{AccountInfo, AccountLoader},
Owner, ZeroCopy,
};
use anchor_client::{ClientError::SolanaClientError, RequestBuilder};
use solana_account_decoder::UiAccountEncoding;
use solana_client::{
client_error::{ClientError, ClientErrorKind},
rpc_client::RpcClient,
rpc_config::{R... | 8,936 | utils | rs | en | rust | code | {"qsc_code_num_words": 783, "qsc_code_num_chars": 8936.0, "qsc_code_mean_word_length": 5.20178799, "qsc_code_frac_words_unique": 0.30012771, "qsc_code_frac_chars_top_2grams": 0.01227596, "qsc_code_frac_chars_top_3grams": 0.02651608, "qsc_code_frac_chars_top_4grams": 0.05769703, "qsc_code_frac_chars_dupe_5grams": 0.1465... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01mf02/jaq | jaq-json/tests/formats.rs | use core::{fmt::Debug, num::ParseIntError};
use jaq_json::{cbor, json, toml, xml};
fn unwrap_collect<T, E: Debug>(iter: impl Iterator<Item = Result<T, E>>) -> Vec<T> {
iter.collect::<Result<Vec<_>, _>>().unwrap()
}
// Thanks to: <https://stackoverflow.com/a/52992629>
pub fn decode_hex(s: &str) -> Result<Vec<u8>, ... | 5,227 | formats | rs | en | rust | code | {"qsc_code_num_words": 639, "qsc_code_num_chars": 5227.0, "qsc_code_mean_word_length": 4.38654147, "qsc_code_frac_words_unique": 0.35837246, "qsc_code_frac_chars_top_2grams": 0.01819479, "qsc_code_frac_chars_top_3grams": 0.01284338, "qsc_code_frac_chars_top_4grams": 0.01605423, "qsc_code_frac_chars_dupe_5grams": 0.1002... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01mf02/jaq | jaq-json/tests/funs.rs | //! Tests for named core filters, sorted by name.
pub mod common;
use common::give;
use serde_json::json;
yields!(bsearch_absent1, "[1, 3] | bsearch(0)", -1);
yields!(bsearch_absent2, "[1, 3] | bsearch(2)", -2);
yields!(bsearch_absent3, "[1, 3] | bsearch(4)", -3);
yields!(bsearch_present, "[1, 3] | [bsearch(1, 3)]",... | 7,895 | funs | rs | en | rust | code | {"qsc_code_num_words": 1167, "qsc_code_num_chars": 7895.0, "qsc_code_mean_word_length": 3.4764353, "qsc_code_frac_words_unique": 0.14567266, "qsc_code_frac_chars_top_2grams": 0.12028593, "qsc_code_frac_chars_top_3grams": 0.11535617, "qsc_code_frac_chars_top_4grams": 0.06408676, "qsc_code_frac_chars_dupe_5grams": 0.4843... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01-ai/langcrew | docs/src/content/docs/guides/memory/getting-started/index.mdx | ---
title: Getting Started
description: Get started with Memory in 5 minutes
---
Get up and running with LangCrew Memory in just a few minutes. This guide covers basic setup and common usage patterns.
## Installation
Install LangCrew with memory support:
```bash
# Install LangCrew
uv add langcrew
```
## Basic Usag... | 6,006 | index | mdx | en | mdx | text | {"qsc_doc_frac_chars_curly_bracket": 0.00899101, "qsc_doc_frac_words_redpajama_stop": 0.08010801, "qsc_doc_num_sentences": 24.0, "qsc_doc_num_words": 738, "qsc_doc_num_chars": 6006.0, "qsc_doc_num_lines": 259.0, "qsc_doc_mean_word_length": 5.69918699, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_with... | 1 | {"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_... |
01-ai/langcrew | docs/src/content/docs/guides/memory/storage/index.mdx | ---
title: Storage Configuration
description: Configure different storage backends for Memory
---
Configure different storage backends for LangCrew Memory to match your deployment needs, from development to production scale.
## Overview
LangCrew Memory supports multiple storage providers:
- **✅ Tested**: `memory`, ... | 12,535 | index | mdx | en | mdx | text | {"qsc_doc_frac_chars_curly_bracket": 0.00813722, "qsc_doc_frac_words_redpajama_stop": 0.0591819, "qsc_doc_num_sentences": 109.0, "qsc_doc_num_words": 1516, "qsc_doc_num_chars": 12535.0, "qsc_doc_num_lines": 466.0, "qsc_doc_mean_word_length": 5.45778364, "qsc_doc_frac_words_full_bracket": 0.0, "qsc_doc_frac_lines_end_wi... | 1 | {"qsc_doc_frac_chars_replacement_symbols": 0, "qsc_doc_entropy_unigram": 0, "qsc_doc_frac_chars_top_2grams": 0, "qsc_doc_frac_chars_top_3grams": 0, "qsc_doc_frac_chars_top_4grams": 0, "qsc_doc_frac_chars_dupe_5grams": 0, "qsc_doc_frac_chars_dupe_6grams": 0, "qsc_doc_frac_chars_dupe_7grams": 0, "qsc_doc_frac_chars_dupe_... |
0015/Unity_Projects | Unity3D_ESP32CAM/Texture_From_WebSocket/CameraWeb/camera_pins.h |
#if defined(CAMERA_MODEL_WROVER_KIT)
#define PWDN_GPIO_NUM -1
#define RESET_GPIO_NUM -1
#define XCLK_GPIO_NUM 21
#define SIOD_GPIO_NUM 26
#define SIOC_GPIO_NUM 27
#define Y9_GPIO_NUM 35
#define Y8_GPIO_NUM 34
#define Y7_GPIO_NUM 39
#define Y6_GPIO_NUM 36
#define Y5_GPIO_NUM 19
#... | 2,540 | camera_pins | h | pt | c | code | {"qsc_code_num_words": 437, "qsc_code_num_chars": 2540.0, "qsc_code_mean_word_length": 3.7208238, "qsc_code_frac_words_unique": 0.13729977, "qsc_code_frac_chars_top_2grams": 0.34440344, "qsc_code_frac_chars_top_3grams": 0.03444034, "qsc_code_frac_chars_top_4grams": 0.0602706, "qsc_code_frac_chars_dupe_5grams": 0.749077... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 1, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 1, "qsc... |
0015/ThatProject | ESP32_LVGL/LVGL9/LVGL9_Ep07_Air_Sensor_Core/pm_cursor.c | #ifdef __has_include
#if __has_include("lvgl.h")
#ifndef LV_LVGL_H_INCLUDE_SIMPLE
#define LV_LVGL_H_INCLUDE_SIMPLE
#endif
#endif
#endif
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#else
#include "lvgl/lvgl.h"
#endif
#ifndef LV_ATTRIBUTE_MEM_ALIGN
#define LV_ATT... | 37,805 | pm_cursor | c | en | c | code | {"qsc_code_num_words": 6259, "qsc_code_num_chars": 37805.0, "qsc_code_mean_word_length": 4.00623103, "qsc_code_frac_words_unique": 0.01517814, "qsc_code_frac_chars_top_2grams": 1.87054835, "qsc_code_frac_chars_top_3grams": 2.79098704, "qsc_code_frac_chars_top_4grams": 3.70153539, "qsc_code_frac_chars_dupe_5grams": 0.97... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 1, "qsc_code_frac_chars_top_3grams": 1, "qsc_code_frac_chars_top_4grams": 1, "qsc_code_frac_chars_dupe_5grams": 1, "qsc_code_frac_chars_dupe_6grams": 1, "qsc... |
0015/ThatProject | ESP32_LVGL/LVGL9/LVGL9_Ep07_Air_Sensor_Core/LVGL9_Ep07_Air_Sensor_Core.ino | /////////////////////////////////////////////////////////////////
/*
LVGL 9, [Ep. 07] My Air Quality Sensor, How to update the screen with data obtained from sensors.
For More Information: https://youtu.be/g9j8FfF2GJ8
Created by Eric N. (ThatProject)
*/
////////////////////////////////////////////////////////////... | 17,886 | LVGL9_Ep07_Air_Sensor_Core | ino | en | cpp | code | {"qsc_code_num_words": 2644, "qsc_code_num_chars": 17886.0, "qsc_code_mean_word_length": 4.33282905, "qsc_code_frac_words_unique": 0.17208775, "qsc_code_frac_chars_top_2grams": 0.03666201, "qsc_code_frac_chars_top_3grams": 0.01152235, "qsc_code_frac_chars_top_4grams": 0.01047486, "qsc_code_frac_chars_dupe_5grams": 0.42... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
01-ai/langcrew | libs/langcrew/tests/unit/context/test_processor.py | """
Unit tests for MessageProcessor and ToolCallCompressor classes.
Tests cover message processing, compression, and summarization features.
"""
import json
from unittest.mock import AsyncMock, Mock
import pytest
from langchain_core.messages import (
AIMessage,
HumanMessage,
SystemMessage,
ToolMessag... | 26,842 | test_processor | py | en | python | code | {"qsc_code_num_words": 2996, "qsc_code_num_chars": 26842.0, "qsc_code_mean_word_length": 5.27870494, "qsc_code_frac_words_unique": 0.1111482, "qsc_code_frac_chars_top_2grams": 0.0207398, "qsc_code_frac_chars_top_3grams": 0.01764148, "qsc_code_frac_chars_top_4grams": 0.01644009, "qsc_code_frac_chars_dupe_5grams": 0.5546... | 1 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 0, "qsc_code_mean_word_length": 0, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code_frac_chars_dupe_6grams": 0, "qsc... |
00-Evan/shattered-pixel-dungeon-gdx | core/src/com/shatteredpixel/shatteredpixeldungeon/messages/misc/misc_tr.properties | badges.endorsed=Rozet alındı: %s
badges.new_super=Yeni süper rozet: %s
badges.new=Yeni rozet: %s
badges$badge.monsters_slain_1=10 düşman öldürüldü
badges$badge.monsters_slain_2=50 düşman öldürüldü
badges$badge.monsters_slain_3=150 düşman öldürüldü
badges$badge.monsters_slain_4=250 düşman öldürüldü
badges$badge.gold_col... | 5,311 | misc_tr | properties | tr | ini | data | {"qsc_code_num_words": 824, "qsc_code_num_chars": 5311.0, "qsc_code_mean_word_length": 5.38349515, "qsc_code_frac_words_unique": 0.36893204, "qsc_code_frac_chars_top_2grams": 0.16614067, "qsc_code_frac_chars_top_3grams": 0.0541028, "qsc_code_frac_chars_top_4grams": 0.03787196, "qsc_code_frac_chars_dupe_5grams": 0.35324... | 0 | {"qsc_code_frac_chars_replacement_symbols": 0, "qsc_code_num_words": 0, "qsc_code_num_chars": 1, "qsc_code_mean_word_length": 0, "qsc_code_frac_words_unique": 1, "qsc_code_frac_chars_top_2grams": 0, "qsc_code_frac_chars_top_3grams": 0, "qsc_code_frac_chars_top_4grams": 0, "qsc_code_frac_chars_dupe_5grams": 0, "qsc_code... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.