Repository navigation
[thesis] 18 evaluation cases, every combination in the tables, blind labelling for the second labeller - #208
Merged
Merged
Conversation
…labelling for the second labeller - DESIGN.md: decision Q8, 18 cases, one per combination of scenario type, language and reference decision. The second labeller step now names the sheet and the agreement measures. cases/README.md lists the 18 combinations and the labelling steps. - Summary: the per-cell table lists all 18 combinations, empty ones included, and says how many have a case. - case.yaml takes second_label, and first_label / resolution when the labels differed; the loader refuses a difference without a resolution. The summary opens with the agreement between the labellers: same label, one step apart, opposite, Cohen's kappa, the matrix and every settled disagreement. - thesis/eval/labelling.py: "sheet" writes an HTML sheet with only each CV and ad, numbered in a shuffled order, an answer form (CSV and Excel) and a key kept apart; "compare" reads the filled-in form (comma or semicolon CSV, or Excel) and prints both labels side by side with the lines to add to each case.yaml. - The Excel writer moved to thesis/eval/xlsx.py so the labelling tool does not load the backend. Prompts, rules, protocol and model are unchanged since thesis-prototype-v2.
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The case count is decided: 18. This records the decision and gets the runner ready for it and for the second labeller. The model, prompts, rules and protocol are unchanged since
thesis-prototype-v2.Decision
DESIGN.mddecision Q8: 18 cases, one for each combination of scenario type (3) × language (2) × reference decision (3).cases/README.mdlists the 18 combinations to tick off.Tables
summary.mdnow lists all 18 combinations, empty ones included, and says how many have a case. Before, a combination with no case was simply missing from the table.Second labeller
python -m thesis.eval.labelling sheetwrites:python -m thesis.eval.labelling comparereads the filled-in form (comma or semicolon CSV, or Excel). It prints both labels side by side and thesecond_label:line for eachcase.yaml.case.yamltakessecond_label, plusfirst_labelandresolutionwhen the labels differed. The runner refuses a disagreement that has no resolution.summary.mdopens with the agreement: same label, one step apart, opposite, Cohen's kappa, the label matrix, and every settled disagreement.thesis/eval/xlsx.py, so the labelling tool does not load the backend.Checks
test_thesis_eval.py: 37 passed on a real Postgres, including the proof that the runner scores like production. The fit advisor tests andruffpass.compareread a filled-in form;git diff thesis-prototype-v2 -- backend/app/services/fit_advisor thesis/protocol.yaml thesis/eval/rule_based_adapter.pyis empty.This branch is based on
mainand opened separately fromdev, becausedevholds extension PR #207, which is still waiting on the browser test.