The backend enum is NORMAL | EXPERIMENT. isBiasVariantContext compared against 'BIAS_VARIANT', a value no endpoint has ever emitted, so it was always false and took a whole feature path down with it: - "Compare with baseline" is wrapped in @if (isBiasVariant()), so it never rendered - the only route to a FULL_FLOW bias report; - the run list never labelled a rerun as a bias variant, which is the very thing it was changed to do; - biasInterventionMix always returned null, so BIAS / MITIGATION / MIXED never showed. I introduced this while fixing a real bug - presence of biasExecutionContext was marking every run a variant - by correcting the condition to the wrong literal. The fixtures used the same invented value, so the tests passed and the change looked verified. They are corrected here too: with the old literal restored, eight assertions now fail. The two names are kept apart deliberately and both are commented: 'BIAS_VARIANT' remains the list's own TaskExecutionKind vocabulary, while the API mode is 'EXPERIMENT'. Treating them as interchangeable is what caused this. The dev fake was also seeding 'BIAS_VARIANT', so development agreed with the bug and disagreed with the service. 497 frontend tests green. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .vscode | ||
| docker | ||
| docs | ||
| public | ||
| src | ||
| .dockerignore | ||
| .editorconfig | ||
| .gitignore | ||
| .postcssrc.json | ||
| Dockerfile | ||
| README.md | ||
| angular.json | ||
| components.json | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.spec.json | ||
README.md
HumAInFlow
This project was generated using Angular CLI version 21.0.3.
Development server
To start a local development server, run:
ng serveOnce the server is running, open your browser and navigate to
http://localhost:4200/. The application will automatically
reload whenever you modify any of the source files.
Code scaffolding
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
ng generate component component-nameFor a complete list of available schematics (such as
components, directives, or
pipes), run:
ng generate --helpBuilding
To build the project run:
ng buildThis will compile your project and store the build artifacts in the
dist/ directory. By default, the production build optimizes
your application for performance and speed.
Running unit tests
To execute unit tests with the Vitest test runner, use the following command:
ng testRunning end-to-end tests
For end-to-end (e2e) testing, run:
ng e2eAngular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
Additional Resources
For more information on using the Angular CLI, including detailed command references, visit the Angular CLI Overview and Command Reference page.