Skip to content

Rulemining results get cropped #11

Description

@larjohn

Request:

BABBAGE_FACT_URI:http://ws307.math.auth.gr/rudolf/public/api/3/cubes/budget-thessaloniki-expenditure-2012__1ef74/facts?pagesize=30
consequentColumns[]:functionalClassification.prefLabel
antecedentColumns[]:economicClassification.prefLabel

I am getting this response:

{
  "result": {
    "rules": [
      {
        "a": 3,
        "b": 0,
        "c": 0,
        "d": 27,
        "id": 238593,
        "selected": "0",
        "task": 2539,
        "text": "economicclassification_preflabel(\u0391\u03c0\u03bf\u03b6\u03b7\u03bc\u03b9\u03ce\u03c3\u03b7 \u03c5\u03c0\u03b5\u03c1\u03c9\u03c1\u03b9\u03b1\u03ba\u03ae\u03c2 \u03b5\u03c1\u03b3\u03b1\u03c3\u03af\u03b1\u03c2 \u03ba\u03b1\u03b9 \u03b3\u03b9\u03b1 \u03b5\u03be\u03b1\u03b9\u03c1\u03ad\u03c3\u03b9\u03bc\u03b5\u03c2 \u03b7\u03bc\u03ad\u03c1\u03b5\u03c2 \u03ba\u03b1\u03b9 \u03bd\u03c5\u03ba\u03c4\u03b5\u03c1\u03b9\u03bd\u03ad\u03c2 \u03ce\u03c1\u03b5\u03c2 \u03ba\u03b1\u03b9 \u03bb\u03bf\u03b9\u03c0\u03ad\u03c2 \u03c0\u03c1\u03cc\u03c3\u03b8\u03b5\u03c4\u03b5\u03c2 \u03b1\u03bc\u03bf\u03b9\u03b2\u03ad\u03c2) \u2192 functionalclassification_preflabel(\u0391\u03a0\u039f\u0396\u0397\u039c\u0399\u03a9\u03a3\u0397 \u0393\u0399\u0391 \u0395\u039e\u0391\u0399\u03a1\u0395"
      },
      {
        "a": 4,
        "b": 0,
        "c": 0,
        "d": 26,
        "id": 238594,
        "selected": "0",
        "task": 2539,
        "text": "economicclassification_preflabel(\u039c\u03b9\u03c3\u03b8\u03ce\u03bc\u03b1\u03c4\u03b1 \u03bc\u03b7\u03c7\u03b1\u03bd\u03b7\u03bc\u03ac\u03c4\u03c9\u03bd - \u03a4\u03b5\u03c7\u03bd\u03b9\u03ba\u03ce\u03bd \u0395\u03b3\u03ba\u03b1\u03c4\u03b1\u03c3\u03c4\u03ac\u03c3\u03b5\u03c9\u03bd) \u2192 functionalclassification_preflabel(\u039c\u0399\u03a3\u0398\u03a9\u039c\u0391\u03a4\u0391 \u039c\u0397\u03a7\u0391\u039d\u0397\u039c\u0391\u03a4\u03a9\u039d)"
      }
    ],
    "task": {
      "id": 2539,
      "importState": "done",
      "miner": 2699,
      "name": "Test Miner",
      "rulesCount": 2,
      "rulesOrder": "default",
      "state": "solved",
      "type": "cloud"
    }
  }
}

The text of the first rule is actually:

"economicclassification_preflabel(Αποζημιώση υπερωριακής εργασίας και για εξαιρέσιμες ημέρες και νυκτερινές ώρες και λοιπές πρόσθετες αμοιβές) → functionalclassification_preflabel(ΑΠΟΖΗΜΙΩΣΗ ΓΙΑ ΕΞΑΙΡΕ"

which is truncated (parenthesis not closing). It would be nice if we could get the whole text because it could be matched by a regular expression and be presented better.

@HimmelStein can you have a look?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions