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

stanford-oval / genie-toolkit / 1634 / 2
54%
master: 56%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/ws-8.11.0
DEFAULT BRANCH: master
Ran 10 Feb 2021 01:53AM UTC
Files 182
Run time 15s
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

10 Feb 2021 01:50AM UTC coverage: 29.294% (+17.7%) from 11.639%
COVERALLS_PARALLEL=true

push

travis-ci-com

web-flow
Refactor how entities are generated in agent sentences (#453)

The goal of this refactor is two fold:
- We need to generate delexicalized agent utterances at inference
  time to pass to the NLG
- We want the actual text of the entity to be generated by the I18n
  code during postprocessing, so consistent postprocessing is
  applied to both synthetic and NLG sentences, and we can use
  locale-specific code.

To apply this refactoring, the system of inference time constants
is modified to make use of a SequentialEntityAllocator, which allocates
entity tokens (NUMBER_0, DATE_1, etc.) for each value that appears
in the context. This entity allocator is also passed to the Describe
module when that module extracts a value from the program.

At training time, we have only one SequentialEntityAllocator,
which is primed with the fake entities used during generation,
plus any entity that is generated by the simulator and observed
by Describe. At inference time, we reset the entity allocator
immediately prior to processing a new context.

The entities thus allocated are later passed to the I18n module for
postprocessing. This module gained code to automatically select
the most appropriate unit for a given size.

Fixes #447

3726 of 15250 branches covered (24.43%)

Branch coverage included in aggregate %.

8945 of 28005 relevant lines covered (31.94%)

36434.11 hits per line

Source Files on job 1634.2 (COVERALLS_PARALLEL=true)
  • Tree
  • List 0
  • Changed 68
  • Source Changed 14
  • Coverage Changed 68
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1311
  • Travis Job 1634.2
  • 316836d4 on github
  • Prev Job for COVERALLS_PARALLEL=true on next (#1632.3)
  • Next Job for COVERALLS_PARALLEL=true on next (#1636.2)
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