Index / Business and law / Law
Myndighetsbeslut
birgermoell/myndighetsbeslut
Act as a Swedish government case officer and propose a decision, such as grant, reject or appeal outcome, with reasons and legal provisions.
Good for
- RL with verifiable rewards in Swedish
- agency decision models
- evaluation of legal reasoning
Reward
- How it is scored
- Programmatic check
- Signal
- Graded, 0 to 1
Plain Python reward functions score the outcome, amounts, reason codes and provisions; CSN cases weight outcome 0.35 and citing a non-existent paragraph zeroes the provisions part.
How to run it
1. From the cardcopied from the publisher's own instructions
ds = load_dataset("birgermoell/myndighetsbeslut", "csn_studiemedel", split="test")
row = ds[0]
answer = my_model(row["messages"]) # a string
print(REWARD[row["environment"]](json.loads(row["verifier_metadata"]), answer)) # 0..12. Get the filesthe whole repository, to a local folder
hf download birgermoell/myndighetsbeslut --repo-type dataset --local-dir myndighetsbeslut