AGILAB TeSciA-style diagnostic workflow with evidence scoring and regression-plan artifacts
Project description
agi-app-tescia-diagnostic
agi-app-tescia-diagnostic packages the tescia_diagnostic_project
AGILAB app. It is a diagnostic-method example that turns weak assumptions,
evidence, candidate fixes, and regression plans into structured artifacts.
It can also be used as a student self-evaluation exercise: cases expose
student-facing metadata and optional submitted answers that are graded with a
deterministic rubric.
For classroom use, a submission batch can reference exercise ids and expand
into independent scoring rows for local or cluster execution.
Purpose
Use this package to test a TeSciA-style engineering diagnostic workflow. The
default path scores bundled cases deterministically; optional local AI engines
can draft new cases, but validated scoring remains explicit and reproducible.
When a case contains student_answer, the exported student_score reflects the
learner response while case_quality_score keeps the reference exercise score.
Bundled cases also carry a 2026 French mathematics-program coverage matrix at
top-level domain granularity for the 2026-2027 rollout, with at least two
exercises required per declared curriculum id.
The bundled catalog now also includes a 12-case 2026 data-scientist interview
evaluation inspired by a legacy QCM and current AI-engineering interview
practice: modern Python/pandas workflows, leakage-free model evaluation,
scaling decisions, RAG retrieval design, agent memory, LLM evaluation,
uncertainty and drift, data-centric limited-label strategy, open-weight model
review, and inference or token-cost optimization are scored with the same
evidence-backed rubric.
Classroom batches export anonymized teacher artifacts: progress, heatmap,
needs-attention, per-student, curriculum-level, intervention-plan CSV files,
and a printable teacher summary.
Installed Project
The distribution name is agi-app-tescia-diagnostic; the AGILAB
project name is tescia_diagnostic_project. The package exposes both
tescia_diagnostic and tescia_diagnostic_project through the agilab.apps
entry point group, so AgiEnv(app="tescia_diagnostic_project") resolves the
project without a monorepo checkout.
Install
pip install agi-app-tescia-diagnostic
The agi-apps umbrella pulls this package on Python 3.13+ because the TeSciA
diagnostic app uses the same Python floor as its packaged worker environment.
Install it directly when validating the diagnostic app package from an index or
a locally built wheel.
Run In AGILAB
Select tescia_diagnostic_project, open ORCHESTRATE, then run INSTALL and
EXECUTE with bundled cases. Inspect the exported reports under ANALYSIS or
the project output directory. The argument form includes the student-answer JSON
contract used for self-evaluation.
For a classroom batch, select Bundled classroom sample in ORCHESTRATE, or
place a agilab.tescia_diagnostic.classroom.v1 JSON file in the input
directory and set the file glob to that payload.
Expected Inputs
The default input is a bundled JSON case file with exercise metadata. Optional
local-AI generation requires a configured local endpoint and fails closed if the
generated JSON does not match the expected schema. Student submissions can be
added through a student_answer object in the case JSON. Data-scientist cases
use topic tags such as data-science-2026, pandas, model-evaluation, rag,
agent, llm-judge, conformal-prediction, token-efficiency, and
quantization. Mathematics cases can also include curriculum_ids;
unknown ids are rejected by the coverage helper.
Classroom submission files contain classroom metadata plus a submissions
list of student_id, case_id, and answer objects. Student ids are anonymized
by default in teacher artifacts.
Expected Outputs
The app writes diagnostic reports, summary CSV files, reducer summaries, and a
student_score field that records whether the diagnosis, better fix, and
regression plan are supported by evidence. With a submitted answer, the report
also exports a score band and targeted feedback for missing evidence, fix, or
regression-test selections.
The worker also writes printable correction sheets and
math_program_2026_coverage.json so a catalog can prove whether every declared
2026 top-level mathematics curriculum id meets the minimum exercise count.
For classroom batches it also writes:
classroom/classroom_run_report.jsonclassroom/classroom_teacher_summary.mdclassroom/classroom_progress.csvclassroom/classroom_heatmap.csvclassroom/classroom_needs_attention.csvclassroom/classroom_students.csvclassroom/classroom_curriculum.csvclassroom/classroom_interventions.csv
During live or distributed runs, workers can also publish partial progress under
classroom/partials/ as classroom_partial_worker_<id>_<source>.json and
classroom_partial_worker_<id>_<source>_progress.csv. The ANALYSIS classroom tab
reads the latest completed run artifact when present, merges partial worker
artifacts while a run is still progressing, falls back to the bundled preview
otherwise, and includes manual plus optional live refresh.
Change One Thing
Add one diagnostic case with a deliberately weak proposed fix and two candidate regression tests. The app should keep the stronger fix only when the evidence and tests support it.
For data-scientist evaluation, filter the catalog to data-scientist candidate
and change one answer selection. The score should fall when the answer keeps a
stale pandas API, leaks test data, ships a RAG or agent-memory demo without
goldens, trusts a leaderboard without task-specific evaluation, ignores
uncertainty and drift, or accepts token/inference savings without a target
quality and latency gate.
For mathematics-program coverage, add or remove a curriculum_ids entry and
run the focused TeSciA tests. Missing required ids, undercovered ids, and
invented ids fail the coverage contract.
For classroom mode, upload/drop a classroom JSON batch into
tescia_diagnostic/submissions, or add a second submission for the same
exercise with a different student_id; the exported heatmap should add a new
row without changing the exercise definition. Inbox files are scored before the
bundled sample when Read submission inbox is enabled.
Scope
This is a repeatable diagnostic example. It does not execute remediation commands, replace incident management, or silently trust model-generated content.
The mathematics-program coverage is a domain-level audit contract, not a full official exercise bank.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agi_app_tescia_diagnostic-2026.6.23.tar.gz.
File metadata
- Download URL: agi_app_tescia_diagnostic-2026.6.23.tar.gz
- Upload date:
- Size: 70.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7dda9fe06e1b35aa7b8434e759da9bb155215eb873df173d019aae6228622b96
|
|
| MD5 |
6e19ae9214293e551908bdb76fbe2c94
|
|
| BLAKE2b-256 |
e8dbe3bc0919960c780fa89affa62e24319cf5c5c2051a511adea92b67814026
|
Provenance
The following attestation bundles were made for agi_app_tescia_diagnostic-2026.6.23.tar.gz:
Publisher:
pypi-publish.yaml on ThalesGroup/agilab
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agi_app_tescia_diagnostic-2026.6.23.tar.gz -
Subject digest:
7dda9fe06e1b35aa7b8434e759da9bb155215eb873df173d019aae6228622b96 - Sigstore transparency entry: 1935697178
- Sigstore integration time:
-
Permalink:
ThalesGroup/agilab@2e2c43d4512869eb2f32f8d49a1866cfd7d161ed -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ThalesGroup
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yaml@2e2c43d4512869eb2f32f8d49a1866cfd7d161ed -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file agi_app_tescia_diagnostic-2026.6.23-py3-none-any.whl.
File metadata
- Download URL: agi_app_tescia_diagnostic-2026.6.23-py3-none-any.whl
- Upload date:
- Size: 85.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce3080455cd987fda2a0f4633d73c9c35c3e10044103b4ba707f11071a4ce852
|
|
| MD5 |
9faf9b5fb2045769ff0e5250afb305b4
|
|
| BLAKE2b-256 |
f694ab348b7e3fae5223d1710870b7a5762c1beb0a2dd4d441f2562d65bf1aa6
|
Provenance
The following attestation bundles were made for agi_app_tescia_diagnostic-2026.6.23-py3-none-any.whl:
Publisher:
pypi-publish.yaml on ThalesGroup/agilab
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agi_app_tescia_diagnostic-2026.6.23-py3-none-any.whl -
Subject digest:
ce3080455cd987fda2a0f4633d73c9c35c3e10044103b4ba707f11071a4ce852 - Sigstore transparency entry: 1935697200
- Sigstore integration time:
-
Permalink:
ThalesGroup/agilab@2e2c43d4512869eb2f32f8d49a1866cfd7d161ed -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ThalesGroup
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yaml@2e2c43d4512869eb2f32f8d49a1866cfd7d161ed -
Trigger Event:
workflow_dispatch
-
Statement type: