eduevidence 5.2.0 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +105 -0
- package/README.md +142 -75
- package/README.zh-CN.md +73 -30
- package/SKILL.md +397 -131
- package/agents/openai.yaml +4 -0
- package/assets/readme/controlled-execution.svg +34 -0
- package/assets/readme/landing-tour.gif +0 -0
- package/assets/readme/logo.png +0 -0
- package/assets/readme/research-workflow.svg +56 -0
- package/assets/readme/studio-graph.png +0 -0
- package/assets/readme/studio-overview.png +0 -0
- package/assets/readme/studio-reports.png +0 -0
- package/assets/readme/studio-tour.gif +0 -0
- package/autoevolve/config.yaml +17 -0
- package/autoevolve/program.md +25 -0
- package/autoevolve/protected.manifest.yaml +34 -0
- package/benchmarks/adversarial/cases.jsonl +7 -0
- package/benchmarks/evidence-library.json +5268 -0
- package/benchmarks/partitions.json +8 -0
- package/bin/eduevidence.js +2 -1
- package/docs/architecture.md +496 -0
- package/docs/autoresearch-evolution-plan.md +2903 -0
- package/docs/autoresearch-implementation-status.md +101 -0
- package/docs/demo-storyboard.md +20 -0
- package/docs/demo-workplace-ai.md +92 -0
- package/docs/demo.md +32 -0
- package/docs/install-guide.md +150 -0
- package/docs/orchestration-role-model.md +1254 -0
- package/docs/release-closeout/README.md +17 -0
- package/docs/release-closeout/frontend-acceptance.md +23 -0
- package/docs/release-closeout/issues.md +19 -0
- package/docs/release-closeout/verification.md +28 -0
- package/docs/release-contract.md +108 -0
- package/docs/research-studio-guide.zh-CN.md +166 -0
- package/docs/sciverse-api.md +125 -0
- package/eduevidence_cli.py +29 -13
- package/engine/_resources.py +13 -0
- package/engine/autoevolve/__init__.py +3 -0
- package/engine/autoevolve/agent_view.py +167 -0
- package/engine/autoevolve/core.py +357 -0
- package/engine/autoevolve/events.py +11 -0
- package/engine/autoevolve/git_workspace.py +77 -0
- package/engine/autoevolve/projection.py +23 -0
- package/engine/autoevolve/runner.py +413 -0
- package/engine/autoevolve/trust.py +146 -0
- package/engine/autoresearch/__init__.py +6 -0
- package/engine/autoresearch/commit.py +132 -0
- package/engine/autoresearch/contracts.py +126 -0
- package/engine/autoresearch/controller.py +207 -0
- package/engine/autoresearch/events.py +12 -0
- package/engine/autoresearch/gap_priority.py +168 -0
- package/engine/autoresearch/projection.py +30 -0
- package/engine/autoresearch/research_memory.py +59 -0
- package/engine/autoresearch/saturation.py +91 -0
- package/engine/briefs.py +2 -1
- package/engine/capabilities.py +1 -0
- package/engine/contracts.py +3 -1
- package/engine/decision_policy.py +96 -0
- package/engine/evidence_graph.py +14 -10
- package/engine/evidencecore.py +7 -5
- package/engine/gaps.py +132 -73
- package/engine/ids.py +2 -0
- package/engine/judge_pack.py +65 -0
- package/engine/library.py +6 -2
- package/engine/library_builtin.py +3 -1
- package/engine/living.py +36 -5
- package/engine/meta_synthesis.py +3 -1
- package/engine/migration.py +88 -3
- package/engine/orchestration.py +460 -0
- package/engine/paths.py +2 -0
- package/engine/pilot.py +36 -33
- package/engine/project.py +2 -2
- package/engine/research_service.py +113 -0
- package/engine/studio_read_model.py +400 -0
- package/engine/taxonomy.py +211 -0
- package/engine/tribunal.py +44 -33
- package/engine/update.py +1 -0
- package/engine/versions.py +1 -1
- package/engine/worker_result.py +109 -0
- package/engine/workflows.py +70 -0
- package/examples/ai-coding-assistant-evidence/EduEvidence_Report.html +2934 -0
- package/examples/ai-coding-assistant-evidence/artifact_manifest.json +15 -0
- package/examples/ai-coding-assistant-evidence/citation_check.json +79 -0
- package/examples/ai-coding-assistant-evidence/claims.jsonl +12 -0
- package/examples/ai-coding-assistant-evidence/evaluation.json +35 -0
- package/examples/ai-coding-assistant-evidence/evidence.jsonl +12 -0
- package/examples/ai-coding-assistant-evidence/final_verdict.json +107 -0
- package/examples/ai-coding-assistant-evidence/frame.json +48 -0
- package/examples/ai-coding-assistant-evidence/gate_report.json +101 -0
- package/examples/ai-coding-assistant-evidence/intervention.json +51 -0
- package/examples/ai-coding-assistant-evidence/methodology.json +36 -0
- package/examples/ai-coding-assistant-evidence/raw_verdict.json +86 -0
- package/examples/ai-coding-assistant-evidence/report_spec.json +230 -0
- package/examples/ai-coding-assistant-evidence/reports-5themes/EduEvidence_Report_academic.html +2934 -0
- package/examples/ai-coding-assistant-evidence/reports-5themes/EduEvidence_Report_claude.html +2934 -0
- package/examples/ai-coding-assistant-evidence/reports-5themes/EduEvidence_Report_datalab-dark.html +2934 -0
- package/examples/ai-coding-assistant-evidence/reports-5themes/EduEvidence_Report_datalab.html +2934 -0
- package/examples/ai-coding-assistant-evidence/reports-5themes/EduEvidence_Report_presentation.html +2934 -0
- package/examples/ai-coding-assistant-evidence/reports-5themes/report_academic.html +2934 -0
- package/examples/ai-coding-assistant-evidence/reports-5themes/report_claude.html +2934 -0
- package/examples/ai-coding-assistant-evidence/reports-5themes/report_datalab-dark.html +2934 -0
- package/examples/ai-coding-assistant-evidence/reports-5themes/report_datalab.html +2934 -0
- package/examples/ai-coding-assistant-evidence/reports-5themes/report_presentation.html +2934 -0
- package/examples/ai-coding-assistant-evidence/result.json +1457 -0
- package/examples/ai-coding-assistant-evidence/result.zh.json +1457 -0
- package/examples/ai-coding-assistant-evidence/skeptic.json +72 -0
- package/examples/ai-coding-assistant-evidence/sources.jsonl +8 -0
- package/examples/ai-coding-assistant-evidence/verdict.json +107 -0
- package/examples/spaced-retrieval-practice/applicability.json +14 -0
- package/examples/spaced-retrieval-practice/artifact_manifest.json +15 -0
- package/examples/spaced-retrieval-practice/claims.jsonl +3 -0
- package/examples/spaced-retrieval-practice/evidence.jsonl +6 -0
- package/examples/spaced-retrieval-practice/final_verdict.json +93 -0
- package/examples/spaced-retrieval-practice/frame.json +58 -0
- package/examples/spaced-retrieval-practice/gate_report.json +101 -0
- package/examples/spaced-retrieval-practice/methodology.json +78 -0
- package/examples/spaced-retrieval-practice/report_spec.json +212 -0
- package/examples/spaced-retrieval-practice/reports-5themes/EduEvidence_Report_academic.html +2728 -0
- package/examples/spaced-retrieval-practice/reports-5themes/EduEvidence_Report_claude.html +2728 -0
- package/examples/spaced-retrieval-practice/reports-5themes/EduEvidence_Report_datalab-dark.html +2728 -0
- package/examples/spaced-retrieval-practice/reports-5themes/EduEvidence_Report_datalab.html +2728 -0
- package/examples/spaced-retrieval-practice/reports-5themes/EduEvidence_Report_presentation.html +2728 -0
- package/examples/spaced-retrieval-practice/reports-5themes/report_academic.html +2728 -0
- package/examples/spaced-retrieval-practice/reports-5themes/report_claude.html +2728 -0
- package/examples/spaced-retrieval-practice/reports-5themes/report_datalab-dark.html +2728 -0
- package/examples/spaced-retrieval-practice/reports-5themes/report_datalab.html +2728 -0
- package/examples/spaced-retrieval-practice/reports-5themes/report_presentation.html +2728 -0
- package/examples/spaced-retrieval-practice/result.json +942 -0
- package/examples/spaced-retrieval-practice/result.zh.json +942 -0
- package/examples/spaced-retrieval-practice/skeptic.json +70 -0
- package/examples/spaced-retrieval-practice/sources.jsonl +7 -0
- package/examples/spaced-retrieval-practice/verdict.json +93 -0
- package/examples/workplace-ai-assistant/artifact_manifest.json +15 -0
- package/examples/workplace-ai-assistant/claims.jsonl +4 -0
- package/examples/workplace-ai-assistant/evaluation.json +19 -0
- package/examples/workplace-ai-assistant/evidence.jsonl +4 -0
- package/examples/workplace-ai-assistant/evidence_graph.json +444 -0
- package/examples/workplace-ai-assistant/final_verdict.json +78 -0
- package/examples/workplace-ai-assistant/frame.json +41 -0
- package/examples/workplace-ai-assistant/gate_report.json +101 -0
- package/examples/workplace-ai-assistant/intervention.json +27 -0
- package/examples/workplace-ai-assistant/legacy-link-check.json +16 -0
- package/examples/workplace-ai-assistant/methodology.json +60 -0
- package/examples/workplace-ai-assistant/report_spec.json +224 -0
- package/examples/workplace-ai-assistant/reports-5themes/EduEvidence_Report_academic.html +2814 -0
- package/examples/workplace-ai-assistant/reports-5themes/EduEvidence_Report_claude.html +2814 -0
- package/examples/workplace-ai-assistant/reports-5themes/EduEvidence_Report_datalab-dark.html +2814 -0
- package/examples/workplace-ai-assistant/reports-5themes/EduEvidence_Report_datalab.html +2814 -0
- package/examples/workplace-ai-assistant/reports-5themes/EduEvidence_Report_presentation.html +2814 -0
- package/examples/workplace-ai-assistant/reports-5themes/report_academic.html +2814 -0
- package/examples/workplace-ai-assistant/reports-5themes/report_claude.html +2814 -0
- package/examples/workplace-ai-assistant/reports-5themes/report_datalab-dark.html +2814 -0
- package/examples/workplace-ai-assistant/reports-5themes/report_datalab.html +2814 -0
- package/examples/workplace-ai-assistant/reports-5themes/report_presentation.html +2814 -0
- package/examples/workplace-ai-assistant/result.json +615 -0
- package/examples/workplace-ai-assistant/result.zh.json +615 -0
- package/examples/workplace-ai-assistant/search_log.json +19 -0
- package/examples/workplace-ai-assistant/skeptic.json +72 -0
- package/examples/workplace-ai-assistant/sources.jsonl +3 -0
- package/examples/workplace-ai-assistant/validation_result.json +9 -0
- package/examples/workplace-ai-assistant/verdict.json +78 -0
- package/install.sh +7 -7
- package/integrations/agent_mcp.py +2 -2
- package/integrations/orchestration_dispatch.py +146 -0
- package/package.json +46 -3
- package/pyproject.toml +14 -22
- package/references/autoresearch.md +30 -0
- package/references/evaluation-policy.md +24 -0
- package/references/orchestration.md +22 -0
- package/references/report-copy-style.md +67 -0
- package/references/retrieval-compliance.md +75 -0
- package/references/retrieval-protocol.md +20 -0
- package/references/scientific-invariants.md +19 -0
- package/retrieval/audit.py +178 -0
- package/retrieval/fetch.py +96 -0
- package/retrieval/sciverse.py +398 -0
- package/retrieval/search.py +47 -7
- package/schemas/applicability.schema.json +94 -0
- package/schemas/chart-spec.schema.json +10 -3
- package/schemas/evidence.schema.json +316 -43
- package/schemas/fetch-result.schema.json +2 -1
- package/schemas/intervention.schema.json +106 -21
- package/schemas/report-result.schema.json +12 -4
- package/schemas/report-spec.schema.json +98 -100
- package/schemas/skeptic.schema.json +86 -0
- package/schemas/source.schema.json +21 -2
- package/schemas/v2/finding.schema.json +5 -1
- package/schemas/v2/methodology-audit.schema.json +5 -1
- package/schemas/v2/outcome.schema.json +28 -5
- package/schemas/v2/project.schema.json +2 -2
- package/schemas/v2/run.schema.json +1 -1
- package/schemas/v2/study.schema.json +5 -1
- package/schemas/vNext/autoevolve-session.schema.json +34 -0
- package/schemas/vNext/eval-snapshot.schema.json +77 -0
- package/schemas/vNext/execution-plan.schema.json +50 -0
- package/schemas/vNext/gap-priority.schema.json +54 -0
- package/schemas/vNext/negative-search-record.schema.json +68 -0
- package/schemas/vNext/research-iteration.schema.json +87 -0
- package/schemas/vNext/research-strategy.schema.json +62 -0
- package/schemas/vNext/skill-experiment.schema.json +90 -0
- package/schemas/vNext/task-spec.schema.json +156 -0
- package/schemas/vNext/worker-result.schema.json +60 -0
- package/schemas/verdict.schema.json +164 -28
- package/scripts/benchmark_judge.py +2 -2
- package/scripts/benchmark_v3.py +26 -43
- package/scripts/build_esl_artifacts.py +4 -4
- package/scripts/build_evidence_library.py +2 -2
- package/scripts/build_gh_pages.py +98 -0
- package/scripts/build_readme_diagrams.py +72 -0
- package/scripts/build_report_variants.py +101 -0
- package/scripts/build_result.py +74 -9
- package/scripts/check_autoresearch_invariants.py +95 -0
- package/scripts/check_package_parity.py +85 -0
- package/scripts/check_protocol_alignment.py +375 -0
- package/scripts/check_versioned_schemas.py +254 -0
- package/scripts/claim_audit.py +13 -8
- package/scripts/compute_confidence.py +10 -0
- package/scripts/daily_evolve.py +30 -0
- package/scripts/dashboard_server.py +130 -101
- package/scripts/did_regression.py +17 -32
- package/scripts/enrich_projects_human_and_lieflat.py +1 -1
- package/scripts/evidence_score.py +5 -2
- package/scripts/generate_metrics.py +4 -3
- package/scripts/generate_new_projects.py +5 -5
- package/scripts/orchestrator.py +286 -36
- package/scripts/pre_verdict_gate.py +224 -26
- package/scripts/quickstart.py +18 -2
- package/scripts/rebake_all_5themes.py +1 -2
- package/scripts/research_auto_cli.py +475 -0
- package/scripts/run_workspace.py +24 -8
- package/scripts/search_provenance.py +64 -0
- package/scripts/serve_web.py +9 -10
- package/scripts/skill_lint.py +1 -1
- package/scripts/skill_payload.py +81 -0
- package/scripts/test_adversarial_empirical.py +26 -19
- package/scripts/validate_schema.py +46 -2
- package/scripts/vnext_cli.py +133 -0
- package/setup.py +12 -0
- package/skill/agents/evaluation-designer.md +20 -4
- package/skill/agents/evidence-analyst.md +19 -3
- package/skill/agents/evidence-judge.md +50 -2
- package/skill/agents/evidence-retriever.md +20 -3
- package/skill/agents/intervention-designer.md +20 -4
- package/skill/agents/method-reviewer.md +18 -2
- package/skill/agents/{education-planner.md → research-planner.md} +19 -3
- package/skill/agents/skeptic.md +18 -2
- package/skill/roles/registry.yaml +45 -0
- package/skill/sub-skills/aihot-trend-analysis/SKILL.md +28 -9
- package/skill/sub-skills/contradiction-analysis/SKILL.md +31 -11
- package/skill/sub-skills/data-analysis/SKILL.md +34 -15
- package/skill/sub-skills/ethics-review/SKILL.md +33 -10
- package/skill/sub-skills/evidence-extraction/SKILL.md +29 -11
- package/skill/sub-skills/evidence-review/SKILL.md +31 -12
- package/skill/sub-skills/gap-analysis/SKILL.md +31 -9
- package/skill/sub-skills/literature-review/SKILL.md +35 -14
- package/skill/sub-skills/methodology-audit/SKILL.md +29 -12
- package/skill/sub-skills/report-generation/SKILL.md +40 -6
- package/skill/sub-skills/research-planning/SKILL.md +41 -14
- package/skill/sub-skills/study-design/SKILL.md +30 -9
- package/skill/task-briefs/adjudicate.md +32 -7
- package/skill/task-briefs/applicability.md +38 -0
- package/skill/task-briefs/audit.md +32 -7
- package/skill/task-briefs/challenge.md +34 -5
- package/skill/task-briefs/evaluate.md +30 -5
- package/skill/task-briefs/extract.md +31 -8
- package/skill/task-briefs/frame.md +39 -10
- package/skill/task-briefs/intervene.md +32 -6
- package/skill/task-briefs/present.md +32 -8
- package/skill/task-briefs/projection.md +37 -0
- package/skill/task-briefs/retrieve.md +36 -6
- package/skill/workflows/decision-and-pilot.md +85 -0
- package/skill/workflows/evaluate-and-update.md +93 -0
- package/skill/workflows/evidence-review.md +117 -0
- package/visualization/eduevidence-report/assets/base.css +2 -2
- package/visualization/eduevidence-report/assets/reader.css +752 -0
- package/visualization/eduevidence-report/assets/reader.js +132 -0
- package/visualization/eduevidence-report/references/chart-selection-catalog.md +109 -0
- package/visualization/eduevidence-report/references/lieflat-composition.md +3 -1
- package/visualization/eduevidence-report/scripts/build_figures.py +25 -3
- package/visualization/eduevidence-report/scripts/build_infographics.py +5 -1
- package/visualization/eduevidence-report/scripts/build_report.py +561 -121
- package/visualization/eduevidence-report/scripts/charts_data.py +2 -0
- package/visualization/eduevidence-report/scripts/lieflat_engine.py +371 -136
- package/visualization/eduevidence-report/scripts/zh_labels.py +80 -1
- package/visualization/eduevidence-report/themes/academic.css +1 -1
- package/visualization/eduevidence-report/themes/claude.css +1 -1
- package/visualization/eduevidence-report/themes/datalab-dark.css +2 -2
- package/visualization/eduevidence-report/themes/datalab.css +2 -2
- package/visualization/eduevidence-report/themes/presentation.css +2 -2
- package/web/README.md +18 -0
- package/web/architecture.html +14885 -0
- package/web/index.html +53 -0
- package/web/studio/THIRD_PARTY_LICENSES.txt +146 -0
- package/web/studio/assets/index-B8tkF44Q.css +1 -0
- package/web/studio/assets/index-CQ6Keoyc.js +230 -0
- package/web/studio/config.json +1 -0
- package/web/studio/index.html +14 -0
- package/engine/__pycache__/__init__.cpython-312.pyc +0 -0
- package/engine/__pycache__/analysis.cpython-312.pyc +0 -0
- package/engine/__pycache__/bias.cpython-312.pyc +0 -0
- package/engine/__pycache__/briefs.cpython-312.pyc +0 -0
- package/engine/__pycache__/capabilities.cpython-312.pyc +0 -0
- package/engine/__pycache__/citation_check.cpython-312.pyc +0 -0
- package/engine/__pycache__/contracts.cpython-312.pyc +0 -0
- package/engine/__pycache__/datasets.cpython-312.pyc +0 -0
- package/engine/__pycache__/events.cpython-312.pyc +0 -0
- package/engine/__pycache__/evidence_graph.cpython-312.pyc +0 -0
- package/engine/__pycache__/evidence_review.cpython-312.pyc +0 -0
- package/engine/__pycache__/evidencecore.cpython-312.pyc +0 -0
- package/engine/__pycache__/gap_lens.cpython-312.pyc +0 -0
- package/engine/__pycache__/gaps.cpython-312.pyc +0 -0
- package/engine/__pycache__/graph_store.cpython-312.pyc +0 -0
- package/engine/__pycache__/graph_validate.cpython-312.pyc +0 -0
- package/engine/__pycache__/ids.cpython-312.pyc +0 -0
- package/engine/__pycache__/library.cpython-312.pyc +0 -0
- package/engine/__pycache__/library_builtin.cpython-312.pyc +0 -0
- package/engine/__pycache__/living.cpython-312.pyc +0 -0
- package/engine/__pycache__/log.cpython-312.pyc +0 -0
- package/engine/__pycache__/meta_analysis.cpython-312.pyc +0 -0
- package/engine/__pycache__/meta_synthesis.cpython-312.pyc +0 -0
- package/engine/__pycache__/migration.cpython-312.pyc +0 -0
- package/engine/__pycache__/mode_router.cpython-312.pyc +0 -0
- package/engine/__pycache__/paths.cpython-312.pyc +0 -0
- package/engine/__pycache__/pilot.cpython-312.pyc +0 -0
- package/engine/__pycache__/planner.cpython-312.pyc +0 -0
- package/engine/__pycache__/project.cpython-312.pyc +0 -0
- package/engine/__pycache__/projections.cpython-312.pyc +0 -0
- package/engine/__pycache__/robustness.cpython-312.pyc +0 -0
- package/engine/__pycache__/run.cpython-312.pyc +0 -0
- package/engine/__pycache__/semantics.cpython-312.pyc +0 -0
- package/engine/__pycache__/study_design.cpython-312.pyc +0 -0
- package/engine/__pycache__/synthesis.cpython-312.pyc +0 -0
- package/engine/__pycache__/tribunal.cpython-312.pyc +0 -0
- package/engine/__pycache__/update.cpython-312.pyc +0 -0
- package/engine/__pycache__/versions.cpython-312.pyc +0 -0
- package/integrations/__pycache__/__init__.cpython-312.pyc +0 -0
- package/integrations/__pycache__/agent_mcp.cpython-312.pyc +0 -0
- package/integrations/__pycache__/smart_web_fetch.cpython-312.pyc +0 -0
- package/retrieval/__pycache__/__init__.cpython-312.pyc +0 -0
- package/retrieval/__pycache__/corpus_store.cpython-312.pyc +0 -0
- package/retrieval/__pycache__/dedupe.cpython-312.pyc +0 -0
- package/retrieval/__pycache__/failures.cpython-312.pyc +0 -0
- package/retrieval/__pycache__/fetch.cpython-312.pyc +0 -0
- package/retrieval/__pycache__/search.cpython-312.pyc +0 -0
- package/retrieval/__pycache__/source.cpython-312.pyc +0 -0
- package/retrieval/__pycache__/validate.cpython-312.pyc +0 -0
- package/scripts/__pycache__/__init__.cpython-312.pyc +0 -0
- package/scripts/__pycache__/benchmark.cpython-312.pyc +0 -0
- package/scripts/__pycache__/benchmark_evaluator.cpython-312.pyc +0 -0
- package/scripts/__pycache__/benchmark_judge.cpython-312.pyc +0 -0
- package/scripts/__pycache__/benchmark_routing.cpython-312.pyc +0 -0
- package/scripts/__pycache__/benchmark_v2.cpython-312.pyc +0 -0
- package/scripts/__pycache__/benchmark_v3.cpython-312.pyc +0 -0
- package/scripts/__pycache__/build_result.cpython-312.pyc +0 -0
- package/scripts/__pycache__/claim_audit.cpython-312.pyc +0 -0
- package/scripts/__pycache__/complexity_gate.cpython-312.pyc +0 -0
- package/scripts/__pycache__/compute_confidence.cpython-312.pyc +0 -0
- package/scripts/__pycache__/dashboard_server.cpython-312.pyc +0 -0
- package/scripts/__pycache__/did_regression.cpython-312.pyc +0 -0
- package/scripts/__pycache__/effect_calculator.cpython-312.pyc +0 -0
- package/scripts/__pycache__/evidence_matrix.cpython-312.pyc +0 -0
- package/scripts/__pycache__/evidence_score.cpython-312.pyc +0 -0
- package/scripts/__pycache__/evidence_semantics.cpython-312.pyc +0 -0
- package/scripts/__pycache__/fetch_benchmark.cpython-312.pyc +0 -0
- package/scripts/__pycache__/lint_report_layout.cpython-312.pyc +0 -0
- package/scripts/__pycache__/orchestrator.cpython-312.pyc +0 -0
- package/scripts/__pycache__/pre_verdict_gate.cpython-312.pyc +0 -0
- package/scripts/__pycache__/recompute_demo_quality.cpython-312.pyc +0 -0
- package/scripts/__pycache__/render_report.cpython-312.pyc +0 -0
- package/scripts/__pycache__/render_report_html.cpython-312.pyc +0 -0
- package/scripts/__pycache__/run_workspace.cpython-312.pyc +0 -0
- package/scripts/__pycache__/skill_lint.cpython-312.pyc +0 -0
- package/scripts/__pycache__/startup_probe.cpython-312.pyc +0 -0
- package/scripts/__pycache__/sync_killer_demo_report.cpython-312.pyc +0 -0
- package/scripts/__pycache__/test_adversarial_empirical.cpython-312-pytest-9.0.2.pyc +0 -0
- package/scripts/__pycache__/test_adversarial_empirical.cpython-312-pytest-9.1.1.pyc +0 -0
- package/scripts/__pycache__/validate_schema.cpython-312.pyc +0 -0
- package/visualization/eduevidence-report/scripts/__pycache__/adapter_contract.cpython-312.pyc +0 -0
- package/visualization/eduevidence-report/scripts/__pycache__/build_artifact_manifest.cpython-312.pyc +0 -0
- package/visualization/eduevidence-report/scripts/__pycache__/build_charts.cpython-312.pyc +0 -0
- package/visualization/eduevidence-report/scripts/__pycache__/build_figures.cpython-312.pyc +0 -0
- package/visualization/eduevidence-report/scripts/__pycache__/build_infographics.cpython-312.pyc +0 -0
- package/visualization/eduevidence-report/scripts/__pycache__/build_report.cpython-312.pyc +0 -0
- package/visualization/eduevidence-report/scripts/__pycache__/charts_data.cpython-312.pyc +0 -0
- package/visualization/eduevidence-report/scripts/__pycache__/lieflat_engine.cpython-312.pyc +0 -0
- package/visualization/eduevidence-report/scripts/__pycache__/zh_labels.cpython-312.pyc +0 -0
|
@@ -207,9 +207,16 @@ def label(lang: str, kind: str, value: str) -> str:
|
|
|
207
207
|
return value
|
|
208
208
|
if value in table:
|
|
209
209
|
return table[value]
|
|
210
|
-
lowered = value.lower()
|
|
210
|
+
lowered = str(value).lower()
|
|
211
211
|
if lowered in table:
|
|
212
212
|
return table[lowered]
|
|
213
|
+
# Unregistered enum: still render as prose rather than leaking the storage
|
|
214
|
+
# form ("no_ai_coding_assistant_control") into the report or a chart label.
|
|
215
|
+
if isinstance(value, str) and "_" in value:
|
|
216
|
+
generic = GENERIC_ENUM_ZH if lang == "zh" else GENERIC_ENUM_EN
|
|
217
|
+
if lowered in generic:
|
|
218
|
+
return generic[lowered]
|
|
219
|
+
return humanize_identifier(value, lang)
|
|
213
220
|
return value
|
|
214
221
|
|
|
215
222
|
|
|
@@ -243,3 +250,75 @@ def zh_mode(value: str) -> str:
|
|
|
243
250
|
|
|
244
251
|
def zh_action(value: str) -> str:
|
|
245
252
|
return ACTION_ZH.get(value, value)
|
|
253
|
+
|
|
254
|
+
# ---------------------------------------------------------------------------
|
|
255
|
+
# Generic display hygiene
|
|
256
|
+
# ---------------------------------------------------------------------------
|
|
257
|
+
#: Labels shared by every renderer, so an unregistered enum never reaches the
|
|
258
|
+
#: reader as a storage identifier ("first_programming_course") — it is shown as
|
|
259
|
+
#: prose ("First programming course"). Curated entries win over this table.
|
|
260
|
+
GENERIC_ENUM_ZH = {
|
|
261
|
+
"unknown": "未知",
|
|
262
|
+
"unknown_not_reported": "未报告",
|
|
263
|
+
"not_reported": "未报告",
|
|
264
|
+
"not_applicable": "不适用",
|
|
265
|
+
"other": "其他",
|
|
266
|
+
"general": "总体",
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
GENERIC_ENUM_EN = {
|
|
270
|
+
"unknown": "Unknown",
|
|
271
|
+
"unknown_not_reported": "Not reported",
|
|
272
|
+
"not_reported": "Not reported",
|
|
273
|
+
"not_applicable": "Not applicable",
|
|
274
|
+
"other": "Other",
|
|
275
|
+
"general": "General",
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
#: Lower-case tokens that must be rendered as acronyms rather than title case.
|
|
280
|
+
_ACRONYMS = {
|
|
281
|
+
"ai": "AI", "rct": "RCT", "did": "DID", "llm": "LLM", "llms": "LLMs",
|
|
282
|
+
"cs1": "CS1", "cs2": "CS2", "nlp": "NLP", "irb": "IRB", "k12": "K-12",
|
|
283
|
+
"gdpr": "GDPR", "ferpa": "FERPA", "wwc": "WWC", "grade": "GRADE",
|
|
284
|
+
"prisma": "PRISMA", "ta": "TA", "url": "URL", "api": "API", "html": "HTML",
|
|
285
|
+
"css": "CSS", "js": "JS", "sql": "SQL", "pdf": "PDF", "id": "ID",
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
def humanize_identifier(value: str, lang: str = "en") -> str:
|
|
290
|
+
"""Render an unregistered enum value as readable prose.
|
|
291
|
+
|
|
292
|
+
A curated label (see OUTCOME_ZH / STUDY_ZH / GENERIC_ENUM_*) always wins.
|
|
293
|
+
Everything else is de-underscored and capitalised so a report never shows
|
|
294
|
+
its storage format; zh keeps the original token when it is already CJK.
|
|
295
|
+
"""
|
|
296
|
+
if value is None:
|
|
297
|
+
return ""
|
|
298
|
+
text = str(value).strip()
|
|
299
|
+
if not text:
|
|
300
|
+
return ""
|
|
301
|
+
curated = GENERIC_ENUM_ZH if lang == "zh" else GENERIC_ENUM_EN
|
|
302
|
+
if text in curated:
|
|
303
|
+
return curated[text]
|
|
304
|
+
lowered = text.lower()
|
|
305
|
+
if lowered in curated:
|
|
306
|
+
return curated[lowered]
|
|
307
|
+
if any("一" <= ch <= "鿿" for ch in text):
|
|
308
|
+
return text # already prose in Chinese
|
|
309
|
+
words = [w for w in text.replace("-", " ").replace("_", " ").split() if w]
|
|
310
|
+
if not words:
|
|
311
|
+
return text
|
|
312
|
+
out = []
|
|
313
|
+
for word in words:
|
|
314
|
+
lowered_word = word.lower()
|
|
315
|
+
if lowered_word in _ACRONYMS:
|
|
316
|
+
out.append(_ACRONYMS[lowered_word])
|
|
317
|
+
elif word.isupper() and len(word) <= 6:
|
|
318
|
+
out.append(word)
|
|
319
|
+
elif word[:1].isdigit():
|
|
320
|
+
out.append(word)
|
|
321
|
+
else:
|
|
322
|
+
out.append(word[:1].upper() + word[1:])
|
|
323
|
+
return " ".join(out)
|
|
324
|
+
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
:root[data-theme="academic"] body { font-size:15px; line-height:1.58; }
|
|
14
14
|
:root[data-theme="academic"] .report-shell { max-width:980px; padding-top:22px; }
|
|
15
15
|
:root[data-theme="academic"] .report-header { border-bottom:2px solid #222; margin-bottom:34px; }
|
|
16
|
-
:root[data-theme="academic"] .report-header h1 { font-size:
|
|
16
|
+
:root[data-theme="academic"] .report-header h1 { font-size:clamp(1.5rem,2.2vw,1.7rem); line-height:1.18; text-align:center; }
|
|
17
17
|
:root[data-theme="academic"] .report-header .meta { text-align:center; }
|
|
18
18
|
:root[data-theme="academic"] .report-section { background:transparent; border:0; box-shadow:none; padding:0; margin-bottom:34px; }
|
|
19
19
|
:root[data-theme="academic"] .report-section>h2 { font-size:1.08rem; border-bottom:1px solid #444; border-radius:0; padding:0 0 5px; }
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
}
|
|
13
13
|
:root[data-theme="claude"] .report-shell { max-width:1240px; padding-top:34px; }
|
|
14
14
|
:root[data-theme="claude"] .report-header { max-width:900px; margin:0 auto 42px; padding-bottom:22px; }
|
|
15
|
-
:root[data-theme="claude"] .report-header h1 { font-size:clamp(1.
|
|
15
|
+
:root[data-theme="claude"] .report-header h1 { font-size:clamp(1.55rem,2.8vw,2.25rem); line-height:1.18; font-weight:500; }
|
|
16
16
|
:root[data-theme="claude"] .report-section { background:transparent; border:0; box-shadow:none; padding:0; }
|
|
17
17
|
:root[data-theme="claude"] .report-section>h2 { border:0; font-size:1.4rem; padding:0; margin-bottom:7px; }
|
|
18
18
|
:root[data-theme="claude"] .section-lead { background:transparent; border:0; padding:0; max-width:760px; margin-bottom:24px; }
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
width:100%; max-width:none; margin:0 0 22px; padding:18px 20px;
|
|
23
23
|
border:1px solid var(--border); border-radius:12px; background:var(--surface); box-shadow:var(--shadow);
|
|
24
24
|
}
|
|
25
|
-
:root[data-theme="datalab-dark"] .report-header h1 { max-width:1100px; font-size:clamp(1.
|
|
25
|
+
:root[data-theme="datalab-dark"] .report-header h1 { max-width:1100px; font-size:clamp(1.4rem,2vw,1.75rem); line-height:1.22; }
|
|
26
26
|
:root[data-theme="datalab-dark"] .report-header .meta { margin:8px 0 0; font-size:.85rem; color:var(--text-muted); }
|
|
27
27
|
:root[data-theme="datalab-dark"] .report-brand-row { margin-bottom:8px; }
|
|
28
28
|
:root[data-theme="datalab-dark"] .report-brand { color:var(--primary); text-transform:uppercase; letter-spacing:.08em; font-size:.83rem; }
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
:root[data-theme="datalab-dark"] .controls { width:calc(100% - 24px); padding:8px 10px; }
|
|
135
135
|
:root[data-theme="datalab-dark"] .report-shell { padding-left:14px; padding-right:14px; }
|
|
136
136
|
:root[data-theme="datalab-dark"] .report-header { padding:15px 14px; }
|
|
137
|
-
:root[data-theme="datalab-dark"] .report-header h1 { font-size:1.
|
|
137
|
+
:root[data-theme="datalab-dark"] .report-header h1 { font-size:1.3rem; }
|
|
138
138
|
:root[data-theme="datalab-dark"] .brief-block { padding:15px 14px; }
|
|
139
139
|
:root[data-theme="datalab-dark"] .brief-decision { padding:0; }
|
|
140
140
|
:root[data-theme="datalab-dark"] .brief-decision .brief-block-header { padding:15px 14px 0; }
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
width:100%; max-width:none; margin:0 0 22px; padding:18px 20px;
|
|
24
24
|
border:1px solid var(--border); border-radius:12px; background:var(--surface); box-shadow:var(--shadow);
|
|
25
25
|
}
|
|
26
|
-
:root[data-theme="datalab"] .report-header h1 { max-width:1100px; font-size:clamp(1.
|
|
26
|
+
:root[data-theme="datalab"] .report-header h1 { max-width:1100px; font-size:clamp(1.4rem,2vw,1.75rem); line-height:1.22; }
|
|
27
27
|
:root[data-theme="datalab"] .report-header .meta { margin:8px 0 0; font-size:.85rem; }
|
|
28
28
|
:root[data-theme="datalab"] .report-brand-row { margin-bottom:8px; }
|
|
29
29
|
:root[data-theme="datalab"] .report-brand { color:var(--primary); text-transform:uppercase; letter-spacing:.08em; font-size:.83rem; }
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
:root[data-theme="datalab"] .controls { width:calc(100% - 24px); padding:8px 10px; }
|
|
139
139
|
:root[data-theme="datalab"] .report-shell { padding-left:14px; padding-right:14px; }
|
|
140
140
|
:root[data-theme="datalab"] .report-header { padding:15px 14px; }
|
|
141
|
-
:root[data-theme="datalab"] .report-header h1 { font-size:1.
|
|
141
|
+
:root[data-theme="datalab"] .report-header h1 { font-size:1.3rem; }
|
|
142
142
|
:root[data-theme="datalab"] .brief-block { padding:15px 14px; }
|
|
143
143
|
:root[data-theme="datalab"] .brief-decision { padding:0; }
|
|
144
144
|
:root[data-theme="datalab"] .brief-decision .brief-block-header { padding:15px 14px 0; }
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
:root[data-theme="presentation"] .report-brand-row { margin-bottom:12px; }
|
|
32
32
|
:root[data-theme="presentation"] .report-brand { color:var(--primary); text-transform:uppercase; letter-spacing:.1em; font-size:.8rem; }
|
|
33
33
|
:root[data-theme="presentation"] .generated-theme-chip { background:#242A33; border-color:#3C4450; color:#B8C0CB; }
|
|
34
|
-
:root[data-theme="presentation"] .report-header h1 { max-width:980px; font-size:clamp(1.
|
|
34
|
+
:root[data-theme="presentation"] .report-header h1 { max-width:980px; font-size:clamp(1.35rem,2vw,1.7rem); line-height:1.08; letter-spacing:-.022em; }
|
|
35
35
|
:root[data-theme="presentation"] .report-header .meta { margin:10px 0 0; color:var(--text-muted); font-size:.86rem; overflow-wrap:anywhere; }
|
|
36
36
|
:root[data-theme="presentation"] .report-view-switcher { display:inline-flex; margin-top:18px; padding:4px; border:1px solid var(--border); border-radius:999px; background:#12151A; }
|
|
37
37
|
:root[data-theme="presentation"] .report-view-btn { min-height:36px; border:0; background:transparent; color:#BBC2CC; padding:7px 15px; }
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
:root[data-theme="presentation"] .controls { width:calc(100% - 24px); border-radius:10px; }
|
|
115
115
|
:root[data-theme="presentation"] .report-shell { padding-left:14px; padding-right:14px; }
|
|
116
116
|
:root[data-theme="presentation"] .report-header { padding:18px 16px; border-radius:12px; }
|
|
117
|
-
:root[data-theme="presentation"] .report-header h1 { font-size:1.
|
|
117
|
+
:root[data-theme="presentation"] .report-header h1 { font-size:1.2rem; }
|
|
118
118
|
:root[data-theme="presentation"] .brief-block { padding:18px 16px; }
|
|
119
119
|
:root[data-theme="presentation"] .brief-decision { padding:0; }
|
|
120
120
|
:root[data-theme="presentation"] .brief-decision .decision-hero { min-height:0; padding:24px 18px; border-radius:13px; }
|
package/web/README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# web/ — 前端分发与兼容边界
|
|
2
|
+
|
|
3
|
+
EduEvidence 当前正式控制台是 **Research Studio**。开发源与运行时分发物必须明确区分:
|
|
4
|
+
|
|
5
|
+
- **唯一权威可编辑控制台源**:`studio/`(React + TypeScript + Vite)。新功能、交互、可访问性、移动端和数据契约只在这里开发。
|
|
6
|
+
- **正式运行时控制台**:`web/studio/`。它是 `studio/` 的可复现构建产物,由 Python 本地服务、Skill 上架包和 GitHub Pages 直接提供;不要手工编辑其中的 bundle。
|
|
7
|
+
- `web/landing.html/.css/.js`:公开介绍页,保持独立视觉叙事;它只负责介绍和进入 Research Studio,不拥有研究状态。
|
|
8
|
+
- `web/index.html`、`web/js/`、`web/styles.css`:v5 时代三页控制台的**兼容层 / 历史实现**。现有兼容 API 或旧链接在确有需要时可以继续读取它们,但不得把它们当作新 UI 的开发入口,也不要向其中增加新的产品功能。
|
|
9
|
+
- `web/showcase_v2/`:冻结展示页。除安全或断链修复外不再与 Research Studio 同步演进。
|
|
10
|
+
|
|
11
|
+
## 约定
|
|
12
|
+
|
|
13
|
+
1. 新的 Research Studio 页面、组件和交互只能进入 `studio/src/`;禁止继续扩展旧 `web/js/` 控制台。
|
|
14
|
+
2. `npm run build --prefix studio` 必须可复现 `web/studio/`;CI 使用 `git diff --exit-code -- web/studio` 守护这一点。
|
|
15
|
+
3. 本地正式入口是 `http://127.0.0.1:<port>/studio/`;`dashboard_server.py` 的 `/`、`/console` 也应指向同一构建。
|
|
16
|
+
4. GitHub Pages 根页保留介绍页,`/studio/` 是公开只读 Research Studio;静态导出只包含仓库示例,不包含本地研究项目、运行事件或 Autoevolve 会话。
|
|
17
|
+
5. 五种报告主题属于 `visualization/eduevidence-report/` 的**生成时视觉身份**,不是 Research Studio 的运行时换肤;同一研究版本的科学内容不得因主题改变。
|
|
18
|
+
6. 报告本体保持 single-file / zero-CDN;营销介绍页可以使用外部字体等展示资源,但不应把它们引入研究报告的离线能力声明。
|