changedInput schema / properties / repo / description
Previous value: -"path to the scored repo's root (default: the repo the server was started in)"New value: +"path to the scored repo's root (default: the repo the server was started in); a leading ~ is the home directory"
addedOutput schema / properties / commands
Added value: +{
+ "description": "the call that answers stale and scored_changes; run it as given",
+ "properties": {
+ "refresh": {
+ "description": "crapkit coverage --reuse-unchanged: the cheapest run that brings scored_changes to 0 and clears stale",
+ "type": "string"
+ }
+ },
+ "type": "object"
+}
changedOutput schema / properties / item / properties / cov / description
Previous value: -"branch coverage inside the span, 0.0 to 1.0"New value: +"branch coverage inside the span, 0.0 to 1.0; statement coverage when the span has no branches, and invoked-or-not (1.0 or 0.0) when it has no statements; Python and/or add to ccn but coverage.py records no branch arc for them; 0.0 on an untested, excluded, no-lane or cc-only row"
changedOutput schema / properties / item / properties / crap / description
Previous value: -"the score: ccn^2 x (1 - cov)^3 + ccn"New value: +"the score: ccn^2 x (1 - cov)^3 + ccn, or ccn on a cc-only or excluded row"
changedOutput schema / properties / item / properties / est_uncovered_paths / description
Previous value: -"round((1 - cov) x ccn): decision paths no test walks"New value: +"(1 - cov) x ccn rounded half to even, so 2.5 reads 2: decision paths no test walks"
changedOutput schema / properties / item / properties / flag / description
Previous value: -"measured, untested, no-lane or cc-only: whether a lane artifact could measure this span"New value: +"measured, untested, excluded, no-lane or cc-only: whether a lane artifact could measure this span"
changedOutput schema / properties / item / properties / flag / enum
Previous value: -[
- "measured",
- "untested",
- "no-lane",
- "cc-only"
-]New value: +[
+ "measured",
+ "untested",
+ "excluded",
+ "no-lane",
+ "cc-only"
+]
changedOutput schema / properties / item / properties / target / description
Previous value: -"this scope's effective ccn ceiling"New value: +"this scope's effective ceiling: the highest CRAP a function may carry, and so also the highest ccn"
addedOutput schema / properties / item / properties / unmeasured
Added value: +{
+ "description": "true when no measurement stands behind cov: flag no-lane (no lane covers the scope) or cc-only (the scope asks for no coverage). cov 0.0 and est_uncovered_paths are then stand-ins, not a count of paths no test walks",
+ "type": "boolean"
+}
changedOutput schema / properties / items / items / properties / cov / description
Previous value: -"branch coverage inside the span, 0.0 to 1.0"New value: +"branch coverage inside the span, 0.0 to 1.0; statement coverage when the span has no branches, and invoked-or-not (1.0 or 0.0) when it has no statements; Python and/or add to ccn but coverage.py records no branch arc for them; 0.0 on an untested, excluded, no-lane or cc-only row"
changedOutput schema / properties / items / items / properties / crap / description
Previous value: -"the score: ccn^2 x (1 - cov)^3 + ccn"New value: +"the score: ccn^2 x (1 - cov)^3 + ccn, or ccn on a cc-only or excluded row"
changedOutput schema / properties / items / items / properties / est_uncovered_paths / description
Previous value: -"round((1 - cov) x ccn): decision paths no test walks"New value: +"(1 - cov) x ccn rounded half to even, so 2.5 reads 2: decision paths no test walks"
changedOutput schema / properties / items / items / properties / flag / description
Previous value: -"measured, untested, no-lane or cc-only: whether a lane artifact could measure this span"New value: +"measured, untested, excluded, no-lane or cc-only: whether a lane artifact could measure this span"
changedOutput schema / properties / items / items / properties / flag / enum
Previous value: -[
- "measured",
- "untested",
- "no-lane",
- "cc-only"
-]New value: +[
+ "measured",
+ "untested",
+ "excluded",
+ "no-lane",
+ "cc-only"
+]
changedOutput schema / properties / items / items / properties / target / description
Previous value: -"this scope's effective ccn ceiling"New value: +"this scope's effective ceiling: the highest CRAP a function may carry, and so also the highest ccn"
addedOutput schema / properties / items / items / properties / unmeasured
Added value: +{
+ "description": "true when no measurement stands behind cov: flag no-lane (no lane covers the scope) or cc-only (the scope asks for no coverage). cov 0.0 and est_uncovered_paths are then stand-ins, not a count of paths no test walks",
+ "type": "boolean"
+}
changedOutput schema / properties / reasons / description
Previous value: -"why the queue is empty, present only when empty is true; the stop condition is empty true with skipped_claimed and no_lane_over_target both 0 or absent"New value: +"why the queue is empty, present only when empty is true; the stop condition is empty true with skipped_claimed and no_lane_over_target both 0 or absent and scored_changes 0"
addedOutput schema / properties / scored_changes
Added value: +{
+ "description": "how many files the run scored hold other content now than the run recorded, deleted files included; 0 means the numbers describe the files on disk; null when crapkit cannot compare: the run recorded no content (crapkit 0.8.0 or older wrote it) or git failed reading the tree; treat null like any count above 0 and run commands.refresh",
+ "type": [
+ "integer",
+ "null"
+ ]
+}
addedOutput schema / properties / shallow
Added value: +{
+ "description": "true when this checkout is a shallow clone: commits, authors and the churn the ranking reads count only the commits the clone holds; set fetch-depth: 0 on the checkout or run git fetch --unshallow for the real counts",
+ "type": "boolean"
+}
changedOutput schema / properties / stale / description
Previous value: -"true when the run's commit is not HEAD, so cov, crap and uncovered_lines describe an older tree; crapkit coverage --reuse-unchanged (get_function_brief's commands.refresh) clears it"New value: +"true when the run's commit is not HEAD. It judges the commit, not the files: an amend or a commit that touched no scored file sets it, and an uncommitted edit leaves it false; scored_changes counts the files whose content moved. Schema 2 redefines it as that content difference"
addedOutput schema / properties / truncated
Added value: +{
+ "description": "present only when the whole answer was longer than one tool result the server sends (7,500 characters): each list, string or object field it cut, at any depth, keeps its start, and full is the CLI command that prints the whole answer",
+ "properties": {
+ "fields": {
+ "additionalProperties": {
+ "properties": {
+ "kept": {
+ "description": "how many the answer keeps",
+ "type": "integer"
+ },
+ "of": {
+ "description": "how many the whole answer has",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "description": "each cut field, named by its keys joined with dots (gate.breaches) -> kept and of: elements for a list, entries for an object, characters for a string",
+ "type": "object"
+ },
+ "full": {
+ "description": "the crapkit command that prints the whole answer, spelled for the server's shell",
+ "type": "string"
+ }
+ },
+ "type": "object"
+}