JobStatus (scheduled_research/models.py)

Vibe-Trading · agent/src/scheduled_research/models.py · python · MIT
automation, tag:knn-classified

Data models and enums for scheduled research job lifecycle and delivery status.

# Source: https://github.com/HKUDS/Vibe-Trading | License: MIT | Copyright 2026 Vibe-Trading Contributors
# Provided via justclaw.it.com; keep this notice with the code.
"""Data model for scheduled research jobs.

A ``ScheduledResearchJob`` records everything needed to describe a deferred
research or backtest run: the prompt/query, when to run it, and an opaque
``config`` dict for future backtest parameters. Execution wiring is deferred
to a follow-up PR once the product shape is confirmed.
"""

from __future__ import annotations

import logging
import time
from dataclasses import dataclass, field
from enum import Enum
from typing import Any, Dict, Optional

from .verdict import VerdictRecord

# --- Schedule grammar, moved to src.scheduling.triggers (scheduler unification) ---
# Re-exporte

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key