Phase I - Session Blackboard + READ Layer: - SessionBlackboardService with Postgres-Only cache - DataProfileService for data overview generation - PicoInferenceService for LLM-driven PICO extraction - Frontend DataContextCard and VariableDictionaryPanel - E2E tests: 31/31 passed Phase II - Conversation Layer LLM + Intent Router: - ConversationService with SSE streaming - IntentRouterService (rule-first + LLM fallback, 6 intents) - SystemPromptService with 6-segment dynamic assembly - TokenTruncationService for context management - ChatHandlerService as unified chat entry - Frontend SSAChatPane and useSSAChat hook - E2E tests: 38/38 passed Phase III - Method Consultation + AskUser Standardization: - ToolRegistryService with Repository Pattern - MethodConsultService with DecisionTable + LLM enhancement - AskUserService with global interrupt handling - Frontend AskUserCard component - E2E tests: 13/13 passed Phase IV - Dialogue-Driven Analysis + QPER Integration: - ToolOrchestratorService (plan/execute/report) - analysis_plan SSE event for WorkflowPlan transmission - Dual-channel confirmation (ask_user card + workspace button) - PICO as optional hint for LLM parsing - E2E tests: 25/25 passed R Statistics Service: - 5 new R tools: anova_one, baseline_table, fisher, linear_reg, wilcoxon - Enhanced guardrails and block helpers - Comprehensive test suite (run_all_tools_test.js) Documentation: - Updated system status document (v5.9) - Updated SSA module status and development plan (v1.8) Total E2E: 107/107 passed (Phase I: 31, Phase II: 38, Phase III: 13, Phase IV: 25) Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
894 B
JSON
25 lines
894 B
JSON
{
|
|
"data_source": {
|
|
"type": "inline",
|
|
"data": {
|
|
"sbp": [120, 130, 125, 140, 135, 128, 145, 138, 122, 127,
|
|
133, 141, 136, 129, 132, 126, 148, 139, 124, 131,
|
|
137, 143, 134, 128, 150, 142, 123, 130, 136, 144],
|
|
"age": [25, 35, 30, 45, 40, 32, 50, 42, 28, 33,
|
|
38, 48, 43, 34, 36, 29, 55, 44, 27, 37,
|
|
41, 47, 39, 31, 58, 46, 26, 36, 40, 49],
|
|
"bmi": [22.1, 25.3, 23.5, 28.7, 26.4, 24.0, 30.2, 27.8, 21.5, 23.8,
|
|
25.6, 29.1, 27.2, 24.5, 25.1, 22.8, 31.5, 28.3, 21.9, 24.9,
|
|
26.8, 29.5, 26.0, 23.2, 32.1, 28.9, 21.3, 25.0, 26.5, 30.0],
|
|
"smoke": [0, 1, 0, 1, 1, 0, 1, 1, 0, 0,
|
|
1, 1, 1, 0, 0, 0, 1, 1, 0, 0,
|
|
1, 1, 0, 0, 1, 1, 0, 0, 1, 1]
|
|
}
|
|
},
|
|
"params": {
|
|
"outcome_var": "sbp",
|
|
"predictors": ["age", "bmi"],
|
|
"confounders": ["smoke"]
|
|
}
|
|
}
|