• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

amiv-eth / amivapi / 608 / 1
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 05 Feb 2019 11:26PM UTC
Files 80
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Feb 2019 11:23PM UTC coverage: 94.366% (-0.01%) from 94.378%
TOXENV=py35

push

travis-ci

web-flow
Metadata summary for study documents (#342)

Currently, we have a lot of metadata for study docs, but no efficient way to search through it.
In order to provide users a menu to select professors, for example, an application would have to download *all* study documents to learn the possible professors.

On the other hand, this information is much needed, as most students will not know from the top of their head how exactly their professors name might be written or if their lecture can be found as 'Analysis' or 'Analysis I'

This defeats the purpose of filtering study documents with metadata.

Thus, this commit adds a server-side summary of metadata.
The response contains a new meta field `_summary`, which lists the available values for all meta-data fields along with how many documents are available for them.

```
_summary:
    professor:
        Prof. Dr. Awesome: 10
        Prof. Okay: 5
        ...
    lecture:
        ...
    ...
```

The summary is efficiently computed using the MongoDB aggregation framework.

3685 of 3905 relevant lines covered (94.37%)

0.94 hits per line

Source Files on job 608.1 (TOXENV=py35)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 473
  • Travis Job 608.1
  • 7d9b8edf on github
  • Prev Job for TOXENV=py35 on master (#600.1)
  • Next Job for TOXENV=py35 on master (#610.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc