Skip to content

DeepGym 0.6.11

Latest

Choose a tag to compare

@abhishekgahlot2 abhishekgahlot2 released this 02 Dec 11:53
· 137 commits to main since this release
ce2f1f8
  • Clearer errors for stale corrections and bad scan regexes: a label that supersedes a record another record already supersedes was refused (409) with Label A is already superseded, or, for a verdict, with ... already has a current 'passed' ...; supersede it to change it. It now names the end of the line: Label A was already superseded by B; correct B2 instead (B2 the last correction, retract B2 instead for a retraction), Label A was already retracted by R, or Label A was superseded by B, which R retracted. Two records of one batch superseding the same label get Label A is superseded twice in this batch, and no record of the refused batch is named. A pattern scanner regex that doesn't compile gives one error, at patterns[i].regex, with re's reason (Input should be a valid regular expression: missing ), unterminated subpattern at position 0), in POST /api/scans and load_rule_scanners (deepgym traces scan --config); a regex re refuses with ValueError ((?a)(?u)x, a repeat count past Python's integer digit limit) gets the same error instead of a value_error, and a repeat count too large for re or nesting too deep to compile instead of answering 500. patterns, fields and globs no longer add a "Tuple should have at least 1 item" error when all their items are invalid; an empty one is refused as before (#142).
  • README: worked sections on recording agent traces, comparing two runs, scanning traces for what the verifier missed, expert review and judge calibration, and building datasets, each with a code example, plus a table of the console's REST routes (#143).