Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Muuuun/luxas
/ functions
Functions
585 in github.com/Muuuun/luxas
⨍
Functions
585
◇
Types & classes
109
↓ 2 callers
Function
shingleMatch
* Word n-gram fallback. Used when no full-line anchor matches. * * Extracts every n-word shingle from oldText and looks for the first one that * ap
src/agents/edit-recovery.ts:88
↓ 2 callers
Function
sleep
(ms: number)
src/utils.ts:9
↓ 2 callers
Function
spawnReviewer
()
src/pi-agent.ts:296
↓ 2 callers
Function
streamWithRetry
( model: any, ctx: any, opts: any, )
src/agents/spawn.ts:226
↓ 2 callers
Function
summarize
(state: JobState)
src/tools/job-control.ts:28
↓ 2 callers
Function
summarizeArgs
(args: any)
src/hooks.ts:251
↓ 2 callers
Function
sweepJobs
(projectDir: string)
src/jobs/registry.ts:282
↓ 2 callers
Function
touchHeartbeat
(agentDir: string, agentId: string)
src/active-agents.ts:331
↓ 2 callers
Function
truncateExitForStorage
(exit: SubAgentExit)
src/active-agents.ts:262
↓ 2 callers
Function
tryExtractResult
(conversationFile: string)
src/active-agents.ts:358
↓ 2 callers
Function
updateProjectAfterRun
( projectDir: string, costUsd: number, tokens: number, opts?: { finished?: boolean }, )
src/memory.ts:108
↓ 2 callers
Function
wrapStreamFn
(originalFn: Function, api: string)
src/usage-log.ts:200
↓ 2 callers
Function
writeOurPid
()
src/tools/spawn-agent.ts:56
↓ 2 callers
Function
zeroed
()
src/usage-log.ts:44
↓ 1 callers
Function
_brute_force
Brute-force search for min-weight logical operator (n <= 20).
skills/qec-construct/scripts/kernel/tricycle_distance.py:344
↓ 1 callers
Function
_build_add_table
Precompute n_G × n_G addition table (componentwise mod d_i).
skills/qec-construct/scripts/kernel/tricycle_stcp.py:34
↓ 1 callers
Function
_compute_f_ccz_tensor
Compute logical CCZ tensor T and physical CCZ gate count. T_{ijk} = Σ_{p∈L1_i, q∈L2_j, r∈L3_k} |(M_ab+r) ∩ (M_ac+q) ∩ (M_bc+p)|
skills/qec-construct/scripts/kernel/ccz_subrank.py:202
↓ 1 callers
Function
_compute_fccz_stats
Compute f_CCZ degree statistics and gate count. f_CCZ(p from block I, q from block II, r from block III) = |(M_ab + r) ∩ (M_ac + q) ∩ (M_bc
skills/qec-construct/scripts/kernel/tricycle_stcp.py:177
↓ 1 callers
Function
_compute_logical_fccz
Compute logical CCZ tensor T_{ijk} = f_CCZ(L1_i, L2_j, L3_k). Each logical operator is a list of exponent tuples (its support in G). f_CCZ fo
skills/qec-construct/scripts/kernel/tricycle_stcp.py:231
↓ 1 callers
Function
_discover_solver
Return (solver_name, solver_fn) for the best available ILP solver. solver_fn has signature (H_X, logical_vec) -> (weight, vec, status).
skills/qec-construct/scripts/kernel/tricycle_distance.py:414
↓ 1 callers
Function
_gf2_col_space_basis
Basis of the column space of M over GF(2). Returns (rank, n) array.
skills/qec-construct/scripts/kernel/ccz_subrank.py:80
↓ 1 callers
Function
_gf2_is_in_span
Return True if *v* lies in the GF(2) span of *basis* (rows).
skills/qec-construct/scripts/kernel/ccz_subrank.py:100
↓ 1 callers
Function
_gf2_nullspace
Basis of the nullspace of M over GF(2). Returns (dim_null, n) array.
skills/qec-construct/scripts/kernel/ccz_subrank.py:52
↓ 1 callers
Function
_gf2_quotient_basis
Basis of V / W over GF(2). V_basis, W_basis are (dim, n) arrays (rows = basis vectors). Returns a (dim_quot, n) array whose rows form a basis
skills/qec-construct/scripts/kernel/ccz_subrank.py:105
↓ 1 callers
Function
_gf2_reduce
Reduce v modulo the subspace spanned by *basis* (rows).
skills/qec-construct/scripts/kernel/ccz_subrank.py:85
↓ 1 callers
Function
_gf2_row_space_basis
Basis of the row space of M over GF(2). Returns (rank, n) array.
skills/qec-construct/scripts/kernel/ccz_subrank.py:74
↓ 1 callers
Function
_greedy_heuristic
Greedy heuristic: for each logical rep, try stabiliser cancellations. AMBIGUITY: The description does not specify a particular greedy algorithm.
skills/qec-construct/scripts/kernel/tricycle_distance.py:373
↓ 1 callers
Function
_group_add
Add two group elements (flat indices), componentwise mod group_shape.
skills/qec-construct/scripts/kernel/ccz_subrank.py:148
↓ 1 callers
Function
_index_to_group
Convert a flat integer index back to a tuple of exponents.
skills/qec-construct/scripts/kernel/tricycle_stcp.py:25
↓ 1 callers
Function
_kccz_ilp
Exact K_CCZ via integer linear programming (maximum 3D matching). Uses PuLP with the default CBC solver.
skills/qec-construct/scripts/kernel/ccz_subrank.py:299
↓ 1 callers
Function
_pairwise_disjoint_exists
Return True if T has at least two non-zero entries with pairwise-disjoint indices (i1≠i2, j1≠j2, k1≠k2).
skills/qec-construct/scripts/kernel/ccz_subrank.py:351
↓ 1 callers
Function
_rref_gf2
Reduced row-echelon form over GF(2). Rows become low-weight.
skills/qec-construct/scripts/kernel/cheap_screen.py:23
↓ 1 callers
Function
_solve_ilp_gurobipy
Solve the ILP using gurobipy directly.
skills/qec-construct/scripts/kernel/tricycle_distance.py:109
↓ 1 callers
Function
_verify_partition
Verify a_in ∪ a_out = support and a_in ∩ a_out = ∅. Returns (warnings, disjoint_ok, cover_ok).
skills/qec-construct/scripts/kernel/tricycle_stcp.py:69
↓ 1 callers
Function
acquireInboxLock
(owner: string)
src/meta-agents/state.ts:223
↓ 1 callers
Function
acquireLock
(lockPath: string)
src/tools/spawn-agent.ts:55
↓ 1 callers
Function
analyzeArtifacts
()
monitor/analyze.cjs:227
↓ 1 callers
Function
appendUsage
(logPath: string, entry: UsageEntry)
src/usage-log.ts:54
↓ 1 callers
Function
applyAuthorityEscalationSection
( reportDir: string, texfile: string, projectDir: string, )
src/tools/authority-escalation.ts:185
↓ 1 callers
Function
applyProfile
(modelKey: string, agentName?: string)
src/agents/spawn.ts:189
↓ 1 callers
Function
archiveIfFinished
(dir: string)
src/index.ts:626
↓ 1 callers
Function
archiveProjectNotes
* Archive a project's notes and experiment results to ~/.sisyphus/archive/<slug>/ * so the memory skill can access them without knowing the original
src/memory.ts:209
↓ 1 callers
Function
asOptionalString
(value: unknown)
src/meta-agents/registry.ts:234
↓ 1 callers
Function
asOptionalString
Return the value if it's a string, otherwise undefined.
src/agents/registry.ts:247
↓ 1 callers
Method
attachRevisionNumber
* Continue-mode bookkeeping: record the 1-indexed revisionNumber for THIS * run so finalize() can stamp it onto the SubAgentExit. Initial spawns
src/agents/spawn.ts:742
↓ 1 callers
Function
bashTargetHitsBlockedRoot
(target: string, blockedRelPrefixes: string[])
src/agents/safety-wrappers.ts:689
↓ 1 callers
Function
branchExists
(cwd: string, branch: string)
src/meta-agents/git-helpers.ts:35
↓ 1 callers
Function
buildCharPlan
(limits: PackingLimits = {})
src/compaction/thresholds.ts:53
↓ 1 callers
Function
buildContextTransformer
(opts: ContextTransformerOptions)
src/context.ts:141
↓ 1 callers
Function
buildDataStatus
(projectDir: string)
src/context.ts:586
↓ 1 callers
Function
buildPaperFigureIndex
* Build a set of figure filenames that originate from downloaded papers. * Scans each paper's figures manifest.json for extracted figure filenames.
src/tools/report.ts:587
↓ 1 callers
Function
buildPastResearchDigest
(currentDir: string)
src/memory.ts:314
↓ 1 callers
Function
buildProjectCodeBlock
(projectDir: string)
src/agents/context-builders.ts:472
↓ 1 callers
Function
buildReportStatus
(projectDir: string)
src/context.ts:535
↓ 1 callers
Function
buildResearchFrontier
* Surface the experiment-authored generative forks (### FollowUp blocks) as a * first-class, UNTRUNCATED state block above the done-signals — so the
src/context.ts:276
↓ 1 callers
Function
buildResearchHooks
(opts: ResearchOptions)
src/hooks.ts:42
↓ 1 callers
Function
buildResearchSnapshot
* Build a snapshot of current research state from files on disk.
src/context.ts:306
↓ 1 callers
Function
buildResearchTools
( projectDir: string, templateVars: Record<string, string>, getApiKey: (provider: string) => Promise<str
src/tools/index.ts:319
↓ 1 callers
Function
buildSafetyConfig
( fields: Record<string, any>, filename: string, )
src/meta-agents/registry.ts:138
↓ 1 callers
Function
buildSafetyConfig
(fields: Record<string, any>, filename: string)
src/agents/registry.ts:164
↓ 1 callers
Function
buildSemiStaticSystemLayer
(projectDir: string)
src/context.ts:454
↓ 1 callers
Function
buildSpawnConfig
( fields: Record<string, any>, filename: string, )
src/meta-agents/registry.ts:176
↓ 1 callers
Function
buildSpawnConfig
(fields: Record<string, any>, filename: string)
src/agents/registry.ts:195
↓ 1 callers
Function
buildStateForPI
( projectDir: string, toolCallCount?: number, milestoneInfo?: { milestone: string; questions?: string },
src/pi-agent.ts:389
↓ 1 callers
Function
buildSubAgentExit
( agent: InstanceType<typeof Agent> | null, t0: number, fileTouches: FileTouchRecord[], tokenTap: Toke
src/agents/spawn.ts:787
↓ 1 callers
Function
buildWindowPlan
( limits: PackingLimits = {}, )
src/compaction/thresholds.ts:26
↓ 1 callers
Function
captureLesson
* Append a lesson entry to notes/lessons.md. * Deduplicates: if the same error category + tool combination exists in the * last 5 entries, skip to a
src/hooks.ts:299
↓ 1 callers
Function
checkFigureCitations
* Check that every \includegraphics in a \begin{figure} environment * has a \cite{} if the figure file comes from a downloaded paper. * Returns an a
src/tools/report.ts:614
↓ 1 callers
Function
checkSchemeSymmetry
* H7: when report.tex enumerates N "schemes" / "方案" via explicit count * ("compared 7 schemes") or via (a)(b)(c)... enumeration, every named * schem
src/tools/index.ts:224
↓ 1 callers
Function
classical_distance
Min weight nonzero x with M x = 0 (mod 2). Returns (d, status). cap: if set, only asks 'is there a codeword of weight <= cap?' (feasibility,
skills/qec-construct/scripts/kernel/cheap_screen.py:139
↓ 1 callers
Function
classifyError
Classify error into a category for structured logging.
src/hooks.ts:273
↓ 1 callers
Function
classifyTool
(entry)
monitor/analyze.cjs:339
↓ 1 callers
Function
collectActiveDirectives
( projectDir: string, runtimeDirective: string | undefined, )
src/context.ts:215
↓ 1 callers
Function
collectPIDirectives
( projectDir: string, runtimeDirective: string | undefined, )
src/pi-agent.ts:362
↓ 1 callers
Function
collectToolCallIds
* Collect ALL tool call IDs from an assistant message's blocks. * A single assistant message may contain multiple tool_use/toolCall blocks.
src/compaction/integrity.ts:10
↓ 1 callers
Function
compactNotesIfNeeded
( projectDir: string, model: Model<any>, apiKey: string, bus?: ExtensionBus, )
src/notes-compaction.ts:64
↓ 1 callers
Function
compactSingleFile
( content: string, filename: string, prompt: string, model: Model<any>, apiKey: string, )
src/notes-compaction.ts:135
↓ 1 callers
Function
computeStats
(entries)
monitor/analyze.cjs:430
↓ 1 callers
Function
compute_ccz_subrank
Compute logical CCZ subrank K_CCZ for a tricycle code. Parameters ---------- group_shape : tuple of int Shape of the Abelian grou
skills/qec-construct/scripts/kernel/ccz_subrank.py:370
↓ 1 callers
Function
construct_tricycle_general
Tricycle code over an arbitrary group. Supports are lists of element idx. H_X = [A^T B^T C^T]; H_Z = [[C 0 A],[0 C B],[B A 0]] (same block form
skills/qec-construct/scripts/kernel/group.py:112
↓ 1 callers
Function
continueWithLengthRecovery
( agent: InstanceType<typeof Agent>, newUserMessage: string, recovery: LengthRecoveryController, )
src/agents/spawn.ts:645
↓ 1 callers
Function
countMessageChars
( messages: TMessage[], adapter: ConversationAdapter<TMessage>, )
src/compaction/rounds.ts:3
↓ 1 callers
Function
createAuthoritativeArtifactsProvider
( opts: AuthoritativeArtifactsProviderOptions, )
src/compaction/attachments.ts:178
↓ 1 callers
Function
createBlockConversationAdapter
()
src/compaction/adapter.ts:23
↓ 1 callers
Function
createBrainstormAgent
(projectDir: string, callbacks: BrainstormCallbacks)
src/tui/brainstorm.ts:63
↓ 1 callers
Method
createCarryforwardMessage
(payload: { note: string; removedCount: number; trigger: "automatic" | "manual"; sizeBefore: n
src/compaction/types.ts:149
↓ 1 callers
Function
createCompileTikzTool
(projectDir: string)
src/tools/figure-gen.ts:136
↓ 1 callers
Function
createExtractPdfFiguresTool
(projectDir: string)
src/tools/figure-gen.ts:225
↓ 1 callers
Function
createFigureGenTools
(projectDir: string)
src/tools/figure-gen.ts:289
↓ 1 callers
Function
createGenerateRasterComponentTool
(projectDir: string)
src/tools/figure-gen.ts:40
↓ 1 callers
Function
createGrepTool
Read-only search across the project tree.
src/agents/tool-sets.ts:49
↓ 1 callers
Function
createHardenedBashTool
(cwd: string, opts?: BashOptions)
src/tools/bash-hardened.ts:99
↓ 1 callers
Function
createInitReportTool
(projectDir: string)
src/tools/init-report.ts:50
↓ 1 callers
Function
createJobControlTools
(_projectDir: string)
src/tools/job-control.ts:269
↓ 1 callers
Function
createJobKillTool
()
src/tools/job-control.ts:227
↓ 1 callers
Function
createJobOutputTool
()
src/tools/job-control.ts:145
↓ 1 callers
Function
createJobStatusTool
()
src/tools/job-control.ts:77
↓ 1 callers
Function
createJobWaitTool
()
src/tools/job-control.ts:185
↓ 1 callers
Method
createMissingToolOutcomeStub
(payload: { toolCallId: string; sourceMessage: TMessage; })
src/compaction/types.ts:145
↓ 1 callers
Function
createPIReviewTool
(opts: PIMonitorOptions)
src/pi-agent.ts:64
← previous
next →
201–300 of 585, ranked by callers